svf-lib 1.0.2214 → 1.0.2216
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/bin/ae +0 -0
- package/SVF-linux/Release-build/bin/cfl +0 -0
- package/SVF-linux/Release-build/bin/dvf +0 -0
- package/SVF-linux/Release-build/bin/llvm2svf +0 -0
- package/SVF-linux/Release-build/bin/mta +0 -0
- package/SVF-linux/Release-build/bin/saber +0 -0
- package/SVF-linux/Release-build/bin/svf-ex +0 -0
- package/SVF-linux/Release-build/bin/wpa +0 -0
- package/SVF-linux/Release-build/include/Graphs/BasicBlockG.h +2 -2
- package/SVF-linux/Release-build/include/Graphs/CDG.h +1 -1
- package/SVF-linux/Release-build/include/Graphs/CFLGraph.h +1 -1
- package/SVF-linux/Release-build/include/Graphs/CHG.h +1 -1
- package/SVF-linux/Release-build/include/Graphs/CallGraph.h +1 -1
- package/SVF-linux/Release-build/include/Graphs/ConsGNode.h +1 -1
- package/SVF-linux/Release-build/include/Graphs/GenericGraph.h +3 -3
- package/SVF-linux/Release-build/include/Graphs/ICFGNode.h +6 -6
- package/SVF-linux/Release-build/include/Graphs/VFGNode.h +20 -20
- package/SVF-linux/Release-build/include/MTA/TCT.h +1 -1
- package/SVF-linux/Release-build/include/SVF-LLVM/BreakConstantExpr.h +1 -1
- package/SVF-linux/Release-build/include/SVF-LLVM/CppUtil.h +1 -1
- package/SVF-linux/Release-build/include/SVF-LLVM/LLVMModule.h +12 -12
- package/SVF-linux/Release-build/include/SVF-LLVM/LLVMUtil.h +2 -2
- package/SVF-linux/Release-build/include/SVF-LLVM/ObjTypeInference.h +1 -1
- package/SVF-linux/Release-build/include/SVF-LLVM/SVFIRBuilder.h +6 -6
- package/SVF-linux/Release-build/include/SVF-LLVM/{SVFValue.h → SVFLLVMValue.h} +43 -43
- package/SVF-linux/Release-build/include/SVF-LLVM/SVFModule.h +1 -1
- package/SVF-linux/Release-build/include/SVFIR/SVFValue.h +2 -2
- package/SVF-linux/Release-build/include/SVFIR/SVFVariables.h +28 -28
- package/SVF-linux/Release-build/lib/libSvfCore.a +0 -0
- package/SVF-linux/Release-build/lib/libSvfLLVM.a +0 -0
- package/SVF-osx/Release-build/bin/ae +0 -0
- package/SVF-osx/Release-build/bin/cfl +0 -0
- package/SVF-osx/Release-build/bin/dvf +0 -0
- package/SVF-osx/Release-build/bin/llvm2svf +0 -0
- package/SVF-osx/Release-build/bin/mta +0 -0
- package/SVF-osx/Release-build/bin/saber +0 -0
- package/SVF-osx/Release-build/bin/svf-ex +0 -0
- package/SVF-osx/Release-build/bin/wpa +0 -0
- package/SVF-osx/Release-build/include/Graphs/BasicBlockG.h +2 -2
- package/SVF-osx/Release-build/include/Graphs/CDG.h +1 -1
- package/SVF-osx/Release-build/include/Graphs/CFLGraph.h +1 -1
- package/SVF-osx/Release-build/include/Graphs/CHG.h +1 -1
- package/SVF-osx/Release-build/include/Graphs/CallGraph.h +1 -1
- package/SVF-osx/Release-build/include/Graphs/ConsGNode.h +1 -1
- package/SVF-osx/Release-build/include/Graphs/GenericGraph.h +3 -3
- package/SVF-osx/Release-build/include/Graphs/ICFGNode.h +6 -6
- package/SVF-osx/Release-build/include/Graphs/VFGNode.h +20 -20
- package/SVF-osx/Release-build/include/MTA/TCT.h +1 -1
- package/SVF-osx/Release-build/include/SVF-LLVM/BreakConstantExpr.h +1 -1
- package/SVF-osx/Release-build/include/SVF-LLVM/CppUtil.h +1 -1
- package/SVF-osx/Release-build/include/SVF-LLVM/LLVMModule.h +12 -12
- package/SVF-osx/Release-build/include/SVF-LLVM/LLVMUtil.h +2 -2
- package/SVF-osx/Release-build/include/SVF-LLVM/ObjTypeInference.h +1 -1
- package/SVF-osx/Release-build/include/SVF-LLVM/SVFIRBuilder.h +6 -6
- package/SVF-osx/Release-build/include/SVF-LLVM/{SVFValue.h → SVFLLVMValue.h} +43 -43
- package/SVF-osx/Release-build/include/SVF-LLVM/SVFModule.h +1 -1
- package/SVF-osx/Release-build/include/SVFIR/SVFValue.h +2 -2
- package/SVF-osx/Release-build/include/SVFIR/SVFVariables.h +28 -28
- package/SVF-osx/Release-build/lib/libSvfCore.a +0 -0
- package/SVF-osx/Release-build/lib/libSvfLLVM.a +0 -0
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ class SVFArgument;
|
|
|
50
50
|
class SVFFunction;
|
|
51
51
|
class SVFType;
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class SVFLLVMValue
|
|
54
54
|
{
|
|
55
55
|
friend class SVFIRWriter;
|
|
56
56
|
friend class SVFIRReader;
|
|
@@ -89,7 +89,7 @@ protected:
|
|
|
89
89
|
std::string name; ///< Short name of value for printing & debugging
|
|
90
90
|
std::string sourceLoc; ///< Source code information of this value
|
|
91
91
|
/// Constructor without name
|
|
92
|
-
|
|
92
|
+
SVFLLVMValue(const SVFType* ty, SVFValKind k)
|
|
93
93
|
: kind(k), ptrInUncalledFun(false),
|
|
94
94
|
constDataOrAggData(SVFConstData == k), type(ty), sourceLoc("NoLoc")
|
|
95
95
|
{
|
|
@@ -107,8 +107,8 @@ protected:
|
|
|
107
107
|
}
|
|
108
108
|
///@}
|
|
109
109
|
public:
|
|
110
|
-
|
|
111
|
-
virtual ~
|
|
110
|
+
SVFLLVMValue() = delete;
|
|
111
|
+
virtual ~SVFLLVMValue() = default;
|
|
112
112
|
|
|
113
113
|
/// Get the type of this SVFValue
|
|
114
114
|
inline GNodeK getKind() const
|
|
@@ -160,7 +160,7 @@ public:
|
|
|
160
160
|
|
|
161
161
|
/// Overloading operator << for dumping ICFG node ID
|
|
162
162
|
//@{
|
|
163
|
-
friend OutStream& operator<<(OutStream &os, const
|
|
163
|
+
friend OutStream& operator<<(OutStream &os, const SVFLLVMValue &value)
|
|
164
164
|
{
|
|
165
165
|
return os << value.toString();
|
|
166
166
|
}
|
|
@@ -169,7 +169,7 @@ public:
|
|
|
169
169
|
|
|
170
170
|
class ArgValVar;
|
|
171
171
|
|
|
172
|
-
class SVFFunction : public
|
|
172
|
+
class SVFFunction : public SVFLLVMValue
|
|
173
173
|
{
|
|
174
174
|
friend class LLVMModuleSet;
|
|
175
175
|
friend class SVFIRWriter;
|
|
@@ -225,7 +225,7 @@ public:
|
|
|
225
225
|
SVFFunction(void) = delete;
|
|
226
226
|
virtual ~SVFFunction();
|
|
227
227
|
|
|
228
|
-
static inline bool classof(const
|
|
228
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
229
229
|
{
|
|
230
230
|
return node->getKind() == SVFFunc;
|
|
231
231
|
}
|
|
@@ -399,7 +399,7 @@ public:
|
|
|
399
399
|
class ICFGNode;
|
|
400
400
|
class FunObjVar;
|
|
401
401
|
|
|
402
|
-
class SVFInstruction : public
|
|
402
|
+
class SVFInstruction : public SVFLLVMValue
|
|
403
403
|
{
|
|
404
404
|
friend class SVFIRWriter;
|
|
405
405
|
friend class SVFIRReader;
|
|
@@ -415,7 +415,7 @@ public:
|
|
|
415
415
|
bool isRet, SVFValKind k = SVFInst);
|
|
416
416
|
SVFInstruction(void) = delete;
|
|
417
417
|
|
|
418
|
-
static inline bool classof(const
|
|
418
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
419
419
|
{
|
|
420
420
|
return node->getKind() == SVFInst ||
|
|
421
421
|
node->getKind() == SVFCall ||
|
|
@@ -446,17 +446,17 @@ class SVFCallInst : public SVFInstruction
|
|
|
446
446
|
friend class SVFIRBuilder;
|
|
447
447
|
|
|
448
448
|
private:
|
|
449
|
-
std::vector<const
|
|
449
|
+
std::vector<const SVFLLVMValue*> args;
|
|
450
450
|
bool varArg;
|
|
451
|
-
const
|
|
451
|
+
const SVFLLVMValue* calledVal;
|
|
452
452
|
|
|
453
453
|
protected:
|
|
454
454
|
///@{ attributes to be set only through Module builders e.g., LLVMModule
|
|
455
|
-
inline void addArgument(const
|
|
455
|
+
inline void addArgument(const SVFLLVMValue* a)
|
|
456
456
|
{
|
|
457
457
|
args.push_back(a);
|
|
458
458
|
}
|
|
459
|
-
inline void setCalledOperand(const
|
|
459
|
+
inline void setCalledOperand(const SVFLLVMValue* v)
|
|
460
460
|
{
|
|
461
461
|
calledVal = v;
|
|
462
462
|
}
|
|
@@ -469,7 +469,7 @@ public:
|
|
|
469
469
|
}
|
|
470
470
|
SVFCallInst(void) = delete;
|
|
471
471
|
|
|
472
|
-
static inline bool classof(const
|
|
472
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
473
473
|
{
|
|
474
474
|
return node->getKind() == SVFCall || node->getKind() == SVFVCall;
|
|
475
475
|
}
|
|
@@ -485,7 +485,7 @@ public:
|
|
|
485
485
|
{
|
|
486
486
|
return args.empty();
|
|
487
487
|
}
|
|
488
|
-
inline const
|
|
488
|
+
inline const SVFLLVMValue* getArgOperand(u32_t i) const
|
|
489
489
|
{
|
|
490
490
|
assert(i < arg_size() && "out of bound access of the argument");
|
|
491
491
|
return args[i];
|
|
@@ -494,7 +494,7 @@ public:
|
|
|
494
494
|
{
|
|
495
495
|
return arg_size();
|
|
496
496
|
}
|
|
497
|
-
inline const
|
|
497
|
+
inline const SVFLLVMValue* getCalledOperand() const
|
|
498
498
|
{
|
|
499
499
|
return calledVal;
|
|
500
500
|
}
|
|
@@ -512,17 +512,17 @@ public:
|
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
class SVFConstant : public
|
|
515
|
+
class SVFConstant : public SVFLLVMValue
|
|
516
516
|
{
|
|
517
517
|
friend class SVFIRWriter;
|
|
518
518
|
friend class SVFIRReader;
|
|
519
519
|
public:
|
|
520
|
-
SVFConstant(const SVFType* ty, SVFValKind k = SVFConst):
|
|
520
|
+
SVFConstant(const SVFType* ty, SVFValKind k = SVFConst): SVFLLVMValue(ty, k)
|
|
521
521
|
{
|
|
522
522
|
}
|
|
523
523
|
SVFConstant() = delete;
|
|
524
524
|
|
|
525
|
-
static inline bool classof(const
|
|
525
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
526
526
|
{
|
|
527
527
|
return node->getKind() == SVFConst ||
|
|
528
528
|
node->getKind() == SVFGlob ||
|
|
@@ -542,16 +542,16 @@ class SVFGlobalValue : public SVFConstant
|
|
|
542
542
|
friend class LLVMModuleSet;
|
|
543
543
|
|
|
544
544
|
private:
|
|
545
|
-
const
|
|
545
|
+
const SVFLLVMValue* realDefGlobal; /// the definition of a function across multiple modules
|
|
546
546
|
|
|
547
547
|
protected:
|
|
548
|
-
inline void setDefGlobalForMultipleModule(const
|
|
548
|
+
inline void setDefGlobalForMultipleModule(const SVFLLVMValue* defg)
|
|
549
549
|
{
|
|
550
550
|
realDefGlobal = defg;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
public:
|
|
554
|
-
SVFGlobalValue(const SVFType* ty): SVFConstant(ty,
|
|
554
|
+
SVFGlobalValue(const SVFType* ty): SVFConstant(ty, SVFLLVMValue::SVFGlob), realDefGlobal(nullptr)
|
|
555
555
|
{
|
|
556
556
|
}
|
|
557
557
|
SVFGlobalValue(std::string&& name, const SVFType* ty) : SVFGlobalValue(ty)
|
|
@@ -560,13 +560,13 @@ public:
|
|
|
560
560
|
}
|
|
561
561
|
SVFGlobalValue() = delete;
|
|
562
562
|
|
|
563
|
-
inline const
|
|
563
|
+
inline const SVFLLVMValue* getDefGlobalForMultipleModule() const
|
|
564
564
|
{
|
|
565
565
|
if(realDefGlobal==nullptr)
|
|
566
566
|
return this;
|
|
567
567
|
return realDefGlobal;
|
|
568
568
|
}
|
|
569
|
-
static inline bool classof(const
|
|
569
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
570
570
|
{
|
|
571
571
|
return node->getKind() == SVFGlob;
|
|
572
572
|
}
|
|
@@ -576,7 +576,7 @@ public:
|
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
|
|
579
|
-
class SVFArgument : public
|
|
579
|
+
class SVFArgument : public SVFLLVMValue
|
|
580
580
|
{
|
|
581
581
|
friend class SVFIRWriter;
|
|
582
582
|
friend class SVFIRReader;
|
|
@@ -587,7 +587,7 @@ private:
|
|
|
587
587
|
public:
|
|
588
588
|
SVFArgument(const SVFType* ty, const SVFFunction* fun, u32_t argNo,
|
|
589
589
|
bool uncalled)
|
|
590
|
-
:
|
|
590
|
+
: SVFLLVMValue(ty, SVFLLVMValue::SVFArg), fun(fun), argNo(argNo),
|
|
591
591
|
uncalled(uncalled)
|
|
592
592
|
{
|
|
593
593
|
}
|
|
@@ -610,7 +610,7 @@ public:
|
|
|
610
610
|
return uncalled;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
static inline bool classof(const
|
|
613
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
614
614
|
{
|
|
615
615
|
return node->getKind() == SVFArg;
|
|
616
616
|
}
|
|
@@ -627,7 +627,7 @@ public:
|
|
|
627
627
|
}
|
|
628
628
|
SVFConstantData() = delete;
|
|
629
629
|
|
|
630
|
-
static inline bool classof(const
|
|
630
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
631
631
|
{
|
|
632
632
|
return node->getKind() == SVFConstData ||
|
|
633
633
|
node->getKind() == SVFConstInt ||
|
|
@@ -654,12 +654,12 @@ private:
|
|
|
654
654
|
s64_t sval;
|
|
655
655
|
public:
|
|
656
656
|
SVFConstantInt(const SVFType* ty, u64_t z, s64_t s)
|
|
657
|
-
: SVFConstantData(ty,
|
|
657
|
+
: SVFConstantData(ty, SVFLLVMValue::SVFConstInt), zval(z), sval(s)
|
|
658
658
|
{
|
|
659
659
|
}
|
|
660
660
|
SVFConstantInt() = delete;
|
|
661
661
|
|
|
662
|
-
static inline bool classof(const
|
|
662
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
663
663
|
{
|
|
664
664
|
return node->getKind() == SVFConstInt;
|
|
665
665
|
}
|
|
@@ -687,7 +687,7 @@ private:
|
|
|
687
687
|
float dval;
|
|
688
688
|
public:
|
|
689
689
|
SVFConstantFP(const SVFType* ty, double d)
|
|
690
|
-
: SVFConstantData(ty,
|
|
690
|
+
: SVFConstantData(ty, SVFLLVMValue::SVFConstFP), dval(d)
|
|
691
691
|
{
|
|
692
692
|
}
|
|
693
693
|
SVFConstantFP() = delete;
|
|
@@ -696,7 +696,7 @@ public:
|
|
|
696
696
|
{
|
|
697
697
|
return dval;
|
|
698
698
|
}
|
|
699
|
-
static inline bool classof(const
|
|
699
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
700
700
|
{
|
|
701
701
|
return node->getKind() == SVFConstFP;
|
|
702
702
|
}
|
|
@@ -713,12 +713,12 @@ class SVFConstantNullPtr : public SVFConstantData
|
|
|
713
713
|
|
|
714
714
|
public:
|
|
715
715
|
SVFConstantNullPtr(const SVFType* ty)
|
|
716
|
-
: SVFConstantData(ty,
|
|
716
|
+
: SVFConstantData(ty, SVFLLVMValue::SVFNullPtr)
|
|
717
717
|
{
|
|
718
718
|
}
|
|
719
719
|
SVFConstantNullPtr() = delete;
|
|
720
720
|
|
|
721
|
-
static inline bool classof(const
|
|
721
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
722
722
|
{
|
|
723
723
|
return node->getKind() == SVFNullPtr;
|
|
724
724
|
}
|
|
@@ -735,12 +735,12 @@ class SVFBlackHoleValue : public SVFConstantData
|
|
|
735
735
|
|
|
736
736
|
public:
|
|
737
737
|
SVFBlackHoleValue(const SVFType* ty)
|
|
738
|
-
: SVFConstantData(ty,
|
|
738
|
+
: SVFConstantData(ty, SVFLLVMValue::SVFBlackHole)
|
|
739
739
|
{
|
|
740
740
|
}
|
|
741
741
|
SVFBlackHoleValue() = delete;
|
|
742
742
|
|
|
743
|
-
static inline bool classof(const
|
|
743
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
744
744
|
{
|
|
745
745
|
return node->getKind() == SVFBlackHole;
|
|
746
746
|
}
|
|
@@ -750,18 +750,18 @@ public:
|
|
|
750
750
|
}
|
|
751
751
|
};
|
|
752
752
|
|
|
753
|
-
class SVFOtherValue : public
|
|
753
|
+
class SVFOtherValue : public SVFLLVMValue
|
|
754
754
|
{
|
|
755
755
|
friend class SVFIRWriter;
|
|
756
756
|
friend class SVFIRReader;
|
|
757
757
|
public:
|
|
758
|
-
SVFOtherValue(const SVFType* ty, SVFValKind k =
|
|
759
|
-
:
|
|
758
|
+
SVFOtherValue(const SVFType* ty, SVFValKind k = SVFLLVMValue::SVFOther)
|
|
759
|
+
: SVFLLVMValue(ty, k)
|
|
760
760
|
{
|
|
761
761
|
}
|
|
762
762
|
SVFOtherValue() = delete;
|
|
763
763
|
|
|
764
|
-
static inline bool classof(const
|
|
764
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
765
765
|
{
|
|
766
766
|
return node->getKind() == SVFOther || node->getKind() == SVFMetaAsValue;
|
|
767
767
|
}
|
|
@@ -776,12 +776,12 @@ class SVFMetadataAsValue : public SVFOtherValue
|
|
|
776
776
|
friend class SVFIRReader;
|
|
777
777
|
public:
|
|
778
778
|
SVFMetadataAsValue(const SVFType* ty)
|
|
779
|
-
: SVFOtherValue(ty,
|
|
779
|
+
: SVFOtherValue(ty, SVFLLVMValue::SVFMetaAsValue)
|
|
780
780
|
{
|
|
781
781
|
}
|
|
782
782
|
SVFMetadataAsValue() = delete;
|
|
783
783
|
|
|
784
|
-
static inline bool classof(const
|
|
784
|
+
static inline bool classof(const SVFLLVMValue *node)
|
|
785
785
|
{
|
|
786
786
|
return node->getKind() == SVFMetaAsValue;
|
|
787
787
|
}
|
|
@@ -796,7 +796,7 @@ public:
|
|
|
796
796
|
/// Converts an SVFValue to corresponding LLVM::Value, then get the string
|
|
797
797
|
/// representation of it. Use it only when you are debugging. Don't use
|
|
798
798
|
/// it in any SVF algorithm because it relies on information stored in LLVM bc.
|
|
799
|
-
std::string dumpLLVMValue(const
|
|
799
|
+
std::string dumpLLVMValue(const SVFLLVMValue* svfValue);
|
|
800
800
|
|
|
801
801
|
|
|
802
802
|
|
|
@@ -38,7 +38,7 @@ namespace SVF
|
|
|
38
38
|
{
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class SVFValue
|
|
42
42
|
{
|
|
43
43
|
|
|
44
44
|
public:
|
|
@@ -149,7 +149,7 @@ public:
|
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
SVFValue(NodeID i, GNodeK k, const SVFType* ty = nullptr): id(i),nodeKind(k), type(ty)
|
|
153
153
|
{
|
|
154
154
|
|
|
155
155
|
}
|
|
@@ -177,7 +177,7 @@ public:
|
|
|
177
177
|
return isSVFVarKind(node->getNodeKind());
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
static inline bool classof(const
|
|
180
|
+
static inline bool classof(const SVFValue* node)
|
|
181
181
|
{
|
|
182
182
|
return isSVFVarKind(node->getNodeKind());
|
|
183
183
|
}
|
|
@@ -270,7 +270,7 @@ public:
|
|
|
270
270
|
{
|
|
271
271
|
return isValVarKinds(node->getNodeKind());
|
|
272
272
|
}
|
|
273
|
-
static inline bool classof(const
|
|
273
|
+
static inline bool classof(const SVFValue* node)
|
|
274
274
|
{
|
|
275
275
|
return isValVarKinds(node->getNodeKind());
|
|
276
276
|
}
|
|
@@ -328,7 +328,7 @@ public:
|
|
|
328
328
|
{
|
|
329
329
|
return isObjVarKinds(node->getNodeKind());
|
|
330
330
|
}
|
|
331
|
-
static inline bool classof(const
|
|
331
|
+
static inline bool classof(const SVFValue* node)
|
|
332
332
|
{
|
|
333
333
|
return isObjVarKinds(node->getNodeKind());
|
|
334
334
|
}
|
|
@@ -382,7 +382,7 @@ public:
|
|
|
382
382
|
{
|
|
383
383
|
return node->getNodeKind() == ArgValNode;
|
|
384
384
|
}
|
|
385
|
-
static inline bool classof(const
|
|
385
|
+
static inline bool classof(const SVFValue* node)
|
|
386
386
|
{
|
|
387
387
|
return node->getNodeKind() == ArgValNode;
|
|
388
388
|
}
|
|
@@ -454,7 +454,7 @@ public:
|
|
|
454
454
|
{
|
|
455
455
|
return node->getNodeKind() == SVFVar::GepValNode;
|
|
456
456
|
}
|
|
457
|
-
static inline bool classof(const
|
|
457
|
+
static inline bool classof(const SVFValue* node)
|
|
458
458
|
{
|
|
459
459
|
return node->getNodeKind() == SVFVar::GepValNode;
|
|
460
460
|
}
|
|
@@ -551,7 +551,7 @@ public:
|
|
|
551
551
|
{
|
|
552
552
|
return isBaseObjVarKinds(node->getNodeKind());
|
|
553
553
|
}
|
|
554
|
-
static inline bool classof(const
|
|
554
|
+
static inline bool classof(const SVFValue* node)
|
|
555
555
|
{
|
|
556
556
|
return isBaseObjVarKinds(node->getNodeKind());
|
|
557
557
|
}
|
|
@@ -754,7 +754,7 @@ public:
|
|
|
754
754
|
{
|
|
755
755
|
return node->getNodeKind() == SVFVar::GepObjNode;
|
|
756
756
|
}
|
|
757
|
-
static inline bool classof(const
|
|
757
|
+
static inline bool classof(const SVFValue* node)
|
|
758
758
|
{
|
|
759
759
|
return node->getNodeKind() == SVFVar::GepObjNode;
|
|
760
760
|
}
|
|
@@ -863,7 +863,7 @@ public:
|
|
|
863
863
|
{
|
|
864
864
|
return node->getNodeKind() == HeapObjNode;
|
|
865
865
|
}
|
|
866
|
-
static inline bool classof(const
|
|
866
|
+
static inline bool classof(const SVFValue* node)
|
|
867
867
|
{
|
|
868
868
|
return node->getNodeKind() == HeapObjNode;
|
|
869
869
|
}
|
|
@@ -926,7 +926,7 @@ public:
|
|
|
926
926
|
{
|
|
927
927
|
return node->getNodeKind() == StackObjNode;
|
|
928
928
|
}
|
|
929
|
-
static inline bool classof(const
|
|
929
|
+
static inline bool classof(const SVFValue* node)
|
|
930
930
|
{
|
|
931
931
|
return node->getNodeKind() == StackObjNode;
|
|
932
932
|
}
|
|
@@ -1006,7 +1006,7 @@ public:
|
|
|
1006
1006
|
{
|
|
1007
1007
|
return node->getNodeKind() == FunObjNode;
|
|
1008
1008
|
}
|
|
1009
|
-
static inline bool classof(const
|
|
1009
|
+
static inline bool classof(const SVFValue* node)
|
|
1010
1010
|
{
|
|
1011
1011
|
return node->getNodeKind() == FunObjNode;
|
|
1012
1012
|
}
|
|
@@ -1245,7 +1245,7 @@ public:
|
|
|
1245
1245
|
{
|
|
1246
1246
|
return node->getNodeKind() == FunValNode;
|
|
1247
1247
|
}
|
|
1248
|
-
static inline bool classof(const
|
|
1248
|
+
static inline bool classof(const SVFValue* node)
|
|
1249
1249
|
{
|
|
1250
1250
|
return node->getNodeKind() == FunValNode;
|
|
1251
1251
|
}
|
|
@@ -1294,7 +1294,7 @@ public:
|
|
|
1294
1294
|
{
|
|
1295
1295
|
return node->getNodeKind() == GlobalValNode;
|
|
1296
1296
|
}
|
|
1297
|
-
static inline bool classof(const
|
|
1297
|
+
static inline bool classof(const SVFValue* node)
|
|
1298
1298
|
{
|
|
1299
1299
|
return node->getNodeKind() == GlobalValNode;
|
|
1300
1300
|
}
|
|
@@ -1335,7 +1335,7 @@ public:
|
|
|
1335
1335
|
{
|
|
1336
1336
|
return node->getNodeKind() == ConstAggValNode;
|
|
1337
1337
|
}
|
|
1338
|
-
static inline bool classof(const
|
|
1338
|
+
static inline bool classof(const SVFValue* node)
|
|
1339
1339
|
{
|
|
1340
1340
|
return node->getNodeKind() == ConstAggValNode;
|
|
1341
1341
|
}
|
|
@@ -1387,7 +1387,7 @@ public:
|
|
|
1387
1387
|
{
|
|
1388
1388
|
return isConstantDataValVar(node->getNodeKind());
|
|
1389
1389
|
}
|
|
1390
|
-
static inline bool classof(const
|
|
1390
|
+
static inline bool classof(const SVFValue* node)
|
|
1391
1391
|
{
|
|
1392
1392
|
return isConstantDataValVar(node->getNodeKind());
|
|
1393
1393
|
}
|
|
@@ -1442,7 +1442,7 @@ public:
|
|
|
1442
1442
|
{
|
|
1443
1443
|
return node->getNodeKind() == BlackHoleValNode;
|
|
1444
1444
|
}
|
|
1445
|
-
static inline bool classof(const
|
|
1445
|
+
static inline bool classof(const SVFValue* node)
|
|
1446
1446
|
{
|
|
1447
1447
|
return node->getNodeKind() == BlackHoleValNode;
|
|
1448
1448
|
}
|
|
@@ -1496,7 +1496,7 @@ public:
|
|
|
1496
1496
|
{
|
|
1497
1497
|
return node->getNodeKind() == ConstFPValNode;
|
|
1498
1498
|
}
|
|
1499
|
-
static inline bool classof(const
|
|
1499
|
+
static inline bool classof(const SVFValue* node)
|
|
1500
1500
|
{
|
|
1501
1501
|
return node->getNodeKind() == ConstFPValNode;
|
|
1502
1502
|
}
|
|
@@ -1548,7 +1548,7 @@ public:
|
|
|
1548
1548
|
{
|
|
1549
1549
|
return node->getNodeKind() == ConstIntValNode;
|
|
1550
1550
|
}
|
|
1551
|
-
static inline bool classof(const
|
|
1551
|
+
static inline bool classof(const SVFValue* node)
|
|
1552
1552
|
{
|
|
1553
1553
|
return node->getNodeKind() == ConstIntValNode;
|
|
1554
1554
|
}
|
|
@@ -1602,7 +1602,7 @@ public:
|
|
|
1602
1602
|
{
|
|
1603
1603
|
return node->getNodeKind() == ConstNullptrValNode;
|
|
1604
1604
|
}
|
|
1605
|
-
static inline bool classof(const
|
|
1605
|
+
static inline bool classof(const SVFValue* node)
|
|
1606
1606
|
{
|
|
1607
1607
|
return node->getNodeKind() == ConstNullptrValNode;
|
|
1608
1608
|
}
|
|
@@ -1655,7 +1655,7 @@ public:
|
|
|
1655
1655
|
{
|
|
1656
1656
|
return node->getNodeKind() == GlobalObjNode;
|
|
1657
1657
|
}
|
|
1658
|
-
static inline bool classof(const
|
|
1658
|
+
static inline bool classof(const SVFValue* node)
|
|
1659
1659
|
{
|
|
1660
1660
|
return node->getNodeKind() == GlobalObjNode;
|
|
1661
1661
|
}
|
|
@@ -1701,7 +1701,7 @@ public:
|
|
|
1701
1701
|
{
|
|
1702
1702
|
return node->getNodeKind() == ConstAggObjNode;
|
|
1703
1703
|
}
|
|
1704
|
-
static inline bool classof(const
|
|
1704
|
+
static inline bool classof(const SVFValue* node)
|
|
1705
1705
|
{
|
|
1706
1706
|
return node->getNodeKind() == ConstAggObjNode;
|
|
1707
1707
|
}
|
|
@@ -1759,7 +1759,7 @@ public:
|
|
|
1759
1759
|
return isConstantDataObjVarKinds(node->getNodeKind());
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
static inline bool classof(const
|
|
1762
|
+
static inline bool classof(const SVFValue* node)
|
|
1763
1763
|
{
|
|
1764
1764
|
return isConstantDataObjVarKinds(node->getNodeKind());
|
|
1765
1765
|
}
|
|
@@ -1826,7 +1826,7 @@ public:
|
|
|
1826
1826
|
return node->getNodeKind() == SVFVar::ConstFPObjNode;
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
1829
|
-
static inline bool classof(const
|
|
1829
|
+
static inline bool classof(const SVFValue* node)
|
|
1830
1830
|
{
|
|
1831
1831
|
return node->getNodeKind() == SVFVar::ConstFPObjNode;
|
|
1832
1832
|
}
|
|
@@ -1890,7 +1890,7 @@ public:
|
|
|
1890
1890
|
return node->getNodeKind() == SVFVar::ConstIntObjNode;
|
|
1891
1891
|
}
|
|
1892
1892
|
|
|
1893
|
-
static inline bool classof(const
|
|
1893
|
+
static inline bool classof(const SVFValue* node)
|
|
1894
1894
|
{
|
|
1895
1895
|
return node->getNodeKind() == SVFVar::ConstIntObjNode;
|
|
1896
1896
|
}
|
|
@@ -1956,7 +1956,7 @@ public:
|
|
|
1956
1956
|
return node->getNodeKind() == SVFVar::ConstNullptrObjNode;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
|
-
static inline bool classof(const
|
|
1959
|
+
static inline bool classof(const SVFValue* node)
|
|
1960
1960
|
{
|
|
1961
1961
|
return node->getNodeKind() == SVFVar::ConstNullptrObjNode;
|
|
1962
1962
|
}
|
|
@@ -2005,7 +2005,7 @@ public:
|
|
|
2005
2005
|
{
|
|
2006
2006
|
return node->getNodeKind() == SVFVar::RetValNode;
|
|
2007
2007
|
}
|
|
2008
|
-
static inline bool classof(const
|
|
2008
|
+
static inline bool classof(const SVFValue* node)
|
|
2009
2009
|
{
|
|
2010
2010
|
return node->getNodeKind() == SVFVar::RetValNode;
|
|
2011
2011
|
}
|
|
@@ -2062,7 +2062,7 @@ public:
|
|
|
2062
2062
|
{
|
|
2063
2063
|
return node->getNodeKind() == SVFVar::VarargValNode;
|
|
2064
2064
|
}
|
|
2065
|
-
static inline bool classof(const
|
|
2065
|
+
static inline bool classof(const SVFValue* node)
|
|
2066
2066
|
{
|
|
2067
2067
|
return node->getNodeKind() == SVFVar::VarargValNode;
|
|
2068
2068
|
}
|
|
@@ -2112,7 +2112,7 @@ public:
|
|
|
2112
2112
|
{
|
|
2113
2113
|
return node->getNodeKind() == SVFVar::DummyValNode;
|
|
2114
2114
|
}
|
|
2115
|
-
static inline bool classof(const
|
|
2115
|
+
static inline bool classof(const SVFValue* node)
|
|
2116
2116
|
{
|
|
2117
2117
|
return node->getNodeKind() == SVFVar::DummyValNode;
|
|
2118
2118
|
}
|
|
@@ -2173,7 +2173,7 @@ public:
|
|
|
2173
2173
|
return node->getNodeKind() == SVFVar::DummyObjNode;
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
|
-
static inline bool classof(const
|
|
2176
|
+
static inline bool classof(const SVFValue* node)
|
|
2177
2177
|
{
|
|
2178
2178
|
return node->getNodeKind() == SVFVar::DummyObjNode;
|
|
2179
2179
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -115,9 +115,9 @@ public:
|
|
|
115
115
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
static inline bool classof(const
|
|
118
|
+
static inline bool classof(const SVFValue* node)
|
|
119
119
|
{
|
|
120
|
-
return node->getNodeKind() ==
|
|
120
|
+
return node->getNodeKind() == SVFValue::BasicBlockKd;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
static inline bool classof(const SVFBasicBlock* node)
|