#include <Elf_X.h>
Public Member Functions | |
| Elf_X_Sym () | |
| Elf_X_Sym (bool is64_, Elf_Data *input) | |
| unsigned long | st_name (int i) const |
| unsigned long | st_value (int i) const |
| unsigned long | st_size (int i) const |
| unsigned char | st_info (int i) const |
| unsigned char | st_other (int i) const |
| unsigned short | st_shndx (int i) const |
| unsigned char | ST_BIND (int i) const |
| unsigned char | ST_TYPE (int i) const |
| unsigned char | ST_VISIBILITY (int i) const |
| void * | st_symptr (int i) const |
| unsigned | st_entsize () const |
| void | st_name (int i, unsigned long input) |
| void | st_value (int i, unsigned long input) |
| void | st_size (int i, unsigned long input) |
| void | st_info (int i, unsigned char input) |
| void | st_other (int i, unsigned char input) |
| void | st_shndx (int i, unsigned short input) |
| unsigned long | count () const |
| bool | isValid () const |
Protected Attributes | |
| Elf_Data * | data |
| Elf32_Sym * | sym32 |
| Elf64_Sym * | sym64 |
| bool | is64 |
Definition at line 411 of file Elf_X.h.
| Elf_X_Sym::Elf_X_Sym | ( | bool | is64_, | |
| Elf_Data * | input | |||
| ) |
| unsigned long Elf_X_Sym::count | ( | ) | const |
Definition at line 1351 of file Elf_X.C.
Referenced by Dyninst::SymElf::createSymCache(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
| bool Elf_X_Sym::isValid | ( | ) | const |
Definition at line 1357 of file Elf_X.C.
Referenced by Dyninst::SymtabAPI::Object::get_relocation_entries(), Dyninst::SymtabAPI::Object::get_relocationDyn_entries(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
| unsigned char Elf_X_Sym::ST_BIND | ( | int | i | ) | const |
| unsigned Elf_X_Sym::st_entsize | ( | ) | const |
Definition at line 1306 of file Elf_X.C.
References is64.
Referenced by Dyninst::SymElf::lookupCachedSymbol().
| void Elf_X_Sym::st_info | ( | int | i, | |
| unsigned char | input | |||
| ) |
| unsigned char Elf_X_Sym::st_info | ( | int | i | ) | const |
| void Elf_X_Sym::st_name | ( | int | i, | |
| unsigned long | input | |||
| ) |
| unsigned long Elf_X_Sym::st_name | ( | int | i | ) | const |
Definition at line 1236 of file Elf_X.C.
References is64, sym32, and sym64.
Referenced by Dyninst::SymtabAPI::Object::get_relocation_entries(), Dyninst::SymtabAPI::Object::get_relocationDyn_entries(), Dyninst::SymElf::lookupCachedSymbol(), Dyninst::SymtabAPI::Object::parse_all_relocations(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
| void Elf_X_Sym::st_other | ( | int | i, | |
| unsigned char | input | |||
| ) |
| unsigned char Elf_X_Sym::st_other | ( | int | i | ) | const |
| void Elf_X_Sym::st_shndx | ( | int | i, | |
| unsigned short | input | |||
| ) |
| unsigned short Elf_X_Sym::st_shndx | ( | int | i | ) | const |
| void Elf_X_Sym::st_size | ( | int | i, | |
| unsigned long | input | |||
| ) |
| unsigned long Elf_X_Sym::st_size | ( | int | i | ) | const |
| void * Elf_X_Sym::st_symptr | ( | int | i | ) | const |
| unsigned char Elf_X_Sym::ST_TYPE | ( | int | i | ) | const |
Definition at line 1285 of file Elf_X.C.
References is64, st_info(), sym32, and sym64.
Referenced by Dyninst::SymElf::getSymOffset(), Dyninst::SymElf::getSymTOC(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
| void Elf_X_Sym::st_value | ( | int | i, | |
| unsigned long | input | |||
| ) |
| unsigned long Elf_X_Sym::st_value | ( | int | i | ) | const |
Definition at line 1243 of file Elf_X.C.
References is64, sym32, and sym64.
Referenced by Dyninst::SymtabAPI::Object::get_relocation_entries(), Dyninst::SymElf::getSymOffset(), Dyninst::SymElf::getSymTOC(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
| unsigned char Elf_X_Sym::ST_VISIBILITY | ( | int | i | ) | const |
Definition at line 1292 of file Elf_X.C.
References is64, st_other(), sym32, and sym64.
Referenced by Dyninst::SymtabAPI::Object::parse_dynamicSymbols().
Elf_Data* Dyninst::Elf_X_Sym::data [protected] |
Definition at line 442 of file Elf_X.h.
Referenced by count(), and Elf_X_Sym().
bool Dyninst::Elf_X_Sym::is64 [protected] |
Definition at line 445 of file Elf_X.h.
Referenced by count(), Elf_X_Sym(), ST_BIND(), st_entsize(), st_info(), st_name(), st_other(), st_shndx(), st_size(), st_symptr(), ST_TYPE(), st_value(), and ST_VISIBILITY().
Elf32_Sym* Dyninst::Elf_X_Sym::sym32 [protected] |
Definition at line 443 of file Elf_X.h.
Referenced by Elf_X_Sym(), isValid(), ST_BIND(), st_info(), st_name(), st_other(), st_shndx(), st_size(), st_symptr(), ST_TYPE(), st_value(), and ST_VISIBILITY().
Elf64_Sym* Dyninst::Elf_X_Sym::sym64 [protected] |
Definition at line 444 of file Elf_X.h.
Referenced by Elf_X_Sym(), isValid(), ST_BIND(), st_info(), st_name(), st_other(), st_shndx(), st_size(), st_symptr(), ST_TYPE(), st_value(), and ST_VISIBILITY().
1.6.1