retdec
Private Attributes | List of all members
retdec::fileinfo::PatternMatch Class Reference

#include <pattern_match.h>

Public Member Functions

Query methods
bool isInteger () const
 
bool isFloatingPoint () const
 
Getters
bool getOffset (unsigned long long &pRes) const
 
bool getAddress (unsigned long long &pRes) const
 
bool getDataSize (unsigned long long &pRes) const
 
bool getEntrySize (unsigned long long &pRes) const
 
Setters
void setOffset (unsigned long long pOffset)
 
void setAddress (unsigned long long pAddress)
 
void setDataSize (unsigned long long pDataSize)
 
void setEntrySize (unsigned long long pEntrySize)
 
void setInteger ()
 
void setFloatingPoint ()
 

Private Attributes

unsigned long long offset = std::numeric_limits<unsigned long long>::max()
 offset of match in file More...
 
unsigned long long address = std::numeric_limits<unsigned long long>::max()
 address of match in memory More...
 
unsigned long long dataSize = std::numeric_limits<unsigned long long>::max()
 total size of match in bytes More...
 
unsigned long long entrySize = std::numeric_limits<unsigned long long>::max()
 byte size of one entry in match More...
 
bool integer = false
 true if each entry in match is integer number More...
 
bool floatingPoint = false
 true if each entry in match is floating point number More...
 

Detailed Description

Class for information about detected pattern match

Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for numeric types.

Member Function Documentation

◆ getAddress()

bool retdec::fileinfo::PatternMatch::getAddress ( unsigned long long &  pRes) const

◆ getDataSize()

bool retdec::fileinfo::PatternMatch::getDataSize ( unsigned long long &  pRes) const

◆ getEntrySize()

bool retdec::fileinfo::PatternMatch::getEntrySize ( unsigned long long &  pRes) const

◆ getOffset()

bool retdec::fileinfo::PatternMatch::getOffset ( unsigned long long &  pRes) const

◆ isFloatingPoint()

bool retdec::fileinfo::PatternMatch::isFloatingPoint ( ) const

◆ isInteger()

bool retdec::fileinfo::PatternMatch::isInteger ( ) const

◆ setAddress()

void retdec::fileinfo::PatternMatch::setAddress ( unsigned long long  pAddress)

◆ setDataSize()

void retdec::fileinfo::PatternMatch::setDataSize ( unsigned long long  pDataSize)

◆ setEntrySize()

void retdec::fileinfo::PatternMatch::setEntrySize ( unsigned long long  pEntrySize)

◆ setFloatingPoint()

void retdec::fileinfo::PatternMatch::setFloatingPoint ( )

◆ setInteger()

void retdec::fileinfo::PatternMatch::setInteger ( )

◆ setOffset()

void retdec::fileinfo::PatternMatch::setOffset ( unsigned long long  pOffset)

Member Data Documentation

◆ address

unsigned long long retdec::fileinfo::PatternMatch::address = std::numeric_limits<unsigned long long>::max()
private

address of match in memory

◆ dataSize

unsigned long long retdec::fileinfo::PatternMatch::dataSize = std::numeric_limits<unsigned long long>::max()
private

total size of match in bytes

◆ entrySize

unsigned long long retdec::fileinfo::PatternMatch::entrySize = std::numeric_limits<unsigned long long>::max()
private

byte size of one entry in match

◆ floatingPoint

bool retdec::fileinfo::PatternMatch::floatingPoint = false
private

true if each entry in match is floating point number

◆ integer

bool retdec::fileinfo::PatternMatch::integer = false
private

true if each entry in match is integer number

◆ offset

unsigned long long retdec::fileinfo::PatternMatch::offset = std::numeric_limits<unsigned long long>::max()
private

offset of match in file


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