retdec
|
#include <elf_symbol.h>
Public Member Functions | |
Getters | |
unsigned long long | getElfType () const |
unsigned long long | getElfBind () const |
unsigned long long | getElfOther () const |
Setters | |
@] | |
void | setElfType (unsigned long long symbolElfType) |
void | setElfBind (unsigned long long symbolElfBind) |
void | setElfOther (unsigned long long symbolElfOther) |
![]() | |
bool | isUndefined () const |
bool | isPrivate () const |
bool | isPublic () const |
bool | isWeak () const |
bool | isExtern () const |
bool | isAbsolute () const |
bool | isCommon () const |
bool | isUnknown () const |
bool | isFunction () const |
bool | isObject () const |
bool | isFile () const |
bool | isThumbSymbol () const |
bool | isEven () const |
bool | isOdd () const |
bool | hasEmptyName () const |
const std::string & | getName () const |
std::string | getNormalizedName () const |
std::string | getOriginalName () const |
Symbol::Type | getType () const |
Symbol::UsageType | getUsageType () const |
unsigned long long | getIndex () const |
bool | getAddress (unsigned long long &virtualAddress) const |
bool | getRealAddress (unsigned long long &virtualAddress) const |
bool | getSize (unsigned long long &symbolSize) const |
bool | getLinkToSection (unsigned long long §ionIndex) const |
void | setName (const std::string &symbolName) |
void | setOriginalName (const std::string &symbolOriginalName) |
void | setType (Symbol::Type symbolType) |
void | setUsageType (Symbol::UsageType symbolUsageType) |
void | setIndex (unsigned long long symbolIndex) |
void | setAddress (unsigned long long symbolAddress) |
void | setSize (unsigned long long symbolSize) |
void | setLinkToSection (unsigned long long sectionIndex) |
void | setIsThumbSymbol (bool b) |
void | invalidateAddress () |
void | invalidateSize () |
void | invalidateLinkToSection () |
Private Attributes | |
unsigned long long | elfType = 0 |
ELF symbol type. More... | |
unsigned long long | elfBind = 0 |
ELF symbol bind type. More... | |
unsigned long long | elfOther = 0 |
ELF symbol other data. More... | |
Additional Inherited Members | |
![]() | |
enum class | Type { UNDEFINED_SYM , PRIVATE , PUBLIC , WEAK , EXTERN , ABSOLUTE_SYM , COMMON } |
enum class | UsageType { UNKNOWN , FUNCTION , OBJECT , FILE } |
Class for one ELF symbol
unsigned long long retdec::fileformat::ElfSymbol::getElfBind | ( | ) | const |
Returns the ELF symbol bind type.
unsigned long long retdec::fileformat::ElfSymbol::getElfOther | ( | ) | const |
Returns the ELF symbol other data.
unsigned long long retdec::fileformat::ElfSymbol::getElfType | ( | ) | const |
Returns the ELF symbol type.
void retdec::fileformat::ElfSymbol::setElfBind | ( | unsigned long long | symbolElfBind | ) |
Sets the ELF symbol bind type.
symbolElfBind | ELF symbol bind type. |
void retdec::fileformat::ElfSymbol::setElfOther | ( | unsigned long long | symbolElfOther | ) |
Sets the ELF symbol other data.
symbolElfOther | ELF symbol other data. |
void retdec::fileformat::ElfSymbol::setElfType | ( | unsigned long long | symbolElfType | ) |
Sets the ELF symbol type.
symbolElfType | ELF symbol type. |
|
private |
ELF symbol bind type.
|
private |
ELF symbol other data.
|
private |
ELF symbol type.