Skip to content

Commit a63074e

Browse files
update
1 parent 40a466b commit a63074e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

svf/include/Graphs/ICFGNode.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ class FunExitICFGNode : public InterICFGNode
370370
friend class GraphDBClient;
371371

372372
protected:
373-
FunExitICFGNode(NodeID id, const FunObjVar* f, SVFBasicBlock* b, SVFVar* formalRet)
374-
: InterICFGNode(id, FunExitBlock), formalRet(formalRet)
373+
FunExitICFGNode(NodeID id, const FunObjVar* f, SVFBasicBlock* bb)
374+
: InterICFGNode(id, FunExitBlock), formalRet(nullptr)
375375
{
376376
this->fun = f;
377-
this->bb = b;
377+
this->bb = bb;
378378
}
379379

380380
private:

svf/include/SVFIR/SVFVariables.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,6 +2208,10 @@ class VarArgValPN : public ValVar
22082208
protected:
22092209
/// Constructor to create empty VarArgValPN (for GraphDBClient)
22102210
VarArgValPN(NodeID i, const SVFType* type, PNODEK ty = VarargValNode) : ValVar(i, type, VarargValNode) {}
2211+
inline void setCallGraphNode(const FunObjVar* node)
2212+
{
2213+
callGraphNode = node;
2214+
}
22112215
private:
22122216
const FunObjVar* callGraphNode;
22132217

0 commit comments

Comments
 (0)