svf-lib 1.0.921 → 1.0.924
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/include/Graphs/VFG.h +1 -1
- package/SVF-osx/Release-build/lib/CUDD/libCudd.a +0 -0
- package/SVF-osx/Release-build/lib/libSvf.a +0 -0
- package/SVF-osx/include/Graphs/SVFGNode.h +6 -1
- package/SVF-osx/include/Graphs/VFG.h +1 -1
- package/SVF-osx/include/Graphs/VFGNode.h +38 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -53,6 +53,9 @@ public:
|
|
|
53
53
|
{
|
|
54
54
|
return cpts;
|
|
55
55
|
}
|
|
56
|
+
|
|
57
|
+
inline const NodeBS getDefSVFVars() const override;
|
|
58
|
+
|
|
56
59
|
/// Methods for support type inquiry through isa, cast, and dyn_cast:
|
|
57
60
|
//@{
|
|
58
61
|
static inline bool classof(const MRSVFGNode *)
|
|
@@ -81,7 +84,7 @@ public:
|
|
|
81
84
|
}
|
|
82
85
|
//@}
|
|
83
86
|
|
|
84
|
-
virtual const std::string toString() const;
|
|
87
|
+
virtual const std::string toString() const override;
|
|
85
88
|
};
|
|
86
89
|
|
|
87
90
|
/*
|
|
@@ -491,6 +494,8 @@ public:
|
|
|
491
494
|
}
|
|
492
495
|
//@}
|
|
493
496
|
|
|
497
|
+
const NodeBS getDefSVFVars() const override;
|
|
498
|
+
|
|
494
499
|
private:
|
|
495
500
|
const NodeID object;
|
|
496
501
|
const Version version;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
#define INCLUDE_UTIL_VFGNODE_H_
|
|
32
32
|
|
|
33
33
|
#include "Graphs/GenericGraph.h"
|
|
34
|
-
#include "Graphs/
|
|
34
|
+
#include "Graphs/SVFGEdge.h"
|
|
35
35
|
#include "Graphs/ICFGNode.h"
|
|
36
36
|
#include "MemoryModel/SVFIR.h"
|
|
37
37
|
|
|
@@ -92,6 +92,9 @@ public:
|
|
|
92
92
|
return nullptr;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
/// Return the left hand side SVF Vars
|
|
96
|
+
virtual const NodeBS getDefSVFVars() const = 0;
|
|
97
|
+
|
|
95
98
|
/// Overloading operator << for dumping ICFG node ID
|
|
96
99
|
//@{
|
|
97
100
|
friend OutStream& operator<< (OutStream &o, const VFGNode &node)
|
|
@@ -226,6 +229,8 @@ public:
|
|
|
226
229
|
}
|
|
227
230
|
//@}
|
|
228
231
|
|
|
232
|
+
const NodeBS getDefSVFVars() const override;
|
|
233
|
+
|
|
229
234
|
const std::string toString() const override;
|
|
230
235
|
};
|
|
231
236
|
|
|
@@ -265,6 +270,8 @@ public:
|
|
|
265
270
|
}
|
|
266
271
|
//@}
|
|
267
272
|
|
|
273
|
+
const NodeBS getDefSVFVars() const override;
|
|
274
|
+
|
|
268
275
|
const std::string toString() const override;
|
|
269
276
|
};
|
|
270
277
|
|
|
@@ -304,6 +311,8 @@ public:
|
|
|
304
311
|
}
|
|
305
312
|
//@}
|
|
306
313
|
|
|
314
|
+
const NodeBS getDefSVFVars() const override;
|
|
315
|
+
|
|
307
316
|
const std::string toString() const override;
|
|
308
317
|
};
|
|
309
318
|
|
|
@@ -376,6 +385,9 @@ public:
|
|
|
376
385
|
return opVers.end();
|
|
377
386
|
}
|
|
378
387
|
//@}
|
|
388
|
+
|
|
389
|
+
const NodeBS getDefSVFVars() const override;
|
|
390
|
+
|
|
379
391
|
const Value* getValue() const override;
|
|
380
392
|
const std::string toString() const override;
|
|
381
393
|
};
|
|
@@ -449,6 +461,8 @@ public:
|
|
|
449
461
|
}
|
|
450
462
|
//@}
|
|
451
463
|
|
|
464
|
+
const NodeBS getDefSVFVars() const override;
|
|
465
|
+
|
|
452
466
|
const Value* getValue() const override;
|
|
453
467
|
const std::string toString() const override;
|
|
454
468
|
};
|
|
@@ -525,7 +539,9 @@ public:
|
|
|
525
539
|
}
|
|
526
540
|
//@}
|
|
527
541
|
|
|
528
|
-
|
|
542
|
+
const NodeBS getDefSVFVars() const override;
|
|
543
|
+
|
|
544
|
+
virtual const std::string toString() const override;
|
|
529
545
|
};
|
|
530
546
|
|
|
531
547
|
/*
|
|
@@ -560,7 +576,7 @@ public:
|
|
|
560
576
|
}
|
|
561
577
|
//@}
|
|
562
578
|
|
|
563
|
-
/// Return the branch statement
|
|
579
|
+
/// Return the branch statement
|
|
564
580
|
const BranchStmt* getBranchStmt() const{
|
|
565
581
|
return brstmt;
|
|
566
582
|
}
|
|
@@ -576,6 +592,9 @@ public:
|
|
|
576
592
|
return brstmt->getSuccessor(i);
|
|
577
593
|
}
|
|
578
594
|
///@}
|
|
595
|
+
|
|
596
|
+
const NodeBS getDefSVFVars() const override;
|
|
597
|
+
|
|
579
598
|
virtual const std::string toString() const override;
|
|
580
599
|
};
|
|
581
600
|
|
|
@@ -615,6 +634,8 @@ public:
|
|
|
615
634
|
}
|
|
616
635
|
//@}
|
|
617
636
|
|
|
637
|
+
const NodeBS getDefSVFVars() const override;
|
|
638
|
+
|
|
618
639
|
const std::string toString() const override;
|
|
619
640
|
};
|
|
620
641
|
|
|
@@ -686,6 +707,8 @@ public:
|
|
|
686
707
|
}
|
|
687
708
|
//@}
|
|
688
709
|
|
|
710
|
+
const NodeBS getDefSVFVars() const override;
|
|
711
|
+
|
|
689
712
|
const Value* getValue() const override;
|
|
690
713
|
const std::string toString() const override;
|
|
691
714
|
};
|
|
@@ -777,6 +800,8 @@ public:
|
|
|
777
800
|
}
|
|
778
801
|
//@}
|
|
779
802
|
|
|
803
|
+
const NodeBS getDefSVFVars() const override;
|
|
804
|
+
|
|
780
805
|
const std::string toString() const override;
|
|
781
806
|
};
|
|
782
807
|
|
|
@@ -871,6 +896,8 @@ public:
|
|
|
871
896
|
}
|
|
872
897
|
//@}
|
|
873
898
|
|
|
899
|
+
const NodeBS getDefSVFVars() const override;
|
|
900
|
+
|
|
874
901
|
const std::string toString() const override;
|
|
875
902
|
};
|
|
876
903
|
|
|
@@ -939,6 +966,8 @@ public:
|
|
|
939
966
|
}
|
|
940
967
|
//@}
|
|
941
968
|
|
|
969
|
+
const NodeBS getDefSVFVars() const override;
|
|
970
|
+
|
|
942
971
|
const std::string toString() const override;
|
|
943
972
|
};
|
|
944
973
|
|
|
@@ -995,6 +1024,8 @@ public:
|
|
|
995
1024
|
}
|
|
996
1025
|
//@}
|
|
997
1026
|
|
|
1027
|
+
const NodeBS getDefSVFVars() const override;
|
|
1028
|
+
|
|
998
1029
|
const std::string toString() const override;
|
|
999
1030
|
};
|
|
1000
1031
|
|
|
@@ -1059,6 +1090,8 @@ public:
|
|
|
1059
1090
|
}
|
|
1060
1091
|
//@}
|
|
1061
1092
|
|
|
1093
|
+
const NodeBS getDefSVFVars() const override;
|
|
1094
|
+
|
|
1062
1095
|
const std::string toString() const override;
|
|
1063
1096
|
};
|
|
1064
1097
|
|
|
@@ -1164,6 +1197,8 @@ public:
|
|
|
1164
1197
|
}
|
|
1165
1198
|
//@}
|
|
1166
1199
|
|
|
1200
|
+
const NodeBS getDefSVFVars() const override;
|
|
1201
|
+
|
|
1167
1202
|
const std::string toString() const override;
|
|
1168
1203
|
};
|
|
1169
1204
|
|