retdec
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
retdec::cpdetect::Signature Class Reference

#include <signature.h>

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

Public Member Functions

 Signature (std::string sName, std::string sVersion, std::string sPattern, std::string sAdditional="", unsigned sStart=0, unsigned sEnd=0)
 

Static Public Member Functions

static bool isValidSignaturePattern (const std::string &pattern)
 

Public Attributes

std::string name
 name of used tool More...
 
std::string version
 version of used tool More...
 
std::string pattern
 signature pattern More...
 
std::string additional
 additional information about tool More...
 
unsigned startOffset = 0
 start offset of pattern More...
 
unsigned endOffset = 0
 end offset of pattern More...
 

Constructor & Destructor Documentation

◆ Signature()

retdec::cpdetect::Signature::Signature ( std::string  sName,
std::string  sVersion,
std::string  sPattern,
std::string  sAdditional = "",
unsigned  sStart = 0,
unsigned  sEnd = 0 
)

Constructor

Parameters
sNameName of compiler or packer
sVersionVersion of used compiler or packer
sPatternSignature pattern
sAdditionalAdditional information about used compiler or packer
sStartStart offset of pattern
sEndEnd offset of pattern

Member Function Documentation

◆ isValidSignaturePattern()

bool retdec::cpdetect::Signature::isValidSignaturePattern ( const std::string &  pattern)
static

Member Data Documentation

◆ additional

std::string retdec::cpdetect::Signature::additional

additional information about tool

◆ endOffset

unsigned retdec::cpdetect::Signature::endOffset = 0

end offset of pattern

◆ name

std::string retdec::cpdetect::Signature::name

name of used tool

◆ pattern

std::string retdec::cpdetect::Signature::pattern

signature pattern

◆ startOffset

unsigned retdec::cpdetect::Signature::startOffset = 0

start offset of pattern

◆ version

std::string retdec::cpdetect::Signature::version

version of used tool


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