retdec
|
#include <symbol.h>
Public Member Functions | |
Getters | |
std::string | getName () const |
std::string | getType () const |
std::string | getBind () const |
std::string | getOther () const |
std::string | getLinkToSection () const |
std::string | getIndexStr () const |
std::string | getValueStr () const |
std::string | getAddressStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSizeStr () const |
Setters | |
void | setName (std::string symbolName) |
void | setType (std::string symbolType) |
void | setBind (std::string symbolBind) |
void | setOther (std::string otherInformation) |
void | setLinkToSection (std::string link) |
void | setIndex (unsigned long long symbolIndex) |
void | setValue (unsigned long long symbolValue) |
void | setAddress (unsigned long long addressValue) |
void | setSize (unsigned long long symbolSize) |
Private Attributes | |
std::string | name |
name of symbol More... | |
std::string | type |
type of symbol More... | |
std::string | bind |
symbol bind More... | |
std::string | other |
other information More... | |
std::string | linkToSection |
link to associated section More... | |
unsigned long long | index = std::numeric_limits<unsigned long long>::max() |
index of symbol in symbol table More... | |
unsigned long long | value = std::numeric_limits<unsigned long long>::max() |
value of symbol More... | |
unsigned long long | address = std::numeric_limits<unsigned long long>::max() |
symbol address More... | |
unsigned long long | size = std::numeric_limits<unsigned long long>::max() |
size associated with symbol More... | |
Class for one symbol
Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for numeric types.
std::string retdec::fileinfo::Symbol::getAddressStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get symbol address
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::Symbol::getBind | ( | ) | const |
Get symbol bind
std::string retdec::fileinfo::Symbol::getIndexStr | ( | ) | const |
Get index of symbol in symbol table
std::string retdec::fileinfo::Symbol::getLinkToSection | ( | ) | const |
Get link to associated section
std::string retdec::fileinfo::Symbol::getName | ( | ) | const |
Get symbol name
std::string retdec::fileinfo::Symbol::getOther | ( | ) | const |
Get other information
std::string retdec::fileinfo::Symbol::getSizeStr | ( | ) | const |
Get symbol size
std::string retdec::fileinfo::Symbol::getType | ( | ) | const |
Get symbol type
std::string retdec::fileinfo::Symbol::getValueStr | ( | ) | const |
Get symbol value
void retdec::fileinfo::Symbol::setAddress | ( | unsigned long long | addressValue | ) |
Set address of symbol
addressValue | Address of symbol |
void retdec::fileinfo::Symbol::setBind | ( | std::string | symbolBind | ) |
Set symbol bind
symbolBind | Simbol bind |
void retdec::fileinfo::Symbol::setIndex | ( | unsigned long long | symbolIndex | ) |
Set index of symbol in symbol table
symbolIndex | Index of symbol in symbol table |
void retdec::fileinfo::Symbol::setLinkToSection | ( | std::string | link | ) |
Set link to associated section
link | Link to associated section |
void retdec::fileinfo::Symbol::setName | ( | std::string | symbolName | ) |
Set symbol name
symbolName | Symbol name |
void retdec::fileinfo::Symbol::setOther | ( | std::string | otherInformation | ) |
Set other information about symbol
otherInformation | Other information about symbol |
void retdec::fileinfo::Symbol::setSize | ( | unsigned long long | symbolSize | ) |
Set size associated with symbol
symbolSize | Size associated with symbol |
void retdec::fileinfo::Symbol::setType | ( | std::string | symbolType | ) |
Set symbol type
symbolType | Symbol type |
void retdec::fileinfo::Symbol::setValue | ( | unsigned long long | symbolValue | ) |
Set symbol value
symbolValue | Symbol value |
|
private |
symbol address
|
private |
symbol bind
|
private |
index of symbol in symbol table
|
private |
link to associated section
|
private |
name of symbol
|
private |
other information
|
private |
size associated with symbol
|
private |
type of symbol
|
private |
value of symbol