svf-lib 1.0.740 → 1.0.744
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/lib/libSvf.a +0 -0
- package/SVF-linux/include/Graphs/CHG.h +2 -2
- package/SVF-linux/include/Graphs/ICFGNode.h +1 -1
- package/SVF-linux/include/Graphs/VFG.h +9 -9
- package/SVF-linux/include/Graphs/VFGNode.h +6 -6
- package/SVF-linux/include/MSSA/MSSAMuChi.h +6 -6
- package/SVF-linux/include/MSSA/MemRegion.h +8 -8
- package/SVF-linux/include/MSSA/MemSSA.h +10 -10
- package/SVF-linux/include/MemoryModel/PointerAnalysis.h +1 -1
- package/SVF-linux/include/MemoryModel/PointerAnalysisImpl.h +2 -2
- package/SVF-linux/include/MemoryModel/SVFIR.h +28 -28
- package/SVF-linux/include/MemoryModel/SVFStatements.h +68 -68
- package/SVF-linux/include/MemoryModel/SVFVariables.h +39 -39
- package/SVF-linux/include/SVF-FE/SVFIRBuilder.h +22 -22
- 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/CHG.h +2 -2
- package/SVF-osx/include/Graphs/ICFGNode.h +1 -1
- package/SVF-osx/include/Graphs/VFG.h +9 -9
- package/SVF-osx/include/Graphs/VFGNode.h +6 -6
- package/SVF-osx/include/MSSA/MSSAMuChi.h +6 -6
- package/SVF-osx/include/MSSA/MemRegion.h +8 -8
- package/SVF-osx/include/MSSA/MemSSA.h +10 -10
- package/SVF-osx/include/MemoryModel/PointerAnalysis.h +1 -1
- package/SVF-osx/include/MemoryModel/PointerAnalysisImpl.h +2 -2
- package/SVF-osx/include/MemoryModel/SVFIR.h +28 -28
- package/SVF-osx/include/MemoryModel/SVFStatements.h +68 -68
- package/SVF-osx/include/MemoryModel/SVFVariables.h +39 -39
- package/SVF-osx/include/SVF-FE/SVFIRBuilder.h +22 -22
- package/package.json +1 -1
|
@@ -281,44 +281,44 @@ public:
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
/// Add Address edge
|
|
284
|
-
inline
|
|
284
|
+
inline AddrStmt* addAddrEdge(NodeID src, NodeID dst)
|
|
285
285
|
{
|
|
286
|
-
|
|
286
|
+
AddrStmt *edge = pag->addAddrPE(src, dst);
|
|
287
287
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
288
288
|
return edge;
|
|
289
289
|
}
|
|
290
290
|
/// Add Copy edge
|
|
291
|
-
inline
|
|
291
|
+
inline CopyStmt* addCopyEdge(NodeID src, NodeID dst)
|
|
292
292
|
{
|
|
293
|
-
|
|
293
|
+
CopyStmt *edge = pag->addCopyPE(src, dst);
|
|
294
294
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
295
295
|
return edge;
|
|
296
296
|
}
|
|
297
297
|
/// Add Copy edge
|
|
298
|
-
inline
|
|
298
|
+
inline PhiStmt* addPhiNode(NodeID res, NodeID opnd)
|
|
299
299
|
{
|
|
300
|
-
|
|
300
|
+
PhiStmt *edge = pag->addPhiNode(res,opnd);
|
|
301
301
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
302
302
|
return edge;
|
|
303
303
|
}
|
|
304
304
|
/// Add Copy edge
|
|
305
|
-
inline
|
|
305
|
+
inline CmpStmt* addCmpEdge(NodeID op1, NodeID op2, NodeID dst, u32_t opcode)
|
|
306
306
|
{
|
|
307
|
-
|
|
307
|
+
CmpStmt *edge = pag->addCmpPE(op1, op2, dst, opcode);
|
|
308
308
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
309
309
|
return edge;
|
|
310
310
|
}
|
|
311
311
|
/// Add Copy edge
|
|
312
|
-
inline
|
|
312
|
+
inline BinaryOPStmt* addBinaryOPEdge(NodeID op1, NodeID op2, NodeID dst, u32_t opcode)
|
|
313
313
|
{
|
|
314
|
-
|
|
314
|
+
BinaryOPStmt *edge = pag->addBinaryOPPE(op1, op2, dst, opcode);
|
|
315
315
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
316
316
|
return edge;
|
|
317
317
|
}
|
|
318
318
|
/// Add Unary edge
|
|
319
|
-
inline
|
|
319
|
+
inline UnaryOPStmt* addUnaryOPEdge(NodeID src, NodeID dst, u32_t opcode)
|
|
320
320
|
{
|
|
321
|
-
|
|
321
|
+
UnaryOPStmt *edge = pag->addUnaryOPPE(src, dst, opcode);
|
|
322
322
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
323
323
|
return edge;
|
|
324
324
|
}
|
|
@@ -329,21 +329,21 @@ public:
|
|
|
329
329
|
return edge;
|
|
330
330
|
}
|
|
331
331
|
/// Add Load edge
|
|
332
|
-
inline
|
|
332
|
+
inline LoadStmt* addLoadEdge(NodeID src, NodeID dst)
|
|
333
333
|
{
|
|
334
|
-
|
|
334
|
+
LoadStmt *edge = pag->addLoadPE(src, dst);
|
|
335
335
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
336
336
|
return edge;
|
|
337
337
|
}
|
|
338
338
|
/// Add Store edge
|
|
339
|
-
inline
|
|
339
|
+
inline StoreStmt* addStoreEdge(NodeID src, NodeID dst)
|
|
340
340
|
{
|
|
341
341
|
IntraBlockNode* node;
|
|
342
342
|
if(const Instruction* inst = SVFUtil::dyn_cast<Instruction>(curVal))
|
|
343
343
|
node = pag->getICFG()->getIntraBlockNode(inst);
|
|
344
344
|
else
|
|
345
345
|
node = nullptr;
|
|
346
|
-
|
|
346
|
+
StoreStmt *edge = pag->addStorePE(src, dst, node);
|
|
347
347
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
348
348
|
return edge;
|
|
349
349
|
}
|
|
@@ -362,23 +362,23 @@ public:
|
|
|
362
362
|
return edge;
|
|
363
363
|
}
|
|
364
364
|
/// Add Gep edge
|
|
365
|
-
inline
|
|
365
|
+
inline GepStmt* addGepEdge(NodeID src, NodeID dst, const LocationSet& ls, bool constGep)
|
|
366
366
|
{
|
|
367
|
-
|
|
367
|
+
GepStmt *edge = pag->addGepPE(src, dst, ls, constGep);
|
|
368
368
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
369
369
|
return edge;
|
|
370
370
|
}
|
|
371
371
|
/// Add Offset(Gep) edge
|
|
372
|
-
inline
|
|
372
|
+
inline NormalGepStmt* addNormalGepEdge(NodeID src, NodeID dst, const LocationSet& ls)
|
|
373
373
|
{
|
|
374
|
-
|
|
374
|
+
NormalGepStmt *edge = pag->addNormalGepPE(src, dst, ls);
|
|
375
375
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
376
376
|
return edge;
|
|
377
377
|
}
|
|
378
378
|
/// Add Variant(Gep) edge
|
|
379
|
-
inline
|
|
379
|
+
inline VariantGepStmt* addVariantGepEdge(NodeID src, NodeID dst)
|
|
380
380
|
{
|
|
381
|
-
|
|
381
|
+
VariantGepStmt *edge = pag->addVariantGepPE(src, dst);
|
|
382
382
|
setCurrentBBAndValueForPAGEdge(edge);
|
|
383
383
|
return edge;
|
|
384
384
|
}
|