svf-lib 1.0.1606 → 1.0.1608
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/SVFIR/SVFStatements.h +12 -9
- 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/SVFStatements.h +12 -9
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -171,9 +171,10 @@ public:
|
|
|
171
171
|
static inline GEdgeFlag makeEdgeFlagWithAddionalOpnd(GEdgeKind k,
|
|
172
172
|
const SVFVar* var)
|
|
173
173
|
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
auto it_inserted = var2LabelMap.emplace(var, multiOpndLabelCounter);
|
|
175
|
+
if (it_inserted.second)
|
|
176
|
+
++multiOpndLabelCounter;
|
|
177
|
+
u64_t label = it_inserted.first->second;
|
|
177
178
|
return (label << EdgeKindMaskBits) | k;
|
|
178
179
|
}
|
|
179
180
|
|
|
@@ -182,9 +183,10 @@ public:
|
|
|
182
183
|
static inline GEdgeFlag makeEdgeFlagWithCallInst(GEdgeKind k,
|
|
183
184
|
const ICFGNode* cs)
|
|
184
185
|
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
auto it_inserted = inst2LabelMap.emplace(cs, callEdgeLabelCounter);
|
|
187
|
+
if (it_inserted.second)
|
|
188
|
+
++callEdgeLabelCounter;
|
|
189
|
+
u64_t label = it_inserted.first->second;
|
|
188
190
|
return (label << EdgeKindMaskBits) | k;
|
|
189
191
|
}
|
|
190
192
|
|
|
@@ -193,9 +195,10 @@ public:
|
|
|
193
195
|
static inline GEdgeFlag makeEdgeFlagWithStoreInst(GEdgeKind k,
|
|
194
196
|
const ICFGNode* store)
|
|
195
197
|
{
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
auto it_inserted = inst2LabelMap.emplace(store, storeEdgeLabelCounter);
|
|
199
|
+
if (it_inserted.second)
|
|
200
|
+
++storeEdgeLabelCounter;
|
|
201
|
+
u64_t label = it_inserted.first->second;
|
|
199
202
|
return (label << EdgeKindMaskBits) | k;
|
|
200
203
|
}
|
|
201
204
|
|
|
Binary file
|
|
Binary file
|
|
@@ -171,9 +171,10 @@ public:
|
|
|
171
171
|
static inline GEdgeFlag makeEdgeFlagWithAddionalOpnd(GEdgeKind k,
|
|
172
172
|
const SVFVar* var)
|
|
173
173
|
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
auto it_inserted = var2LabelMap.emplace(var, multiOpndLabelCounter);
|
|
175
|
+
if (it_inserted.second)
|
|
176
|
+
++multiOpndLabelCounter;
|
|
177
|
+
u64_t label = it_inserted.first->second;
|
|
177
178
|
return (label << EdgeKindMaskBits) | k;
|
|
178
179
|
}
|
|
179
180
|
|
|
@@ -182,9 +183,10 @@ public:
|
|
|
182
183
|
static inline GEdgeFlag makeEdgeFlagWithCallInst(GEdgeKind k,
|
|
183
184
|
const ICFGNode* cs)
|
|
184
185
|
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
auto it_inserted = inst2LabelMap.emplace(cs, callEdgeLabelCounter);
|
|
187
|
+
if (it_inserted.second)
|
|
188
|
+
++callEdgeLabelCounter;
|
|
189
|
+
u64_t label = it_inserted.first->second;
|
|
188
190
|
return (label << EdgeKindMaskBits) | k;
|
|
189
191
|
}
|
|
190
192
|
|
|
@@ -193,9 +195,10 @@ public:
|
|
|
193
195
|
static inline GEdgeFlag makeEdgeFlagWithStoreInst(GEdgeKind k,
|
|
194
196
|
const ICFGNode* store)
|
|
195
197
|
{
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
auto it_inserted = inst2LabelMap.emplace(store, storeEdgeLabelCounter);
|
|
199
|
+
if (it_inserted.second)
|
|
200
|
+
++storeEdgeLabelCounter;
|
|
201
|
+
u64_t label = it_inserted.first->second;
|
|
199
202
|
return (label << EdgeKindMaskBits) | k;
|
|
200
203
|
}
|
|
201
204
|
|