retdec
|
Classes | |
class | CompilerDetector |
struct | DetectParams |
struct | DetectResult |
struct | DetectLanguage |
struct | ToolInformation |
struct | Similarity |
class | ElfHeuristics |
class | Heuristics |
class | MachOHeuristics |
struct | PeHeaderStyle |
class | PeHeuristics |
class | Search |
class | Signature |
Enumerations | |
enum class | ReturnCode { OK , ARG , FILE_NOT_EXIST , FILE_PROBLEM , ENTRY_POINT_DETECTION , UNKNOWN_FORMAT , FORMAT_PARSER_PROBLEM , MACHO_AR_DETECTED , ARCHIVE_DETECTED , UNKNOWN_CP } |
enum class | SearchType { EXACT_MATCH , MOST_SIMILAR , SIM_LIST } |
enum class | DetectionMethod { UNKNOWN , COMBINED , SIGNATURE , DWARF_DEBUG_H , SECTION_TABLE_H , IMPORT_TABLE_H , EXPORT_TABLE_H , SYMBOL_TABLE_H , LINKER_VERSION_H , LINKED_LIBRARIES_H , STRING_SEARCH_H , DYNAMIC_ENTRIES_H , COMMENT_H , NOTE_H , MANIFEST_H , HEADER_H , YARA_RULE , OTHER_H } |
enum class | DetectionStrength { LOW , MEDIUM , HIGH , SURE } |
enum class | ToolType { UNKNOWN , COMPILER , LINKER , INSTALLER , PACKER , OTHER } |
enum class | Packed { NOT_PACKED , PROBABLY_NO , PROBABLY_YES , PACKED } |
Functions | |
std::string | detectionMetodToString (DetectionMethod method) |
std::string | toolTypeToString (ToolType toolType) |
std::string | packedToString (Packed packed) |
std::string | getErrorMessage (ReturnCode errorCode, retdec::fileformat::Format format=retdec::fileformat::Format::UNKNOWN) |
bool | isFatalError (ReturnCode errorCode) |
Variables | |
const std::size_t | LIGHTWEIGHT_FILE_SCAN_AREA = 0x80000 |
const std::size_t | EP_BYTES_SIZE = 50 |
const std::set< std::string > | EXTERNAL_DATABASE_SUFFIXES |
const std::string | YARA_RULES_PATH |
|
strong |
Source from which result was obtained
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
std::string retdec::cpdetect::detectionMetodToString | ( | DetectionMethod | method | ) |
Get detection method name as string
method | method type |
std::string retdec::cpdetect::getErrorMessage | ( | ReturnCode | errorCode, |
retdec::fileformat::Format | format | ||
) |
Get a message describing the error for error code
errorCode | Input error code |
format | Detected format (optional) |
bool retdec::cpdetect::isFatalError | ( | ReturnCode | errorCode | ) |
Returns whether the given error code is fatal error code
true
if error is fatal error, false
otherwise. std::string retdec::cpdetect::packedToString | ( | Packed | packed | ) |
Get packing info string from packing info
packed | packings info |
std::string retdec::cpdetect::toolTypeToString | ( | ToolType | toolType | ) |
Get tool type name from type
toolType | type |
const std::size_t retdec::cpdetect::EP_BYTES_SIZE = 50 |
const std::set<std::string> retdec::cpdetect::EXTERNAL_DATABASE_SUFFIXES |
const std::size_t retdec::cpdetect::LIGHTWEIGHT_FILE_SCAN_AREA = 0x80000 |
const std::string retdec::cpdetect::YARA_RULES_PATH |