retdec
Public Member Functions | List of all members
retdec::common::FunctionContainer Class Reference

#include <function.h>

Inheritance diagram for retdec::common::FunctionContainer:
Inheritance graph
[legend]
Collaboration diagram for retdec::common::FunctionContainer:
Collaboration graph
[legend]

Public Member Functions

bool hasFunction (const std::string &name)
 
const FunctiongetFunctionByName (const std::string &name) const
 
const FunctiongetFunctionByStartAddress (const retdec::common::Address &addr) const
 
const FunctiongetFunctionByRealName (const std::string &name) const
 

Detailed Description

An associative container with functions' names as the key. See Function class for details.

Member Function Documentation

◆ getFunctionByName()

const Function * retdec::common::FunctionContainer::getFunctionByName ( const std::string &  name) const

◆ getFunctionByRealName()

const Function * retdec::common::FunctionContainer::getFunctionByRealName ( const std::string &  name) const

◆ getFunctionByStartAddress()

const Function * retdec::common::FunctionContainer::getFunctionByStartAddress ( const retdec::common::Address addr) const
Returns
Pointer to function or nullptr if not found.

◆ hasFunction()

bool retdec::common::FunctionContainer::hasFunction ( const std::string &  name)
Returns
True if container contains a function of the specified name.

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