Refactor of AE before adding Sparse Features#1785
Refactor of AE before adding Sparse Features#1785bjjwwang wants to merge 9 commits intoSVF-tools:masterfrom
Conversation
|
Phase 1: Phase 2: Phases 3 and 4: |
Sure, I'll check it. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1785 +/- ##
==========================================
+ Coverage 64.15% 64.16% +0.01%
==========================================
Files 243 243
Lines 24569 24576 +7
Branches 4627 4630 +3
==========================================
+ Hits 15762 15769 +7
Misses 8807 8807
🚀 New features to boost your workflow:
|
svf/lib/AE/Svfexe/AbsExtAPI.cpp
Outdated
| } | ||
|
|
||
| void AbsExtAPI::handleMemset(AbstractState& as, const SVF::SVFVar *dst, IntervalValue elem, IntervalValue len) | ||
| void AbsExtAPI::handleMemset(AbstractStateImpl& as, const SVF::SVFVar *dst, IntervalValue elem, IntervalValue len) |
There was a problem hiding this comment.
It looks that we can't use AbstractState anymore? Every place has to be replaced with AbstractStateImpl?
If that is the case, we will have to use AbstractStateInterface and keep AbstractState as the implementation.
|
Do we still need this pull request? If not, please close it |
|
Do we still need this pull request? If not, it can be closed. Please update the next stage regarding the baseline for the medium-large benchmarks. |
|
ok I close it. |
Summary of Changes
Phase 1: Created IAbstractState.h interface
for state operations
Phase 2: Modified AbstractState to implement interface
std::unique_ptr
backward-compatible usage
Phase 3: Decoupled AEDetector classes
AbsExtAPI compatibility
Phase 4: Decoupled AbstractInterpretation engine
AbstractInterpretation.cpp
sparse state)
Phase 5: Added use-sparse CLI options (TODO)
(not yet implemented)