Commit 6352566
Misc Changes (#773)
* replaced llvm-14 with llvm-15 in relevant files
* some changes
* more efficient call-graph
* String-nbased vtable getter + CG-test with dbg info
* minor in CG
* annotation fix + test fix
* removed bitcasts and fixed tests
* Fix Annotation.cpp + TaintConfigTest
* Quick-fix LLVMTypeHierarchyTest
* fix one IIA test
* Fix StringtestCpp for generalized LCA
* first half of tests fixed
* fixed first half of tests
* fixed all but one test in IDEInstInteractionAnalysisTest
* fixed all but two tests
* Fix IIAFlowFact equality
* Re-add getVFTableGlobal
* fixed some newly failed tests
* trade soundness for precision in LLVMAliasSet
* ci.yml update
* Revert "fixed some newly failed tests"
* pre-commit hook
* Two Tests + xtaint09 test fix for pipeline
* Basic Opaque Pointer Impl, bugged
* switching to DebugInfoFinder
* re-add the quick-fix for LLVMTypeHierarchy
* OpaquePtr type mapping, missing subroutines
* Introducing a pass to save ptr types
* Revert "Introducing a pass to save ptr types"
This reverts commit 2a91b6d.
* moving phasar to DIBasedTypeHierarchy
* full switch to DIBasedTypeHierarchy + Test fixes
* fixed PathTracingTest
* dtaresolver deprecated and test fixes
* Fixed OTFTest
* trimmed trailing whitespace
* minor fixes
* readded TypeToDIType map for RTAResolver
* pre-commit clang-format fix
* pre-commit clang-format llvmbasedicfg.cpp
* moved RTAResolver to DITypes
* implemented review suggestions
* Log error if trying to instantiate DTAResolver + minor
* Add breaking changes
* Also compare gep type in IIA EqualGEPDescriptor
* Expose getDILocation()
* expose getSrcCodeFromIR for DebugLocation + minor
* Remove some unused includes
* Make TaintConfigData compatible with C++20
* Compatibility with opaque pointers
* Allow setting the LLVM version from higher-level projects
* Getting rid of UB in CHAResolver
* Start adding more sophisticated type extraction (WIP)
* Handle function calls in getVarTypeFromIR
* better fallback handling for getDebugLocation, etc
* Better IntraMonoSolver dump
* minor
* improve intra mono dump
* minor
* expose getNonPureVirtualVFTEntry as namespace-scope function + fix build with LLVM 14
* Fix RTA resolver
* Add missing include
* Fix solveIFDSProblem + cherry-pick fix of DIBasedTypeHierarchy::buildTypeGraph
* dump functions from debugger
* Remove unused-variable warning in release mode for CallGraph.h
* minor fix in CHA and RTA resolvers
* Some cleanup
* Add ome additional robustness to LLVMIRToSrc
* Fix AllBottom::compose + make FilteredLLVMAliasSet a bit more robust
* Make getAllExitPoints more flexible + minor
* Handle atexit() in GlobalCtorsDtorsModel (not only __cxa_atexit())
* minor fix in FilteredLLVMAliasSet::isInReachableAllocationSites
* pre-commit
* pre-commit
* Fix name
* Fix new CastInfo for EdgeFunction
* Make LLVMProjectIRDB movable and add static function load() that returns an ErrorOr
* Add function to find the va-list alloca to reduce code duplication
* Remove TODO in ProjectIRDB
* Apply review comments
* minor
---------
Co-authored-by: mxHuber <huber.maximilian.leo@gmail.com>
Co-authored-by: Fabian Schiebel <fabianbs@mail.uni-paderborn.de>
Co-authored-by: Sriteja Kummita <sriteja.ku@gmail.com>1 parent e3908bd commit 6352566
File tree
33 files changed
+554
-362
lines changed- include/phasar
- DataFlow/IfdsIde
- PhasarLLVM
- ControlFlow
- Resolver
- DB
- DataFlow/IfdsIde
- Problems
- Utils
- Utils
- lib
- PhasarLLVM
- ControlFlow
- Resolver
- DB
- DataFlow/IfdsIde/Problems
- IDEGeneralizedLCA
- Pointer
- TypeHierarchy
- Utils
- test/llvm_test_code/virtual_callsites
- unittests/PhasarLLVM/ControlFlow
33 files changed
+554
-362
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
831 | | - | |
| 830 | + | |
832 | 831 | | |
833 | 832 | | |
834 | 833 | | |
| |||
876 | 875 | | |
877 | 876 | | |
878 | 877 | | |
879 | | - | |
| 878 | + | |
880 | 879 | | |
881 | 880 | | |
882 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
43 | 98 | | |
44 | 99 | | |
45 | 100 | | |
46 | 101 | | |
47 | 102 | | |
48 | | - | |
49 | | - | |
| 103 | + | |
50 | 104 | | |
51 | 105 | | |
52 | 106 | | |
| |||
61 | 115 | | |
62 | 116 | | |
63 | 117 | | |
64 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
65 | 137 | | |
66 | 138 | | |
67 | 139 | | |
| |||
85 | 157 | | |
86 | 158 | | |
87 | 159 | | |
88 | | - | |
89 | | - | |
| 160 | + | |
90 | 161 | | |
91 | 162 | | |
92 | 163 | | |
| |||
149 | 220 | | |
150 | 221 | | |
151 | 222 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | 223 | | |
244 | 224 | | |
245 | 225 | | |
| |||
461 | 441 | | |
462 | 442 | | |
463 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
464 | 485 | | |
465 | 486 | | |
466 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments