ROSE  0.11.145.0
Public Member Functions | List of all members
Rose::BinaryAnalysis::BinaryLoaderElf::SymbolMap Class Reference

Description

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

Definition at line 166 of file BinaryLoaderElf.h.

#include <Rose/BinaryAnalysis/BinaryLoaderElf.h>

Inheritance diagram for Rose::BinaryAnalysis::BinaryLoaderElf::SymbolMap:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::BinaryLoaderElf::SymbolMap:
Collaboration graph
[legend]

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...
 

Member Function Documentation

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.

void Rose::BinaryAnalysis::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: