retdec
settings.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_CPDETECT_SETTINGS_H
8 #define RETDEC_CPDETECT_SETTINGS_H
9 
10 #include <set>
11 #include <string>
12 #include <vector>
13 
14 namespace retdec {
15 namespace cpdetect {
16 
17 /*
18  * 512 kiB
19  */
20 const std::size_t LIGHTWEIGHT_FILE_SCAN_AREA = 0x80000;
21 
22 const std::size_t EP_BYTES_SIZE = 50;
23 
24 const std::set<std::string> EXTERNAL_DATABASE_SUFFIXES =
25 {
26  ".yar",
27  ".yara",
28  ".yarac"
29 };
30 
31 const std::string YARA_RULES_PATH =
32  "../share/retdec/support/generic/yara_patterns/tools/";
33 
34 } // namespace cpdetect
35 } // namespace retdec
36 
37 #endif
const std::size_t LIGHTWEIGHT_FILE_SCAN_AREA
Definition: settings.h:20
const std::set< std::string > EXTERNAL_DATABASE_SUFFIXES
Definition: settings.h:24
const std::size_t EP_BYTES_SIZE
Definition: settings.h:22
const std::string YARA_RULES_PATH
Definition: settings.h:31
Definition: archive_wrapper.h:19