svf-lib 1.0.1883 → 1.0.1884

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -148,15 +148,11 @@ bool isTemplateFunc(const Function *foo);
148
148
  /// whether foo is a cpp dyncast function
149
149
  bool isDynCast(const Function *foo);
150
150
 
151
- /// whether foo is a cpp heap allocation (new)
152
- bool isNewAlloc(const Function *foo);
153
-
154
151
  /// extract class name from cpp dyncast function
155
152
  std::string extractClsNameFromDynCast(const CallBase* callBase);
156
153
 
157
154
  const Type *cppClsNameToType(const std::string &className);
158
155
 
159
- std::string typeToClsName(const Type *ty);
160
156
 
161
157
 
162
158
  /// Constants pertaining to CTir, for C and C++.
@@ -48,7 +48,7 @@ public:
48
48
  typedef Map<const Value *, const Type *> ValueToType;
49
49
  typedef std::pair<const Value *, bool> ValueBoolPair;
50
50
  typedef Map<const Value *, Set<std::string>> ValueToClassNames;
51
- typedef Map<const Value *, Set<const Value *>> ObjToClsNameSources;
51
+ typedef Map<const Value *, Set<const CallBase *>> ObjToClsNameSources;
52
52
 
53
53
 
54
54
  private:
@@ -122,7 +122,7 @@ protected:
122
122
  Set<const Value *> &bwFindAllocOrClsNameSources(const Value *startValue);
123
123
 
124
124
  /// forward find class name sources starting from an allocation
125
- Set<const Value *> &fwFindClsNameSources(const Value *startValue);
125
+ Set<const CallBase *> &fwFindClsNameSources(const Value *startValue);
126
126
  };
127
127
  }
128
128
  #endif //SVF_OBJTYPEINFERENCE_H
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1883",
3
+ "version": "1.0.1884",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {