#include <Object-elf.h>
Data Structures | |
| struct | DbgAddrConversion_t |
| class | File |
| class | intSymbol |
| class | Module |
Public Member Functions | |
| Object () | |
| Object (MappedFile *, bool, void(*)(const char *)=log_msg, bool alloc_syms=true) | |
| Object (MappedFile *, dyn_hash_map< std::string, LineInformation > &, std::vector< Region * > &, void(*)(const char *)=log_msg) | |
| Object (MappedFile *, std::string &member_name, Offset offset, void(*)(const char *)=log_msg, void *base=NULL, bool alloc_syms=true) | |
| Object (const Object &) | |
| virtual | ~Object () |
| bool | emitDriver (Symtab *obj, std::string fName, std::vector< Symbol * > &allSymbols, unsigned flag) |
| const char * | elf_vaddr_to_ptr (Offset vaddr) const |
| bool | hasStabInfo () const |
| bool | hasDwarfInfo () const |
| stab_entry * | get_stab_info () const |
| const char * | getFileName () const |
| void | getModuleLanguageInfo (dyn_hash_map< std::string, supportedLanguages > *mod_langs) |
| void | parseFileLineInfo (Symtab *obj, dyn_hash_map< std::string, LineInformation > &li) |
| void | parseTypeInfo (Symtab *obj) |
| bool | needs_function_binding () const |
| bool | get_func_binding_table (std::vector< relocationEntry > &fbt) const |
| bool | get_func_binding_table_ptr (const std::vector< relocationEntry > *&fbt) const |
| void | getDependencies (std::vector< std::string > &deps) |
| std::vector< std::string > & | libsRMd () |
| bool | addRelocationEntry (relocationEntry &re) |
| Offset | getLoadAddress () const |
| Offset | getEntryAddress () const |
| Offset | getBaseAddress () const |
| void | insertPrereqLibrary (std::string libname) |
| bool | removePrereqLibrary (std::string libname) |
| void | insertDynamicEntry (long name, long value) |
| virtual char * | mem_image () const |
| SYMTAB_EXPORT ObjectType | objType () const |
| const char * | interpreter_name () const |
| Offset | getTOCoffset (Offset off) const |
| void | setTOCoffset (Offset off) |
| const std::ostream & | dump_state_info (std::ostream &s) |
| bool | isEEL () |
| bool | isinText (Offset addr, Offset baseaddr) const |
| Offset | getPltSlot (std::string funcName) const |
| Offset | textAddress () |
| bool | isText (Offset addr) const |
| Dyninst::Architecture | getArch () |
| bool | is_offset_in_plt (Offset offset) const |
| Elf_X_Shdr * | getRegionHdrByAddr (Offset addr) |
| int | getRegionHdrIndexByAddr (Offset addr) |
| Elf_X_Shdr * | getRegionHdrByIndex (unsigned index) |
| bool | isRegionPresent (Offset segmentStart, Offset segmentSize, unsigned newPerms) |
| bool | getRegValueAtFrame (Address pc, Dyninst::MachRegister reg, Dyninst::MachRegisterVal ®_result, MemRegReader *reader) |
| bool | hasFrameDebugInfo () |
| bool | convertDebugOffset (Offset off, Offset &new_off) |
| std::vector< std::vector < Offset > > | getMoveSecAddrRange () const |
| dyn_hash_map< int, Region * > | getTagRegionMapping () const |
| bool | hasReldyn () const |
| bool | hasReladyn () const |
| bool | hasRelplt () const |
| bool | hasRelaplt () const |
| bool | isBlueGeneP () const |
| bool | isBlueGeneQ () const |
| bool | hasNoteSection () const |
| Region::RegionType | getRelType () const |
| Offset | getTextAddr () const |
| Offset | getSymtabAddr () const |
| Offset | getStrtabAddr () const |
| Offset | getDynamicAddr () const |
| Offset | getDynsymSize () const |
| Offset | getElfHashAddr () const |
| Offset | getGnuHashAddr () const |
| Offset | getRelPLTAddr () const |
| Offset | getRelPLTSize () const |
| Offset | getRelDynAddr () const |
| Offset | getRelDynSize () const |
| std::vector< relocationEntry > & | getPLTRelocs () |
| std::vector< relocationEntry > & | getDynRelocs () |
| Offset | getInitAddr () const |
| Offset | getFiniAddr () const |
| virtual void | setTruncateLinePaths (bool value) |
| virtual bool | getTruncateLinePaths () |
| Elf_X * | getElfHandle () |
| unsigned | gotSize () const |
| Offset | gotAddr () const |
| virtual SYMTAB_EXPORT void | getSegmentsSymReader (std::vector< SymSegment > &segs) |
| SYMTAB_EXPORT | Object (MappedFile *, bool defensive, void(*)(const char *)=log_msg, bool alloc_syms=true) |
| SYMTAB_EXPORT | Object () |
| virtual SYMTAB_EXPORT | ~Object (void) |
| SYMTAB_EXPORT bool | isForwarded (Offset addr) |
| SYMTAB_EXPORT bool | isEEL () const |
| SYMTAB_EXPORT bool | isText (const Offset addr) const |
| SYMTAB_EXPORT Offset | get_base_addr () const |
| SYMTAB_EXPORT Module * | GetCurrentModule (void) |
| SYMTAB_EXPORT bool | getCatchBlock (ExceptionBlock &b, Offset addr, unsigned size=0) const |
| SYMTAB_EXPORT unsigned int | GetTextSectionId (void) const |
| SYMTAB_EXPORT PIMAGE_NT_HEADERS | GetImageHeader (void) const |
| SYMTAB_EXPORT PVOID | GetMapAddr (void) const |
| SYMTAB_EXPORT Offset | getEntryPoint (void) const |
| SYMTAB_EXPORT Offset | getLoadAddress () const |
| SYMTAB_EXPORT Offset | getEntryAddress () const |
| SYMTAB_EXPORT Offset | getBaseAddress () const |
| SYMTAB_EXPORT Offset | getTOCoffset (Offset) const |
| SYMTAB_EXPORT ObjectType | objType () const |
| SYMTAB_EXPORT const char * | interpreter_name () const |
| SYMTAB_EXPORT dyn_hash_map < std::string, LineInformation > & | getLineInfo () |
| SYMTAB_EXPORT void | parseTypeInfo (Symtab *obj) |
| virtual SYMTAB_EXPORT Dyninst::Architecture | getArch () |
| SYMTAB_EXPORT void | ParseGlobalSymbol (PSYMBOL_INFO pSymInfo) |
| SYMTAB_EXPORT const std::vector< Offset > & | getPossibleMains () const |
| SYMTAB_EXPORT void | getModuleLanguageInfo (dyn_hash_map< std::string, supportedLanguages > *mod_langs) |
| SYMTAB_EXPORT bool | emitDriver (Symtab *obj, std::string fName, std::vector< Symbol * > &allSymbols, unsigned flag) |
| SYMTAB_EXPORT unsigned int | getSecAlign () const |
| SYMTAB_EXPORT void | insertPrereqLibrary (std::string lib) |
| virtual char * | mem_image () const |
| void | setTrapHeader (Offset ptr) |
| Offset | trapHeader () |
| SYMTAB_EXPORT DWORD | ImageOffset2SectionNum (DWORD dwRO) |
| SYMTAB_EXPORT PIMAGE_SECTION_HEADER | ImageOffset2Section (DWORD dwRO) |
| SYMTAB_EXPORT PIMAGE_SECTION_HEADER | ImageRVA2Section (DWORD dwRVA) |
| SYMTAB_EXPORT DWORD | RVA2Offset (DWORD dwRVA) |
| SYMTAB_EXPORT DWORD | Offset2RVA (DWORD dwRO) |
| SYMTAB_EXPORT void | addReference (Offset, std::string, std::string) |
| SYMTAB_EXPORT std::map < std::string, std::map < Offset, std::string > > & | getRefs () |
| std::vector< std::pair < std::string, IMAGE_IMPORT_DESCRIPTOR > > & | getImportDescriptorTable () |
| std::map< std::string, std::map< std::string, WORD > > & | getHintNameTable () |
| PIMAGE_NT_HEADERS | getPEHdr () |
| void | setTOCoffset (Offset) |
| Object (const Object &) | |
| Object & | operator= (const Object &) |
| Object () | |
| Object (MappedFile *, MappedFile *, bool, void(*)(const char *)=log_msg, Offset off=0, bool alloc_syms=true) | |
| Object (MappedFile *, MappedFile *, dyn_hash_map< std::string, LineInformation > &, std::vector< Region * > &, void(*)(const char *)=log_msg, Offset off=0) | |
| Object (MappedFile *, MappedFile *, std::string &member_name, Offset offset, void(*)(const char *)=log_msg, void *base=NULL) | |
| virtual | ~Object () |
| Offset | getTOCoffset () const |
| Offset | data_reloc () const |
| Offset | text_reloc () const |
| Offset | bss_size () const |
| void | get_stab_info (char *&stabstr, int &nstabs, void *&stabs, char *&stringpool) const |
| void | get_line_info (int &nlines, char *&lines, unsigned long &fdptr) const |
| Offset | getLoadAddress () const |
| Offset | getEntryAddress () const |
| Offset | getBaseAddress () const |
| void | getModuleLanguageInfo (dyn_hash_map< std::string, supportedLanguages > *mod_langs) |
| const char * | interpreter_name () const |
| Dyninst::Architecture | getArch () |
| ObjectType | objType () const |
| bool | isEEL () const |
| void | parseTypeInfo (Symtab *obj) |
| bool | emitDriver (Symtab *obj, string fName, std::vector< Symbol * > &allSymbols, unsigned flag) |
| SYMTAB_EXPORT unsigned | nsymbols () const |
| SYMTAB_EXPORT bool | get_symbols (std::string &name, std::vector< Symbol * > &symbols) |
| SYMTAB_EXPORT char * | code_ptr () const |
| SYMTAB_EXPORT Offset | code_off () const |
| SYMTAB_EXPORT Offset | code_len () const |
| SYMTAB_EXPORT char * | data_ptr () const |
| SYMTAB_EXPORT Offset | data_off () const |
| SYMTAB_EXPORT Offset | data_len () const |
| SYMTAB_EXPORT bool | is_aout () const |
| SYMTAB_EXPORT bool | isDynamic () const |
| SYMTAB_EXPORT unsigned | no_of_sections () const |
| SYMTAB_EXPORT unsigned | no_of_symbols () const |
| SYMTAB_EXPORT bool | getAllExceptions (std::vector< ExceptionBlock * > &excpBlocks) const |
| SYMTAB_EXPORT std::vector < Region * > | getAllRegions () const |
| SYMTAB_EXPORT supportedLanguages | pickLanguage (std::string &working_module, char *working_options, supportedLanguages working_lang) |
| SYMTAB_EXPORT Offset | loader_off () const |
| SYMTAB_EXPORT unsigned | loader_len () const |
| SYMTAB_EXPORT int | getAddressWidth () const |
| bool | isStaticBinary () const |
| SYMTAB_EXPORT bool | getSegments (std::vector< Segment > &segs) const |
| SYMTAB_EXPORT bool | have_deferred_parsing (void) const |
| SYMTAB_EXPORT void * | getErrFunc () const |
| SYMTAB_EXPORT dyn_hash_map < std::string, std::vector < Symbol * > > * | getAllSymbols () |
| SYMTAB_EXPORT const std::string | findModuleForSym (Symbol *sym) |
| SYMTAB_EXPORT void | clearSymsToMods () |
| SYMTAB_EXPORT bool | hasError () const |
Data Fields | |
| Dyninst::Dwarf::DwarfHandle::ptr | dwarf |
| std::set< std::string > | prereq_libs |
| std::vector< std::pair< long, long > > | new_dynamic_entries |
Static Public Attributes | |
| static bool | truncateLineFilenames = true |
Protected Attributes | |
| MappedFile * | mf |
| std::vector< Region * > | regions_ |
| dyn_hash_map< std::string, std::vector< Symbol * > > | symbols_ |
| std::map< Symbol *, std::string > | symsToModules_ |
| dyn_hash_map< Offset, std::vector< Symbol * > > | symsByOffset_ |
| std::vector< std::pair < std::string, Offset > > | modules_ |
| char * | code_ptr_ |
| Offset | code_off_ |
| Offset | code_len_ |
| char * | data_ptr_ |
| Offset | data_off_ |
| Offset | data_len_ |
| Offset | code_vldS_ |
| Offset | code_vldE_ |
| Offset | data_vldS_ |
| Offset | data_vldE_ |
| Offset | loader_off_ |
| Offset | loader_len_ |
| bool | is_aout_ |
| bool | is_dynamic_ |
| bool | has_error |
| bool | is_static_binary_ |
| unsigned | no_of_sections_ |
| unsigned | no_of_symbols_ |
| bool | deferredParse |
| void(* | err_func_ )(const char *) |
| int | addressWidth_nbytes |
| std::vector< ExceptionBlock > | catch_addrs_ |
Private Member Functions | |
| bool | loaded_elf (Offset &, Offset &, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&, Elf_X_Shdr *&rel_plt_scnp, Elf_X_Shdr *&plt_scnp, Elf_X_Shdr *&got_scnp, Elf_X_Shdr *&dynsym_scnp, Elf_X_Shdr *&dynstr_scnp, Elf_X_Shdr *&dynamic_scnp, Elf_X_Shdr *&eh_frame, Elf_X_Shdr *&gcc_except, Elf_X_Shdr *&interp_scnp, Elf_X_Shdr *&opd_scnp, bool a_out=false) |
| Symbol * | handle_opd_symbol (Region *opd, Symbol *sym) |
| void | handle_opd_relocations () |
| void | parse_opd (Elf_X_Shdr *) |
| void | parseStabFileLineInfo (Symtab *, dyn_hash_map< std::string, LineInformation > &li) |
| void | parseDwarfFileLineInfo (dyn_hash_map< std::string, LineInformation > &li) |
| void | parseDwarfTypes (Symtab *obj) |
| void | parseStabTypes (Symtab *obj) |
| void | load_object (bool) |
| void | load_shared_object (bool) |
| bool | get_relocation_entries (Elf_X_Shdr *&rel_plt_scnp, Elf_X_Shdr *&dynsym_scnp, Elf_X_Shdr *&dynstr_scnp) |
| bool | get_relocationDyn_entries (unsigned rel_index, Elf_X_Shdr *&dynsym_scnp, Elf_X_Shdr *&dynstr_scnp) |
| bool | parse_all_relocations (Elf_X &, Elf_X_Shdr *, Elf_X_Shdr *, Elf_X_Shdr *, Elf_X_Shdr *) |
| void | parseDynamic (Elf_X_Shdr *&dyn_scnp, Elf_X_Shdr *&dynsym_scnp, Elf_X_Shdr *&dynstr_scnp) |
| bool | parse_symbols (Elf_X_Data &symdata, Elf_X_Data &strdata, Elf_X_Shdr *bssscnp, Elf_X_Shdr *symscnp, bool shared_library, std::string module) |
| void | parse_dynamicSymbols (Elf_X_Shdr *&dyn_scnp, Elf_X_Data &symdata, Elf_X_Data &strdata, bool shared_library, std::string module) |
| void | find_code_and_data (Elf_X &elf, Offset txtaddr, Offset dataddr) |
| bool | fix_global_symbol_modules_static_stab (Elf_X_Shdr *stabscnp, Elf_X_Shdr *stabstrscnp) |
| bool | fix_global_symbol_modules_static_dwarf () |
| void | get_valid_memory_areas (Elf_X &elf) |
| bool | find_catch_blocks (Elf_X_Shdr *eh_frame, Elf_X_Shdr *except_scn, Address textaddr, Address dataaddr, std::vector< ExceptionBlock > &catch_addrs) |
| SYMTAB_EXPORT void | ParseSymbolInfo (bool) |
| SYMTAB_EXPORT void | parseFileLineInfo (Symtab *, dyn_hash_map< std::string, LineInformation > &) |
| SYMTAB_EXPORT void | FindInterestingSections (bool, bool) |
| Region * | findEnclosingRegion (const Offset where) |
| void | AddTLSFunctions () |
| void | load_object (bool alloc_syms) |
| void | load_archive (bool is_aout, bool alloc_syms) |
| bool | fillExceptionTable (struct exceptab *, unsigned int, bool, struct syment *) |
| void | parse_aout (int offset, bool is_aout, bool alloc_syms) |
| void | parseFileLineInfo (Symtab *, dyn_hash_map< std::string, LineInformation > &li) |
| void | parseLineInformation (dyn_hash_map< std::string, LineInformation > &li, std::string *currentSourceFile, char *symbolName, SYMENT *sym, Offset linesfdptr, char *lines, int nlines) |
Static Private Member Functions | |
| static void | log_elferror (void(*)(const char *), const char *) |
Private Attributes | |
| Elf_X * | elfHdr |
| std::vector< std::vector < Offset > > | moveSecAddrRange |
| dyn_hash_map< Offset, int > | secAddrTagMapping |
| dyn_hash_map< int, unsigned long > | secTagSizeMapping |
| dyn_hash_map< int, Region * > | secTagRegionMapping |
| bool | hasReldyn_ |
| bool | hasReladyn_ |
| bool | hasRelplt_ |
| bool | hasRelaplt_ |
| Region::RegionType | relType_ |
| bool | isBlueGeneP_ |
| bool | isBlueGeneQ_ |
| bool | hasNoteSection_ |
| Offset | elf_hash_addr_ |
| Offset | gnu_hash_addr_ |
| Offset | dynamic_offset_ |
| size_t | dynamic_size_ |
| size_t | dynsym_size_ |
| Offset | init_addr_ |
| Offset | fini_addr_ |
| Offset | text_addr_ |
| Offset | text_size_ |
| Offset | symtab_addr_ |
| Offset | strtab_addr_ |
| Offset | dynamic_addr_ |
| Offset | dynsym_addr_ |
| Offset | dynstr_addr_ |
| Offset | got_addr_ |
| unsigned | got_size_ |
| Offset | plt_addr_ |
| unsigned | plt_size_ |
| unsigned | plt_entry_size_ |
| Offset | rel_plt_addr_ |
| unsigned | rel_plt_size_ |
| unsigned | rel_plt_entry_size_ |
| Offset | rel_addr_ |
| unsigned | rel_size_ |
| unsigned | rel_entry_size_ |
| Offset | opd_addr_ |
| unsigned | opd_size_ |
| Offset | stab_off_ |
| unsigned | stab_size_ |
| Offset | stabstr_off_ |
| Offset | stab_indx_off_ |
| unsigned | stab_indx_size_ |
| Offset | stabstr_indx_off_ |
| bool | dwarvenDebugInfo |
| Offset | loadAddress_ |
| Offset | entryAddress_ |
| char * | interpreter_name_ |
| bool | isStripped |
| std::map< Offset, Offset > | TOC_table_ |
| bool | EEL |
| bool | did_open |
| ObjectType | obj_type_ |
| std::vector< relocationEntry > | relocation_table_ |
| std::vector< relocationEntry > | fbt_ |
| std::vector< Elf_X_Shdr * > | allRegionHdrs |
| std::vector< Elf_X_Shdr * > | allRegionHdrsByShndx |
| dyn_hash_map< unsigned, std::vector< std::string > > | versionMapping |
| dyn_hash_map< unsigned, std::string > | versionFileNameMapping |
| std::vector< std::string > | deps_ |
| std::vector< std::string > | rmd_deps |
| bool | DbgSectionMapSorted |
| std::vector< DbgAddrConversion_t > | DebugSectionMap |
| Module * | curModule |
| Offset | baseAddr |
| Offset | imageBase |
| PIMAGE_NT_HEADERS | peHdr |
| Offset | trapHeaderPtr_ |
| unsigned int | SecAlignment |
| std::vector< std::pair < std::string, IMAGE_IMPORT_DESCRIPTOR > > | idt_ |
| std::map< std::string, std::map< std::string, WORD > > | hnt_ |
| std::map< std::string, std::map< Offset, std::string > > | ref |
| unsigned int | textSectionId |
| unsigned int | dataSectionId |
| HANDLE | hProc |
| std::vector< Offset > | possible_mains |
| fileOpener * | fo_ |
| std::string | member_ |
| Offset | offset_ |
| Offset | toc_offset_ |
| Offset | data_reloc_ |
| Offset | text_reloc_ |
| Offset | bss_size_ |
| Offset | baseAddress_ |
| char * | stringPool |
| int | nstabs_ |
| int | nlines_ |
| void * | stabstr_ |
| void * | stabs_ |
| void * | stringpool_ |
| void * | linesptr_ |
| Offset | linesfdptr_ |
| bool | is64_ |
| dyn_hash_map< std::string, LineInformation > | lineInfo_ |
Friends | |
| class | emitElf |
| class | emitElf64 |
| class | Symtab |
Definition at line 297 of file Object-elf.h.
| Dyninst::SymtabAPI::Object::Object | ( | ) | [inline] |
Definition at line 301 of file Object-elf.h.
| Object::Object | ( | MappedFile * | mf_, | |
| bool | defensive, | |||
| void(*)(const char *) | err_func = log_msg, |
|||
| bool | alloc_syms = true | |||
| ) |
Definition at line 3321 of file Object-elf.C.
References MappedFile::base_addr(), did_open, dwarf, Dyninst::Elf_X::e_phnum(), Dyninst::Elf_X::e_type(), elfHdr, Dyninst::SymtabAPI::AObject::err_func_, MappedFile::getFD(), gettimeofday(), Dyninst::SymtabAPI::AObject::has_error, interpreter_name_, Dyninst::SymtabAPI::AObject::is_aout_, isStripped, Dyninst::Elf_X::isValid(), load_object(), load_shared_object(), log_elferror(), log_perror(), Dyninst::SymtabAPI::AObject::mf, Dyninst::Elf_X::newElf_X(), MappedFile::pathname(), pdelf_check_ehdr(), print_symbol_map(), MappedFile::size(), and Dyninst::SymtabAPI::AObject::symbols_.
| Dyninst::SymtabAPI::Object::Object | ( | MappedFile * | , | |
| dyn_hash_map< std::string, LineInformation > & | , | |||
| std::vector< Region * > & | , | |||
| void(*)(const char *) | = log_msg | |||
| ) |
| Dyninst::SymtabAPI::Object::Object | ( | MappedFile * | , | |
| std::string & | member_name, | |||
| Offset | offset, | |||
| void(*)(const char *) | = log_msg, |
|||
| void * | base = NULL, |
|||
| bool | alloc_syms = true | |||
| ) |
| Object::Object | ( | const Object & | obj | ) |
Definition at line 3395 of file Object-elf.C.
References DbgSectionMapSorted, deps_, elfHdr, entryAddress_, fbt_, interpreter_name_, isStripped, loadAddress_, relocation_table_, and relType_.
| Object::~Object | ( | void | ) | [virtual] |
Definition at line 3412 of file Object-elf.C.
References allRegionHdrs, deps_, fbt_, relocation_table_, versionFileNameMapping, and versionMapping.
| SYMTAB_EXPORT Dyninst::SymtabAPI::Object::Object | ( | MappedFile * | , | |
| bool | defensive, | |||
| void(*)(const char *) | = log_msg, |
|||
| bool | alloc_syms = true | |||
| ) |
| SYMTAB_EXPORT Dyninst::SymtabAPI::Object::Object | ( | ) | [inline] |
Definition at line 177 of file Object-nt.h.
| virtual SYMTAB_EXPORT Dyninst::SymtabAPI::Object::~Object | ( | void | ) | [virtual] |
| Dyninst::SymtabAPI::Object::Object | ( | const Object & | ) |
| Dyninst::SymtabAPI::Object::Object | ( | ) | [inline] |
Definition at line 191 of file Object-xcoff.h.
| Object::Object | ( | MappedFile * | mf_, | |
| MappedFile * | mfd, | |||
| bool | , | |||
| void(*)(const char *) | err_func = log_msg, |
|||
| Offset | off = 0, |
|||
| bool | alloc_syms = true | |||
| ) |
Definition at line 1375 of file Object-xcoff.C.
References MappedFile::base_addr(), MappedFile::filename(), fo_, load_object(), Dyninst::SymtabAPI::fileOpener::openFile(), Dyninst::SymtabAPI::fileOpener::set_file(), and MappedFile::size().
| Dyninst::SymtabAPI::Object::Object | ( | MappedFile * | , | |
| MappedFile * | , | |||
| dyn_hash_map< std::string, LineInformation > & | , | |||
| std::vector< Region * > & | , | |||
| void(*)(const char *) | = log_msg, |
|||
| Offset | off = 0 | |||
| ) |
| Object::Object | ( | MappedFile * | mf_, | |
| MappedFile * | mfd, | |||
| std::string & | member_name, | |||
| Offset | offset, | |||
| void(*)(const char *) | err_func = log_msg, |
|||
| void * | base = NULL | |||
| ) |
Definition at line 1383 of file Object-xcoff.C.
References MappedFile::base_addr(), fo_, load_object(), Dyninst::SymtabAPI::fileOpener::openFile(), Dyninst::SymtabAPI::fileOpener::set_file(), and MappedFile::size().
| virtual Dyninst::SymtabAPI::Object::~Object | ( | void | ) | [inline, virtual] |
Definition at line 197 of file Object-xcoff.h.
References Dyninst::SymtabAPI::fileOpener::closeFile(), and fo_.
| void Object::addReference | ( | Offset | off, | |
| std::string | lib, | |||
| std::string | fun | |||
| ) |
Definition at line 2190 of file Object-nt.C.
References ref.
Referenced by Dyninst::SymtabAPI::Symtab::addLibraryPrereq().
| bool Object::addRelocationEntry | ( | relocationEntry & | re | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 3457 of file Object-elf.C.
References relocation_table_.
| void Object::AddTLSFunctions | ( | ) | [private] |
Definition at line 665 of file Object-nt.C.
References Dyninst::SymtabAPI::Object::File::AddSymbol(), MappedFile::base_addr(), baseAddr, curModule, findEnclosingRegion(), Dyninst::SymtabAPI::Object::Module::GetDefaultFile(), Dyninst::SymtabAPI::Region::getDiskOffset(), Dyninst::SymtabAPI::Region::getDiskSize(), Dyninst::SymtabAPI::Region::getMemOffset(), Dyninst::SymtabAPI::AObject::mf, peHdr, and Dyninst::SymtabAPI::Symbol::ST_FUNCTION.
| Offset Dyninst::SymtabAPI::Object::bss_size | ( | ) | const [inline] |
Definition at line 212 of file Object-xcoff.h.
References bss_size_.
| void AObject::clearSymsToMods | ( | ) | [inherited] |
Definition at line 541 of file Object.C.
References Dyninst::SymtabAPI::AObject::symsToModules_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT Offset AObject::code_len | ( | ) | const [inherited] |
Definition at line 291 of file Object.C.
References Dyninst::SymtabAPI::AObject::code_len_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and ParseGlobalSymbol().
| SYMTAB_EXPORT Offset AObject::code_off | ( | ) | const [inherited] |
Definition at line 286 of file Object.C.
References Dyninst::SymtabAPI::AObject::code_off_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and ParseGlobalSymbol().
| SYMTAB_EXPORT char * AObject::code_ptr | ( | ) | const [inherited] |
Definition at line 281 of file Object.C.
References Dyninst::SymtabAPI::AObject::code_ptr_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
Definition at line 5264 of file Object-elf.C.
References Dyninst::SymtabAPI::Object::DbgAddrConversion_t::dbg_offset, Dyninst::SymtabAPI::Object::DbgAddrConversion_t::dbg_size, DbgSectionMapSorted, DebugSectionMap, Dyninst::SymtabAPI::Object::DbgAddrConversion_t::orig_offset, and sort_dbg_map().
Referenced by parseDwarfFileLineInfo(), Dyninst::SymtabAPI::DwarfWalker::parseLexicalBlock(), Dyninst::SymtabAPI::DwarfWalker::parseModule(), and Dyninst::SymtabAPI::DwarfWalker::parseVariable().
| SYMTAB_EXPORT Offset AObject::data_len | ( | ) | const [inherited] |
Definition at line 306 of file Object.C.
References Dyninst::SymtabAPI::AObject::data_len_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT Offset AObject::data_off | ( | ) | const [inherited] |
Definition at line 301 of file Object.C.
References Dyninst::SymtabAPI::AObject::data_off_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT char * AObject::data_ptr | ( | ) | const [inherited] |
Definition at line 296 of file Object.C.
References Dyninst::SymtabAPI::AObject::data_ptr_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| Offset Dyninst::SymtabAPI::Object::data_reloc | ( | ) | const [inline] |
Definition at line 210 of file Object-xcoff.h.
References data_reloc_.
| const std::ostream& Dyninst::SymtabAPI::Object::dump_state_info | ( | std::ostream & | s | ) |
Reimplemented from Dyninst::SymtabAPI::AObject.
| const char * Object::elf_vaddr_to_ptr | ( | Offset | vaddr | ) | const |
Definition at line 3278 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, and Dyninst::SymtabAPI::AObject::data_ptr_.
| bool Object::emitDriver | ( | Symtab * | obj, | |
| string | fName, | |||
| std::vector< Symbol * > & | allSymbols, | |||
| unsigned | flag | |||
| ) |
Definition at line 4453 of file Object-elf.C.
References Dyninst::SymtabAPI::emitElf64::createSymbolTables(), Dyninst::SymtabAPI::emitElf::createSymbolTables(), Dyninst::SymtabAPI::emitElf64::driver(), Dyninst::SymtabAPI::emitElf::driver(), Dyninst::Elf_X::e_ident(), elfHdr, emitElf, emitElf64, Dyninst::SymtabAPI::AObject::err_func_, isStripped, and print_symbols().
| SYMTAB_EXPORT bool Dyninst::SymtabAPI::Object::emitDriver | ( | Symtab * | obj, | |
| std::string | fName, | |||
| std::vector< Symbol * > & | allSymbols, | |||
| unsigned | flag | |||
| ) |
| bool Dyninst::SymtabAPI::Object::emitDriver | ( | Symtab * | obj, | |
| std::string | fName, | |||
| std::vector< Symbol * > & | allSymbols, | |||
| unsigned | flag | |||
| ) |
Referenced by Dyninst::SymtabAPI::Symtab::emitSymbols().
| bool Object::fillExceptionTable | ( | struct exceptab * | etab, | |
| unsigned int | etab_size, | |||
| bool | is64, | |||
| struct syment * | symbols | |||
| ) | [private] |
Definition at line 461 of file Object-xcoff.C.
References FILE__, and fprintf.
Referenced by parse_aout().
| bool Dyninst::SymtabAPI::Object::find_catch_blocks | ( | Elf_X_Shdr * | eh_frame, | |
| Elf_X_Shdr * | except_scn, | |||
| Address | textaddr, | |||
| Address | dataaddr, | |||
| std::vector< ExceptionBlock > & | catch_addrs | |||
| ) | [private] |
Referenced by load_object(), and load_shared_object().
Definition at line 3227 of file Object-elf.C.
References MappedFile::base_addr(), Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_ptr_, Dyninst::Elf_X::e_phnum(), entryAddress_, Dyninst::Elf_X::get_phdr(), getSegmentPerms(), getSegmentType(), isRegionPresent(), Dyninst::SymtabAPI::AObject::mf, Dyninst::Elf_X_Phdr::p_filesz(), Dyninst::Elf_X_Phdr::p_flags(), Dyninst::Elf_X_Phdr::p_memsz(), Dyninst::Elf_X_Phdr::p_offset(), Dyninst::Elf_X_Phdr::p_paddr(), Dyninst::Elf_X_Phdr::p_type(), Dyninst::Elf_X_Phdr::p_vaddr(), Dyninst::SymtabAPI::AObject::regions_, and Dyninst::SymtabAPI::Region::setFileOffset().
Referenced by load_object(), and load_shared_object().
Definition at line 1035 of file Object-nt.C.
References Dyninst::SymtabAPI::Region::getMemOffset(), Dyninst::SymtabAPI::Region::getMemSize(), and Dyninst::SymtabAPI::AObject::regions_.
Referenced by AddTLSFunctions(), and ParseGlobalSymbol().
| void Object::FindInterestingSections | ( | bool | alloc_syms, | |
| bool | defensive | |||
| ) | [private] |
Definition at line 803 of file Object-nt.C.
References MappedFile::base_addr(), Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, curModule, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_ptr_, dataSectionId, MappedFile::filename(), fprintf, Dyninst::SymtabAPI::AObject::getAddressWidth(), getImportDescriptorTable(), Dyninst::SymtabAPI::Object::Module::GetName(), getRegionPerms(), getRegionType(), Dyninst::SymtabAPI::AObject::is_aout_, Dyninst::SymtabAPI::Object::Module::IsDll(), Dyninst::SymtabAPI::AObject::mf, Dyninst::SymtabAPI::AObject::no_of_sections_, peHdr, Dyninst::SymtabAPI::AObject::regions_, Dyninst::SymtabAPI::Region::RP_RWX, Dyninst::SymtabAPI::Region::RT_TEXT, SecAlignment, Dyninst::SymtabAPI::Symbol::setDynamic(), Dyninst::SymtabAPI::Object::Module::SetIsDll(), MappedFile::size(), Dyninst::SymtabAPI::Symbol::ST_FUNCTION, Dyninst::SymtabAPI::Symbol::SV_DEFAULT, Dyninst::SymtabAPI::AObject::symbols_, Dyninst::SymtabAPI::AObject::symsToModules_, and textSectionId.
| const std::string AObject::findModuleForSym | ( | Symbol * | sym | ) | [inherited] |
Definition at line 537 of file Object.C.
References Dyninst::SymtabAPI::AObject::symsToModules_.
Referenced by Dyninst::SymtabAPI::Symtab::fixSymModule().
| bool Object::fix_global_symbol_modules_static_dwarf | ( | ) | [private] |
Definition at line 2990 of file Object-elf.C.
Referenced by load_object().
| bool Object::fix_global_symbol_modules_static_stab | ( | Elf_X_Shdr * | stabscnp, | |
| Elf_X_Shdr * | stabstrscnp | |||
| ) | [private] |
Definition at line 3002 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, Dyninst::SymtabAPI::stab_entry::count(), Dyninst::Elf_X_Data::d_buf(), Dyninst::SymtabAPI::stab_entry::desc(), Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_string(), Dyninst::SymtabAPI::stab_entry::getStringBase(), Dyninst::Elf_X_Data::isValid(), N_ENDM, N_ENTRY, N_FUN, N_GSYM, N_SO, N_SO_F90, N_SO_FORTRAN, N_UNDF, Dyninst::SymtabAPI::stab_entry::name(), SD_PROTOTYPE, Dyninst::SymtabAPI::stab_entry::setStringBase(), Dyninst::Elf_X_Shdr::sh_size(), Dyninst::SymtabAPI::Symbol::SL_GLOBAL, Dyninst::SymtabAPI::AObject::symbols_, Dyninst::SymtabAPI::AObject::symsByOffset_, Dyninst::SymtabAPI::AObject::symsToModules_, Dyninst::SymtabAPI::stab_entry::type(), and Dyninst::SymtabAPI::stab_entry::val().
Referenced by load_object().
| SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::get_base_addr | ( | ) | const [inline] |
Definition at line 184 of file Object-nt.h.
References MappedFile::base_addr(), and Dyninst::SymtabAPI::AObject::mf.
Referenced by getBaseAddress(), parseFileLineInfo(), and ParseGlobalSymbol().
| bool Object::get_func_binding_table | ( | std::vector< relocationEntry > & | fbt | ) | const [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 3437 of file Object-elf.C.
References fbt_, and plt_addr_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and Dyninst::SymtabAPI::Symtab::fixup_RegionAddr().
| bool Object::get_func_binding_table_ptr | ( | const std::vector< relocationEntry > *& | fbt | ) | const [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 3446 of file Object-elf.C.
| void Dyninst::SymtabAPI::Object::get_line_info | ( | int & | nlines, | |
| char *& | lines, | |||
| unsigned long & | fdptr | |||
| ) | const [inline] |
Definition at line 216 of file Object-xcoff.h.
References linesfdptr_, linesptr_, and nlines_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Object::get_relocation_entries | ( | Elf_X_Shdr *& | rel_plt_scnp, | |
| Elf_X_Shdr *& | dynsym_scnp, | |||
| Elf_X_Shdr *& | dynstr_scnp | |||
| ) | [private] |
Definition at line 1101 of file Object-elf.C.
References Dyninst::SymtabAPI::relocationEntry::addDynSym(), Dyninst::Elf_X_Data::d_type(), DYNAMIC_NAME, fbt_, FILE__, fprintf, Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_rel(), Dyninst::Elf_X_Data::get_rela(), Dyninst::Elf_X_Data::get_string(), Dyninst::Elf_X_Data::get_sym(), Dyninst::SymtabAPI::Region::getPtrToRawData(), GOT_NAME, Dyninst::Elf_X_Rela::isValid(), Dyninst::Elf_X_Rel::isValid(), Dyninst::Elf_X_Sym::isValid(), Dyninst::Elf_X_Data::isValid(), plt_addr_, plt_entry_size_, PLT_NAME, Dyninst::Elf_X_Rela::r_addend(), Dyninst::Elf_X_Rela::r_offset(), Dyninst::Elf_X_Rel::r_offset(), Dyninst::Elf_X_Rela::R_SYM(), Dyninst::Elf_X_Rel::R_SYM(), Dyninst::Elf_X_Rela::R_TYPE(), Dyninst::Elf_X_Rel::R_TYPE(), Dyninst::SymtabAPI::AObject::regions_, rel_plt_addr_, rel_plt_entry_size_, REL_PLT_NAME, rel_plt_size_, Dyninst::SymtabAPI::Region::RT_REL, Dyninst::SymtabAPI::Region::RT_RELA, Dyninst::SymtabAPI::relocationEntry::setAddend(), Dyninst::SymtabAPI::relocationEntry::setRegionType(), Dyninst::Elf_X_Sym::st_name(), Dyninst::Elf_X_Sym::st_value(), Dyninst::SymtabAPI::AObject::symbols_, and Dyninst::SymtabAPI::AObject::symsByOffset_.
Referenced by load_object(), and load_shared_object().
| bool Object::get_relocationDyn_entries | ( | unsigned | rel_index, | |
| Elf_X_Shdr *& | dynsym_scnp, | |||
| Elf_X_Shdr *& | dynstr_scnp | |||
| ) | [private] |
Definition at line 1020 of file Object-elf.C.
References Dyninst::SymtabAPI::relocationEntry::addDynSym(), Dyninst::Elf_X_Data::d_size(), Dyninst::Elf_X_Data::d_type(), Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_rel(), Dyninst::Elf_X_Data::get_rela(), Dyninst::Elf_X_Data::get_string(), Dyninst::Elf_X_Data::get_sym(), getRegionHdrByIndex(), Dyninst::Elf_X_Rela::isValid(), Dyninst::Elf_X_Rel::isValid(), Dyninst::Elf_X_Sym::isValid(), Dyninst::Elf_X_Data::isValid(), Dyninst::Elf_X_Rela::r_addend(), Dyninst::Elf_X_Rela::r_offset(), Dyninst::Elf_X_Rel::r_offset(), Dyninst::Elf_X_Rela::R_SYM(), Dyninst::Elf_X_Rel::R_SYM(), Dyninst::Elf_X_Rela::R_TYPE(), Dyninst::Elf_X_Rel::R_TYPE(), rel_addr_, rel_entry_size_, rel_plt_addr_, rel_size_, relocation_table_, Dyninst::SymtabAPI::Region::RT_REL, Dyninst::SymtabAPI::Region::RT_RELA, Dyninst::SymtabAPI::relocationEntry::setAddend(), Dyninst::SymtabAPI::relocationEntry::setRegionType(), Dyninst::Elf_X_Sym::st_name(), and Dyninst::SymtabAPI::AObject::symbols_.
Referenced by parseDynamic().
| void Object::get_stab_info | ( | char *& | stabstr, | |
| int & | nstabs, | |||
| void *& | stabs, | |||
| char *& | stringpool | |||
| ) | const |
Definition at line 1399 of file Object-xcoff.C.
References nstabs_, stabs_, stabstr_, and stringpool_.
| stab_entry * Object::get_stab_info | ( | ) | const |
Definition at line 3297 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, MappedFile::base_addr(), Dyninst::SymtabAPI::AObject::mf, stab_off_, stab_size_, and stabstr_off_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), parseCompilerType(), parseStabFileLineInfo(), and parseStabTypes().
| SYMTAB_EXPORT bool Dyninst::SymtabAPI::AObject::get_symbols | ( | std::string & | name, | |
| std::vector< Symbol * > & | symbols | |||
| ) | [inherited] |
| void Object::get_valid_memory_areas | ( | Elf_X & | elf | ) | [private] |
Definition at line 3522 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_vldE_, Dyninst::SymtabAPI::AObject::code_vldS_, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_vldE_, Dyninst::SymtabAPI::AObject::data_vldS_, Dyninst::Elf_X::e_shnum(), Dyninst::Elf_X::get_shdr(), Dyninst::Elf_X_Shdr::isValid(), Dyninst::Elf_X_Shdr::sh_addr(), Dyninst::Elf_X_Shdr::sh_flags(), and Dyninst::Elf_X_Shdr::sh_size().
Referenced by load_object(), and load_shared_object().
| SYMTAB_EXPORT int AObject::getAddressWidth | ( | ) | const [inherited] |
Definition at line 355 of file Object.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), FindInterestingSections(), getArch(), getHintNameTable(), and parseCompilerType().
| SYMTAB_EXPORT bool AObject::getAllExceptions | ( | std::vector< ExceptionBlock * > & | excpBlocks | ) | const [inherited] |
Definition at line 331 of file Object.C.
References Dyninst::SymtabAPI::AObject::catch_addrs_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT std::vector< Region * > AObject::getAllRegions | ( | ) | const [inherited] |
Definition at line 339 of file Object.C.
References Dyninst::SymtabAPI::AObject::regions_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT dyn_hash_map< string, std::vector< Symbol * > > * AObject::getAllSymbols | ( | ) | [inherited] |
Definition at line 370 of file Object.C.
References Dyninst::SymtabAPI::AObject::symbols_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and Dyninst::SymtabAPI::SymbolIter::SymbolIter().
| Dyninst::Architecture Dyninst::SymtabAPI::Object::getArch | ( | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
| virtual SYMTAB_EXPORT Dyninst::Architecture Dyninst::SymtabAPI::Object::getArch | ( | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
| Dyninst::Architecture Object::getArch | ( | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 5515 of file Object-elf.C.
References Dyninst::Arch_none, Dyninst::Arch_ppc32, Dyninst::Arch_ppc64, Dyninst::Arch_x86, Dyninst::Arch_x86_64, and Dyninst::SymtabAPI::AObject::getAddressWidth().
Referenced by Dyninst::SymtabAPI::Function::expandLocation(), and Dyninst::SymtabAPI::Symtab::getArchitecture().
| Offset Dyninst::SymtabAPI::Object::getBaseAddress | ( | ) | const [inline] |
Definition at line 224 of file Object-xcoff.h.
References baseAddress_.
| SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::getBaseAddress | ( | ) | const [inline] |
Definition at line 196 of file Object-nt.h.
References get_base_addr().
| Offset Dyninst::SymtabAPI::Object::getBaseAddress | ( | ) | const [inline] |
Definition at line 334 of file Object-elf.h.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and parseDwarfFileLineInfo().
| bool Object::getCatchBlock | ( | ExceptionBlock & | b, | |
| Offset | addr, | |||
| unsigned | size = 0 | |||
| ) | const |
Definition at line 1077 of file Object-nt.C.
| SYMTAB_EXPORT Module* Dyninst::SymtabAPI::Object::GetCurrentModule | ( | void | ) | [inline] |
Definition at line 185 of file Object-nt.h.
References curModule.
Referenced by ParseGlobalSymbol().
| void Object::getDependencies | ( | std::vector< std::string > & | deps | ) |
Definition at line 3453 of file Object-elf.C.
References deps_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| Offset Dyninst::SymtabAPI::Object::getDynamicAddr | ( | ) | const [inline] |
Definition at line 417 of file Object-elf.h.
References dynamic_addr_.
Referenced by Dyninst::SymtabAPI::Symtab::getElfDynamicOffset().
| std::vector<relocationEntry>& Dyninst::SymtabAPI::Object::getDynRelocs | ( | ) | [inline] |
Definition at line 427 of file Object-elf.h.
References relocation_table_.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), and Dyninst::SymtabAPI::emitElf64::createSymbolTables().
| Offset Dyninst::SymtabAPI::Object::getDynsymSize | ( | ) | const [inline] |
Definition at line 418 of file Object-elf.h.
References dynsym_size_.
| Elf_X* Dyninst::SymtabAPI::Object::getElfHandle | ( | ) | [inline] |
Definition at line 435 of file Object-elf.h.
References elfHdr.
Referenced by Dyninst::SymtabAPI::SymtabReader::getElfHandle().
| Offset Dyninst::SymtabAPI::Object::getElfHashAddr | ( | ) | const [inline] |
Definition at line 419 of file Object-elf.h.
References elf_hash_addr_.
| Offset Dyninst::SymtabAPI::Object::getEntryAddress | ( | ) | const [inline] |
Definition at line 223 of file Object-xcoff.h.
References entryAddress_.
| SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::getEntryAddress | ( | ) | const [inline] |
Definition at line 195 of file Object-nt.h.
References getEntryPoint().
| Offset Dyninst::SymtabAPI::Object::getEntryAddress | ( | ) | const [inline] |
Definition at line 332 of file Object-elf.h.
References entryAddress_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::getEntryPoint | ( | void | ) | const [inline] |
| SYMTAB_EXPORT void * AObject::getErrFunc | ( | ) | const [inherited] |
Definition at line 365 of file Object.C.
References Dyninst::SymtabAPI::AObject::err_func_.
| const char* Dyninst::SymtabAPI::Object::getFileName | ( | ) | const [inline] |
Definition at line 316 of file Object-elf.h.
References MappedFile::filename(), and Dyninst::SymtabAPI::AObject::mf.
| Offset Dyninst::SymtabAPI::Object::getFiniAddr | ( | ) | const [inline] |
Definition at line 430 of file Object-elf.h.
References fini_addr_.
Referenced by Dyninst::SymtabAPI::Symtab::getFiniOffset().
| Offset Dyninst::SymtabAPI::Object::getGnuHashAddr | ( | ) | const [inline] |
Definition at line 420 of file Object-elf.h.
References gnu_hash_addr_.
| map< string, map< string, WORD > > & Object::getHintNameTable | ( | ) |
Definition at line 778 of file Object-nt.C.
References MappedFile::base_addr(), Dyninst::SymtabAPI::AObject::getAddressWidth(), getImportDescriptorTable(), hnt_, Dyninst::SymtabAPI::AObject::mf, and RVA2Offset().
| SYMTAB_EXPORT PIMAGE_NT_HEADERS Dyninst::SymtabAPI::Object::GetImageHeader | ( | void | ) | const [inline] |
Definition at line 189 of file Object-nt.h.
References peHdr.
Referenced by Dyninst::SymtabAPI::emitWin::driver().
| std::vector< std::pair< string, IMAGE_IMPORT_DESCRIPTOR > > & Object::getImportDescriptorTable | ( | ) |
Definition at line 745 of file Object-nt.C.
References MappedFile::base_addr(), idt_, Dyninst::SymtabAPI::AObject::mf, peHdr, and RVA2Offset().
Referenced by FindInterestingSections(), getHintNameTable(), and Dyninst::SymtabAPI::emitWin::writeImpTable().
| Offset Dyninst::SymtabAPI::Object::getInitAddr | ( | ) | const [inline] |
Definition at line 429 of file Object-elf.h.
References init_addr_.
Referenced by Dyninst::SymtabAPI::Symtab::getInitOffset().
| SYMTAB_EXPORT dyn_hash_map<std::string, LineInformation>& Dyninst::SymtabAPI::Object::getLineInfo | ( | ) |
| Offset Dyninst::SymtabAPI::Object::getLoadAddress | ( | ) | const [inline] |
Definition at line 222 of file Object-xcoff.h.
References loadAddress_.
| SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::getLoadAddress | ( | ) | const [inline] |
Definition at line 194 of file Object-nt.h.
References imageBase.
| Offset Dyninst::SymtabAPI::Object::getLoadAddress | ( | ) | const [inline] |
Definition at line 330 of file Object-elf.h.
References loadAddress_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and Dyninst::SymtabAPI::Symtab::getLoadAddress().
| SYMTAB_EXPORT PVOID Dyninst::SymtabAPI::Object::GetMapAddr | ( | void | ) | const [inline] |
Definition at line 190 of file Object-nt.h.
References MappedFile::base_addr(), and Dyninst::SymtabAPI::AObject::mf.
| void Dyninst::SymtabAPI::Object::getModuleLanguageInfo | ( | dyn_hash_map< std::string, supportedLanguages > * | mod_langs | ) |
| SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::getModuleLanguageInfo | ( | dyn_hash_map< std::string, supportedLanguages > * | mod_langs | ) |
| void Object::getModuleLanguageInfo | ( | dyn_hash_map< std::string, supportedLanguages > * | mod_langs | ) |
Definition at line 1125 of file Object-nt.C.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| std::vector< std::vector<Offset> > Dyninst::SymtabAPI::Object::getMoveSecAddrRange | ( | ) | const [inline] |
Definition at line 402 of file Object-elf.h.
References moveSecAddrRange.
| PIMAGE_NT_HEADERS Dyninst::SymtabAPI::Object::getPEHdr | ( | ) | [inline] |
Definition at line 228 of file Object-nt.h.
References peHdr.
Referenced by Dyninst::SymtabAPI::emitWin::driver(), and Dyninst::SymtabAPI::emitWin::writeImpTable().
| std::vector<relocationEntry>& Dyninst::SymtabAPI::Object::getPLTRelocs | ( | ) | [inline] |
Definition at line 426 of file Object-elf.h.
References fbt_.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), and Dyninst::SymtabAPI::emitElf64::createSymbolTables().
| Offset Dyninst::SymtabAPI::Object::getPltSlot | ( | std::string | funcName | ) | const |
| SYMTAB_EXPORT const std::vector<Offset>& Dyninst::SymtabAPI::Object::getPossibleMains | ( | ) | const [inline] |
Definition at line 204 of file Object-nt.h.
References possible_mains.
| SYMTAB_EXPORT std::map<std::string, std::map<Offset, std::string> >& Dyninst::SymtabAPI::Object::getRefs | ( | ) | [inline] |
Definition at line 224 of file Object-nt.h.
References ref.
Referenced by Dyninst::SymtabAPI::emitWin::driver(), and Dyninst::SymtabAPI::emitWin::writeImpTable().
| Elf_X_Shdr * Object::getRegionHdrByAddr | ( | Offset | addr | ) |
Definition at line 179 of file Object-elf.C.
References allRegionHdrs.
Referenced by parse_dynamicSymbols().
| Elf_X_Shdr * Object::getRegionHdrByIndex | ( | unsigned | index | ) |
Definition at line 217 of file Object-elf.C.
References allRegionHdrs.
Referenced by get_relocationDyn_entries().
| int Object::getRegionHdrIndexByAddr | ( | Offset | addr | ) |
Definition at line 199 of file Object-elf.C.
References allRegionHdrs.
Referenced by parseDynamic().
| bool Object::getRegValueAtFrame | ( | Address | pc, | |
| Dyninst::MachRegister | reg, | |||
| Dyninst::MachRegisterVal & | reg_result, | |||
| MemRegReader * | reader | |||
| ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 107 of file parseDwarf.C.
References dwarf, Dyninst::Dwarf::FE_No_Error, Dyninst::Dwarf::DwarfHandle::frame_dbg(), Dyninst::Dwarf::DwarfHandle::frameParser(), and setSymtabError().
Referenced by Dyninst::SymtabAPI::Symtab::getRegValueAtFrame().
| Offset Dyninst::SymtabAPI::Object::getRelDynAddr | ( | ) | const [inline] |
Definition at line 423 of file Object-elf.h.
References rel_addr_.
| Offset Dyninst::SymtabAPI::Object::getRelDynSize | ( | ) | const [inline] |
Definition at line 424 of file Object-elf.h.
References rel_size_.
| Offset Dyninst::SymtabAPI::Object::getRelPLTAddr | ( | ) | const [inline] |
Definition at line 421 of file Object-elf.h.
References rel_plt_addr_.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), and Dyninst::SymtabAPI::emitElf64::createSymbolTables().
| Offset Dyninst::SymtabAPI::Object::getRelPLTSize | ( | ) | const [inline] |
Definition at line 422 of file Object-elf.h.
References rel_plt_size_.
| Region::RegionType Dyninst::SymtabAPI::Object::getRelType | ( | ) | const [inline, virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 412 of file Object-elf.h.
References relType_.
Referenced by Dyninst::SymtabAPI::emitElf64::createDynamicSection(), Dyninst::SymtabAPI::emitElf64::createRelocationSections(), and Dyninst::SymtabAPI::emitElf::createSymbolTables().
| SYMTAB_EXPORT unsigned int Dyninst::SymtabAPI::Object::getSecAlign | ( | ) | const [inline] |
Definition at line 208 of file Object-nt.h.
References SecAlignment.
Referenced by Dyninst::SymtabAPI::Symtab::getFreeOffset().
| SYMTAB_EXPORT bool Dyninst::SymtabAPI::AObject::getSegments | ( | std::vector< Segment > & | segs | ) | const [inherited] |
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| virtual SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::getSegmentsSymReader | ( | std::vector< SymSegment > & | segs | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Referenced by Dyninst::SymtabAPI::Symtab::getSegmentsSymReader().
| Offset Dyninst::SymtabAPI::Object::getStrtabAddr | ( | ) | const [inline] |
Definition at line 416 of file Object-elf.h.
References strtab_addr_.
| Offset Dyninst::SymtabAPI::Object::getSymtabAddr | ( | ) | const [inline] |
Definition at line 415 of file Object-elf.h.
References symtab_addr_.
| dyn_hash_map<int, Region*> Dyninst::SymtabAPI::Object::getTagRegionMapping | ( | ) | const [inline] |
Definition at line 403 of file Object-elf.h.
References secTagRegionMapping.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), and Dyninst::SymtabAPI::emitElf64::createSymbolTables().
| Offset Dyninst::SymtabAPI::Object::getTextAddr | ( | ) | const [inline] |
Definition at line 414 of file Object-elf.h.
References text_addr_.
| SYMTAB_EXPORT unsigned int Dyninst::SymtabAPI::Object::GetTextSectionId | ( | void | ) | const [inline] |
Definition at line 188 of file Object-nt.h.
References textSectionId.
| Offset Dyninst::SymtabAPI::Object::getTOCoffset | ( | ) | const [inline] |
Definition at line 205 of file Object-xcoff.h.
References toc_offset_.
Definition at line 197 of file Object-nt.h.
Definition at line 5532 of file Object-elf.C.
References TOC_table_.
Referenced by Dyninst::SymtabAPI::Symtab::getTOCoffset().
| bool Object::getTruncateLinePaths | ( | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 5510 of file Object-elf.C.
References truncateLineFilenames.
Referenced by Dyninst::SymtabAPI::Symtab::getTruncateLinePaths().
| Offset Dyninst::SymtabAPI::Object::gotAddr | ( | ) | const [inline] |
Definition at line 438 of file Object-elf.h.
References got_addr_.
| unsigned Dyninst::SymtabAPI::Object::gotSize | ( | ) | const [inline] |
Definition at line 437 of file Object-elf.h.
References got_size_.
| void Object::handle_opd_relocations | ( | ) | [private] |
Definition at line 2003 of file Object-elf.C.
References Dyninst::SymtabAPI::Region::getDiskOffset(), opdsymbols_, and Dyninst::SymtabAPI::AObject::regions_.
Referenced by load_object(), and load_shared_object().
* DEBUG */ fprintf(stderr, "addr:0x%lx ptr_addr:0x%lx toc:0x%lx section:%s\n", opd_entry[0], soffset, opd_entry[1], regions_[i]->getRegionName().c_str());
Definition at line 2037 of file Object-elf.C.
References Dyninst::SymtabAPI::Region::getDiskOffset(), Dyninst::SymtabAPI::Symbol::getOffset(), Dyninst::SymtabAPI::Region::getPtrToRawData(), Dyninst::SymtabAPI::Region::isOffsetInRegion(), Dyninst::SymtabAPI::AObject::regions_, Dyninst::SymtabAPI::Symbol::ST_FUNCTION, and Dyninst::SymtabAPI::Symbol::TAG_INTERNAL.
Referenced by parse_dynamicSymbols().
| bool Dyninst::SymtabAPI::Object::hasDwarfInfo | ( | ) | const [inline] |
Definition at line 314 of file Object-elf.h.
References dwarvenDebugInfo.
| bool AObject::hasError | ( | ) | const [inherited] |
Definition at line 545 of file Object.C.
References Dyninst::SymtabAPI::AObject::has_error.
Referenced by Dyninst::SymtabAPI::Symtab::Symtab().
| bool Object::hasFrameDebugInfo | ( | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 100 of file parseDwarf.C.
References dwarf, Dyninst::Dwarf::DwarfHandle::frame_dbg(), and Dyninst::Dwarf::DwarfHandle::frameParser().
Referenced by Dyninst::SymtabAPI::Symtab::hasStackwalkDebugInfo().
| bool Dyninst::SymtabAPI::Object::hasNoteSection | ( | ) | const [inline] |
Definition at line 411 of file Object-elf.h.
References hasNoteSection_.
Referenced by Dyninst::SymtabAPI::emitElf::emitElf(), and Dyninst::SymtabAPI::Symtab::getFreeOffset().
| bool Dyninst::SymtabAPI::Object::hasReladyn | ( | ) | const [inline] |
Definition at line 406 of file Object-elf.h.
References hasReladyn_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Dyninst::SymtabAPI::Object::hasRelaplt | ( | ) | const [inline] |
Definition at line 408 of file Object-elf.h.
References hasRelaplt_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Dyninst::SymtabAPI::Object::hasReldyn | ( | ) | const [inline] |
Definition at line 405 of file Object-elf.h.
References hasReldyn_.
Referenced by Dyninst::SymtabAPI::emitElf64::createDynamicSection(), Dyninst::SymtabAPI::emitElf::createSymbolTables(), and Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Dyninst::SymtabAPI::Object::hasRelplt | ( | ) | const [inline] |
Definition at line 407 of file Object-elf.h.
References hasRelplt_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Dyninst::SymtabAPI::Object::hasStabInfo | ( | ) | const [inline] |
Definition at line 313 of file Object-elf.h.
References stab_off_, stab_size_, and stabstr_off_.
| SYMTAB_EXPORT bool AObject::have_deferred_parsing | ( | void | ) | const [inherited] |
Definition at line 360 of file Object.C.
References Dyninst::SymtabAPI::AObject::deferredParse.
| PIMAGE_SECTION_HEADER Object::ImageOffset2Section | ( | DWORD | dwRO | ) |
| DWORD Object::ImageOffset2SectionNum | ( | DWORD | dwRO | ) |
Definition at line 2197 of file Object-nt.C.
References peHdr.
| PIMAGE_SECTION_HEADER Object::ImageRVA2Section | ( | DWORD | dwRVA | ) |
| void Object::insertDynamicEntry | ( | long | name, | |
| long | value | |||
| ) |
Definition at line 5317 of file Object-elf.C.
References new_dynamic_entries.
Referenced by Dyninst::SymtabAPI::Symtab::addSysVDynamic().
| SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::insertPrereqLibrary | ( | std::string | lib | ) |
| void Object::insertPrereqLibrary | ( | std::string | libname | ) |
Definition at line 5301 of file Object-elf.C.
References prereq_libs.
Referenced by Dyninst::SymtabAPI::Symtab::addLibraryPrereq().
| const char* Dyninst::SymtabAPI::Object::interpreter_name | ( | ) | const [inline] |
Definition at line 226 of file Object-xcoff.h.
| SYMTAB_EXPORT const char* Dyninst::SymtabAPI::Object::interpreter_name | ( | ) | const [inline] |
Definition at line 199 of file Object-nt.h.
| const char * Object::interpreter_name | ( | ) | const |
Definition at line 4482 of file Object-elf.C.
References interpreter_name_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT bool AObject::is_aout | ( | ) | const [inherited] |
Definition at line 311 of file Object.C.
References Dyninst::SymtabAPI::AObject::is_aout_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo(), and parseStabTypes().
| bool Object::is_offset_in_plt | ( | Offset | offset | ) | const |
Definition at line 967 of file Object-elf.C.
| bool Dyninst::SymtabAPI::Object::isBlueGeneP | ( | ) | const [inline] |
Definition at line 409 of file Object-elf.h.
References isBlueGeneP_.
Referenced by Dyninst::SymtabAPI::emitElf::emitElf(), and Dyninst::SymtabAPI::Symtab::getFreeOffset().
| bool Dyninst::SymtabAPI::Object::isBlueGeneQ | ( | ) | const [inline] |
Definition at line 410 of file Object-elf.h.
References isBlueGeneQ_.
Referenced by Dyninst::SymtabAPI::emitElf64::emitElf64(), and Dyninst::SymtabAPI::Symtab::getFreeOffset().
| SYMTAB_EXPORT bool AObject::isDynamic | ( | ) | const [inherited] |
Definition at line 316 of file Object.C.
References Dyninst::SymtabAPI::AObject::is_dynamic_.
| bool Dyninst::SymtabAPI::Object::isEEL | ( | ) | const [inline] |
Definition at line 236 of file Object-xcoff.h.
| SYMTAB_EXPORT bool Dyninst::SymtabAPI::Object::isEEL | ( | ) | const [inline] |
Definition at line 182 of file Object-nt.h.
| bool Dyninst::SymtabAPI::Object::isEEL | ( | ) | [inline] |
Definition at line 362 of file Object-elf.h.
References EEL.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| bool Object::isForwarded | ( | Offset | addr | ) |
Definition at line 366 of file Object-elf.h.
References text_addr_, and text_size_.
Definition at line 226 of file Object-elf.C.
References getSegmentPerms(), and Dyninst::SymtabAPI::AObject::regions_.
Referenced by find_code_and_data().
| bool Dyninst::SymtabAPI::AObject::isStaticBinary | ( | ) | const [inline, inherited] |
Definition at line 109 of file Object.h.
References Dyninst::SymtabAPI::AObject::is_static_binary_.
Referenced by Dyninst::SymtabAPI::emitElf64::emitElf64(), Dyninst::SymtabAPI::Symtab::extractInfo(), and Dyninst::SymtabAPI::Symtab::getFreeOffset().
| SYMTAB_EXPORT bool Dyninst::SymtabAPI::Object::isText | ( | const Offset | addr | ) | const |
| bool Object::isText | ( | Offset | addr | ) | const [inline] |
Definition at line 379 of file Object-elf.h.
References text_addr_, and text_size_.
Referenced by ParseGlobalSymbol().
| std::vector< std::string > & Object::libsRMd | ( | ) |
Definition at line 5312 of file Object-elf.C.
References rmd_deps.
| void Object::load_archive | ( | bool | is_aout, | |
| bool | alloc_syms | |||
| ) | [private] |
Definition at line 1235 of file Object-xcoff.C.
References Dyninst::SymtabAPI::xcoffArchive::aout_offset, fo_, member_, Dyninst::SymtabAPI::xcoffArchive::member_len, Dyninst::SymtabAPI::xcoffArchive::member_name, Dyninst::SymtabAPI::xcoffArchive::next_offset, parse_aout(), PARSE_AR_DIE, Dyninst::SymtabAPI::fileOpener::read(), Dyninst::SymtabAPI::xcoffArchive::read_arhdr(), Dyninst::SymtabAPI::xcoffArchive::read_mbrhdr(), and Dyninst::SymtabAPI::fileOpener::set().
| void Dyninst::SymtabAPI::Object::load_object | ( | bool | alloc_syms | ) | [private] |
| void Object::load_object | ( | bool | alloc_syms | ) | [private] |
Definition at line 1498 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, Dyninst::SymtabAPI::AObject::catch_addrs_, Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, Dyninst::SymtabAPI::AObject::code_vldE_, Dyninst::SymtabAPI::AObject::code_vldS_, Dyninst::Elf_X_Data::d_buf(), Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_ptr_, Dyninst::SymtabAPI::AObject::data_vldE_, Dyninst::SymtabAPI::AObject::data_vldS_, dynamic_addr_, Dyninst::Elf_X::e_type(), elfHdr, FILE__, find_catch_blocks(), find_code_and_data(), fix_global_symbol_modules_static_dwarf(), fix_global_symbol_modules_static_stab(), fprintf, Dyninst::Elf_X_Shdr::get_data(), get_relocation_entries(), get_valid_memory_areas(), getRelTypeByElfMachine(), gettimeofday(), handle_opd_relocations(), interpreter_name_, loaded_elf(), Dyninst::SymtabAPI::AObject::mf, Dyninst::SymtabAPI::AObject::no_of_symbols_, Dyninst::SymtabAPI::AObject::nsymbols(), Dyninst::SymtabAPI::obj_Executable, Dyninst::SymtabAPI::obj_RelocatableFile, Dyninst::SymtabAPI::obj_SharedLib, obj_type_, parse_all_relocations(), parse_dynamicSymbols(), parse_opd(), parse_symbols(), parseDynamic(), MappedFile::pathname(), relType_, and Dyninst::Elf_X::wordSize().
Referenced by Object().
| void Object::load_shared_object | ( | bool | alloc_syms | ) | [private] |
Definition at line 1711 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, Dyninst::SymtabAPI::AObject::catch_addrs_, Dyninst::SymtabAPI::AObject::code_vldE_, Dyninst::SymtabAPI::AObject::code_vldS_, Dyninst::Elf_X_Data::d_buf(), Dyninst::SymtabAPI::AObject::data_vldE_, Dyninst::SymtabAPI::AObject::data_vldS_, dynamic_addr_, Dyninst::Elf_X::e_type(), elfHdr, Dyninst::SymtabAPI::AObject::err_func_, find_catch_blocks(), find_code_and_data(), Dyninst::Elf_X_Shdr::get_data(), get_relocation_entries(), get_valid_memory_areas(), getRelTypeByElfMachine(), gettimeofday(), handle_opd_relocations(), interpreter_name_, Dyninst::Elf_X_Data::isValid(), loaded_elf(), log_elferror(), Dyninst::SymtabAPI::AObject::mf, Dyninst::SymtabAPI::AObject::no_of_symbols_, Dyninst::SymtabAPI::AObject::nsymbols(), Dyninst::SymtabAPI::obj_Executable, Dyninst::SymtabAPI::obj_RelocatableFile, Dyninst::SymtabAPI::obj_SharedLib, obj_type_, parse_all_relocations(), parse_dynamicSymbols(), parse_opd(), parse_symbols(), parseDynamic(), MappedFile::pathname(), relType_, and Dyninst::Elf_X::wordSize().
Referenced by Object().
| bool Object::loaded_elf | ( | Offset & | txtaddr, | |
| Offset & | dataddr, | |||
| Elf_X_Shdr *& | bssscnp, | |||
| Elf_X_Shdr *& | symscnp, | |||
| Elf_X_Shdr *& | strscnp, | |||
| Elf_X_Shdr *& | stabscnp, | |||
| Elf_X_Shdr *& | stabstrscnp, | |||
| Elf_X_Shdr *& | stabs_indxcnp, | |||
| Elf_X_Shdr *& | stabstrs_indxcnp, | |||
| Elf_X_Shdr *& | rel_plt_scnp, | |||
| Elf_X_Shdr *& | plt_scnp, | |||
| Elf_X_Shdr *& | got_scnp, | |||
| Elf_X_Shdr *& | dynsym_scnp, | |||
| Elf_X_Shdr *& | dynstr_scnp, | |||
| Elf_X_Shdr *& | dynamic_scnp, | |||
| Elf_X_Shdr *& | eh_frame, | |||
| Elf_X_Shdr *& | gcc_except, | |||
| Elf_X_Shdr *& | interp_scnp, | |||
| Elf_X_Shdr *& | opd_scnp, | |||
| bool | a_out = false | |||
| ) | [private] |
Definition at line 346 of file Object-elf.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, allRegionHdrs, allRegionHdrsByShndx, MappedFile::base_addr(), BSS_NAME, Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, COMMENT_NAME, Dyninst::Elf_X_Dyn::count(), Dyninst::Elf_X_Data::d_buf(), Dyninst::Elf_X_Dyn::d_ptr(), Dyninst::Elf_X_Data::d_size(), Dyninst::Elf_X_Dyn::d_tag(), Dyninst::Elf_X_Dyn::d_val(), Dyninst::SymtabAPI::AObject::data_len_, DATA_NAME, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_ptr_, Dyninst::Dwarf::DwarfHandle::debugLinkFile(), DebugSectionMap, dwarf, dwarf_err_func, dwarvenDebugInfo, dynamic_addr_, dynamic_offset_, dynamic_size_, dynstr_addr_, dynsym_addr_, dynsym_size_, Dyninst::Elf_X::e_entry(), Dyninst::Elf_X::e_phnum(), Dyninst::Elf_X::e_shnum(), Dyninst::Elf_X::e_type(), EDITED_TEXT_NAME, EEL, EH_FRAME_NAME, elf_hash_addr_, elfHdr, entryAddress_, Dyninst::SymtabAPI::AObject::err_func_, EXCEPT_NAME, EXCEPT_NAME_ALT, EXTRA_SPACE, FILE__, fini_addr_, fprintf, Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_dyn(), Dyninst::Elf_X::get_phdr(), Dyninst::Elf_X::get_shdr(), getRegionPerms(), getRegionType(), gettimeofday(), gnu_hash_addr_, got_addr_, GOT_NAME, got_size_, hasNoteSection_, hasReladyn_, hasRelaplt_, hasReldyn_, hasRelplt_, init_addr_, INTERP_NAME, Dyninst::SymtabAPI::AObject::is_dynamic_, Dyninst::SymtabAPI::AObject::is_static_binary_, isBlueGeneP_, isBlueGeneQ_, Dyninst::Elf_X_Shdr::isFromDebugFile(), isStripped, Dyninst::Elf_X_Dyn::isValid(), Dyninst::Elf_X_Shdr::isValid(), loadAddress_, log_elferror(), mem_image(), Dyninst::SymtabAPI::AObject::mf, moveSecAddrRange, Dyninst::SymtabAPI::Object::DbgAddrConversion_t::name, Dyninst::SymtabAPI::AObject::no_of_sections_, opd_addr_, OPD_NAME, opd_size_, Dyninst::SymtabAPI::Object::DbgAddrConversion_t::orig_offset, Dyninst::Elf_X_Phdr::p_memsz(), Dyninst::Elf_X_Phdr::p_offset(), P_strcmp(), Dyninst::Elf_X_Phdr::p_type(), Dyninst::Elf_X_Phdr::p_vaddr(), pdelf_get_shnames(), plt_addr_, plt_entry_size_, PLT_NAME, plt_size_, Dyninst::SymtabAPI::AObject::regions_, rel_addr_, rel_entry_size_, rel_plt_addr_, rel_plt_entry_size_, REL_PLT_NAME, REL_PLT_NAME2, rel_plt_size_, rel_size_, RO_DATA_NAME, secAddrTagMapping, secTagRegionMapping, secTagSizeMapping, Dyninst::Elf_X_Shdr::setDebugFile(), Dyninst::SymtabAPI::Region::setFileOffset(), Dyninst::Elf_X_Shdr::sh_addr(), Dyninst::Elf_X_Shdr::sh_addralign(), Dyninst::Elf_X_Shdr::sh_entsize(), Dyninst::Elf_X_Shdr::sh_flags(), Dyninst::Elf_X_Shdr::sh_name(), Dyninst::Elf_X_Shdr::sh_offset(), Dyninst::Elf_X_Shdr::sh_size(), Dyninst::Elf_X_Shdr::sh_type(), STAB_INDX_NAME, stab_indx_off_, stab_indx_size_, STAB_NAME, stab_off_, stab_size_, STABSTR_INDX_NAME, stabstr_indx_off_, STABSTR_NAME, stabstr_off_, strtab_addr_, STRTAB_NAME, symtab_addr_, SYMTAB_NAME, text_addr_, TEXT_NAME, and text_size_.
Referenced by load_object(), and load_shared_object().
| SYMTAB_EXPORT unsigned AObject::loader_len | ( | ) | const [inherited] |
Definition at line 349 of file Object.C.
References Dyninst::SymtabAPI::AObject::loader_len_.
| SYMTAB_EXPORT Offset AObject::loader_off | ( | ) | const [inherited] |
Definition at line 344 of file Object.C.
References Dyninst::SymtabAPI::AObject::loader_off_.
| void Object::log_elferror | ( | void(*)(const char *) | err_func, | |
| const char * | msg | |||
| ) | [static, private] |
Definition at line 3429 of file Object-elf.C.
Referenced by load_shared_object(), loaded_elf(), and Object().
| virtual char* Dyninst::SymtabAPI::Object::mem_image | ( | ) | const [inline, virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 210 of file Object-nt.h.
References MappedFile::base_addr(), and Dyninst::SymtabAPI::AObject::mf.
| virtual char* Dyninst::SymtabAPI::Object::mem_image | ( | ) | const [inline, virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 341 of file Object-elf.h.
References MappedFile::base_addr(), and Dyninst::SymtabAPI::AObject::mf.
Referenced by Dyninst::SymtabAPI::Symtab::getFreeOffset(), and loaded_elf().
| bool Dyninst::SymtabAPI::Object::needs_function_binding | ( | ) | const [inline, virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 321 of file Object-elf.h.
References plt_addr_.
| SYMTAB_EXPORT unsigned AObject::no_of_sections | ( | ) | const [inherited] |
Definition at line 321 of file Object.C.
References Dyninst::SymtabAPI::AObject::no_of_sections_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT unsigned AObject::no_of_symbols | ( | ) | const [inherited] |
Definition at line 326 of file Object.C.
References Dyninst::SymtabAPI::AObject::no_of_symbols_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| SYMTAB_EXPORT unsigned AObject::nsymbols | ( | ) | const [inherited] |
Definition at line 259 of file Object.C.
References Dyninst::SymtabAPI::AObject::symbols_.
Referenced by load_object(), and load_shared_object().
| ObjectType Dyninst::SymtabAPI::Object::objType | ( | ) | const |
| SYMTAB_EXPORT ObjectType Dyninst::SymtabAPI::Object::objType | ( | ) | const |
| ObjectType Object::objType | ( | ) | const |
Definition at line 4150 of file Object-elf.C.
References obj_type_.
Referenced by Dyninst::SymtabAPI::Symtab::extractInfo().
| DWORD Object::Offset2RVA | ( | DWORD | dwRO | ) |
Definition at line 2269 of file Object-nt.C.
References ImageOffset2Section().
Definition at line 1391 of file Object-xcoff.C.
References fo_, Dyninst::SymtabAPI::fileOpener::mem_image(), Dyninst::SymtabAPI::fileOpener::openFile(), and Dyninst::SymtabAPI::fileOpener::size().
| bool Object::parse_all_relocations | ( | Elf_X & | elf, | |
| Elf_X_Shdr * | dynsym_scnp, | |||
| Elf_X_Shdr * | dynstr_scnp, | |||
| Elf_X_Shdr * | symtab_scnp, | |||
| Elf_X_Shdr * | strtab_scnp | |||
| ) | [private] |
Definition at line 5324 of file Object-elf.C.
References Dyninst::SymtabAPI::Region::addRelocationEntry(), allRegionHdrsByShndx, Dyninst::Elf_X::e_shnum(), Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_rel(), Dyninst::Elf_X_Data::get_rela(), Dyninst::Elf_X_Data::get_string(), Dyninst::Elf_X_Data::get_sym(), Dyninst::SymtabAPI::Symbol::getRegion(), Dyninst::SymtabAPI::Region::getRegionName(), Dyninst::SymtabAPI::Symbol::getType(), Dyninst::Elf_X_Data::isValid(), Dyninst::Elf_X_Rela::r_addend(), Dyninst::Elf_X_Rela::r_offset(), Dyninst::Elf_X_Rel::r_offset(), Dyninst::Elf_X_Rela::R_SYM(), Dyninst::Elf_X_Rel::R_SYM(), Dyninst::Elf_X_Rela::R_TYPE(), Dyninst::Elf_X_Rel::R_TYPE(), Dyninst::SymtabAPI::AObject::regions_, Dyninst::SymtabAPI::Region::RT_REL, Dyninst::SymtabAPI::Region::RT_RELA, Dyninst::Elf_X_Shdr::sh_entsize(), Dyninst::Elf_X_Shdr::sh_info(), Dyninst::Elf_X_Shdr::sh_link(), Dyninst::Elf_X_Shdr::sh_offset(), Dyninst::Elf_X_Shdr::sh_size(), Dyninst::Elf_X_Shdr::sh_type(), Dyninst::Elf_X_Sym::st_name(), Dyninst::SymtabAPI::Symbol::ST_SECTION, Dyninst::SymtabAPI::AObject::symbols_, and Dyninst::SymtabAPI::Symbol::TAG_INTERNAL.
Referenced by load_object(), and load_shared_object().
| void Object::parse_aout | ( | int | offset, | |
| bool | is_aout, | |||
| bool | alloc_syms | |||
| ) | [private] |
Definition at line 527 of file Object-xcoff.C.
References Dyninst::SymtabAPI::AObject::addressWidth_nbytes, baseAddress_, BCCTRxop, BCLRop, Bop, bss_size_, C_WEAKEXT, Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_ptr_, Dyninst::SymtabAPI::AObject::code_vldE_, Dyninst::SymtabAPI::AObject::code_vldS_, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_ptr_, data_reloc_, Dyninst::SymtabAPI::AObject::data_vldE_, Dyninst::SymtabAPI::AObject::data_vldS_, instructUnion::dform, entryAddress_, FILE__, fillExceptionTable(), fo_, fprintf, Dyninst::SymtabAPI::fileOpener::getPtrAtOffset(), getRegionPerms(), getRegionType(), getType(), instructUnion::iform, is64_, Dyninst::SymtabAPI::AObject::is_aout_, linesfdptr_, linesptr_, iform::lk, loadAddress_, Dyninst::SymtabAPI::AObject::loader_len_, Dyninst::SymtabAPI::AObject::loader_off_, Lop, Dyninst::SymtabAPI::AObject::mf, nlines_, Dyninst::SymtabAPI::AObject::no_of_sections_, Dyninst::SymtabAPI::AObject::no_of_symbols_, nstabs_, object_printf(), Dyninst::SymtabAPI::Symbol::offset_, xlform::op, dform::op, iform::op, PARSE_AOUT_DIE, MappedFile::pathname(), Dyninst::SymtabAPI::fileOpener::ptr(), dform::ra, instructUnion::raw, Dyninst::SymtabAPI::fileOpener::read(), Dyninst::SymtabAPI::AObject::regions_, roundup4(), dform::rt, Dyninst::SymtabAPI::Region::RT_DATA, Dyninst::SymtabAPI::Region::RT_TEXT, SCNH_FLAGS, SCNH_LNNOPTR, SCNH_NAME, SCNH_NLNNO, SCNH_PADDR, SCNH_SCNPTR, SCNH_SIZE, SCNH_VADDR, Dyninst::SymtabAPI::fileOpener::seek(), Dyninst::SymtabAPI::fileOpener::set(), Dyninst::SymtabAPI::Symbol::SL_GLOBAL, Dyninst::SymtabAPI::Symbol::SL_LOCAL, Dyninst::SymtabAPI::Symbol::SL_UNKNOWN, Dyninst::SymtabAPI::Symbol::ST_FUNCTION, Dyninst::SymtabAPI::Symbol::ST_MODULE, Dyninst::SymtabAPI::Symbol::ST_OBJECT, stabs_, stabstr_, stringPool, stringpool_, Dyninst::SymtabAPI::Symbol::SV_DEFAULT, Dyninst::SymtabAPI::AObject::symbols_, Dyninst::SymtabAPI::AObject::symsByOffset_, Dyninst::SymtabAPI::AObject::symsToModules_, text_reloc_, toc_offset_, instructUnion::xlform, and xlform::xo.
Referenced by load_archive().
| void Object::parse_dynamicSymbols | ( | Elf_X_Shdr *& | dyn_scnp, | |
| Elf_X_Data & | symdata, | |||
| Elf_X_Data & | strdata, | |||
| bool | shared_library, | |||
| std::string | module | |||
| ) | [private] |
Definition at line 2212 of file Object-elf.C.
References Dyninst::Elf_X_Sym::count(), Dyninst::Elf_X_Dyn::count(), Dyninst::Elf_X_Dyn::d_ptr(), Dyninst::Elf_X_Dyn::d_tag(), deps_, Dyninst::Elf_X_Versym::get(), Dyninst::Elf_X_Verneed::get_aux(), Dyninst::Elf_X_Verdef::get_aux(), Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_dyn(), Dyninst::Elf_X_Verneed::get_next(), Dyninst::Elf_X_Vernaux::get_next(), Dyninst::Elf_X_Verdef::get_next(), Dyninst::Elf_X_Verdaux::get_next(), Dyninst::Elf_X_Data::get_string(), Dyninst::Elf_X_Data::get_sym(), Dyninst::Elf_X_Data::get_versyms(), Dyninst::SymtabAPI::Symbol::getOffset(), getRegionHdrByAddr(), Dyninst::SymtabAPI::Region::getRegionName(), gettimeofday(), handle_opd_symbol(), Dyninst::Elf_X_Sym::isValid(), OPD_NAME, opdsymbols_, pdelf_linkage(), pdelf_type(), pdelf_visibility(), Dyninst::SymtabAPI::AObject::regions_, Dyninst::SymtabAPI::Symbol::setInternalType(), Dyninst::SymtabAPI::Symbol::setVersionFileName(), Dyninst::SymtabAPI::Symbol::setVersionHidden(), Dyninst::SymtabAPI::Symbol::setVersions(), Dyninst::Elf_X_Sym::ST_BIND(), Dyninst::SymtabAPI::Symbol::ST_FUNCTION, Dyninst::SymtabAPI::Symbol::ST_MODULE, Dyninst::Elf_X_Sym::st_name(), Dyninst::Elf_X_Sym::st_shndx(), Dyninst::Elf_X_Sym::st_size(), Dyninst::Elf_X_Sym::ST_TYPE(), Dyninst::SymtabAPI::Symbol::ST_UNKNOWN, Dyninst::Elf_X_Sym::st_value(), Dyninst::Elf_X_Sym::ST_VISIBILITY(), Dyninst::SymtabAPI::AObject::symbols_, Dyninst::SymtabAPI::AObject::symsByOffset_, Dyninst::SymtabAPI::AObject::symsToModules_, Dyninst::Elf_X_Verdef::vd_cnt(), Dyninst::Elf_X_Verdef::vd_ndx(), Dyninst::Elf_X_Verdaux::vda_name(), versionFileNameMapping, versionMapping, Dyninst::Elf_X_Verneed::vn_cnt(), Dyninst::Elf_X_Verneed::vn_file(), Dyninst::Elf_X_Vernaux::vna_name(), and Dyninst::Elf_X_Vernaux::vna_other().
Referenced by load_object(), and load_shared_object().
| void Object::parse_opd | ( | Elf_X_Shdr * | opd_hdr | ) | [private] |
Definition at line 1962 of file Object-elf.C.
References Dyninst::Elf_X_Data::d_buf(), Dyninst::Elf_X_Data::d_size(), Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::isValid(), Dyninst::SymtabAPI::AObject::symsByOffset_, and TOC_table_.
Referenced by load_object(), and load_shared_object().
| bool Dyninst::SymtabAPI::Object::parse_symbols | ( | Elf_X_Data & | symdata, | |
| Elf_X_Data & | strdata, | |||
| Elf_X_Shdr * | bssscnp, | |||
| Elf_X_Shdr * | symscnp, | |||
| bool | shared_library, | |||
| std::string | module | |||
| ) | [private] |
Referenced by load_object(), and load_shared_object().
| void Object::parseDwarfFileLineInfo | ( | dyn_hash_map< std::string, LineInformation > & | li | ) | [private] |
Definition at line 4729 of file Object-elf.C.
References baseAddr, convertDebugOffset(), Dyninst::Dwarf::DwarfHandle::debugLinkFile(), dwarf, FILE__, fprintf, getBaseAddress(), Dyninst::Dwarf::DwarfHandle::line_dbg(), and truncateLineFilenames.
| void Object::parseDwarfTypes | ( | Symtab * | obj | ) | [private] |
Definition at line 95 of file parseDwarf.C.
| void Object::parseDynamic | ( | Elf_X_Shdr *& | dyn_scnp, | |
| Elf_X_Shdr *& | dynsym_scnp, | |||
| Elf_X_Shdr *& | dynstr_scnp | |||
| ) | [private] |
Definition at line 972 of file Object-elf.C.
References Dyninst::Elf_X_Dyn::count(), Dyninst::Elf_X_Dyn::d_ptr(), Dyninst::Elf_X_Dyn::d_tag(), Dyninst::Elf_X_Dyn::d_val(), fini_addr_, Dyninst::Elf_X_Shdr::get_data(), Dyninst::Elf_X_Data::get_dyn(), get_relocationDyn_entries(), getRegionHdrIndexByAddr(), init_addr_, rel_addr_, rel_entry_size_, rel_plt_addr_, rel_plt_size_, and rel_size_.
Referenced by load_object(), and load_shared_object().
| void Dyninst::SymtabAPI::Object::parseFileLineInfo | ( | Symtab * | , | |
| dyn_hash_map< std::string, LineInformation > & | li | |||
| ) | [private] |
| SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::parseFileLineInfo | ( | Symtab * | , | |
| dyn_hash_map< std::string, LineInformation > & | ||||
| ) | [private] |
| void Object::parseFileLineInfo | ( | Symtab * | obj, | |
| dyn_hash_map< std::string, LineInformation > & | li | |||
| ) |
Definition at line 1180 of file Object-nt.C.
References add_line_info(), baseAddr, get_base_addr(), hProc, and store_line_info().
Referenced by Dyninst::SymtabAPI::Symtab::parseLineInformation().
| void Object::ParseGlobalSymbol | ( | PSYMBOL_INFO | pSymInfo | ) |
Definition at line 469 of file Object-nt.C.
References Dyninst::SymtabAPI::Object::Module::AddFile(), Dyninst::SymtabAPI::Object::File::AddSymbol(), MappedFile::base_addr(), baseAddr, Dyninst::SymtabAPI::AObject::code_len(), Dyninst::SymtabAPI::AObject::code_off(), findEnclosingRegion(), Dyninst::SymtabAPI::Object::Module::FindFile(), get_base_addr(), GetCurrentModule(), Dyninst::SymtabAPI::Object::Module::GetDefaultFile(), hProc, isForwarded(), isText(), Dyninst::SymtabAPI::AObject::mf, Dyninst::SymtabAPI::Symbol::SL_UNKNOWN, Dyninst::SymtabAPI::Symbol::ST_FUNCTION, Dyninst::SymtabAPI::Symbol::ST_OBJECT, Dyninst::SymtabAPI::Symbol::ST_UNKNOWN, SYMFLAG_EXPORT, SYMFLAG_FUNCTION, and SymTagFunction.
Referenced by SymEnumSymbolsCallback().
| void Object::parseLineInformation | ( | dyn_hash_map< std::string, LineInformation > & | li, | |
| std::string * | currentSourceFile, | |||
| char * | symbolName, | |||
| SYMENT * | sym, | |||
| Offset | linesfdptr, | |||
| char * | lines, | |||
| int | nlines | |||
| ) | [private] |
Definition at line 1702 of file Object-xcoff.C.
References is64_.
| void Object::parseStabFileLineInfo | ( | Symtab * | st, | |
| dyn_hash_map< std::string, LineInformation > & | li | |||
| ) | [private] |
Definition at line 4489 of file Object-elf.C.
References Dyninst::SymtabAPI::stab_entry::count(), Dyninst::SymtabAPI::stab_entry::desc(), FILE__, Dyninst::SymtabAPI::Symtab::findFunctionsByName(), fprintf, get_stab_info(), Dyninst::SymtabAPI::Aggregate::getOffset(), Dyninst::SymtabAPI::stab_entry::getStringBase(), N_FUN, N_SLINE, N_SO, N_SOL, N_UNDF, Dyninst::SymtabAPI::stab_entry::name(), Dyninst::SymtabAPI::stab_entry::setStringBase(), Dyninst::SymtabAPI::stab_entry::type(), and Dyninst::SymtabAPI::stab_entry::val().
| void Object::parseStabTypes | ( | Symtab * | obj | ) | [private] |
Definition at line 4935 of file Object-elf.C.
References Dyninst::SymtabAPI::typeCollection::addGlobalVariable(), Dyninst::SymtabAPI::typeCommon::beginCommonBlock(), Dyninst::SymtabAPI::typeCollection::clearNumberedTypes(), Dyninst::SymtabAPI::typeCommon::endCommonBlock(), FILE__, Dyninst::SymtabAPI::Symtab::findModuleByName(), Dyninst::SymtabAPI::Symtab::findSymbol(), Dyninst::SymtabAPI::typeCollection::findVariableType(), fprintf, get_stab_info(), Dyninst::SymtabAPI::Symtab::getDefaultModule(), Dyninst::SymtabAPI::typeCollection::getModTypeCollection(), Dyninst::SymtabAPI::Symbol::getOffset(), gettimeofday(), Dyninst::SymtabAPI::AObject::is_aout(), Dyninst::SymtabAPI::mangledName, N_BCOMM, N_ECOMM, N_ENDM, N_FUN, N_SLINE, N_SO, N_UNDF, Dyninst::SymtabAPI::Symtab::name(), parseCompilerType(), Dyninst::SymtabAPI::parseStabString(), Dyninst::SymtabAPI::Symbol::ST_FUNCTION, Dyninst::SymtabAPI::Symbol::ST_OBJECT, symt_current_func_name, symt_current_mangled_func_name, and types_printf().
Referenced by parseTypeInfo().
| void Object::ParseSymbolInfo | ( | bool | alloc_syms | ) | [private] |
Definition at line 578 of file Object-nt.C.
References MappedFile::base_addr(), Dyninst::SymtabAPI::Object::Module::BuildSymbolMap(), Dyninst::SymtabAPI::AObject::code_len_, Dyninst::SymtabAPI::AObject::code_off_, Dyninst::SymtabAPI::AObject::code_vldE_, Dyninst::SymtabAPI::AObject::code_vldS_, curModule, Dyninst::SymtabAPI::AObject::data_len_, Dyninst::SymtabAPI::AObject::data_off_, Dyninst::SymtabAPI::AObject::data_vldE_, Dyninst::SymtabAPI::AObject::data_vldS_, Dyninst::SymtabAPI::Object::Module::DefineSymbols(), MappedFile::filename(), fprintf, hProc, imageBase, INVALID_HANDLE_VALUE, Dyninst::SymtabAPI::AObject::mf, Dyninst::SymtabAPI::AObject::no_of_symbols_, peHdr, Dyninst::SymtabAPI::AObject::symbols_, SymEnumSymbolsCallback(), and Dyninst::SymtabAPI::AObject::symsToModules_.
| void Dyninst::SymtabAPI::Object::parseTypeInfo | ( | Symtab * | obj | ) |
| SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::parseTypeInfo | ( | Symtab * | obj | ) |
| void Object::parseTypeInfo | ( | Symtab * | obj | ) |
Definition at line 4910 of file Object-elf.C.
References dwarf, Dyninst::SymtabAPI::Symtab::file(), gettimeofday(), Dyninst::SymtabAPI::DwarfWalker::parse(), parseStabTypes(), and Dyninst::Dwarf::DwarfHandle::type_dbg().
Referenced by Dyninst::SymtabAPI::Symtab::parseTypes().
| SYMTAB_EXPORT supportedLanguages Dyninst::SymtabAPI::AObject::pickLanguage | ( | std::string & | working_module, | |
| char * | working_options, | |||
| supportedLanguages | working_lang | |||
| ) | [inherited] |
| bool Object::removePrereqLibrary | ( | std::string | libname | ) |
Definition at line 5306 of file Object-elf.C.
References rmd_deps.
Referenced by Dyninst::SymtabAPI::Symtab::removeLibraryDependency().
| DWORD Object::RVA2Offset | ( | DWORD | dwRVA | ) |
Definition at line 2257 of file Object-nt.C.
References ImageRVA2Section().
Referenced by getHintNameTable(), and getImportDescriptorTable().
| void Dyninst::SymtabAPI::Object::setTOCoffset | ( | Offset | ) | [inline] |
Definition at line 229 of file Object-nt.h.
| void Object::setTOCoffset | ( | Offset | off | ) |
Definition at line 5545 of file Object-elf.C.
References TOC_table_.
Referenced by Dyninst::SymtabAPI::Symtab::setTOCOffset().
| void Object::setTrapHeader | ( | Offset | ptr | ) |
Definition at line 2279 of file Object-nt.C.
References trapHeaderPtr_.
Referenced by Dyninst::SymtabAPI::Symtab::addTrapHeader_win().
| void Object::setTruncateLinePaths | ( | bool | value | ) | [virtual] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 5505 of file Object-elf.C.
References truncateLineFilenames.
Referenced by Dyninst::SymtabAPI::Symtab::setTruncateLinePaths().
| Offset Dyninst::SymtabAPI::Object::text_reloc | ( | ) | const [inline] |
Definition at line 211 of file Object-xcoff.h.
References text_reloc_.
| Offset Dyninst::SymtabAPI::Object::textAddress | ( | ) | [inline] |
Definition at line 378 of file Object-elf.h.
References text_addr_.
| Offset Object::trapHeader | ( | ) |
Definition at line 2283 of file Object-nt.C.
References trapHeaderPtr_.
Referenced by Dyninst::SymtabAPI::emitWin::driver().
friend class emitElf [friend] |
Definition at line 298 of file Object-elf.h.
Referenced by emitDriver().
friend class emitElf64 [friend] |
Definition at line 299 of file Object-elf.h.
Referenced by emitDriver().
Symtab [friend] |
Reimplemented from Dyninst::SymtabAPI::AObject.
Definition at line 75 of file Object-nt.h.
int Dyninst::SymtabAPI::AObject::addressWidth_nbytes [protected, inherited] |
Definition at line 196 of file Object.h.
Referenced by fix_global_symbol_modules_static_stab(), get_stab_info(), Dyninst::SymtabAPI::AObject::getAddressWidth(), load_object(), load_shared_object(), loaded_elf(), and parse_aout().
std::vector<Elf_X_Shdr*> Dyninst::SymtabAPI::Object::allRegionHdrs [private] |
Definition at line 528 of file Object-elf.h.
Referenced by getRegionHdrByAddr(), getRegionHdrByIndex(), getRegionHdrIndexByAddr(), loaded_elf(), and ~Object().
std::vector<Elf_X_Shdr*> Dyninst::SymtabAPI::Object::allRegionHdrsByShndx [private] |
Definition at line 529 of file Object-elf.h.
Referenced by loaded_elf(), and parse_all_relocations().
Offset Dyninst::SymtabAPI::Object::baseAddr [private] |
Definition at line 237 of file Object-nt.h.
Referenced by AddTLSFunctions(), parseDwarfFileLineInfo(), parseFileLineInfo(), and ParseGlobalSymbol().
Definition at line 276 of file Object-xcoff.h.
Referenced by getBaseAddress(), and parse_aout().
Offset Dyninst::SymtabAPI::Object::bss_size_ [private] |
Definition at line 271 of file Object-xcoff.h.
Referenced by bss_size(), and parse_aout().
std::vector<ExceptionBlock> Dyninst::SymtabAPI::AObject::catch_addrs_ [protected, inherited] |
Definition at line 198 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::getAllExceptions(), load_object(), and load_shared_object().
Offset Dyninst::SymtabAPI::AObject::code_len_ [protected, inherited] |
Definition at line 166 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::code_len(), elf_vaddr_to_ptr(), find_code_and_data(), FindInterestingSections(), get_valid_memory_areas(), load_object(), loaded_elf(), parse_aout(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::AObject::code_off_ [protected, inherited] |
Definition at line 165 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::code_off(), elf_vaddr_to_ptr(), find_code_and_data(), FindInterestingSections(), get_valid_memory_areas(), load_object(), loaded_elf(), parse_aout(), and ParseSymbolInfo().
char* Dyninst::SymtabAPI::AObject::code_ptr_ [protected, inherited] |
Definition at line 164 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::code_ptr(), elf_vaddr_to_ptr(), Dyninst::SymtabAPI::Symtab::extractInfo(), find_code_and_data(), FindInterestingSections(), load_object(), loaded_elf(), and parse_aout().
Offset Dyninst::SymtabAPI::AObject::code_vldE_ [protected, inherited] |
Definition at line 173 of file Object.h.
Referenced by get_valid_memory_areas(), load_object(), load_shared_object(), parse_aout(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::AObject::code_vldS_ [protected, inherited] |
Definition at line 172 of file Object.h.
Referenced by get_valid_memory_areas(), load_object(), load_shared_object(), parse_aout(), and ParseSymbolInfo().
Module* Dyninst::SymtabAPI::Object::curModule [private] |
Definition at line 172 of file Object-nt.h.
Referenced by AddTLSFunctions(), FindInterestingSections(), GetCurrentModule(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::AObject::data_len_ [protected, inherited] |
Definition at line 170 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::data_len(), elf_vaddr_to_ptr(), find_code_and_data(), FindInterestingSections(), get_valid_memory_areas(), load_object(), loaded_elf(), parse_aout(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::AObject::data_off_ [protected, inherited] |
Definition at line 169 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::data_off(), elf_vaddr_to_ptr(), find_code_and_data(), FindInterestingSections(), get_valid_memory_areas(), load_object(), loaded_elf(), parse_aout(), and ParseSymbolInfo().
char* Dyninst::SymtabAPI::AObject::data_ptr_ [protected, inherited] |
Definition at line 168 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::data_ptr(), elf_vaddr_to_ptr(), find_code_and_data(), FindInterestingSections(), load_object(), loaded_elf(), and parse_aout().
Definition at line 269 of file Object-xcoff.h.
Referenced by data_reloc(), and parse_aout().
Offset Dyninst::SymtabAPI::AObject::data_vldE_ [protected, inherited] |
Definition at line 176 of file Object.h.
Referenced by get_valid_memory_areas(), load_object(), load_shared_object(), parse_aout(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::AObject::data_vldS_ [protected, inherited] |
Definition at line 175 of file Object.h.
Referenced by get_valid_memory_areas(), load_object(), load_shared_object(), parse_aout(), and ParseSymbolInfo().
unsigned int Dyninst::SymtabAPI::Object::dataSectionId [private] |
Definition at line 253 of file Object-nt.h.
Referenced by FindInterestingSections().
bool Dyninst::SymtabAPI::Object::DbgSectionMapSorted [private] |
Definition at line 617 of file Object-elf.h.
Referenced by convertDebugOffset(), and Object().
std::vector<DbgAddrConversion_t> Dyninst::SymtabAPI::Object::DebugSectionMap [private] |
Definition at line 618 of file Object-elf.h.
Referenced by convertDebugOffset(), and loaded_elf().
bool Dyninst::SymtabAPI::AObject::deferredParse [protected, inherited] |
Definition at line 194 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::have_deferred_parsing().
std::vector<std::string> Dyninst::SymtabAPI::Object::deps_ [private] |
Definition at line 535 of file Object-elf.h.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), Dyninst::SymtabAPI::emitElf64::createSymbolTables(), getDependencies(), Object(), parse_dynamicSymbols(), and ~Object().
bool Dyninst::SymtabAPI::Object::did_open [private] |
Definition at line 513 of file Object-elf.h.
Referenced by Object().
Definition at line 509 of file Object-elf.h.
Referenced by Dyninst::SymtabAPI::Function::expandLocation(), getRegValueAtFrame(), hasFrameDebugInfo(), loaded_elf(), Object(), parseDwarfFileLineInfo(), and parseTypeInfo().
bool Dyninst::SymtabAPI::Object::dwarvenDebugInfo [private] |
Definition at line 499 of file Object-elf.h.
Referenced by hasDwarfInfo(), and loaded_elf().
Definition at line 474 of file Object-elf.h.
Referenced by getDynamicAddr(), load_object(), load_shared_object(), and loaded_elf().
Definition at line 465 of file Object-elf.h.
Referenced by loaded_elf().
size_t Dyninst::SymtabAPI::Object::dynamic_size_ [private] |
Definition at line 466 of file Object-elf.h.
Referenced by loaded_elf().
Definition at line 476 of file Object-elf.h.
Referenced by loaded_elf().
Definition at line 475 of file Object-elf.h.
Referenced by loaded_elf().
size_t Dyninst::SymtabAPI::Object::dynsym_size_ [private] |
Definition at line 467 of file Object-elf.h.
Referenced by getDynsymSize(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::EEL [private] |
Definition at line 512 of file Object-elf.h.
Referenced by isEEL(), and loaded_elf().
Definition at line 462 of file Object-elf.h.
Referenced by getElfHashAddr(), and loaded_elf().
Elf_X* Dyninst::SymtabAPI::Object::elfHdr [private] |
Definition at line 445 of file Object-elf.h.
Referenced by emitDriver(), getElfHandle(), load_object(), load_shared_object(), loaded_elf(), and Object().
Offset Object::entryAddress_ [private] |
Definition at line 502 of file Object-elf.h.
Referenced by find_code_and_data(), getEntryAddress(), loaded_elf(), Object(), and parse_aout().
void(* Dyninst::SymtabAPI::AObject::err_func_)(const char *) [protected, inherited] |
Referenced by emitDriver(), Dyninst::SymtabAPI::AObject::getErrFunc(), load_shared_object(), loaded_elf(), and Object().
std::vector<relocationEntry> Dyninst::SymtabAPI::Object::fbt_ [private] |
Definition at line 524 of file Object-elf.h.
Referenced by get_func_binding_table(), get_func_binding_table_ptr(), get_relocation_entries(), getPLTRelocs(), Object(), and ~Object().
Offset Dyninst::SymtabAPI::Object::fini_addr_ [private] |
Definition at line 469 of file Object-elf.h.
Referenced by getFiniAddr(), loaded_elf(), and parseDynamic().
fileOpener* Dyninst::SymtabAPI::Object::fo_ [private] |
Definition at line 264 of file Object-xcoff.h.
Referenced by load_archive(), Object(), operator=(), parse_aout(), and ~Object().
Definition at line 463 of file Object-elf.h.
Referenced by getGnuHashAddr(), and loaded_elf().
Offset Dyninst::SymtabAPI::Object::got_addr_ [private] |
Definition at line 477 of file Object-elf.h.
Referenced by gotAddr(), and loaded_elf().
unsigned Dyninst::SymtabAPI::Object::got_size_ [private] |
Definition at line 478 of file Object-elf.h.
Referenced by gotSize(), and loaded_elf().
bool Dyninst::SymtabAPI::AObject::has_error [protected, inherited] |
Definition at line 187 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::hasError(), and Object().
bool Dyninst::SymtabAPI::Object::hasNoteSection_ [private] |
Definition at line 460 of file Object-elf.h.
Referenced by hasNoteSection(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::hasReladyn_ [private] |
Definition at line 453 of file Object-elf.h.
Referenced by hasReladyn(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::hasRelaplt_ [private] |
Definition at line 455 of file Object-elf.h.
Referenced by hasRelaplt(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::hasReldyn_ [private] |
Definition at line 452 of file Object-elf.h.
Referenced by hasReldyn(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::hasRelplt_ [private] |
Definition at line 454 of file Object-elf.h.
Referenced by hasRelplt(), and loaded_elf().
std::map<std::string, std::map<std::string, WORD> > Dyninst::SymtabAPI::Object::hnt_ [private] |
Definition at line 247 of file Object-nt.h.
Referenced by getHintNameTable().
HANDLE Dyninst::SymtabAPI::Object::hProc [private] |
Definition at line 255 of file Object-nt.h.
Referenced by parseFileLineInfo(), ParseGlobalSymbol(), and ParseSymbolInfo().
std::vector<std::pair<std::string, IMAGE_IMPORT_DESCRIPTOR> > Dyninst::SymtabAPI::Object::idt_ [private] |
Definition at line 246 of file Object-nt.h.
Referenced by getImportDescriptorTable().
Offset Dyninst::SymtabAPI::Object::imageBase [private] |
Definition at line 239 of file Object-nt.h.
Referenced by getLoadAddress(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::Object::init_addr_ [private] |
Definition at line 468 of file Object-elf.h.
Referenced by getInitAddr(), loaded_elf(), and parseDynamic().
char* Dyninst::SymtabAPI::Object::interpreter_name_ [private] |
Definition at line 503 of file Object-elf.h.
Referenced by interpreter_name(), load_object(), load_shared_object(), and Object().
bool Dyninst::SymtabAPI::Object::is64_ [private] |
Definition at line 287 of file Object-xcoff.h.
Referenced by parse_aout(), and parseLineInformation().
bool Dyninst::SymtabAPI::AObject::is_aout_ [protected, inherited] |
Definition at line 185 of file Object.h.
Referenced by FindInterestingSections(), Dyninst::SymtabAPI::AObject::is_aout(), Object(), and parse_aout().
bool Dyninst::SymtabAPI::AObject::is_dynamic_ [protected, inherited] |
Definition at line 186 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::isDynamic(), and loaded_elf().
bool Dyninst::SymtabAPI::AObject::is_static_binary_ [protected, inherited] |
Definition at line 189 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::isStaticBinary(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::isBlueGeneP_ [private] |
Definition at line 458 of file Object-elf.h.
Referenced by isBlueGeneP(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::isBlueGeneQ_ [private] |
Definition at line 459 of file Object-elf.h.
Referenced by isBlueGeneQ(), and loaded_elf().
bool Dyninst::SymtabAPI::Object::isStripped [private] |
Definition at line 504 of file Object-elf.h.
Referenced by emitDriver(), loaded_elf(), and Object().
dyn_hash_map<std::string, LineInformation > Dyninst::SymtabAPI::Object::lineInfo_ [private] |
Definition at line 288 of file Object-xcoff.h.
Definition at line 286 of file Object-xcoff.h.
Referenced by get_line_info(), and parse_aout().
void* Dyninst::SymtabAPI::Object::linesptr_ [private] |
Definition at line 285 of file Object-xcoff.h.
Referenced by get_line_info(), and parse_aout().
Offset Object::loadAddress_ [private] |
Definition at line 500 of file Object-elf.h.
Referenced by getLoadAddress(), loaded_elf(), Object(), and parse_aout().
Offset Dyninst::SymtabAPI::AObject::loader_len_ [protected, inherited] |
Definition at line 179 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::loader_len(), and parse_aout().
Offset Dyninst::SymtabAPI::AObject::loader_off_ [protected, inherited] |
Definition at line 178 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::loader_off(), and parse_aout().
std::string Dyninst::SymtabAPI::Object::member_ [private] |
Definition at line 266 of file Object-xcoff.h.
Referenced by load_archive().
MappedFile* Dyninst::SymtabAPI::AObject::mf [protected, inherited] |
Definition at line 153 of file Object.h.
Referenced by AddTLSFunctions(), Dyninst::SymtabAPI::Symtab::emit(), find_code_and_data(), FindInterestingSections(), get_base_addr(), get_stab_info(), getFileName(), getHintNameTable(), getImportDescriptorTable(), GetMapAddr(), load_object(), load_shared_object(), loaded_elf(), mem_image(), Object(), parse_aout(), ParseGlobalSymbol(), and ParseSymbolInfo().
std::vector<std::pair<std::string, Offset> > Dyninst::SymtabAPI::AObject::modules_ [protected, inherited] |
Definition at line 162 of file Object.h.
Referenced by Dyninst::SymtabAPI::Symtab::fixSymModules().
std::vector< std::vector<Offset> > Dyninst::SymtabAPI::Object::moveSecAddrRange [private] |
Definition at line 447 of file Object-elf.h.
Referenced by getMoveSecAddrRange(), and loaded_elf().
| std::vector<std::pair<long, long> > Dyninst::SymtabAPI::Object::new_dynamic_entries |
Definition at line 622 of file Object-elf.h.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), Dyninst::SymtabAPI::emitElf64::createSymbolTables(), and insertDynamicEntry().
int Dyninst::SymtabAPI::Object::nlines_ [private] |
Definition at line 281 of file Object-xcoff.h.
Referenced by get_line_info(), and parse_aout().
unsigned Dyninst::SymtabAPI::AObject::no_of_sections_ [protected, inherited] |
Definition at line 191 of file Object.h.
Referenced by FindInterestingSections(), loaded_elf(), Dyninst::SymtabAPI::AObject::no_of_sections(), and parse_aout().
unsigned Dyninst::SymtabAPI::AObject::no_of_symbols_ [protected, inherited] |
Definition at line 192 of file Object.h.
Referenced by load_object(), load_shared_object(), Dyninst::SymtabAPI::AObject::no_of_symbols(), parse_aout(), and ParseSymbolInfo().
int Dyninst::SymtabAPI::Object::nstabs_ [private] |
Definition at line 280 of file Object-xcoff.h.
Referenced by get_stab_info(), and parse_aout().
Definition at line 514 of file Object-elf.h.
Referenced by load_object(), load_shared_object(), and objType().
Offset Dyninst::SymtabAPI::Object::offset_ [private] |
Definition at line 267 of file Object-xcoff.h.
Offset Dyninst::SymtabAPI::Object::opd_addr_ [private] |
Definition at line 488 of file Object-elf.h.
Referenced by loaded_elf().
unsigned Dyninst::SymtabAPI::Object::opd_size_ [private] |
Definition at line 489 of file Object-elf.h.
Referenced by loaded_elf().
PIMAGE_NT_HEADERS Dyninst::SymtabAPI::Object::peHdr [private] |
Definition at line 241 of file Object-nt.h.
Referenced by AddTLSFunctions(), FindInterestingSections(), getEntryPoint(), GetImageHeader(), getImportDescriptorTable(), getPEHdr(), ImageOffset2Section(), ImageOffset2SectionNum(), ImageRVA2Section(), isForwarded(), and ParseSymbolInfo().
Offset Dyninst::SymtabAPI::Object::plt_addr_ [private] |
Definition at line 479 of file Object-elf.h.
Referenced by get_func_binding_table(), get_func_binding_table_ptr(), get_relocation_entries(), is_offset_in_plt(), loaded_elf(), and needs_function_binding().
unsigned Dyninst::SymtabAPI::Object::plt_entry_size_ [private] |
Definition at line 481 of file Object-elf.h.
Referenced by get_relocation_entries(), and loaded_elf().
unsigned Dyninst::SymtabAPI::Object::plt_size_ [private] |
Definition at line 480 of file Object-elf.h.
Referenced by is_offset_in_plt(), and loaded_elf().
std::vector<Offset> Dyninst::SymtabAPI::Object::possible_mains [private] |
Definition at line 256 of file Object-nt.h.
Referenced by getPossibleMains().
| std::set<std::string> Dyninst::SymtabAPI::Object::prereq_libs |
Definition at line 621 of file Object-elf.h.
Referenced by Dyninst::SymtabAPI::emitElf::createSymbolTables(), Dyninst::SymtabAPI::emitElf64::createSymbolTables(), and insertPrereqLibrary().
std::map<std::string,std::map<Offset, std::string> > Dyninst::SymtabAPI::Object::ref [private] |
Definition at line 250 of file Object-nt.h.
Referenced by addReference(), and getRefs().
std::vector< Region *> Dyninst::SymtabAPI::AObject::regions_ [protected, inherited] |
Definition at line 155 of file Object.h.
Referenced by find_code_and_data(), findEnclosingRegion(), FindInterestingSections(), get_relocation_entries(), Dyninst::SymtabAPI::AObject::getAllRegions(), handle_opd_relocations(), handle_opd_symbol(), isRegionPresent(), loaded_elf(), parse_all_relocations(), parse_aout(), and parse_dynamicSymbols().
Offset Dyninst::SymtabAPI::Object::rel_addr_ [private] |
Definition at line 485 of file Object-elf.h.
Referenced by get_relocationDyn_entries(), getRelDynAddr(), loaded_elf(), and parseDynamic().
unsigned Dyninst::SymtabAPI::Object::rel_entry_size_ [private] |
Definition at line 487 of file Object-elf.h.
Referenced by get_relocationDyn_entries(), loaded_elf(), and parseDynamic().
Definition at line 482 of file Object-elf.h.
Referenced by get_relocation_entries(), get_relocationDyn_entries(), getRelPLTAddr(), loaded_elf(), and parseDynamic().
unsigned Dyninst::SymtabAPI::Object::rel_plt_entry_size_ [private] |
Definition at line 484 of file Object-elf.h.
Referenced by get_relocation_entries(), and loaded_elf().
unsigned Dyninst::SymtabAPI::Object::rel_plt_size_ [private] |
Definition at line 483 of file Object-elf.h.
Referenced by get_relocation_entries(), getRelPLTSize(), loaded_elf(), and parseDynamic().
unsigned Dyninst::SymtabAPI::Object::rel_size_ [private] |
Definition at line 486 of file Object-elf.h.
Referenced by get_relocationDyn_entries(), getRelDynSize(), loaded_elf(), and parseDynamic().
std::vector<relocationEntry> Dyninst::SymtabAPI::Object::relocation_table_ [private] |
Definition at line 523 of file Object-elf.h.
Referenced by addRelocationEntry(), get_relocationDyn_entries(), getDynRelocs(), Object(), and ~Object().
Definition at line 456 of file Object-elf.h.
Referenced by getRelType(), load_object(), load_shared_object(), and Object().
std::vector<std::string> Dyninst::SymtabAPI::Object::rmd_deps [private] |
Definition at line 536 of file Object-elf.h.
Referenced by libsRMd(), and removePrereqLibrary().
dyn_hash_map<Offset, int> Dyninst::SymtabAPI::Object::secAddrTagMapping [private] |
Definition at line 448 of file Object-elf.h.
Referenced by loaded_elf().
unsigned int Dyninst::SymtabAPI::Object::SecAlignment [private] |
Definition at line 243 of file Object-nt.h.
Referenced by FindInterestingSections(), and getSecAlign().
dyn_hash_map<int, Region*> Dyninst::SymtabAPI::Object::secTagRegionMapping [private] |
Definition at line 450 of file Object-elf.h.
Referenced by getTagRegionMapping(), and loaded_elf().
dyn_hash_map<int, unsigned long> Dyninst::SymtabAPI::Object::secTagSizeMapping [private] |
Definition at line 449 of file Object-elf.h.
Referenced by loaded_elf().
Definition at line 495 of file Object-elf.h.
Referenced by loaded_elf().
unsigned Dyninst::SymtabAPI::Object::stab_indx_size_ [private] |
Definition at line 496 of file Object-elf.h.
Referenced by loaded_elf().
Offset Dyninst::SymtabAPI::Object::stab_off_ [private] |
Definition at line 491 of file Object-elf.h.
Referenced by get_stab_info(), hasStabInfo(), and loaded_elf().
unsigned Dyninst::SymtabAPI::Object::stab_size_ [private] |
Definition at line 492 of file Object-elf.h.
Referenced by get_stab_info(), hasStabInfo(), and loaded_elf().
void* Dyninst::SymtabAPI::Object::stabs_ [private] |
Definition at line 283 of file Object-xcoff.h.
Referenced by get_stab_info(), and parse_aout().
void* Dyninst::SymtabAPI::Object::stabstr_ [private] |
Definition at line 282 of file Object-xcoff.h.
Referenced by get_stab_info(), and parse_aout().
Definition at line 497 of file Object-elf.h.
Referenced by loaded_elf().
Definition at line 493 of file Object-elf.h.
Referenced by get_stab_info(), hasStabInfo(), and loaded_elf().
char* Dyninst::SymtabAPI::Object::stringPool [private] |
Definition at line 278 of file Object-xcoff.h.
Referenced by parse_aout().
void* Dyninst::SymtabAPI::Object::stringpool_ [private] |
Definition at line 284 of file Object-xcoff.h.
Referenced by get_stab_info(), and parse_aout().
Definition at line 473 of file Object-elf.h.
Referenced by getStrtabAddr(), and loaded_elf().
dyn_hash_map< std::string, std::vector< Symbol *> > Dyninst::SymtabAPI::AObject::symbols_ [protected, inherited] |
Definition at line 159 of file Object.h.
Referenced by FindInterestingSections(), fix_global_symbol_modules_static_stab(), get_relocation_entries(), get_relocationDyn_entries(), Dyninst::SymtabAPI::AObject::getAllSymbols(), Dyninst::SymtabAPI::AObject::nsymbols(), Object(), parse_all_relocations(), parse_aout(), parse_dynamicSymbols(), ParseSymbolInfo(), and Dyninst::SymtabAPI::AObject::~AObject().
dyn_hash_map<Offset, std::vector<Symbol *> > Dyninst::SymtabAPI::AObject::symsByOffset_ [protected, inherited] |
Definition at line 161 of file Object.h.
Referenced by fix_global_symbol_modules_static_stab(), get_relocation_entries(), parse_aout(), parse_dynamicSymbols(), and parse_opd().
std::map< Symbol *, std::string > Dyninst::SymtabAPI::AObject::symsToModules_ [protected, inherited] |
Definition at line 160 of file Object.h.
Referenced by Dyninst::SymtabAPI::AObject::clearSymsToMods(), FindInterestingSections(), Dyninst::SymtabAPI::AObject::findModuleForSym(), fix_global_symbol_modules_static_stab(), parse_aout(), parse_dynamicSymbols(), and ParseSymbolInfo().
Definition at line 472 of file Object-elf.h.
Referenced by getSymtabAddr(), and loaded_elf().
Offset Dyninst::SymtabAPI::Object::text_addr_ [private] |
Definition at line 470 of file Object-elf.h.
Referenced by getTextAddr(), isinText(), isText(), loaded_elf(), and textAddress().
Definition at line 270 of file Object-xcoff.h.
Referenced by parse_aout(), and text_reloc().
Offset Dyninst::SymtabAPI::Object::text_size_ [private] |
Definition at line 471 of file Object-elf.h.
Referenced by isinText(), isText(), and loaded_elf().
unsigned int Dyninst::SymtabAPI::Object::textSectionId [private] |
Definition at line 252 of file Object-nt.h.
Referenced by FindInterestingSections(), and GetTextSectionId().
Definition at line 268 of file Object-xcoff.h.
Referenced by getTOCoffset(), and parse_aout().
std::map<Offset, Offset> Dyninst::SymtabAPI::Object::TOC_table_ [private] |
Definition at line 506 of file Object-elf.h.
Referenced by getTOCoffset(), parse_opd(), and setTOCoffset().
Definition at line 242 of file Object-nt.h.
Referenced by setTrapHeader(), and trapHeader().
bool Object::truncateLineFilenames = true [static] |
Definition at line 335 of file Object-elf.h.
Referenced by getTruncateLinePaths(), parseDwarfFileLineInfo(), and setTruncateLinePaths().
dyn_hash_map<unsigned, std::string> Dyninst::SymtabAPI::Object::versionFileNameMapping [private] |
Definition at line 533 of file Object-elf.h.
Referenced by parse_dynamicSymbols(), and ~Object().
dyn_hash_map<unsigned, std::vector<std::string> > Dyninst::SymtabAPI::Object::versionMapping [private] |
Definition at line 532 of file Object-elf.h.
Referenced by parse_dynamicSymbols(), and ~Object().
1.6.1