retdec
|
Obtainer of information about functions and function calls that assumes nothing. More...
#include <pessim_call_info_obtainer.h>
Public Member Functions | |
virtual std::string | getId () const override |
Returns the ID of the obtainer. More... | |
virtual ShPtr< CallInfo > | getCallInfo (ShPtr< CallExpr > call, ShPtr< Function > caller) override |
Computes and returns information about the given function call which occurs in caller. More... | |
virtual ShPtr< FuncInfo > | getFuncInfo (ShPtr< Function > func) override |
Computes and returns information about the given function. More... | |
![]() | |
virtual | ~CallInfoObtainer ()=default |
ShPtr< CG > | getCG () const |
Returns the call graph with which the obtainer has been initialized. More... | |
ShPtr< CFG > | getCFGForFunc (ShPtr< Function > func) const |
Returns the CFG for func after the obtainer has been initialized. More... | |
virtual void | init (ShPtr< CG > cg, ShPtr< ValueAnalysis > va) |
Initializes the obtainer. More... | |
virtual bool | isInitialized () const |
Returns true if the obtainer has been initialized, false otherwise. More... | |
Static Public Member Functions | |
static ShPtr< CallInfoObtainer > | create () |
Creates a new obtainer. More... | |
Private Member Functions | |
PessimCallInfoObtainer () | |
Constructs a new obtainer. More... | |
Additional Inherited Members | |
![]() | |
using | FuncVectorSet = std::vector< FuncSet > |
Vector of sets of functions. More... | |
using | FuncCFGMap = std::map< ShPtr< Function >, ShPtr< CFG > > |
Mapping of a function into its CFG. More... | |
![]() | |
CallInfoObtainer () | |
Constructs a new obtainer. More... | |
ShPtr< FuncInfoCompOrder > | getFuncInfoCompOrder (ShPtr< CG > cg) |
Computes an order in which FuncInfos should be computed. More... | |
![]() | |
ShPtr< Module > | module |
The current module. More... | |
ShPtr< CG > | cg |
Call graph of the current module. More... | |
ShPtr< ValueAnalysis > | va |
Analysis of values. More... | |
FuncCFGMap | funcCFGMap |
Mapping of a function into its CFG. More... | |
ShPtr< CFGBuilder > | cfgBuilder |
The used builder of CFGs. More... | |
Obtainer of information about functions and function calls that assumes nothing.
Compare with OptimCallInfoObtainer.
Use create() to create instances. Instances of this class have reference object semantics.
|
private |
Constructs a new obtainer.
See create() for the description of parameters.
|
static |
Creates a new obtainer.
|
overridevirtual |
Computes and returns information about the given function call which occurs in caller.
Implements retdec::llvmir2hll::CallInfoObtainer.
|
overridevirtual |
Computes and returns information about the given function.
Implements retdec::llvmir2hll::CallInfoObtainer.
|
overridevirtual |
Returns the ID of the obtainer.
Implements retdec::llvmir2hll::CallInfoObtainer.