svf-tools 1.0.293 → 1.0.297
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/CMakeLists.txt +1 -1
- package/Dockerfile +1 -1
- package/README.md +1 -0
- package/SVF-doxygen/html/html/Andersen_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/BasicTypes_8h_source.html +2 -2
- package/SVF-doxygen/html/html/BreakConstantExpr_8cpp.html +2 -44
- package/SVF-doxygen/html/html/BreakConstantExpr_8cpp_source.html +3 -5
- package/SVF-doxygen/html/html/BreakConstantExpr_8h_source.html +1 -1
- package/SVF-doxygen/html/html/CHG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/ConsG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/DCHG_8h_source.html +1 -1
- package/SVF-doxygen/html/html/DDAPass_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/FlowSensitiveTBHC_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/FlowSensitive_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/Graph2Json_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/GraphPrinter_8h.html +1 -0
- package/SVF-doxygen/html/html/GraphPrinter_8h_source.html +5 -5
- package/SVF-doxygen/html/html/ICFG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/LLVMModule_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/MutablePointsToDS_8h_source.html +1 -1
- package/SVF-doxygen/html/html/OfflineConsG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/PAG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/PTACallGraph_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/PointerAnalysisImpl_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/PointerAnalysisImpl_8h_source.html +1 -1
- package/SVF-doxygen/html/html/PointerAnalysis_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/SVFG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/TCT_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/TypeBasedHeapCloning_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/VFG_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/WPAPass_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1Andersen.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1AndersenBase.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1BVDataPTAImpl.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1BreakConstantGEPs.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1CHGraph.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1CallSite.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1CondPTAImpl.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1ConstraintGraph.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1DCHGraph.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1DDAPass.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitive.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1FlowSensitiveTBHC.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1ICFG.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1ICFGPrinter.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1LLVMModuleSet.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1MutableDFPTData.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1OfflineConsG.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1PAG.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1PTACallGraph.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1PointerAnalysis.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1SVFG.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1TCT.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1TypeBasedHeapCloning.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1VFG.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1WPAPass.html +1 -1
- package/SVF-doxygen/html/html/classllvm_1_1GraphPrinter.html +7 -7
- package/SVF-doxygen/html/html/globals_c.html +100 -103
- package/SVF-doxygen/html/html/globals_func_c.html +88 -91
- package/SVF-doxygen/html/html/search/all_3.js +0 -1
- package/SVF-doxygen/html/html/search/functions_2.js +0 -1
- package/build.sh +6 -3
- package/include/Graphs/GraphPrinter.h +2 -1
- package/include/MemoryModel/MutablePointsToDS.h +1 -1
- package/include/MemoryModel/PointerAnalysisImpl.h +4 -4
- package/include/Util/BasicTypes.h +1 -1
- package/lib/DDA/DDAPass.cpp +1 -1
- package/lib/MemoryModel/PointerAnalysis.cpp +7 -7
- package/lib/MemoryModel/PointerAnalysisImpl.cpp +3 -3
- package/lib/SVF-FE/BreakConstantExpr.cpp +5 -143
- package/lib/SVF-FE/Graph2Json.cpp +1 -1
- package/lib/SVF-FE/LLVMModule.cpp +1 -1
- package/lib/Util/TypeBasedHeapCloning.cpp +6 -6
- package/lib/WPA/Andersen.cpp +4 -4
- package/lib/WPA/FlowSensitive.cpp +2 -2
- package/lib/WPA/FlowSensitiveTBHC.cpp +2 -2
- package/lib/WPA/WPAPass.cpp +7 -7
- package/package.json +1 -1
- package/setup.sh +1 -1
|
@@ -73,15 +73,12 @@ $(function() {
|
|
|
73
73
|
<li>convertExpression()
|
|
74
74
|
: <a class="el" href="BreakConstantExpr_8cpp.html#a25cf7d9aff084a1cd1aa51c85a4a17e1">BreakConstantExpr.cpp</a>
|
|
75
75
|
</li>
|
|
76
|
-
<li>convertGEP()
|
|
77
|
-
: <a class="el" href="BreakConstantExpr_8cpp.html#a6589d553bf45afce2d441f5c3e065a58">BreakConstantExpr.cpp</a>
|
|
78
|
-
</li>
|
|
79
76
|
<li>copyOrder()
|
|
80
77
|
: <a class="el" href="cuddInt_8c.html#acad9fa7ce3b1333a9c072bca7dafcbb6">cuddInt.c</a>
|
|
81
78
|
</li>
|
|
82
79
|
<li>Cudd_addCmpl()
|
|
83
|
-
: <a class="el" href="
|
|
84
|
-
, <a class="el" href="
|
|
80
|
+
: <a class="el" href="cudd_8h.html#a0776cc88f7f4911a8c7bede3f3aacdfd">cudd.h</a>
|
|
81
|
+
, <a class="el" href="cuddInt_8c.html#a0776cc88f7f4911a8c7bede3f3aacdfd">cuddInt.c</a>
|
|
85
82
|
</li>
|
|
86
83
|
<li>Cudd_addEvalConst()
|
|
87
84
|
: <a class="el" href="cudd_8h.html#a88cac595be91f0524a8be01c2b330661">cudd.h</a>
|
|
@@ -96,8 +93,8 @@ $(function() {
|
|
|
96
93
|
, <a class="el" href="cuddInt_8c.html#aef6faa7c3d70abff90b5187b2f505310">cuddInt.c</a>
|
|
97
94
|
</li>
|
|
98
95
|
<li>Cudd_bddAnd()
|
|
99
|
-
: <a class="el" href="
|
|
100
|
-
, <a class="el" href="
|
|
96
|
+
: <a class="el" href="cudd_8h.html#a8374b23de03000aeafb9b6deecee4b3c">cudd.h</a>
|
|
97
|
+
, <a class="el" href="cuddInt_8c.html#a8374b23de03000aeafb9b6deecee4b3c">cuddInt.c</a>
|
|
101
98
|
</li>
|
|
102
99
|
<li>Cudd_bddAndLimit()
|
|
103
100
|
: <a class="el" href="cudd_8h.html#adfbb2fd5b9c884df0d684a86dc26a97d">cudd.h</a>
|
|
@@ -131,8 +128,8 @@ $(function() {
|
|
|
131
128
|
, <a class="el" href="cuddInt_8c.html#a40fd71665cde402bd5bc4f39015c09ae">cuddInt.c</a>
|
|
132
129
|
</li>
|
|
133
130
|
<li>Cudd_bddLeq()
|
|
134
|
-
: <a class="el" href="
|
|
135
|
-
, <a class="el" href="
|
|
131
|
+
: <a class="el" href="cuddInt_8c.html#a89a46089e8572876a1521cdee6cb31a2">cuddInt.c</a>
|
|
132
|
+
, <a class="el" href="cudd_8h.html#a89a46089e8572876a1521cdee6cb31a2">cudd.h</a>
|
|
136
133
|
</li>
|
|
137
134
|
<li>Cudd_bddLeqUnless()
|
|
138
135
|
: <a class="el" href="cudd_8h.html#a5dcbf450b32f6937bc6dba252474638d">cudd.h</a>
|
|
@@ -194,8 +191,8 @@ $(function() {
|
|
|
194
191
|
, <a class="el" href="cuddInt_8c.html#a1878b826a0a318e816d419ca5bcea97b">cuddInt.c</a>
|
|
195
192
|
</li>
|
|
196
193
|
<li>Cudd_EqualSupNorm()
|
|
197
|
-
: <a class="el" href="
|
|
198
|
-
, <a class="el" href="
|
|
194
|
+
: <a class="el" href="cudd_8h.html#abe0be57ead326db49e00a51d7acf75f9">cudd.h</a>
|
|
195
|
+
, <a class="el" href="cuddInt_8c.html#abe0be57ead326db49e00a51d7acf75f9">cuddInt.c</a>
|
|
199
196
|
</li>
|
|
200
197
|
<li>Cudd_EquivDC()
|
|
201
198
|
: <a class="el" href="cudd_8h.html#a3e078600dd9087c623e1bdfea00d599d">cudd.h</a>
|
|
@@ -322,8 +319,8 @@ $(function() {
|
|
|
322
319
|
, <a class="el" href="cuddInt_8c.html#a30ef132c1f56bdb0e26efc81fa695cf3">cuddInt.c</a>
|
|
323
320
|
</li>
|
|
324
321
|
<li>Cudd_SetMinHit()
|
|
325
|
-
: <a class="el" href="
|
|
326
|
-
, <a class="el" href="
|
|
322
|
+
: <a class="el" href="cudd_8h.html#ae96f3e2036a77ab8c1318e607dea232b">cudd.h</a>
|
|
323
|
+
, <a class="el" href="cuddInt_8c.html#ae96f3e2036a77ab8c1318e607dea232b">cuddInt.c</a>
|
|
327
324
|
</li>
|
|
328
325
|
<li>Cudd_Srandom()
|
|
329
326
|
: <a class="el" href="cudd_8h.html#aa90de9057062381cbb8f367f67a7094f">cudd.h</a>
|
|
@@ -485,8 +482,8 @@ $(function() {
|
|
|
485
482
|
, <a class="el" href="cuddInt_8c.html#a1c1bf08350088e17ef443273e2c8de6b">cuddInt.c</a>
|
|
486
483
|
</li>
|
|
487
484
|
<li>cuddGa()
|
|
488
|
-
: <a class="el" href="
|
|
489
|
-
, <a class="el" href="
|
|
485
|
+
: <a class="el" href="cuddInt_8h.html#a30cf6e35aee984f79054c81d8d994e51">cuddInt.h</a>
|
|
486
|
+
, <a class="el" href="cuddInt_8c.html#a30cf6e35aee984f79054c81d8d994e51">cuddInt.c</a>
|
|
490
487
|
</li>
|
|
491
488
|
<li>cuddGarbageCollect()
|
|
492
489
|
: <a class="el" href="cuddInt_8h.html#a67e9deab5db86e16734a413ad199719c">cuddInt.h</a>
|
|
@@ -516,8 +513,8 @@ $(function() {
|
|
|
516
513
|
: <a class="el" href="cuddInt_8c.html#a9bf314654e2092980899575ffc3aeaa3">cuddInt.c</a>
|
|
517
514
|
</li>
|
|
518
515
|
<li>cuddHashTableInsert1()
|
|
519
|
-
: <a class="el" href="
|
|
520
|
-
, <a class="el" href="
|
|
516
|
+
: <a class="el" href="cuddInt_8c.html#a33441f3cc9ba4dcc96433d23adf4b536">cuddInt.c</a>
|
|
517
|
+
, <a class="el" href="cuddInt_8h.html#a33441f3cc9ba4dcc96433d23adf4b536">cuddInt.h</a>
|
|
521
518
|
</li>
|
|
522
519
|
<li>cuddHashTableInsert2()
|
|
523
520
|
: <a class="el" href="cuddInt_8c.html#a3bb782d3c2c4225e79f82706ee2bb755">cuddInt.c</a>
|
|
@@ -553,16 +550,16 @@ $(function() {
|
|
|
553
550
|
, <a class="el" href="cuddInt_8c.html#ac9f3d4ce5f9ac0f4fcd8f96587e13227">cuddInt.c</a>
|
|
554
551
|
</li>
|
|
555
552
|
<li>cuddInitInteract()
|
|
556
|
-
: <a class="el" href="
|
|
557
|
-
, <a class="el" href="
|
|
553
|
+
: <a class="el" href="cuddInt_8h.html#aefe79f742e70f7e5523ed0604b7adfb0">cuddInt.h</a>
|
|
554
|
+
, <a class="el" href="cuddInt_8c.html#aefe79f742e70f7e5523ed0604b7adfb0">cuddInt.c</a>
|
|
558
555
|
</li>
|
|
559
556
|
<li>cuddInitLinear()
|
|
560
557
|
: <a class="el" href="cuddInt_8h.html#ad92550d1a1e9f8d717102c00b7e7d839">cuddInt.h</a>
|
|
561
558
|
, <a class="el" href="cuddInt_8c.html#ad92550d1a1e9f8d717102c00b7e7d839">cuddInt.c</a>
|
|
562
559
|
</li>
|
|
563
560
|
<li>cuddInitTable()
|
|
564
|
-
: <a class="el" href="
|
|
565
|
-
, <a class="el" href="
|
|
561
|
+
: <a class="el" href="cuddInt_8h.html#aac58f12de669eaac1d445054699e2a88">cuddInt.h</a>
|
|
562
|
+
, <a class="el" href="cuddInt_8c.html#aac58f12de669eaac1d445054699e2a88">cuddInt.c</a>
|
|
566
563
|
</li>
|
|
567
564
|
<li>cuddLinearAndSifting()
|
|
568
565
|
: <a class="el" href="cuddInt_8h.html#a6280eb698415f13868d44ada26f93d64">cuddInt.h</a>
|
|
@@ -580,8 +577,8 @@ $(function() {
|
|
|
580
577
|
, <a class="el" href="cuddInt_8c.html#a9b3e20543e022d0d3092591b73b7b939">cuddInt.c</a>
|
|
581
578
|
</li>
|
|
582
579
|
<li>cuddLocalCacheClearDead()
|
|
583
|
-
: <a class="el" href="
|
|
584
|
-
, <a class="el" href="
|
|
580
|
+
: <a class="el" href="cuddInt_8c.html#afcc9444fb15a2e92ec840a1fe3a18afd">cuddInt.c</a>
|
|
581
|
+
, <a class="el" href="cuddInt_8h.html#afcc9444fb15a2e92ec840a1fe3a18afd">cuddInt.h</a>
|
|
585
582
|
</li>
|
|
586
583
|
<li>cuddLocalCacheRemoveFromList()
|
|
587
584
|
: <a class="el" href="cuddInt_8c.html#a0ce0bf5ccf36cef240bf9927ed606824">cuddInt.c</a>
|
|
@@ -590,8 +587,8 @@ $(function() {
|
|
|
590
587
|
: <a class="el" href="cuddInt_8c.html#a5325adbe14e1e1de34ddb6fd5de4ec6a">cuddInt.c</a>
|
|
591
588
|
</li>
|
|
592
589
|
<li>cuddMakeBddFromZddCover()
|
|
593
|
-
: <a class="el" href="
|
|
594
|
-
, <a class="el" href="
|
|
590
|
+
: <a class="el" href="cuddInt_8c.html#ab1a42f8ffa091f37d1aa152908a778bb">cuddInt.c</a>
|
|
591
|
+
, <a class="el" href="cuddInt_8h.html#ab1a42f8ffa091f37d1aa152908a778bb">cuddInt.h</a>
|
|
595
592
|
</li>
|
|
596
593
|
<li>cuddNextHigh()
|
|
597
594
|
: <a class="el" href="cuddInt_8h.html#a1001b8075a1b90d0231d8967a0290186">cuddInt.h</a>
|
|
@@ -617,80 +614,80 @@ $(function() {
|
|
|
617
614
|
, <a class="el" href="cuddInt_8c.html#a2d3bb63f4ba1ba097c0f9775ddc1f830">cuddInt.c</a>
|
|
618
615
|
</li>
|
|
619
616
|
<li>cuddReclaim()
|
|
620
|
-
: <a class="el" href="
|
|
621
|
-
, <a class="el" href="
|
|
617
|
+
: <a class="el" href="cuddInt_8c.html#acc19dbda07ed77727cd149f7aeb2527b">cuddInt.c</a>
|
|
618
|
+
, <a class="el" href="cuddInt_8h.html#acc19dbda07ed77727cd149f7aeb2527b">cuddInt.h</a>
|
|
622
619
|
</li>
|
|
623
620
|
<li>cuddReclaimZdd()
|
|
624
621
|
: <a class="el" href="cuddInt_8h.html#adc39ed6aca9e7c16f7370bb373ed694b">cuddInt.h</a>
|
|
625
622
|
, <a class="el" href="cuddInt_8c.html#adc39ed6aca9e7c16f7370bb373ed694b">cuddInt.c</a>
|
|
626
623
|
</li>
|
|
627
624
|
<li>cuddRehash()
|
|
628
|
-
: <a class="el" href="
|
|
629
|
-
, <a class="el" href="
|
|
625
|
+
: <a class="el" href="cuddInt_8c.html#a808cc83054e0925704d498f721605926">cuddInt.c</a>
|
|
626
|
+
, <a class="el" href="cuddInt_8h.html#a808cc83054e0925704d498f721605926">cuddInt.h</a>
|
|
630
627
|
</li>
|
|
631
628
|
<li>cuddResizeLinear()
|
|
632
629
|
: <a class="el" href="cuddInt_8h.html#a952f869c6bd03fd89b1398a8c2149790">cuddInt.h</a>
|
|
633
630
|
, <a class="el" href="cuddInt_8c.html#a952f869c6bd03fd89b1398a8c2149790">cuddInt.c</a>
|
|
634
631
|
</li>
|
|
635
632
|
<li>cuddResizeTableZdd()
|
|
636
|
-
: <a class="el" href="
|
|
637
|
-
, <a class="el" href="
|
|
633
|
+
: <a class="el" href="cuddInt_8c.html#af9fabe670c27f42152573dbf713ec2ee">cuddInt.c</a>
|
|
634
|
+
, <a class="el" href="cuddInt_8h.html#af9fabe670c27f42152573dbf713ec2ee">cuddInt.h</a>
|
|
638
635
|
</li>
|
|
639
636
|
<li>cuddSetInteract()
|
|
640
637
|
: <a class="el" href="cuddInt_8c.html#a888f4a3339c8df41fa0eefd265657a44">cuddInt.c</a>
|
|
641
638
|
, <a class="el" href="cuddInt_8h.html#a888f4a3339c8df41fa0eefd265657a44">cuddInt.h</a>
|
|
642
639
|
</li>
|
|
643
640
|
<li>cuddShrinkDeathRow()
|
|
644
|
-
: <a class="el" href="
|
|
645
|
-
, <a class="el" href="
|
|
641
|
+
: <a class="el" href="cuddInt_8c.html#a68543f5aa10af3730f82919fdac4fd98">cuddInt.c</a>
|
|
642
|
+
, <a class="el" href="cuddInt_8h.html#a68543f5aa10af3730f82919fdac4fd98">cuddInt.h</a>
|
|
646
643
|
</li>
|
|
647
644
|
<li>cuddSifting()
|
|
648
|
-
: <a class="el" href="
|
|
649
|
-
, <a class="el" href="
|
|
645
|
+
: <a class="el" href="cuddInt_8h.html#ad379df946ff42f0241f8cc432ed5a61a">cuddInt.h</a>
|
|
646
|
+
, <a class="el" href="cuddInt_8c.html#ad379df946ff42f0241f8cc432ed5a61a">cuddInt.c</a>
|
|
650
647
|
</li>
|
|
651
648
|
<li>cuddSlowTableGrowth()
|
|
652
|
-
: <a class="el" href="
|
|
653
|
-
, <a class="el" href="
|
|
649
|
+
: <a class="el" href="cuddInt_8c.html#a917f877ac725fc2d169102ab9d7aec97">cuddInt.c</a>
|
|
650
|
+
, <a class="el" href="cuddInt_8h.html#a917f877ac725fc2d169102ab9d7aec97">cuddInt.h</a>
|
|
654
651
|
</li>
|
|
655
652
|
<li>cuddSwapInPlace()
|
|
656
|
-
: <a class="el" href="
|
|
657
|
-
, <a class="el" href="
|
|
653
|
+
: <a class="el" href="cuddInt_8c.html#a02e55858557a72e60c2c2e81a53916d8">cuddInt.c</a>
|
|
654
|
+
, <a class="el" href="cuddInt_8h.html#a02e55858557a72e60c2c2e81a53916d8">cuddInt.h</a>
|
|
658
655
|
</li>
|
|
659
656
|
<li>cuddSwapping()
|
|
660
|
-
: <a class="el" href="
|
|
661
|
-
, <a class="el" href="
|
|
657
|
+
: <a class="el" href="cuddInt_8c.html#a4fcc58544702da24985351c6e63fcc04">cuddInt.c</a>
|
|
658
|
+
, <a class="el" href="cuddInt_8h.html#a4fcc58544702da24985351c6e63fcc04">cuddInt.h</a>
|
|
662
659
|
</li>
|
|
663
660
|
<li>cuddSymmCheck()
|
|
664
661
|
: <a class="el" href="cuddInt_8c.html#a23afa87c3a2b034ed77d613510958a42">cuddInt.c</a>
|
|
665
662
|
, <a class="el" href="cuddInt_8h.html#a23afa87c3a2b034ed77d613510958a42">cuddInt.h</a>
|
|
666
663
|
</li>
|
|
667
664
|
<li>cuddSymmSifting()
|
|
668
|
-
: <a class="el" href="
|
|
669
|
-
, <a class="el" href="
|
|
665
|
+
: <a class="el" href="cuddInt_8c.html#a8a7e7ba2e8fb65399112bd5b7fd71ad4">cuddInt.c</a>
|
|
666
|
+
, <a class="el" href="cuddInt_8h.html#a8a7e7ba2e8fb65399112bd5b7fd71ad4">cuddInt.h</a>
|
|
670
667
|
</li>
|
|
671
668
|
<li>cuddSymmSiftingConv()
|
|
672
669
|
: <a class="el" href="cuddInt_8h.html#a26500cac5e214614917e48563a2fd133">cuddInt.h</a>
|
|
673
670
|
, <a class="el" href="cuddInt_8c.html#a26500cac5e214614917e48563a2fd133">cuddInt.c</a>
|
|
674
671
|
</li>
|
|
675
672
|
<li>cuddTestInteract()
|
|
676
|
-
: <a class="el" href="
|
|
677
|
-
, <a class="el" href="
|
|
673
|
+
: <a class="el" href="cuddInt_8c.html#a2cc583804f0963d4a76049be83d54d9c">cuddInt.c</a>
|
|
674
|
+
, <a class="el" href="cuddInt_8h.html#a2cc583804f0963d4a76049be83d54d9c">cuddInt.h</a>
|
|
678
675
|
</li>
|
|
679
676
|
<li>cuddTreeSifting()
|
|
680
|
-
: <a class="el" href="
|
|
681
|
-
, <a class="el" href="
|
|
677
|
+
: <a class="el" href="cuddInt_8c.html#a66ff5219b538de2d580f832a4ddfc362">cuddInt.c</a>
|
|
678
|
+
, <a class="el" href="cuddInt_8h.html#a66ff5219b538de2d580f832a4ddfc362">cuddInt.h</a>
|
|
682
679
|
</li>
|
|
683
680
|
<li>cuddUniqueConst()
|
|
684
|
-
: <a class="el" href="
|
|
685
|
-
, <a class="el" href="
|
|
681
|
+
: <a class="el" href="cuddInt_8c.html#a4e44fedc71d81a76167dc441ca10cff6">cuddInt.c</a>
|
|
682
|
+
, <a class="el" href="cuddInt_8h.html#a4e44fedc71d81a76167dc441ca10cff6">cuddInt.h</a>
|
|
686
683
|
</li>
|
|
687
684
|
<li>cuddUniqueInter()
|
|
688
|
-
: <a class="el" href="
|
|
689
|
-
, <a class="el" href="
|
|
685
|
+
: <a class="el" href="cuddInt_8c.html#a767e31fbbfdbddc623396dde86249497">cuddInt.c</a>
|
|
686
|
+
, <a class="el" href="cuddInt_8h.html#a767e31fbbfdbddc623396dde86249497">cuddInt.h</a>
|
|
690
687
|
</li>
|
|
691
688
|
<li>cuddUniqueInterIVO()
|
|
692
|
-
: <a class="el" href="
|
|
693
|
-
, <a class="el" href="
|
|
689
|
+
: <a class="el" href="cuddInt_8c.html#af46446c8dfbd689f5d68be71275816c3">cuddInt.c</a>
|
|
690
|
+
, <a class="el" href="cuddInt_8h.html#af46446c8dfbd689f5d68be71275816c3">cuddInt.h</a>
|
|
694
691
|
</li>
|
|
695
692
|
<li>cuddUniqueInterZdd()
|
|
696
693
|
: <a class="el" href="cuddInt_8c.html#a82d51c70097e5d4acddd5c8c4aef6d73">cuddInt.c</a>
|
|
@@ -715,32 +712,32 @@ $(function() {
|
|
|
715
712
|
, <a class="el" href="cuddInt_8h.html#ae994abd80d7d5b41c74a3a6016f52815">cuddInt.h</a>
|
|
716
713
|
</li>
|
|
717
714
|
<li>cuddZddChangeAux()
|
|
718
|
-
: <a class="el" href="
|
|
719
|
-
, <a class="el" href="
|
|
715
|
+
: <a class="el" href="cuddInt_8c.html#aaca76fe4ed2c4316c53afcf996e6ae20">cuddInt.c</a>
|
|
716
|
+
, <a class="el" href="cuddInt_8h.html#aaca76fe4ed2c4316c53afcf996e6ae20">cuddInt.h</a>
|
|
720
717
|
</li>
|
|
721
718
|
<li>cuddZddComplement()
|
|
722
|
-
: <a class="el" href="
|
|
723
|
-
, <a class="el" href="
|
|
719
|
+
: <a class="el" href="cuddInt_8c.html#a83f563a2bf47531a70e0b34c3cdd504b">cuddInt.c</a>
|
|
720
|
+
, <a class="el" href="cuddInt_8h.html#a83f563a2bf47531a70e0b34c3cdd504b">cuddInt.h</a>
|
|
724
721
|
</li>
|
|
725
722
|
<li>cuddZddDiff()
|
|
726
|
-
: <a class="el" href="
|
|
727
|
-
, <a class="el" href="
|
|
723
|
+
: <a class="el" href="cuddInt_8c.html#a6af3c223536b1c0cf632f4e3cd7e5e2d">cuddInt.c</a>
|
|
724
|
+
, <a class="el" href="cuddInt_8h.html#a6af3c223536b1c0cf632f4e3cd7e5e2d">cuddInt.h</a>
|
|
728
725
|
</li>
|
|
729
726
|
<li>cuddZddDivide()
|
|
730
727
|
: <a class="el" href="cuddInt_8h.html#adf85f81e2cabd23947220f77681a6b0f">cuddInt.h</a>
|
|
731
728
|
, <a class="el" href="cuddInt_8c.html#adf85f81e2cabd23947220f77681a6b0f">cuddInt.c</a>
|
|
732
729
|
</li>
|
|
733
730
|
<li>cuddZddDivideF()
|
|
734
|
-
: <a class="el" href="
|
|
735
|
-
, <a class="el" href="
|
|
731
|
+
: <a class="el" href="cuddInt_8c.html#a4ac974deda65b0071f01780d8132efca">cuddInt.c</a>
|
|
732
|
+
, <a class="el" href="cuddInt_8h.html#a4ac974deda65b0071f01780d8132efca">cuddInt.h</a>
|
|
736
733
|
</li>
|
|
737
734
|
<li>cuddZddFreeUniv()
|
|
738
735
|
: <a class="el" href="cuddInt_8h.html#ab5e36f92c1b0f85b30c54984f6377032">cuddInt.h</a>
|
|
739
736
|
, <a class="el" href="cuddInt_8c.html#ab5e36f92c1b0f85b30c54984f6377032">cuddInt.c</a>
|
|
740
737
|
</li>
|
|
741
738
|
<li>cuddZddGetCofactors2()
|
|
742
|
-
: <a class="el" href="
|
|
743
|
-
, <a class="el" href="
|
|
739
|
+
: <a class="el" href="cuddInt_8c.html#a0767c8eb1d5d87d76cec9bfa86e996d1">cuddInt.c</a>
|
|
740
|
+
, <a class="el" href="cuddInt_8h.html#a0767c8eb1d5d87d76cec9bfa86e996d1">cuddInt.h</a>
|
|
744
741
|
</li>
|
|
745
742
|
<li>cuddZddGetCofactors3()
|
|
746
743
|
: <a class="el" href="cuddInt_8c.html#a57eb6f354f1b6ed2cdd629162f46db82">cuddInt.c</a>
|
|
@@ -755,8 +752,8 @@ $(function() {
|
|
|
755
752
|
, <a class="el" href="cuddInt_8h.html#a17372914aa5d0e2b405e6b4db7b340ff">cuddInt.h</a>
|
|
756
753
|
</li>
|
|
757
754
|
<li>cuddZddGetNode()
|
|
758
|
-
: <a class="el" href="
|
|
759
|
-
, <a class="el" href="
|
|
755
|
+
: <a class="el" href="cuddInt_8c.html#af607cebd30fbd27bb9bd0fa125a1e1a8">cuddInt.c</a>
|
|
756
|
+
, <a class="el" href="cuddInt_8h.html#af607cebd30fbd27bb9bd0fa125a1e1a8">cuddInt.h</a>
|
|
760
757
|
</li>
|
|
761
758
|
<li>cuddZddGetNodeIVO()
|
|
762
759
|
: <a class="el" href="cuddInt_8c.html#af19757ac3885d62886ce2a63ba409ce3">cuddInt.c</a>
|
|
@@ -775,16 +772,16 @@ $(function() {
|
|
|
775
772
|
, <a class="el" href="cuddInt_8h.html#abadd982c3d591b858a9a2369659e4528">cuddInt.h</a>
|
|
776
773
|
</li>
|
|
777
774
|
<li>cuddZddIntersect()
|
|
778
|
-
: <a class="el" href="
|
|
779
|
-
, <a class="el" href="
|
|
775
|
+
: <a class="el" href="cuddInt_8h.html#a985332f0d24772bc916a46f2b3465b53">cuddInt.h</a>
|
|
776
|
+
, <a class="el" href="cuddInt_8c.html#a985332f0d24772bc916a46f2b3465b53">cuddInt.c</a>
|
|
780
777
|
</li>
|
|
781
778
|
<li>cuddZddIsop()
|
|
782
|
-
: <a class="el" href="
|
|
783
|
-
, <a class="el" href="
|
|
779
|
+
: <a class="el" href="cuddInt_8c.html#ada2ddff66ba0fabe1c39ac446f77fd32">cuddInt.c</a>
|
|
780
|
+
, <a class="el" href="cuddInt_8h.html#ada2ddff66ba0fabe1c39ac446f77fd32">cuddInt.h</a>
|
|
784
781
|
</li>
|
|
785
782
|
<li>cuddZddIte()
|
|
786
|
-
: <a class="el" href="
|
|
787
|
-
, <a class="el" href="
|
|
783
|
+
: <a class="el" href="cuddInt_8h.html#ab0441bafcc095a43788d491e762b790c">cuddInt.h</a>
|
|
784
|
+
, <a class="el" href="cuddInt_8c.html#ab0441bafcc095a43788d491e762b790c">cuddInt.c</a>
|
|
788
785
|
</li>
|
|
789
786
|
<li>cuddZddLinearAux()
|
|
790
787
|
: <a class="el" href="cuddInt_8c.html#a50676cdc8f1a9b86dd6847fbd8a8181c">cuddInt.c</a>
|
|
@@ -806,12 +803,12 @@ $(function() {
|
|
|
806
803
|
: <a class="el" href="cuddInt_8c.html#ac95a47c799b37da2d56034245c3632f6">cuddInt.c</a>
|
|
807
804
|
</li>
|
|
808
805
|
<li>cuddZddNextHigh()
|
|
809
|
-
: <a class="el" href="
|
|
810
|
-
, <a class="el" href="
|
|
806
|
+
: <a class="el" href="cuddInt_8h.html#a7b76a250d30e9522c9ee1551d38843d6">cuddInt.h</a>
|
|
807
|
+
, <a class="el" href="cuddInt_8c.html#a7b76a250d30e9522c9ee1551d38843d6">cuddInt.c</a>
|
|
811
808
|
</li>
|
|
812
809
|
<li>cuddZddNextLow()
|
|
813
|
-
: <a class="el" href="
|
|
814
|
-
, <a class="el" href="
|
|
810
|
+
: <a class="el" href="cuddInt_8c.html#a986286a0a4952cfbe5095afde9c69b19">cuddInt.c</a>
|
|
811
|
+
, <a class="el" href="cuddInt_8h.html#a986286a0a4952cfbe5095afde9c69b19">cuddInt.h</a>
|
|
815
812
|
</li>
|
|
816
813
|
<li>cuddZddP()
|
|
817
814
|
: <a class="el" href="cuddInt_8h.html#a6e8a6b880ea63f99e8d52084468b0be5">cuddInt.h</a>
|
|
@@ -821,8 +818,8 @@ $(function() {
|
|
|
821
818
|
, <a class="el" href="cuddInt_8h.html#a99b880cf40736e465e1cbf46cb13da40">cuddInt.h</a>
|
|
822
819
|
</li>
|
|
823
820
|
<li>cuddZddSifting()
|
|
824
|
-
: <a class="el" href="
|
|
825
|
-
, <a class="el" href="
|
|
821
|
+
: <a class="el" href="cuddInt_8h.html#aaff66bd6a0344a5ece2fbd3c121a6f75">cuddInt.h</a>
|
|
822
|
+
, <a class="el" href="cuddInt_8c.html#aaff66bd6a0344a5ece2fbd3c121a6f75">cuddInt.c</a>
|
|
826
823
|
</li>
|
|
827
824
|
<li>cuddZddSiftingAux()
|
|
828
825
|
: <a class="el" href="cuddInt_8c.html#ad38635cb1780f4f2c80fd27141c0daef">cuddInt.c</a>
|
|
@@ -837,12 +834,12 @@ $(function() {
|
|
|
837
834
|
: <a class="el" href="cuddInt_8c.html#a789113cc56cb05380a131ce5a3aa0aff">cuddInt.c</a>
|
|
838
835
|
</li>
|
|
839
836
|
<li>cuddZddSubset0()
|
|
840
|
-
: <a class="el" href="
|
|
841
|
-
, <a class="el" href="
|
|
837
|
+
: <a class="el" href="cuddInt_8h.html#a7f3e9b7302820781160c550d08667d3c">cuddInt.h</a>
|
|
838
|
+
, <a class="el" href="cuddInt_8c.html#a7f3e9b7302820781160c550d08667d3c">cuddInt.c</a>
|
|
842
839
|
</li>
|
|
843
840
|
<li>cuddZddSubset1()
|
|
844
|
-
: <a class="el" href="
|
|
845
|
-
, <a class="el" href="
|
|
841
|
+
: <a class="el" href="cuddInt_8h.html#a54688fe7f1014c1e871ab5966d9e948e">cuddInt.h</a>
|
|
842
|
+
, <a class="el" href="cuddInt_8c.html#a54688fe7f1014c1e871ab5966d9e948e">cuddInt.c</a>
|
|
846
843
|
</li>
|
|
847
844
|
<li>cuddZddSwapInPlace()
|
|
848
845
|
: <a class="el" href="cuddInt_8c.html#a89a9fd8d4d09048463a62256b8dab6c9">cuddInt.c</a>
|
|
@@ -873,8 +870,8 @@ $(function() {
|
|
|
873
870
|
: <a class="el" href="cuddInt_8c.html#abea7ac08bf99972d38972dbc9666a7cc">cuddInt.c</a>
|
|
874
871
|
</li>
|
|
875
872
|
<li>cuddZddSymmSiftingConv()
|
|
876
|
-
: <a class="el" href="
|
|
877
|
-
, <a class="el" href="
|
|
873
|
+
: <a class="el" href="cuddInt_8c.html#ac76928dd3d33600509504d53802c3000">cuddInt.c</a>
|
|
874
|
+
, <a class="el" href="cuddInt_8h.html#ac76928dd3d33600509504d53802c3000">cuddInt.h</a>
|
|
878
875
|
</li>
|
|
879
876
|
<li>cuddZddSymmSiftingConvAux()
|
|
880
877
|
: <a class="el" href="cuddInt_8c.html#a447c4ee2e2ea22adaa37d20ac8f6a6f8">cuddInt.c</a>
|
|
@@ -887,8 +884,8 @@ $(function() {
|
|
|
887
884
|
, <a class="el" href="cuddInt_8c.html#a502f13629f5546da11d81c81cae8cc1b">cuddInt.c</a>
|
|
888
885
|
</li>
|
|
889
886
|
<li>cuddZddUnateProduct()
|
|
890
|
-
: <a class="el" href="
|
|
891
|
-
, <a class="el" href="
|
|
887
|
+
: <a class="el" href="cuddInt_8h.html#afea6d3e9ead2bc24cc71cf61524b38d8">cuddInt.h</a>
|
|
888
|
+
, <a class="el" href="cuddInt_8c.html#afea6d3e9ead2bc24cc71cf61524b38d8">cuddInt.c</a>
|
|
892
889
|
</li>
|
|
893
890
|
<li>cuddZddUndoMoves()
|
|
894
891
|
: <a class="el" href="cuddInt_8c.html#a37d9d5c0202700e85ee6ab3bb64f9c8f">cuddInt.c</a>
|
|
@@ -902,20 +899,20 @@ $(function() {
|
|
|
902
899
|
, <a class="el" href="cuddInt_8h.html#a5ff41c21e47b8bc8f6d1249de47bbd6d">cuddInt.h</a>
|
|
903
900
|
</li>
|
|
904
901
|
<li>cuddZddWeakDiv()
|
|
905
|
-
: <a class="el" href="
|
|
906
|
-
, <a class="el" href="
|
|
902
|
+
: <a class="el" href="cuddInt_8c.html#a86e1c6c9f20fb70fdd9579a4c63f448d">cuddInt.c</a>
|
|
903
|
+
, <a class="el" href="cuddInt_8h.html#a86e1c6c9f20fb70fdd9579a4c63f448d">cuddInt.h</a>
|
|
907
904
|
</li>
|
|
908
905
|
<li>cuddZddWeakDivF()
|
|
909
906
|
: <a class="el" href="cuddInt_8h.html#a24e2e6aa2dffe817f50ebed63f048db1">cuddInt.h</a>
|
|
910
907
|
, <a class="el" href="cuddInt_8c.html#a24e2e6aa2dffe817f50ebed63f048db1">cuddInt.c</a>
|
|
911
908
|
</li>
|
|
912
909
|
<li>cutree_cdist()
|
|
913
|
-
: <a class="el" href="
|
|
914
|
-
, <a class="el" href="
|
|
910
|
+
: <a class="el" href="fastcluster_8h.html#a8dbbd465af9ed88a066301ac83ce6961">fastcluster.h</a>
|
|
911
|
+
, <a class="el" href="fastcluster_8cpp.html#a8dbbd465af9ed88a066301ac83ce6961">fastcluster.cpp</a>
|
|
915
912
|
</li>
|
|
916
913
|
<li>cutree_k()
|
|
917
|
-
: <a class="el" href="
|
|
918
|
-
, <a class="el" href="
|
|
914
|
+
: <a class="el" href="fastcluster_8cpp.html#a4815993b37ce6e177c9838584e4cda24">fastcluster.cpp</a>
|
|
915
|
+
, <a class="el" href="fastcluster_8h.html#a4815993b37ce6e177c9838584e4cda24">fastcluster.h</a>
|
|
919
916
|
</li>
|
|
920
917
|
</ul>
|
|
921
918
|
</div><!-- contents -->
|
|
@@ -382,7 +382,6 @@ var searchData=
|
|
|
382
382
|
['contextdda_2eh',['ContextDDA.h',['../ContextDDA_8h.html',1,'']]],
|
|
383
383
|
['contextinsensitive',['ContextInsensitive',['../classSVF_1_1Options.html#ac3ad7d0cf734e867b91a081aad1faff2',1,'SVF::Options']]],
|
|
384
384
|
['convertexpression',['convertExpression',['../BreakConstantExpr_8cpp.html#a25cf7d9aff084a1cd1aa51c85a4a17e1',1,'BreakConstantExpr.cpp']]],
|
|
385
|
-
['convertgep',['convertGEP',['../BreakConstantExpr_8cpp.html#a6589d553bf45afce2d441f5c3e065a58',1,'BreakConstantExpr.cpp']]],
|
|
386
385
|
['copy',['Copy',['../classSVF_1_1ConstraintEdge.html#a663af27955ba0c545f34fa1f076b7375a29b0aa3353f866ef1655ab6d4716feb9',1,'SVF::ConstraintEdge::Copy()'],['../classSVF_1_1ConstraintNode.html#a6e59b815d784bc1a9437290ff0e1e28ca4b202c80793ae965686b9d275a5c586a',1,'SVF::ConstraintNode::Copy()'],['../classSVF_1_1PAGEdge.html#a79080505b4744aa8806b55215ac2b0f6af447071283803d3aee763fe20783f4a4',1,'SVF::PAGEdge::Copy()'],['../classSVF_1_1VFGNode.html#a99a54cf322b0eec3a1ef109ce5f2db75af589a053fdb7efc728b68a324fc58b2b',1,'SVF::VFGNode::Copy()']]],
|
|
387
386
|
['copycgedge',['CopyCGEdge',['../classSVF_1_1CopyCGEdge.html',1,'SVF::CopyCGEdge'],['../classSVF_1_1CopyCGEdge.html#a0e950b306ec8d45e38f0320c63681ecd',1,'SVF::CopyCGEdge::CopyCGEdge()'],['../classSVF_1_1CopyCGEdge.html#ac82949d49688f428d09842bda0ba1d53',1,'SVF::CopyCGEdge::CopyCGEdge(const CopyCGEdge &)'],['../classSVF_1_1CopyCGEdge.html#a90cbb8b4085648811f95afde4175a168',1,'SVF::CopyCGEdge::CopyCGEdge(ConstraintNode *s, ConstraintNode *d, EdgeID id)']]],
|
|
388
387
|
['copyinedges',['copyInEdges',['../classSVF_1_1ConstraintNode.html#a4d413d64bf554ecdc72709afeeb85775',1,'SVF::ConstraintNode']]],
|
|
@@ -157,7 +157,6 @@ var searchData=
|
|
|
157
157
|
['contextcond',['ContextCond',['../classSVF_1_1ContextCond.html#a9b81bf11679645d32d50b91bdb6d2dc1',1,'SVF::ContextCond::ContextCond()'],['../classSVF_1_1ContextCond.html#a5f31275f74ff9eb5734481f36275c6d9',1,'SVF::ContextCond::ContextCond(const ContextCond &cond)']]],
|
|
158
158
|
['contextdda',['ContextDDA',['../classSVF_1_1ContextDDA.html#adc70126ea6583df10b52501943a2af49',1,'SVF::ContextDDA']]],
|
|
159
159
|
['convertexpression',['convertExpression',['../BreakConstantExpr_8cpp.html#a25cf7d9aff084a1cd1aa51c85a4a17e1',1,'BreakConstantExpr.cpp']]],
|
|
160
|
-
['convertgep',['convertGEP',['../BreakConstantExpr_8cpp.html#a6589d553bf45afce2d441f5c3e065a58',1,'BreakConstantExpr.cpp']]],
|
|
161
160
|
['copycgedge',['CopyCGEdge',['../classSVF_1_1CopyCGEdge.html#a0e950b306ec8d45e38f0320c63681ecd',1,'SVF::CopyCGEdge::CopyCGEdge()'],['../classSVF_1_1CopyCGEdge.html#ac82949d49688f428d09842bda0ba1d53',1,'SVF::CopyCGEdge::CopyCGEdge(const CopyCGEdge &)'],['../classSVF_1_1CopyCGEdge.html#a90cbb8b4085648811f95afde4175a168',1,'SVF::CopyCGEdge::CopyCGEdge(ConstraintNode *s, ConstraintNode *d, EdgeID id)']]],
|
|
162
161
|
['copyorder',['copyOrder',['../cuddInt_8c.html#acad9fa7ce3b1333a9c072bca7dafcbb6',1,'cuddInt.c']]],
|
|
163
162
|
['copype',['CopyPE',['../classSVF_1_1CopyPE.html#aabb6ea2c6f8561e42933b5da45544e5f',1,'SVF::CopyPE::CopyPE()'],['../classSVF_1_1CopyPE.html#a452b0b5c27b15808c7599325c9b6412d',1,'SVF::CopyPE::CopyPE(const CopyPE &)'],['../classSVF_1_1CopyPE.html#ad80e63a8a67a3760d78ccde867b15284',1,'SVF::CopyPE::CopyPE(PAGNode *s, PAGNode *d)']]],
|
package/build.sh
CHANGED
|
@@ -10,13 +10,16 @@
|
|
|
10
10
|
########
|
|
11
11
|
SVFHOME=$(pwd)
|
|
12
12
|
sysOS=$(uname -s)
|
|
13
|
-
MacLLVM="https://github.com/llvm/llvm-project/releases/download/llvmorg-
|
|
14
|
-
UbuntuLLVM="https://github.com/llvm/llvm-project/releases/download/llvmorg-
|
|
13
|
+
MacLLVM="https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz"
|
|
14
|
+
UbuntuLLVM="https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz"
|
|
15
15
|
MacZ3="https://github.com/Z3Prover/z3/releases/download/z3-4.8.8/z3-4.8.8-x64-osx-10.14.6.zip"
|
|
16
16
|
UbuntuZ3="https://github.com/Z3Prover/z3/releases/download/z3-4.8.8/z3-4.8.8-x64-ubuntu-16.04.zip"
|
|
17
17
|
MacCTIR="https://github.com/mbarbar/ctir/releases/download/ctir-10.c3/ctir-clang-v10.c3-macos10.15.zip"
|
|
18
18
|
UbuntuCTIR="https://github.com/mbarbar/ctir/releases/download/ctir-10.c3/ctir-clang-v10.c3-ubuntu18.04.zip"
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
# Keep LLVM version suffix for version checking and better debugging
|
|
21
|
+
# keep the version consistent with LLVM_DIR in setup.sh and llvm_version in Dockerfile
|
|
22
|
+
LLVMHome="llvm-13.0.0.obj"
|
|
20
23
|
Z3Home="z3.obj"
|
|
21
24
|
CTIRHome="ctir.obj"
|
|
22
25
|
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
#include <system_error>
|
|
35
35
|
#include <llvm/Support/ToolOutputFile.h>
|
|
36
36
|
#include <llvm/Support/FileSystem.h> // for file open flag
|
|
37
|
+
#include <llvm/ADT/GraphTraits.h>
|
|
37
38
|
|
|
38
39
|
namespace llvm
|
|
39
40
|
{
|
|
@@ -60,7 +61,7 @@ public:
|
|
|
60
61
|
std::string Filename = GraphName + ".dot";
|
|
61
62
|
O << "Writing '" << Filename << "'...";
|
|
62
63
|
std::error_code ErrInfo;
|
|
63
|
-
llvm::ToolOutputFile F(Filename.c_str(), ErrInfo, llvm::sys::fs::
|
|
64
|
+
llvm::ToolOutputFile F(Filename.c_str(), ErrInfo, llvm::sys::fs::OF_None);
|
|
64
65
|
|
|
65
66
|
if (!ErrInfo)
|
|
66
67
|
{
|
|
@@ -581,7 +581,7 @@ public:
|
|
|
581
581
|
mutPTData.dumpPTData();
|
|
582
582
|
/// dump points-to of address-taken variables
|
|
583
583
|
std::error_code ErrInfo;
|
|
584
|
-
ToolOutputFile F("svfg_pts.data", ErrInfo, llvm::sys::fs::
|
|
584
|
+
ToolOutputFile F("svfg_pts.data", ErrInfo, llvm::sys::fs::OF_None);
|
|
585
585
|
if (!ErrInfo)
|
|
586
586
|
{
|
|
587
587
|
raw_fd_ostream & osm = F.os();
|
|
@@ -539,15 +539,15 @@ public:
|
|
|
539
539
|
CPtSet cpts2;
|
|
540
540
|
expandFIObjs(pts2,cpts2);
|
|
541
541
|
if (containBlackHoleNode(cpts1) || containBlackHoleNode(cpts2))
|
|
542
|
-
return llvm::MayAlias;
|
|
542
|
+
return llvm::AliasResult::MayAlias;
|
|
543
543
|
else if(this->getAnalysisTy()==PathS_DDA && contains(cpts1,cpts2) && contains(cpts2,cpts1))
|
|
544
544
|
{
|
|
545
|
-
return llvm::MustAlias;
|
|
545
|
+
return llvm::AliasResult::MustAlias;
|
|
546
546
|
}
|
|
547
547
|
else if(overlap(cpts1,cpts2))
|
|
548
|
-
return llvm::MayAlias;
|
|
548
|
+
return llvm::AliasResult::MayAlias;
|
|
549
549
|
else
|
|
550
|
-
return llvm::NoAlias;
|
|
550
|
+
return llvm::AliasResult::NoAlias;
|
|
551
551
|
}
|
|
552
552
|
/// Test blk node for cpts
|
|
553
553
|
inline bool containBlackHoleNode(const CPtSet& cpts)
|
|
@@ -326,7 +326,7 @@ public:
|
|
|
326
326
|
unsigned arg_size() const { return CB->arg_size(); }
|
|
327
327
|
bool arg_empty() const { return CB->arg_empty(); }
|
|
328
328
|
Value *getArgOperand(unsigned i) const { return CB->getArgOperand(i); }
|
|
329
|
-
unsigned getNumArgOperands() const { return CB->
|
|
329
|
+
unsigned getNumArgOperands() const { return CB->arg_size(); }
|
|
330
330
|
Function *getCalledFunction() const { return CB->getCalledFunction(); }
|
|
331
331
|
Value *getCalledValue() const { return CB->getCalledOperand(); }
|
|
332
332
|
Function *getCaller() const { return CB->getCaller(); }
|
package/lib/DDA/DDAPass.cpp
CHANGED
|
@@ -592,24 +592,24 @@ void PointerAnalysis::validateSuccessTests(std::string fun)
|
|
|
592
592
|
bool checkSuccessful = false;
|
|
593
593
|
if (fun == aliasTestMayAlias || fun == aliasTestMayAliasMangled)
|
|
594
594
|
{
|
|
595
|
-
if (aliasRes == llvm::MayAlias || aliasRes == llvm::MustAlias)
|
|
595
|
+
if (aliasRes == llvm::AliasResult::MayAlias || aliasRes == llvm::AliasResult::MustAlias)
|
|
596
596
|
checkSuccessful = true;
|
|
597
597
|
}
|
|
598
598
|
else if (fun == aliasTestNoAlias || fun == aliasTestNoAliasMangled)
|
|
599
599
|
{
|
|
600
|
-
if (aliasRes == llvm::NoAlias)
|
|
600
|
+
if (aliasRes == llvm::AliasResult::NoAlias)
|
|
601
601
|
checkSuccessful = true;
|
|
602
602
|
}
|
|
603
603
|
else if (fun == aliasTestMustAlias || fun == aliasTestMustAliasMangled)
|
|
604
604
|
{
|
|
605
605
|
// change to must alias when our analysis support it
|
|
606
|
-
if (aliasRes == llvm::MayAlias || aliasRes == llvm::MustAlias)
|
|
606
|
+
if (aliasRes == llvm::AliasResult::MayAlias || aliasRes == llvm::AliasResult::MustAlias)
|
|
607
607
|
checkSuccessful = true;
|
|
608
608
|
}
|
|
609
609
|
else if (fun == aliasTestPartialAlias || fun == aliasTestPartialAliasMangled)
|
|
610
610
|
{
|
|
611
611
|
// change to partial alias when our analysis support it
|
|
612
|
-
if (aliasRes == llvm::MayAlias)
|
|
612
|
+
if (aliasRes == llvm::AliasResult::MayAlias)
|
|
613
613
|
checkSuccessful = true;
|
|
614
614
|
}
|
|
615
615
|
else
|
|
@@ -650,7 +650,7 @@ void PointerAnalysis::validateExpectedFailureTests(std::string fun)
|
|
|
650
650
|
checkFun->getLLVMFun()->user_end(); i != e; ++i)
|
|
651
651
|
if (CallInst *call = SVFUtil::dyn_cast<CallInst>(*i))
|
|
652
652
|
{
|
|
653
|
-
assert(call->
|
|
653
|
+
assert(call->arg_size() == 2
|
|
654
654
|
&& "arguments should be two pointers!!");
|
|
655
655
|
Value* V1 = call->getArgOperand(0);
|
|
656
656
|
Value* V2 = call->getArgOperand(1);
|
|
@@ -660,13 +660,13 @@ void PointerAnalysis::validateExpectedFailureTests(std::string fun)
|
|
|
660
660
|
if (fun == aliasTestFailMayAlias || fun == aliasTestFailMayAliasMangled)
|
|
661
661
|
{
|
|
662
662
|
// change to must alias when our analysis support it
|
|
663
|
-
if (aliasRes == llvm::NoAlias)
|
|
663
|
+
if (aliasRes == llvm::AliasResult::NoAlias)
|
|
664
664
|
expectedFailure = true;
|
|
665
665
|
}
|
|
666
666
|
else if (fun == aliasTestFailNoAlias || fun == aliasTestFailNoAliasMangled)
|
|
667
667
|
{
|
|
668
668
|
// change to partial alias when our analysis support it
|
|
669
|
-
if (aliasRes == llvm::MayAlias || aliasRes == llvm::PartialAlias || aliasRes == llvm::MustAlias)
|
|
669
|
+
if (aliasRes == llvm::AliasResult::MayAlias || aliasRes == llvm::AliasResult::PartialAlias || aliasRes == llvm::AliasResult::MustAlias)
|
|
670
670
|
expectedFailure = true;
|
|
671
671
|
}
|
|
672
672
|
else
|
|
@@ -113,7 +113,7 @@ void BVDataPTAImpl::writeToFile(const string& filename)
|
|
|
113
113
|
outs() << "Storing pointer analysis results to '" << filename << "'...";
|
|
114
114
|
|
|
115
115
|
error_code err;
|
|
116
|
-
ToolOutputFile F(filename.c_str(), err, llvm::sys::fs::
|
|
116
|
+
ToolOutputFile F(filename.c_str(), err, llvm::sys::fs::OF_None);
|
|
117
117
|
if (err)
|
|
118
118
|
{
|
|
119
119
|
outs() << " error opening file for writing!\n";
|
|
@@ -477,7 +477,7 @@ AliasResult BVDataPTAImpl::alias(const PointsTo& p1, const PointsTo& p2)
|
|
|
477
477
|
expandFIObjs(p2,pts2);
|
|
478
478
|
|
|
479
479
|
if (containBlackHoleNode(pts1) || containBlackHoleNode(pts2) || pts1.intersects(pts2))
|
|
480
|
-
return llvm::MayAlias;
|
|
480
|
+
return llvm::AliasResult::MayAlias;
|
|
481
481
|
else
|
|
482
|
-
return llvm::NoAlias;
|
|
482
|
+
return llvm::AliasResult::NoAlias;
|
|
483
483
|
}
|