svf-lib 1.0.1445 → 1.0.1446
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
|
|
@@ -42,6 +42,7 @@ class SVFIR2ItvExeState
|
|
|
42
42
|
{
|
|
43
43
|
public:
|
|
44
44
|
typedef ExeState::VAddrs VAddrs;
|
|
45
|
+
static VAddrs globalNullVaddrs;
|
|
45
46
|
public:
|
|
46
47
|
SVFIR2ItvExeState(SVFIR *ir) : _svfir(ir) {}
|
|
47
48
|
|
|
@@ -89,7 +90,10 @@ public:
|
|
|
89
90
|
|
|
90
91
|
inline VAddrs &getVAddrs(u32_t id)
|
|
91
92
|
{
|
|
92
|
-
|
|
93
|
+
if (inVarToAddrsTable(id))
|
|
94
|
+
return _es.getVAddrs(id);
|
|
95
|
+
else
|
|
96
|
+
return globalNullVaddrs;
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
inline bool inVarToIValTable(u32_t id) const
|