diff --git a/svf/include/Graphs/CallGraph.h b/svf/include/Graphs/CallGraph.h index e92765899..3eac37e92 100644 --- a/svf/include/Graphs/CallGraph.h +++ b/svf/include/Graphs/CallGraph.h @@ -225,7 +225,7 @@ class CallGraph : public GenericCallGraphTy /// Whether we have already created this call graph edge CallGraphEdge* hasGraphEdge(CallGraphNode* src, CallGraphNode* dst, - const CallICFGNode* callIcfgNode) const; + const CallICFGNode* callIcfgNode) const; /// Add direct call edges void addDirectCallGraphEdge(const CallICFGNode* call, const SVFFunction* callerFun, const SVFFunction* calleeFun); diff --git a/svf/lib/Graphs/CallGraph.cpp b/svf/lib/Graphs/CallGraph.cpp index 6b6fe35b4..917ca19ab 100644 --- a/svf/lib/Graphs/CallGraph.cpp +++ b/svf/lib/Graphs/CallGraph.cpp @@ -96,8 +96,8 @@ void CallGraph::addCallGraphNode(const SVFFunction* fun) * Whether we have already created this call graph edge */ CallGraphEdge* CallGraph::hasGraphEdge(CallGraphNode* src, - CallGraphNode* dst, - const CallICFGNode* callIcfgNode) const + CallGraphNode* dst, + const CallICFGNode* callIcfgNode) const { CallGraphEdge edge(src,dst,callIcfgNode); CallGraphEdge* outEdge = src->hasOutgoingEdge(&edge); diff --git a/svf/lib/Graphs/ThreadCallGraph.cpp b/svf/lib/Graphs/ThreadCallGraph.cpp index 4bf7272d7..470293c52 100644 --- a/svf/lib/Graphs/ThreadCallGraph.cpp +++ b/svf/lib/Graphs/ThreadCallGraph.cpp @@ -40,7 +40,7 @@ using namespace SVFUtil; * Constructor */ ThreadCallGraph::ThreadCallGraph(const CallGraph& cg) : - PTACallGraph(cg), tdAPI(ThreadAPI::getThreadAPI()) + PTACallGraph(cg), tdAPI(ThreadAPI::getThreadAPI()) { kind = ThdCallGraph; DBOUT(DGENERAL, outs() << SVFUtil::pasMsg("Building ThreadCallGraph\n"));