1 #ifndef SYMBOLREGISTRY_H 2 #define SYMBOLREGISTRY_H 79 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
82 typedef map<uint64_t,string> SymbolMap;
87 #endif // SYMBOLREGISTRY_H A registry for loaded symbols.
void AddSymbol(const string &symbol, uint64_t vaddr)
Adds a symbol to the registry.
SymbolRegistry()
Constructs a SymbolRegistry.
string LookupAddress(uint64_t vaddr, bool allowOffset) const
Looks up an address.
void Clear()
Clears the registry.
static void RunUnitTests(int &nSucceeded, int &nFailures)
Base class for unit testable classes.