svf-lib 1.0.1539 → 1.0.1540
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
|
|
@@ -48,7 +48,7 @@ namespace SVF
|
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class SVFBugEvent
|
|
52
52
|
{
|
|
53
53
|
public:
|
|
54
54
|
enum EventType
|
|
@@ -65,8 +65,8 @@ protected:
|
|
|
65
65
|
const SVFInstruction *eventInst;
|
|
66
66
|
|
|
67
67
|
public:
|
|
68
|
-
|
|
69
|
-
virtual ~
|
|
68
|
+
SVFBugEvent(u32_t typeAndInfoFlag, const SVFInstruction *eventInst): typeAndInfoFlag(typeAndInfoFlag), eventInst(eventInst) { };
|
|
69
|
+
virtual ~SVFBugEvent() = default;
|
|
70
70
|
|
|
71
71
|
inline u32_t getEventType() const
|
|
72
72
|
{
|
|
@@ -80,7 +80,7 @@ public:
|
|
|
80
80
|
class GenericBug
|
|
81
81
|
{
|
|
82
82
|
public:
|
|
83
|
-
typedef std::vector<
|
|
83
|
+
typedef std::vector<SVFBugEvent> EventStack;
|
|
84
84
|
|
|
85
85
|
public:
|
|
86
86
|
enum BugType {FULLBUFOVERFLOW, PARTIALBUFOVERFLOW, NEVERFREE, PARTIALLEAK, DOUBLEFREE, FILENEVERCLOSE, FILEPARTIALCLOSE};
|