Dyninst::SymtabAPI::Object Class Reference

#include <Object-elf.h>

Inheritance diagram for Dyninst::SymtabAPI::Object:
Dyninst::SymtabAPI::AObject Dyninst::SymtabAPI::AObject Dyninst::SymtabAPI::AObject

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_entryget_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_ShdrgetRegionHdrByAddr (Offset addr)
int getRegionHdrIndexByAddr (Offset addr)
Elf_X_ShdrgetRegionHdrByIndex (unsigned index)
bool isRegionPresent (Offset segmentStart, Offset segmentSize, unsigned newPerms)
bool getRegValueAtFrame (Address pc, Dyninst::MachRegister reg, Dyninst::MachRegisterVal &reg_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_XgetElfHandle ()
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 ModuleGetCurrentModule (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 &)
Objectoperator= (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

MappedFilemf
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< ExceptionBlockcatch_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)
Symbolhandle_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)
RegionfindEnclosingRegion (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_XelfHdr
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, OffsetTOC_table_
bool EEL
bool did_open
ObjectType obj_type_
std::vector< relocationEntryrelocation_table_
std::vector< relocationEntryfbt_
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_tDebugSectionMap
ModulecurModule
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< Offsetpossible_mains
fileOpenerfo_
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

Detailed Description

Definition at line 297 of file Object-elf.h.


Constructor & Destructor Documentation

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 
)
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  ) 
Object::~Object ( void   )  [virtual]
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 
)
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 
)
virtual Dyninst::SymtabAPI::Object::~Object ( void   )  [inline, virtual]

Definition at line 197 of file Object-xcoff.h.

References Dyninst::SymtabAPI::fileOpener::closeFile(), and fo_.


Member Function Documentation

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]
Offset Dyninst::SymtabAPI::Object::bss_size (  )  const [inline]

Definition at line 212 of file Object-xcoff.h.

References bss_size_.

void AObject::clearSymsToMods (  )  [inherited]
SYMTAB_EXPORT Offset AObject::code_len (  )  const [inherited]
SYMTAB_EXPORT Offset AObject::code_off (  )  const [inherited]
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().

bool Object::convertDebugOffset ( Offset  off,
Offset new_off 
)
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
bool Object::emitDriver ( Symtab obj,
string  fName,
std::vector< Symbol * > &  allSymbols,
unsigned  flag 
)
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 
)
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().

void Object::find_code_and_data ( Elf_X elf,
Offset  txtaddr,
Offset  dataddr 
) [private]
Region * Object::findEnclosingRegion ( const Offset  where  )  [private]
void Object::FindInterestingSections ( bool  alloc_syms,
bool  defensive 
) [private]
const std::string AObject::findModuleForSym ( Symbol sym  )  [inherited]
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]
SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::get_base_addr (  )  const [inline]
bool Object::get_func_binding_table ( std::vector< relocationEntry > &  fbt  )  const [virtual]
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.

References fbt_, and plt_addr_.

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]
bool Object::get_relocationDyn_entries ( unsigned  rel_index,
Elf_X_Shdr *&  dynsym_scnp,
Elf_X_Shdr *&  dynstr_scnp 
) [private]
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
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]
SYMTAB_EXPORT int AObject::getAddressWidth (  )  const [inherited]
SYMTAB_EXPORT bool AObject::getAllExceptions ( std::vector< ExceptionBlock * > &  excpBlocks  )  const [inherited]
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]
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]
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]
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]
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]

Definition at line 191 of file Object-nt.h.

References peHdr.

Referenced by getEntryAddress().

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 (  ) 
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 (  ) 
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]
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]
std::vector<relocationEntry>& Dyninst::SymtabAPI::Object::getPLTRelocs (  )  [inline]
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]
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]
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]
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]
virtual SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::getSegmentsSymReader ( std::vector< SymSegment > &  segs  )  [virtual]
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]
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_.

SYMTAB_EXPORT Offset Dyninst::SymtabAPI::Object::getTOCoffset ( Offset   )  const [inline]

Definition at line 197 of file Object-nt.h.

Offset Object::getTOCoffset ( Offset  off  )  const

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]
Symbol * Object::handle_opd_symbol ( Region opd,
Symbol sym 
) [private]

* 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]
bool Dyninst::SymtabAPI::Object::hasNoteSection (  )  const [inline]
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]
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  ) 

Definition at line 2216 of file Object-nt.C.

References peHdr.

Referenced by Offset2RVA().

DWORD Object::ImageOffset2SectionNum ( DWORD  dwRO  ) 

Definition at line 2197 of file Object-nt.C.

References peHdr.

PIMAGE_SECTION_HEADER Object::ImageRVA2Section ( DWORD  dwRVA  ) 

Definition at line 2237 of file Object-nt.C.

References peHdr.

Referenced by RVA2Offset().

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]
bool Object::is_offset_in_plt ( Offset  offset  )  const

Definition at line 967 of file Object-elf.C.

References plt_addr_, and plt_size_.

bool Dyninst::SymtabAPI::Object::isBlueGeneP (  )  const [inline]
bool Dyninst::SymtabAPI::Object::isBlueGeneQ (  )  const [inline]
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 1058 of file Object-nt.C.

References peHdr.

Referenced by ParseGlobalSymbol().

bool Dyninst::SymtabAPI::Object::isinText ( Offset  addr,
Offset  baseaddr 
) const [inline]

Definition at line 366 of file Object-elf.h.

References text_addr_, and text_size_.

bool Object::isRegionPresent ( Offset  segmentStart,
Offset  segmentSize,
unsigned  newPerms 
)

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]
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]
void Dyninst::SymtabAPI::Object::load_object ( bool  alloc_syms  )  [private]
void Object::load_object ( bool  alloc_syms  )  [private]
void Object::load_shared_object ( bool  alloc_syms  )  [private]
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]
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]
SYMTAB_EXPORT unsigned AObject::no_of_symbols (  )  const [inherited]
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().

Object & Object::operator= ( const Object obj  ) 
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]
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]
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]
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]
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 
)
void Object::ParseGlobalSymbol ( PSYMBOL_INFO  pSymInfo  ) 
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]
void Object::parseStabTypes ( Symtab obj  )  [private]
void Object::ParseSymbolInfo ( bool  alloc_syms  )  [private]
void Dyninst::SymtabAPI::Object::parseTypeInfo ( Symtab obj  ) 
SYMTAB_EXPORT void Dyninst::SymtabAPI::Object::parseTypeInfo ( Symtab obj  ) 
void Object::parseTypeInfo ( Symtab obj  ) 
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().


Friends And Related Function Documentation

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.


Field Documentation

Definition at line 529 of file Object-elf.h.

Referenced by loaded_elf(), and parse_all_relocations().

Definition at line 276 of file Object-xcoff.h.

Referenced by getBaseAddress(), and parse_aout().

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]
char* Dyninst::SymtabAPI::AObject::code_ptr_ [protected, inherited]
char* Dyninst::SymtabAPI::AObject::data_ptr_ [protected, inherited]

Definition at line 269 of file Object-xcoff.h.

Referenced by data_reloc(), and parse_aout().

Definition at line 253 of file Object-nt.h.

Referenced by FindInterestingSections().

Definition at line 617 of file Object-elf.h.

Referenced by convertDebugOffset(), and Object().

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 513 of file Object-elf.h.

Referenced by Object().

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().

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().

Definition at line 467 of file Object-elf.h.

Referenced by getDynsymSize(), and loaded_elf().

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().

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]

Definition at line 469 of file Object-elf.h.

Referenced by getFiniAddr(), loaded_elf(), and parseDynamic().

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().

Definition at line 477 of file Object-elf.h.

Referenced by gotAddr(), and loaded_elf().

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().

Definition at line 460 of file Object-elf.h.

Referenced by hasNoteSection(), and loaded_elf().

Definition at line 453 of file Object-elf.h.

Referenced by hasReladyn(), and loaded_elf().

Definition at line 455 of file Object-elf.h.

Referenced by hasRelaplt(), and loaded_elf().

Definition at line 452 of file Object-elf.h.

Referenced by hasReldyn(), and loaded_elf().

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().

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().

Definition at line 239 of file Object-nt.h.

Referenced by getLoadAddress(), and ParseSymbolInfo().

Definition at line 468 of file Object-elf.h.

Referenced by getInitAddr(), loaded_elf(), and parseDynamic().

Definition at line 503 of file Object-elf.h.

Referenced by interpreter_name(), load_object(), load_shared_object(), and Object().

Definition at line 287 of file Object-xcoff.h.

Referenced by parse_aout(), and parseLineInformation().

bool Dyninst::SymtabAPI::AObject::is_aout_ [protected, inherited]
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().

Definition at line 189 of file Object.h.

Referenced by Dyninst::SymtabAPI::AObject::isStaticBinary(), and loaded_elf().

Definition at line 458 of file Object-elf.h.

Referenced by isBlueGeneP(), and loaded_elf().

Definition at line 459 of file Object-elf.h.

Referenced by isBlueGeneQ(), and loaded_elf().

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().

Definition at line 285 of file Object-xcoff.h.

Referenced by get_line_info(), and parse_aout().

Definition at line 500 of file Object-elf.h.

Referenced by getLoadAddress(), loaded_elf(), Object(), and parse_aout().

Definition at line 179 of file Object.h.

Referenced by Dyninst::SymtabAPI::AObject::loader_len(), and parse_aout().

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().

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 281 of file Object-xcoff.h.

Referenced by get_line_info(), and parse_aout().

unsigned Dyninst::SymtabAPI::AObject::no_of_sections_ [protected, inherited]
unsigned Dyninst::SymtabAPI::AObject::no_of_symbols_ [protected, inherited]

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().

Definition at line 267 of file Object-xcoff.h.

Definition at line 488 of file Object-elf.h.

Referenced by loaded_elf().

Definition at line 489 of file Object-elf.h.

Referenced by loaded_elf().

PIMAGE_NT_HEADERS Dyninst::SymtabAPI::Object::peHdr [private]

Definition at line 481 of file Object-elf.h.

Referenced by get_relocation_entries(), and loaded_elf().

Definition at line 480 of file Object-elf.h.

Referenced by is_offset_in_plt(), and loaded_elf().

Definition at line 256 of file Object-nt.h.

Referenced by getPossibleMains().

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 485 of file Object-elf.h.

Referenced by get_relocationDyn_entries(), getRelDynAddr(), loaded_elf(), and parseDynamic().

Definition at line 487 of file Object-elf.h.

Referenced by get_relocationDyn_entries(), loaded_elf(), and parseDynamic().

Definition at line 484 of file Object-elf.h.

Referenced by get_relocation_entries(), and loaded_elf().

Definition at line 483 of file Object-elf.h.

Referenced by get_relocation_entries(), getRelPLTSize(), loaded_elf(), and parseDynamic().

Definition at line 486 of file Object-elf.h.

Referenced by get_relocationDyn_entries(), getRelDynSize(), loaded_elf(), and parseDynamic().

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().

Definition at line 448 of file Object-elf.h.

Referenced by loaded_elf().

Definition at line 243 of file Object-nt.h.

Referenced by FindInterestingSections(), and getSecAlign().

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().

Definition at line 496 of file Object-elf.h.

Referenced by loaded_elf().

Definition at line 491 of file Object-elf.h.

Referenced by get_stab_info(), hasStabInfo(), and loaded_elf().

Definition at line 492 of file Object-elf.h.

Referenced by get_stab_info(), hasStabInfo(), and loaded_elf().

Definition at line 283 of file Object-xcoff.h.

Referenced by get_stab_info(), and parse_aout().

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().

Definition at line 278 of file Object-xcoff.h.

Referenced by parse_aout().

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]
dyn_hash_map<Offset, std::vector<Symbol *> > Dyninst::SymtabAPI::AObject::symsByOffset_ [protected, inherited]
std::map< Symbol *, std::string > Dyninst::SymtabAPI::AObject::symsToModules_ [protected, inherited]

Definition at line 472 of file Object-elf.h.

Referenced by getSymtabAddr(), and loaded_elf().

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().

Definition at line 471 of file Object-elf.h.

Referenced by isinText(), isText(), and loaded_elf().

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().

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]
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().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1