svf-lib 1.0.738 → 1.0.739

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,8 +103,9 @@ protected:
103
103
  NodeID phiId = getDef(cs_ret);
104
104
  NodeID retdef = getDef(fun_ret);
105
105
  /// If a function does not have any return instruction. The def of a FormalRetVFGNode is itself (see VFG.h: addFormalRetVFGNode).
106
- /// Therefore, we do not connect return edge from a function without any return instruction.
107
- if (retdef == getFormalRetVFGNode(fun_ret)->getId())
106
+ /// Therefore, we do not connect return edge from a function without any return instruction (i.e., pag->isPhiNode(fun_ret)==false)
107
+ /// because unique fun_ret PAGNode was not collected as a PhiNode in SVFIRBuilder::visitReturnInst
108
+ if (pag->isPhiNode(fun_ret)==false)
108
109
  return;
109
110
 
110
111
  SVFGEdge* edge = addRetEdge(retdef, phiId, csId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.738",
3
+ "version": "1.0.739",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {