svf-lib 1.0.2557 → 1.0.2559

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.
@@ -189,16 +189,6 @@ public:
189
189
  return abstractTrace[node];
190
190
  }
191
191
 
192
- // ---- Def/Use site queries (sparsity-aware) ------------------------
193
-
194
- virtual Set<const ICFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
195
- virtual Set<const ICFGNode*> getUseSitesOfValVar(const ValVar* var) const;
196
- virtual const ICFGNode* getDefSiteOfValVar(const ValVar* var) const;
197
- virtual const ICFGNode* getDefSiteOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
198
-
199
- /// Propagate an ObjVar's abstract value from defSite to all its use-sites.
200
- void propagateObjVarAbsVal(const ObjVar* var, const ICFGNode* defSite);
201
-
202
192
  protected:
203
193
  /// Factory-only construction. External callers must use getAEInstance();
204
194
  /// `SparseAbstractInterpretation` reaches this via its own ctor.
@@ -98,10 +98,14 @@ public:
98
98
  bool hasAbsValue(const ValVar* var, const ICFGNode* node) const override;
99
99
  using SemiSparseAbstractInterpretation::hasAbsValue;
100
100
 
101
- Set<const ICFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const ICFGNode* node) const override;
102
- Set<const ICFGNode*> getUseSitesOfValVar(const ValVar* var) const override;
103
- const ICFGNode* getDefSiteOfValVar(const ValVar* var) const override;
104
- const ICFGNode* getDefSiteOfObjVar(const ObjVar* obj, const ICFGNode* node) const override;
101
+ const Set<const ICFGNode*> getUseSitesOfValVar(const ValVar* var) const;
102
+ const ICFGNode* getDefSiteOfValVar(const ValVar* var) const;
103
+ /// Given an ObjVar and its def-site ICFGNode, find all use-site ICFGNodes
104
+ /// by following outgoing IndirectSVFGEdges whose pts contains the ObjVar
105
+ const Set<const ICFGNode*> getDefSiteOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
106
+ /// Given an ObjVar and its def-site ICFGNode, find all use-site ICFGNodes
107
+ /// by following outgoing IndirectSVFGEdges whose pts contains the ObjVar
108
+ const Set<const ICFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
105
109
 
106
110
  protected:
107
111
  /// Build the SVFG on top of the semi-sparse precompute.
@@ -179,21 +179,21 @@ public:
179
179
  return hasDef(valVar) && hasSVFGNode(getDef(valVar));
180
180
  }
181
181
 
182
- /// Given a ValVar and its SVFGNode, find the definition-site ICFGNode
182
+ /// Given a ValVar and its SVFGNode, find the definition-site SVFGNode
183
183
  /// by following incoming direct VFGEdges (asserts unique definition)
184
- const ICFGNode* getDefSiteOfValVar(const ValVar* var) const;
184
+ const SVFGNode* getDefSiteOfValVar(const ValVar* var) const;
185
185
 
186
- /// Given an ObjVar and its use-site ICFGNode, find the definition-site ICFGNode
186
+ /// Given an ObjVar and its use-site SVFGNode, find the definition-site ICFGNode
187
187
  /// by following incoming IndirectSVFGEdges whose pts contains the ObjVar (asserts unique definition)
188
- const ICFGNode* getDefSiteOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
188
+ const Set<const SVFGNode*> getDefSiteOfObjVar(const ObjVar* obj, const SVFGNode* node) const;
189
189
 
190
- /// Given a ValVar, find all use-site ICFGNodes
190
+ /// Given a ValVar, find all use-site SVFGNodes
191
191
  /// by following outgoing direct VFGEdges from its unique definition SVFGNode
192
- const Set<const ICFGNode*> getUseSitesOfValVar(const ValVar* var) const;
192
+ const Set<const SVFGNode*> getUseSitesOfValVar(const ValVar* var) const;
193
193
 
194
- /// Given an ObjVar and its def-site ICFGNode, find all use-site ICFGNodes
194
+ /// Given an ObjVar and its def-site SVFGNodes, find all use-site SVFGNodes
195
195
  /// by following outgoing IndirectSVFGEdges whose pts contains the ObjVar
196
- const Set<const ICFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const ICFGNode* node) const;
196
+ const Set<const SVFGNode*> getUseSitesOfObjVar(const ObjVar* obj, const SVFGNode* node) const;
197
197
 
198
198
  /// Perform statistics
199
199
  void performStat();
package/SVF-osx/bin/ae CHANGED
Binary file
package/SVF-osx/bin/cfl CHANGED
Binary file
package/SVF-osx/bin/dvf CHANGED
Binary file
Binary file
package/SVF-osx/bin/mta CHANGED
Binary file
package/SVF-osx/bin/saber CHANGED
Binary file
Binary file
package/SVF-osx/bin/wpa CHANGED
Binary file
@@ -9,7 +9,7 @@
9
9
  #define SVF_CONFIG_H_IN
10
10
 
11
11
  // Expose base properties of this SVF instance
12
- #define SVF_VERSION "3.3"
12
+ #define SVF_VERSION "3.4"
13
13
  #define SVF_BUILD_TYPE "Release"
14
14
  #define SVF_C_STANDARD "11"
15
15
  #define SVF_CXX_STANDARD "17"
@@ -32,7 +32,7 @@ list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}" "${CMAKE_CURRENT_LIST
32
32
  include("${CMAKE_CURRENT_LIST_DIR}/SVFTargets.cmake")
33
33
 
34
34
  # Set basic variables from this SVF build
35
- set(SVF_VERSION 3.3)
35
+ set(SVF_VERSION 3.4)
36
36
  set(SVF_BUILD_TYPE Release)
37
37
  set(SVF_SHARED_LIBS ON)
38
38
  set(SVF_C_STANDARD 11)
@@ -7,7 +7,7 @@
7
7
  # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
8
8
  # The variable CVF_VERSION must be set before calling configure_file().
9
9
 
10
- set(PACKAGE_VERSION "3.3")
10
+ set(PACKAGE_VERSION "3.4")
11
11
 
12
12
  if (PACKAGE_FIND_VERSION_RANGE)
13
13
  # Package version must be in the requested version range
@@ -8,22 +8,22 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
8
8
  # Import target "SVF::SvfCore" for configuration "Release"
9
9
  set_property(TARGET SVF::SvfCore APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
10
  set_target_properties(SVF::SvfCore PROPERTIES
11
- IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libSvfCore.3.3.dylib"
11
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libSvfCore.3.4.dylib"
12
12
  IMPORTED_SONAME_RELEASE "@rpath/libSvfCore.3.dylib"
13
13
  )
14
14
 
15
15
  list(APPEND _cmake_import_check_targets SVF::SvfCore )
16
- list(APPEND _cmake_import_check_files_for_SVF::SvfCore "${_IMPORT_PREFIX}/lib/libSvfCore.3.3.dylib" )
16
+ list(APPEND _cmake_import_check_files_for_SVF::SvfCore "${_IMPORT_PREFIX}/lib/libSvfCore.3.4.dylib" )
17
17
 
18
18
  # Import target "SVF::SvfLLVM" for configuration "Release"
19
19
  set_property(TARGET SVF::SvfLLVM APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20
20
  set_target_properties(SVF::SvfLLVM PROPERTIES
21
- IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libSvfLLVM.3.3.dylib"
21
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libSvfLLVM.3.4.dylib"
22
22
  IMPORTED_SONAME_RELEASE "@rpath/libSvfLLVM.3.dylib"
23
23
  )
24
24
 
25
25
  list(APPEND _cmake_import_check_targets SVF::SvfLLVM )
26
- list(APPEND _cmake_import_check_files_for_SVF::SvfLLVM "${_IMPORT_PREFIX}/lib/libSvfLLVM.3.3.dylib" )
26
+ list(APPEND _cmake_import_check_files_for_SVF::SvfLLVM "${_IMPORT_PREFIX}/lib/libSvfLLVM.3.4.dylib" )
27
27
 
28
28
  # Import target "SVF::ae" for configuration "Release"
29
29
  set_property(TARGET SVF::ae APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
@@ -6,7 +6,7 @@ includedir=${exec_prefix}/include
6
6
 
7
7
  Name: SVF
8
8
  Description: SVF Points to Analysis Framework
9
- Version: 3.3
9
+ Version: 3.4
10
10
  Requires: z3
11
11
  Libs: -L${libdir} -lSvfCore -lSvfLLVM
12
12
  Cflags: -I${includedir}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2557",
3
+ "version": "1.0.2559",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {