svf-lib 1.0.1421 → 1.0.1423
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.
- package/SVF-linux/Release-build/svf/libSvfCore.a +0 -0
- package/SVF-linux/Release-build/svf-llvm/libSvfLLVM.a +0 -0
- package/SVF-linux/svf/include/Util/Options.h +3 -0
- package/SVF-osx/Release-build/svf/libSvfCore.a +0 -0
- package/SVF-osx/Release-build/svf-llvm/libSvfLLVM.a +0 -0
- package/SVF-osx/svf/include/SVFIR/SVFType.h +4 -4
- package/SVF-osx/svf/include/SVFIR/SVFValue.h +3 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -243,7 +243,7 @@ public:
|
|
|
243
243
|
{
|
|
244
244
|
SVFTy,
|
|
245
245
|
SVFPointerTy,
|
|
246
|
-
|
|
246
|
+
SVFIntegerTy,
|
|
247
247
|
SVFFunctionTy,
|
|
248
248
|
SVFStructTy,
|
|
249
249
|
SVFArrayTy,
|
|
@@ -337,13 +337,13 @@ public:
|
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
|
|
340
|
-
class
|
|
340
|
+
class SVFIntegerType : public SVFType
|
|
341
341
|
{
|
|
342
342
|
public:
|
|
343
|
-
|
|
343
|
+
SVFIntegerType() : SVFType(true, SVFIntegerTy) {}
|
|
344
344
|
static inline bool classof(const SVFType* node)
|
|
345
345
|
{
|
|
346
|
-
return node->getKind() ==
|
|
346
|
+
return node->getKind() == SVFIntegerTy;
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
|
|
@@ -266,7 +266,7 @@ public:
|
|
|
266
266
|
|
|
267
267
|
private:
|
|
268
268
|
bool isDecl; /// return true if this function does not have a body
|
|
269
|
-
bool
|
|
269
|
+
bool intrinsic; /// return true if this function is an intrinsic function (e.g., llvm.dbg), which does not reside in the application code
|
|
270
270
|
bool addrTaken; /// return true if this function is address-taken (for indirect call purposes)
|
|
271
271
|
bool isUncalled; /// return true if this function is never called
|
|
272
272
|
bool isNotRet; /// return true if this function never returns
|
|
@@ -307,7 +307,7 @@ protected:
|
|
|
307
307
|
/// @}
|
|
308
308
|
|
|
309
309
|
public:
|
|
310
|
-
SVFFunction(const std::string& f, const SVFType* ty,const SVFFunctionType* ft, bool declare, bool
|
|
310
|
+
SVFFunction(const std::string& f, const SVFType* ty,const SVFFunctionType* ft, bool declare, bool intrinsic, bool addrTaken, bool varg, SVFLoopAndDomInfo* ld);
|
|
311
311
|
SVFFunction(const std::string& f) = delete;
|
|
312
312
|
SVFFunction(void) = delete;
|
|
313
313
|
virtual ~SVFFunction();
|
|
@@ -328,7 +328,7 @@ public:
|
|
|
328
328
|
|
|
329
329
|
inline bool isIntrinsic() const
|
|
330
330
|
{
|
|
331
|
-
return
|
|
331
|
+
return intrinsic;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
inline bool hasAddressTaken() const
|