CallTargetSet::getDefinitionsForExpression
Populates functionList with definitions of all functions that may get called. This is basically a wrapper around getPropertiesForExpression that extracts the SgFunctionDefinition from the Properties object. This returns only callees that have definitions ‐ to get all possible callees, use getDeclarationsForExpression
Synopsis
Declared in <src/midend/programAnalysis/CallGraphAnalysis/CallGraph.h>
void
getDefinitionsForExpression(
SgExpression* exp,
ClassHierarchyWrapper* classHierarchy,
std::vector<SgFunctionDefinition*>& calleeList);
Parameters
Name |
Description |
exp |
This class represents the notion of an expression. Expressions |
calleeList |
A standard container which offers fixed time access to individual elements in any order. |
Created with MrDocs