retdec
Public Member Functions | Public Attributes | List of all members
retdec::llvmir2hll::CG::CalledFuncs Class Reference

Information about called functions from a caller. More...

#include <cg.h>

Collaboration diagram for retdec::llvmir2hll::CG::CalledFuncs:
Collaboration graph
[legend]

Public Member Functions

 CalledFuncs (ShPtr< Function > caller, bool callsOnlyDefinedFuncs=true, bool callsByPointer=false)
 Constructs a new information about called functions. More...
 

Public Attributes

ShPtr< Functioncaller
 
FuncSet callees
 
bool callsOnlyDefinedFuncs
 
bool callsByPointer
 

Detailed Description

Information about called functions from a caller.

Constructor & Destructor Documentation

◆ CalledFuncs()

retdec::llvmir2hll::CG::CalledFuncs::CalledFuncs ( ShPtr< Function caller,
bool  callsOnlyDefinedFuncs = true,
bool  callsByPointer = false 
)
explicit

Constructs a new information about called functions.

For the description of parameters, see the description of data members of CalledFuncs.

Member Data Documentation

◆ callees

FuncSet retdec::llvmir2hll::CG::CalledFuncs::callees

Functions that are called from caller (it may or may not contain indirectly called functions, see getCalledFuncs()).

◆ caller

ShPtr<Function> retdec::llvmir2hll::CG::CalledFuncs::caller

Function that calls functions in callees. If it is a declaration, callees are empty.

◆ callsByPointer

bool retdec::llvmir2hll::CG::CalledFuncs::callsByPointer

true if there are is a call by a pointer to a function, false otherwise. If caller is a declaration, this data member is set to false.

◆ callsOnlyDefinedFuncs

bool retdec::llvmir2hll::CG::CalledFuncs::callsOnlyDefinedFuncs

true if all called functions are defined, false otherwise (just declared functions are not considered defined). If caller is a declaration, this data member is set to true.


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