From f347cd25820de03ab7aed96f460052f71d7e87ba Mon Sep 17 00:00:00 2001 From: clf <53817093+clingfei@users.noreply.github.com> Date: Wed, 22 Feb 2023 09:32:34 +0800 Subject: [PATCH] Update SVFG.cpp --- lib/Graphs/SVFG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Graphs/SVFG.cpp b/lib/Graphs/SVFG.cpp index 158a282df..bf5c080e7 100644 --- a/lib/Graphs/SVFG.cpp +++ b/lib/Graphs/SVFG.cpp @@ -665,7 +665,7 @@ const SVFFunction* SVFG::isFunEntrySVFGNode(const SVFGNode* node) const else if(const InterMSSAPHISVFGNode* mphi = SVFUtil::dyn_cast(node)) { if(mphi->isFormalINPHI()) - return phi->getFun(); + return mphi->getFun(); } return nullptr; }