retdec
|
#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... | |
Class for information about detected pattern match
Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for numeric types.
bool retdec::fileinfo::PatternMatch::getAddress | ( | unsigned long long & | pRes | ) | const |
bool retdec::fileinfo::PatternMatch::getDataSize | ( | unsigned long long & | pRes | ) | const |
bool retdec::fileinfo::PatternMatch::getEntrySize | ( | unsigned long long & | pRes | ) | const |
bool retdec::fileinfo::PatternMatch::getOffset | ( | unsigned long long & | pRes | ) | const |
bool retdec::fileinfo::PatternMatch::isFloatingPoint | ( | ) | const |
bool retdec::fileinfo::PatternMatch::isInteger | ( | ) | const |
void retdec::fileinfo::PatternMatch::setAddress | ( | unsigned long long | pAddress | ) |
void retdec::fileinfo::PatternMatch::setDataSize | ( | unsigned long long | pDataSize | ) |
void retdec::fileinfo::PatternMatch::setEntrySize | ( | unsigned long long | pEntrySize | ) |
void retdec::fileinfo::PatternMatch::setFloatingPoint | ( | ) |
void retdec::fileinfo::PatternMatch::setInteger | ( | ) |
void retdec::fileinfo::PatternMatch::setOffset | ( | unsigned long long | pOffset | ) |
|
private |
address of match in memory
|
private |
total size of match in bytes
|
private |
byte size of one entry in match
|
private |
true
if each entry in match is floating point number
|
private |
true
if each entry in match is integer number
|
private |
offset of match in file