ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BinaryLoaderElf::SymbolMap Class Reference

A mapping from symbol name (with optional version in parentheses) to SymbolMapEntry. More...

#include <BinaryLoaderElf.h>

Inheritance diagram for BinaryLoaderElf::SymbolMap:
Collaboration diagram for BinaryLoaderElf::SymbolMap:

Public Member Functions

const SymbolMapEntrylookup (std::string name) const
 Finds and returns the entry having the specified name. More...
 
const SymbolMapEntrylookup (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...
 

Detailed Description

A mapping from symbol name (with optional version in parentheses) to SymbolMapEntry.

Definition at line 193 of file BinaryLoaderElf.h.

Member Function Documentation

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.


The documentation for this class was generated from the following file: