#include <Elf_X.h>
Public Member Functions | |
| Elf_X_Shdr () | |
| Elf_X_Shdr (bool is64_, Elf_Scn *input) | |
| unsigned long | sh_name () const |
| unsigned long | sh_type () const |
| unsigned long | sh_flags () const |
| unsigned long | sh_addr () const |
| unsigned long | sh_offset () const |
| unsigned long | sh_size () const |
| unsigned long | sh_link () const |
| unsigned long | sh_info () const |
| unsigned long | sh_addralign () const |
| unsigned long | sh_entsize () const |
| bool | isFromDebugFile () const |
| void | sh_name (unsigned long input) |
| void | sh_type (unsigned long input) |
| void | sh_flags (unsigned long input) |
| void | sh_addr (unsigned long input) |
| void | sh_offset (unsigned long input) |
| void | sh_size (unsigned long input) |
| void | sh_link (unsigned long input) |
| void | sh_info (unsigned long input) |
| void | sh_addralign (unsigned long input) |
| void | sh_entsize (unsigned long input) |
| void | setDebugFile (bool b) |
| Elf_X_Data | get_data () const |
| void | first_data () |
| bool | next_data () |
| bool | isValid () const |
| unsigned | wordSize () const |
| Elf_Scn * | getScn () const |
| Elf_X_Nhdr | get_note () const |
Protected Attributes | |
| Elf_Scn * | scn |
| Elf_Data * | data |
| Elf32_Shdr * | shdr32 |
| Elf64_Shdr * | shdr64 |
| bool | is64 |
| bool | fromDebugFile |
| const Elf_X * | _elf |
Friends | |
| class | Elf_X |
Definition at line 189 of file Elf_X.h.
| Elf_X_Shdr::Elf_X_Shdr | ( | bool | is64_, | |
| Elf_Scn * | input | |||
| ) |
| void Elf_X_Shdr::first_data | ( | ) |
| Elf_X_Data Elf_X_Shdr::get_data | ( | ) | const |
Definition at line 776 of file Elf_X.C.
Referenced by Dyninst::SymElf::createSymCache(), Dyninst::SymtabAPI::Object::fix_global_symbol_modules_static_stab(), Dyninst::SymtabAPI::Object::get_relocation_entries(), Dyninst::SymtabAPI::Object::get_relocationDyn_entries(), Dyninst::SymElf::getSectionByName(), Dyninst::SymElf::getSectionName(), Dyninst::SymElf::getSymOffset(), Dyninst::SymElf::getSymTOC(), Dyninst::Dwarf::DwarfHandle::hasFrameData(), Dyninst::SymElf::init(), Dyninst::SymtabAPI::Object::load_object(), Dyninst::SymtabAPI::Object::load_shared_object(), Dyninst::SymtabAPI::Object::loaded_elf(), Dyninst::SymElf::lookupCachedSymbol(), Dyninst::SymtabAPI::Object::parse_all_relocations(), Dyninst::SymtabAPI::Object::parse_dynamicSymbols(), Dyninst::SymtabAPI::Object::parse_opd(), Dyninst::SystemTapEntries::parseAllNotes(), Dyninst::SymtabAPI::Object::parseDynamic(), and pdelf_get_shnames().
| Elf_X_Nhdr Elf_X_Shdr::get_note | ( | ) | const |
| bool Elf_X_Shdr::isFromDebugFile | ( | ) | const |
Definition at line 704 of file Elf_X.C.
References fromDebugFile.
Referenced by Dyninst::SymtabAPI::Object::loaded_elf().
| bool Elf_X_Shdr::isValid | ( | ) | const |
Definition at line 794 of file Elf_X.C.
References shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::get_valid_memory_areas(), Dyninst::Dwarf::DwarfHandle::hasFrameData(), Dyninst::SymtabAPI::Object::loaded_elf(), Dyninst::SystemTapEntries::parseAllNotes(), and pdelf_get_shnames().
| void Elf_X_Shdr::setDebugFile | ( | bool | b | ) |
Definition at line 770 of file Elf_X.C.
References fromDebugFile.
Referenced by Dyninst::SymtabAPI::Object::loaded_elf().
| void Elf_X_Shdr::sh_addr | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_addr | ( | ) | const |
Definition at line 644 of file Elf_X.C.
References _elf, Dyninst::Elf_X::e_type(), is64, shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::get_valid_memory_areas(), Dyninst::SymElf::getSectionAddress(), Dyninst::SymElf::getSectionByAddress(), Dyninst::SymElf::getSymOffset(), Dyninst::SymElf::getSymTOC(), Dyninst::SymtabAPI::Object::loaded_elf(), and SectionHeaderSortFunction::operator()().
| void Elf_X_Shdr::sh_addralign | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_addralign | ( | ) | const |
| void Elf_X_Shdr::sh_entsize | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_entsize | ( | ) | const |
Definition at line 697 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::loaded_elf(), and Dyninst::SymtabAPI::Object::parse_all_relocations().
| void Elf_X_Shdr::sh_flags | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_flags | ( | ) | const |
Definition at line 637 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::get_valid_memory_areas(), and Dyninst::SymtabAPI::Object::loaded_elf().
| void Elf_X_Shdr::sh_info | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_info | ( | ) | const |
| void Elf_X_Shdr::sh_link | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_link | ( | ) | const |
Definition at line 676 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymElf::lookupCachedSymbol(), and Dyninst::SymtabAPI::Object::parse_all_relocations().
| void Elf_X_Shdr::sh_name | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_name | ( | ) | const |
Definition at line 623 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymElf::getSectionByName(), Dyninst::SymElf::getSectionName(), Dyninst::Dwarf::DwarfHandle::hasFrameData(), Dyninst::SymElf::init(), and Dyninst::SymtabAPI::Object::loaded_elf().
| void Elf_X_Shdr::sh_offset | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_offset | ( | ) | const |
Definition at line 662 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::loaded_elf(), and Dyninst::SymtabAPI::Object::parse_all_relocations().
| void Elf_X_Shdr::sh_size | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_size | ( | ) | const |
Definition at line 669 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymtabAPI::Object::fix_global_symbol_modules_static_stab(), Dyninst::SymtabAPI::Object::get_valid_memory_areas(), Dyninst::SymElf::getSectionByAddress(), Dyninst::SymElf::getSymOffset(), Dyninst::SymElf::getSymTOC(), Dyninst::SymtabAPI::Object::loaded_elf(), Dyninst::SymtabAPI::Object::parse_all_relocations(), and Dyninst::SystemTapEntries::parseAllNotes().
| void Elf_X_Shdr::sh_type | ( | unsigned long | input | ) |
| unsigned long Elf_X_Shdr::sh_type | ( | ) | const |
Definition at line 630 of file Elf_X.C.
References is64, shdr32, and shdr64.
Referenced by Dyninst::SymElf::createSymCache(), get_note(), Dyninst::SymElf::getContainingSymbol(), Dyninst::SymElf::getSymbolByName(), Dyninst::Dwarf::DwarfHandle::hasFrameData(), Dyninst::SymtabAPI::Object::loaded_elf(), Dyninst::SymtabAPI::Object::parse_all_relocations(), and Dyninst::SystemTapEntries::parseAllNotes().
const Elf_X* Dyninst::Elf_X_Shdr::_elf [protected] |
Elf_Data* Dyninst::Elf_X_Shdr::data [protected] |
Definition at line 237 of file Elf_X.h.
Referenced by first_data(), get_data(), get_note(), and next_data().
bool Dyninst::Elf_X_Shdr::fromDebugFile [protected] |
Definition at line 241 of file Elf_X.h.
Referenced by isFromDebugFile(), and setDebugFile().
bool Dyninst::Elf_X_Shdr::is64 [protected] |
Definition at line 240 of file Elf_X.h.
Referenced by Elf_X_Shdr(), get_data(), sh_addr(), sh_addralign(), sh_entsize(), sh_flags(), sh_info(), sh_link(), sh_name(), sh_offset(), sh_size(), sh_type(), and wordSize().
Elf_Scn* Dyninst::Elf_X_Shdr::scn [protected] |
Definition at line 236 of file Elf_X.h.
Referenced by Elf_X_Shdr(), first_data(), getScn(), and next_data().
Elf32_Shdr* Dyninst::Elf_X_Shdr::shdr32 [protected] |
Definition at line 238 of file Elf_X.h.
Referenced by Elf_X_Shdr(), isValid(), sh_addr(), sh_addralign(), sh_entsize(), sh_flags(), sh_info(), sh_link(), sh_name(), sh_offset(), sh_size(), and sh_type().
Elf64_Shdr* Dyninst::Elf_X_Shdr::shdr64 [protected] |
Definition at line 239 of file Elf_X.h.
Referenced by Elf_X_Shdr(), isValid(), sh_addr(), sh_addralign(), sh_entsize(), sh_flags(), sh_info(), sh_link(), sh_name(), sh_offset(), sh_size(), and sh_type().
1.6.1