CallTargetSet::solveFunctionPointerCall
Finds all functions that match the function type of pointerDerefExp
Synopsis
Declared in <src/midend/programAnalysis/CallGraphAnalysis/CallGraph.h>
std::vector<SgFunctionDeclaration*>
solveFunctionPointerCall(SgPointerDerefExp* pointerDerefExp);
Description
CallTargetSet::solveFunctionPointerCall
Resolving function pointer calls is hard, so the CallGraph generator doesn't try very hard at it. When asked to resolve a function pointer call, itsimply finds all functions that match that type in the memory pool a returns alist of them.
Return Value
: A vector of all functionDeclarations that match the type of thefunction dereferenced in pointerDerefExp
Parameters
Name |
Description |
pointerDerefExp [in] |
: A function pointer dereference. |
Created with MrDocs