Commit 7f0f756
DI-based LLVM Type Hierarchy (#702)
* small backup safe
* backup save, still needs metadata extraction
* refactoring + some basic functions implemented
* basic structure of constructHierarchy()
* DIBasedTypeHierarchy structure
* basic impl of constructor and hasVFTable
* impl edges of graph, isSubType, getSubType and print
* untested version of transitive closure
* added transitive closure and changed print
* fixed transitive closure + refactoring
* bug fixes + tests
* debugging Debug info extraction
* Fixed type extraction, untested transitive hull
* fixed includes + more debug info
* bug fixes and non recursive transitive hull
* working direct edge detection
* BitVector, cleanup, start of vtable impl
* vtables and dotgraph
* review changes + vtable fix, 50% finished
* impl review suggestions
* removed old type_hierarchy unittests
* impl .set_bits() loop
* fixed vtables
* fixes and code cleanup
* added llvm::interleaveComma
* fixed wrong assertion
* public LLVMVFTable constructor
* small refactor
* important bugfixes
* unittests for multiple base classes
* unittests not finished, backup
* more unittests, all pass
* reworked unittests
* review changes
* review changes
* myphasartools.cpp revert
* current final version
* Bump submodules
* backup of fixes + unittests
* more unittests
* new unittest
* Pin swift version
* basicRecoTH backup
* backup of structure
* Analysis Printer (#17)
* Initial Commit
* AnalysisPrinter Second commit
* Initial Commit
* Integrate Printer with client Analysis and test
* Addressing Review comments
* Integrate AnalysisPrinter with all analyses and template class modified
* vector emplace_back instead of push_back
* Testcase for AnalysisPrinter
* GroundTruth derived class initial commit
* AnalysisPrinter Test complete and Test
* fixing myphasartool file
* Test pre-commit fix
* Adding Test cases and fixing PR failure
* 1.template params to N,D,L 2.remove AnalysisType param from AnalysisResults 3.rearranging class variables
* 1.template params to N,D,L 2.remove AnalysisType param from AnalysisResults 3.rearranging class variables
* Null AnalysisPrinter singleton
* Adding AnalysisPrinter to IDETabulation Problem
* making free (N,D,L)ToString functions
* disable copy and move for analysis-printer
* Default NullAnalysisPrinter and explicit print methods
* removing SetAnalysisPrinter from client analyses and modified Testcase for AnalysisPrinter
* Adding superclass for AnalysisPrinter
* Addressing review comments and fixing PR build failure
* fix: minors
* fix: minor (clang-tidy)
* fix: review feedback
* misc: minor refactoring
---------
Co-authored-by: SanthoshMohan <santhoshmohan0897@gmail.com>
Co-authored-by: Sriteja Kummita <sriteja.ku@gmail.com>
* new unittests, some fail
* unittests fixed, all pass
* Add LLVM-RTTI-style type-hierarchy layout
* fix: review feedback
* Fix logging macro invocation
* Split giant DIBasedTypeHierarchy ctor into multiple functions
---------
Co-authored-by: mxHuber <huber.maximilian.leo@gmail.com>
Co-authored-by: SanthoshMohan <santhoshmohan0897@gmail.com>
Co-authored-by: Sriteja Kummita <sriteja.ku@gmail.com>
Co-authored-by: Martin Mory <mmo@mail.upb.de>1 parent a56fc58 commit 7f0f756
14 files changed
Lines changed: 2820 additions & 5 deletions
File tree
- include/phasar/PhasarLLVM/TypeHierarchy
- lib/PhasarLLVM/TypeHierarchy
- test/llvm_test_code
- type_hierarchies
- uninitialized_variables
- unittests/PhasarLLVM/TypeHierarchy
Lines changed: 125 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 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 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments