retdec
|
#include <stacofin.h>
Public Member Functions | |
bool | operator< (const DetectedFunction &o) const |
bool | allRefsOk () const |
std::size_t | countRefsOk () const |
float | refsOkShare () const |
std::string | getName () const |
bool | isTerminating () const |
bool | isThumb () const |
void | setReferences (const std::string &refsString) |
void | setAddress (retdec::common::Address a) |
retdec::common::Address | getAddress () const |
Public Attributes | |
std::size_t | size |
Original size of source. More... | |
std::size_t | offset |
std::vector< std::string > | names |
Possible original names. More... | |
References | references |
Offset-name relocation pairs. More... | |
std::string | signaturePath |
Source signature path. More... | |
Private Attributes | |
retdec::common::Address | address |
Virtual address. More... | |
Structure representing one detected function.
bool retdec::stacofin::DetectedFunction::allRefsOk | ( | ) | const |
std::size_t retdec::stacofin::DetectedFunction::countRefsOk | ( | ) | const |
retdec::common::Address retdec::stacofin::DetectedFunction::getAddress | ( | ) | const |
std::string retdec::stacofin::DetectedFunction::getName | ( | ) | const |
bool retdec::stacofin::DetectedFunction::isTerminating | ( | ) | const |
bool retdec::stacofin::DetectedFunction::isThumb | ( | ) | const |
bool retdec::stacofin::DetectedFunction::operator< | ( | const DetectedFunction & | o | ) | const |
float retdec::stacofin::DetectedFunction::refsOkShare | ( | ) | const |
void retdec::stacofin::DetectedFunction::setAddress | ( | retdec::common::Address | a | ) |
Setting an address will also fix addresses of all the function's references.
void retdec::stacofin::DetectedFunction::setReferences | ( | const std::string & | refsString | ) |
Parse string with references from meta attribute.
refsString | references string |
|
private |
Virtual address.
std::vector<std::string> retdec::stacofin::DetectedFunction::names |
Possible original names.
std::size_t retdec::stacofin::DetectedFunction::offset |
References retdec::stacofin::DetectedFunction::references |
Offset-name relocation pairs.
std::string retdec::stacofin::DetectedFunction::signaturePath |
Source signature path.
std::size_t retdec::stacofin::DetectedFunction::size |
Original size of source.