retdec
Public Member Functions | Public Attributes | List of all members
retdec::cpdetect::DetectResult Struct Reference

#include <cptypes.h>

Collaboration diagram for retdec::cpdetect::DetectResult:
Collaboration graph
[legend]

Public Member Functions

bool isReliable () const
 
bool isCompiler () const
 
bool isLinker () const
 
bool isInstaller () const
 
bool isPacker () const
 
bool isKnownType () const
 
bool isUnknownType () const
 

Public Attributes

ToolType type = ToolType::UNKNOWN
 
std::string name
 
std::string versionInfo
 
std::string additionalInfo
 
unsigned long long impCount = 0
 total number of significant nibbles More...
 
unsigned long long agreeCount = 0
 matched number of significant nibbles More...
 
DetectionMethod source = DetectionMethod::UNKNOWN
 detection type More...
 
DetectionStrength strength = DetectionStrength::LOW
 detection strength More...
 

Detailed Description

Structure with results of tool detection

Member Function Documentation

◆ isCompiler()

bool retdec::cpdetect::DetectResult::isCompiler ( ) const

Check if result is compiler

Returns
true if detected result is compiler, false otherwise

◆ isInstaller()

bool retdec::cpdetect::DetectResult::isInstaller ( ) const

Check if result is installer

Returns
true if detected result is installer, false otherwise

◆ isKnownType()

bool retdec::cpdetect::DetectResult::isKnownType ( ) const

Check if result is know tool type

Returns
true if detected result is known type, false otherwise

◆ isLinker()

bool retdec::cpdetect::DetectResult::isLinker ( ) const

Check if result is linker

Returns
true if detected result is linker, false otherwise

◆ isPacker()

bool retdec::cpdetect::DetectResult::isPacker ( ) const

Check if result is packer

Returns
true if detected result is packer, false otherwise

◆ isReliable()

bool retdec::cpdetect::DetectResult::isReliable ( ) const

Check if result is reliable

Returns
true if detected result is reliable, false otherwise

◆ isUnknownType()

bool retdec::cpdetect::DetectResult::isUnknownType ( ) const

Check if result is unknow tool type

Returns
true if detected result is unknown type, false otherwise

Member Data Documentation

◆ additionalInfo

std::string retdec::cpdetect::DetectResult::additionalInfo

◆ agreeCount

unsigned long long retdec::cpdetect::DetectResult::agreeCount = 0

matched number of significant nibbles

◆ impCount

unsigned long long retdec::cpdetect::DetectResult::impCount = 0

total number of significant nibbles

◆ name

std::string retdec::cpdetect::DetectResult::name

◆ source

DetectionMethod retdec::cpdetect::DetectResult::source = DetectionMethod::UNKNOWN

detection type

◆ strength

DetectionStrength retdec::cpdetect::DetectResult::strength = DetectionStrength::LOW

detection strength

◆ type

ToolType retdec::cpdetect::DetectResult::type = ToolType::UNKNOWN

◆ versionInfo

std::string retdec::cpdetect::DetectResult::versionInfo

The documentation for this struct was generated from the following files: