dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
include
dca
malware_classification
malwaredb_classifier.h
Go to the documentation of this file.
1
/* IBM Source Code */
2
/* (C) Copyright IBM Corp. 2009, 2012 */
3
/* Licensed Materials - Property of IBM */
4
/* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5
6
#ifndef MALWAREDB_CLASSIFIER_H
7
#define MALWAREDB_CLASSIFIER_H
8
15
namespace
dca_malware {
16
17
class
malwaredbclassifier_p;
18
19
class
MalwareClassificationResults;
20
class
Hash;
21
39
class
MalwareDbClassifier
40
{
41
public
:
43
MalwareDbClassifier
();
44
MalwareDbClassifier
(
const
MalwareDbClassifier
& rhi );
45
MalwareDbClassifier
& operator = (
const
MalwareDbClassifier
& rhi );
46
virtual
~
MalwareDbClassifier
();
48
59
dca::FunctionResult
classify
(
const
Hash
& aHash,
MalwareClassificationResults
& malwareResults )
const
;
60
68
dca::LogLevel
setLogLevel
(
dca::LogLevel
newLevel );
69
71
PRIVATE_PTR
malwaredbclassifier_p *_p;
72
};
73
74
}
75
76
#endif
dca_malware::Hash
Definition of the Hash class.
Definition:
malware_hashdata.h:28
dca_malware::MalwareDbClassifier::setLogLevel
dca::LogLevel setLogLevel(dca::LogLevel newLevel)
Sets the logging level for the given class instance. The old value will be returned.
dca_malware::MalwareDbClassifier
Malware database classifier class.
Definition:
malwaredb_classifier.h:40
dca::LogLevel
LogLevel
This enum is used in all setLogLevel() functions to change the verbosity level of the classes.
Definition:
base_classes.h:212
dca_malware::MalwareClassificationResults
Results of a Malware classification.
Definition:
malware_classification_results.h:26
PRIVATE_PTR
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition:
base_types.h:83
dca::FunctionResult
Standard function result.
Definition:
base_classes.h:148
dca_malware::MalwareDbClassifier::classify
dca::FunctionResult classify(const Hash &aHash, MalwareClassificationResults &malwareResults) const
Performs the Malware classification and returns the results.
Generated by
1.8.18