ROSE 0.11.145.147
|
A mapping from symbol name (with optional version in parentheses) to SymbolMapEntry.
Definition at line 139 of file BinaryLoaderElf.h.
#include <Rose/BinaryAnalysis/BinaryLoaderElf.h>
Public Member Functions | |
const SymbolMapEntry * | lookup (std::string name) const |
Finds and returns the entry having the specified name. | |
const SymbolMapEntry * | lookup (std::string name, std::string version) const |
Finds and returns the entry having the specified name and version. | |
void | dump (FILE *, const char *prefix) const |
Print debugging information about this SymbolMap. | |
const SymbolMapEntry * Rose::BinaryAnalysis::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 * Rose::BinaryAnalysis::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.