#include <SymReader.h>
Public Member Functions | |
| virtual Symbol_t | getSymbolByName (std::string symname)=0 |
| virtual Symbol_t | getContainingSymbol (Dyninst::Offset offset)=0 |
| virtual std::string | getInterpreterName ()=0 |
| virtual unsigned | getAddressWidth ()=0 |
| virtual unsigned | numSegments ()=0 |
| virtual bool | getSegment (unsigned num, SymSegment ®)=0 |
| virtual Dyninst::Offset | getSymbolOffset (const Symbol_t &sym)=0 |
| virtual Dyninst::Offset | getSymbolTOC (const Symbol_t &sym)=0 |
| virtual std::string | getSymbolName (const Symbol_t &sym)=0 |
| virtual std::string | getDemangledName (const Symbol_t &sym)=0 |
| virtual unsigned long | getSymbolSize (const Symbol_t &sym)=0 |
| virtual bool | isValidSymbol (const Symbol_t &sym)=0 |
| virtual Section_t | getSectionByName (std::string name)=0 |
| virtual Section_t | getSectionByAddress (Dyninst::Address addr)=0 |
| virtual Dyninst::Address | getSectionAddress (Section_t sec)=0 |
| virtual std::string | getSectionName (Section_t sec)=0 |
| virtual bool | isValidSection (Section_t sec)=0 |
| virtual Dyninst::Offset | imageOffset ()=0 |
| virtual Dyninst::Offset | dataOffset ()=0 |
| virtual void * | getElfHandle () |
| virtual int | getFD () |
Protected Member Functions | |
| SymReader () | |
| virtual | ~SymReader () |
This may seem like a clunky interface in places, but it was designed such that the underlying implementation could be made re-enterant safe (so it could be called from a signal handler).
Definition at line 77 of file SymReader.h.
| Dyninst::SymReader::SymReader | ( | ) | [inline, protected] |
Definition at line 80 of file SymReader.h.
| virtual Dyninst::SymReader::~SymReader | ( | ) | [inline, protected, virtual] |
Definition at line 81 of file SymReader.h.
| virtual Dyninst::Offset Dyninst::SymReader::dataOffset | ( | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::LoadedLibAIX::setReals().
| virtual unsigned Dyninst::SymReader::getAddressWidth | ( | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::FCNode::parsefile().
| virtual Symbol_t Dyninst::SymReader::getContainingSymbol | ( | Dyninst::Offset | offset | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual std::string Dyninst::SymReader::getDemangledName | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual void* Dyninst::SymReader::getElfHandle | ( | ) | [inline, virtual] |
Reimplemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Definition at line 107 of file SymReader.h.
| virtual int Dyninst::SymReader::getFD | ( | ) | [inline, virtual] |
Reimplemented in Dyninst::SymElf.
Definition at line 108 of file SymReader.h.
| virtual std::string Dyninst::SymReader::getInterpreterName | ( | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::FCNode::parsefile().
| virtual Dyninst::Address Dyninst::SymReader::getSectionAddress | ( | Section_t | sec | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual Section_t Dyninst::SymReader::getSectionByAddress | ( | Dyninst::Address | addr | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual Section_t Dyninst::SymReader::getSectionByName | ( | std::string | name | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual std::string Dyninst::SymReader::getSectionName | ( | Section_t | sec | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual bool Dyninst::SymReader::getSegment | ( | unsigned | num, | |
| SymSegment & | reg | |||
| ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::AddressTranslateSysV::parseDTDebug(), and Dyninst::FCNode::parsefile().
| virtual Symbol_t Dyninst::SymReader::getSymbolByName | ( | std::string | symname | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::FCNode::parsefile().
| virtual std::string Dyninst::SymReader::getSymbolName | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual Dyninst::Offset Dyninst::SymReader::getSymbolOffset | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::FCNode::parsefile().
| virtual unsigned long Dyninst::SymReader::getSymbolSize | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual Dyninst::Offset Dyninst::SymReader::getSymbolTOC | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual Dyninst::Offset Dyninst::SymReader::imageOffset | ( | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::LoadedLibAIX::setReals().
| virtual bool Dyninst::SymReader::isValidSection | ( | Section_t | sec | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
| virtual bool Dyninst::SymReader::isValidSymbol | ( | const Symbol_t & | sym | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::FCNode::parsefile().
| virtual unsigned Dyninst::SymReader::numSegments | ( | ) | [pure virtual] |
Implemented in Dyninst::SymElf, and Dyninst::SymtabAPI::SymtabReader.
Referenced by Dyninst::AddressTranslateSysV::parseDTDebug(), and Dyninst::FCNode::parsefile().
1.6.1