svf-lib 1.0.2489 → 1.0.2490

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.
@@ -179,6 +179,22 @@ public:
179
179
  return hasDef(pagNode) && hasSVFGNode(getDef(pagNode));
180
180
  }
181
181
 
182
+ /// Given a ValVar and its SVFGNode, find the definition-site ICFGNode
183
+ /// by following incoming direct VFGEdges (asserts unique definition)
184
+ const ICFGNode* getDefSiteOfValVar(const ValVar* var, const SVFGNode* node) const;
185
+
186
+ /// Given an ObjVar and its SVFGNode, find the definition-site ICFGNode
187
+ /// by following incoming IndirectSVFGEdges whose pts contains the ObjVar (asserts unique definition)
188
+ const ICFGNode* getDefSiteOfObjVar(const ObjVar* obj, const SVFGNode* node) const;
189
+
190
+ /// Given a ValVar and its SVFStmt, find all use-site ICFGNodes
191
+ /// by following outgoing direct VFGEdges from its definition SVFGNode
192
+ const Set<const ICFGNode*> getUseSitesOfValVar(const ValVar* var, const SVFGNode* vNode) const;
193
+
194
+ /// Given an ObjVar and its SVFStmt, find all use-site ICFGNodes
195
+ /// by following outgoing IndirectSVFGEdges whose pts contains the ObjVar
196
+ const Set<const ICFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const SVFGNode* vNode) const;
197
+
182
198
  /// Perform statistics
183
199
  void performStat();
184
200
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2489",
3
+ "version": "1.0.2490",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {