ROSE
0.9.6a
|
A mapping from symbol name (with optional version in parentheses) to SymbolMapEntry. More...
#include <BinaryLoaderElf.h>
Public Member Functions | |
const SymbolMapEntry * | lookup (std::string name) const |
Finds and returns the entry having the specified name. More... | |
const SymbolMapEntry * | lookup (std::string name, std::string version) const |
Finds and returns the entry having the specified name and version. More... | |
void | dump (FILE *, const char *prefix) const |
Print debugging information about this SymbolMap. More... | |
A mapping from symbol name (with optional version in parentheses) to SymbolMapEntry.
Definition at line 193 of file BinaryLoaderElf.h.
const SymbolMapEntry* BinaryLoaderElf::SymbolMap::lookup | ( | std::string | name) | const |
Finds and returns the entry having the specified name.
Returns the null pointer if the name cannot be found.
const SymbolMapEntry* BinaryLoaderElf::SymbolMap::lookup | ( | std::string | name, |
std::string | version | ||
) | const |
Finds and returns the entry having the specified name and version.
Returns the null pointer if the name cannot be found. The lookup is performed by enclosing the version string in parentheses (if the version is not empty) and appending it to the symbol name.
void BinaryLoaderElf::SymbolMap::dump | ( | FILE * | , |
const char * | prefix | ||
) | const |
Print debugging information about this SymbolMap.