-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge analysis-devel: Unified CFG and Static Analysis #61
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…temporary structure to avoid compilation errors. Cfg implementation starting as of this commit.
…e to allow for conditional edges, i.e. in the case of GoTos.
…instead. For a lower space complexity we would have to sacrifice computation time for filtering / unioning sets instead. Additonally, functionality for cloning subgraphs of the cfg is implemented.
… need to modify the analyses to support the new cfg. Next commit will incorporate those changes, and then the cfg generation will be tested.
…en intra/inter cfgs) so that the project will now compile and run (when -analyse is not passed, i.e., no cfg generation occurs). Next is testing the cfg.
…onality, and inlining.
…ges were also not being stored correctly due to a mismatch in attempting to check a type. This has been fixed now.
… to distinguish between intra/inter, for example, changing edge types for depths > 1 to reflect the context as being inlined. Similarly changing the function call structure to introduce a NOP pivot point before a function call that the interprocedural cfg can follow.
…ication of these so that it's not just a neg(expr)
… calls. Documentation updated.
# Conflicts: # src/main/scala/analysis/Analysis.scala # src/main/scala/analysis/Cfg.scala # src/main/scala/analysis/VSA.scala # src/main/scala/analysis/solvers/FixPointSolver.scala # src/main/scala/analysis/util/SSA.scala # src/main/scala/util/RunUtils.scala
# Conflicts: # src/main/scala/util/RunUtils.scala
… the current node
This isn't everything but it's most of it. I want to try to clean up some of the messiness around the types. |
…ile (should be deprecated?)
Handled #95, will merge this soon. Still some outstanding problems but I'll make tickets for them |
The non-termination issue with jumptable/jumptable_clang appears to have been resolved, but it still fails to resolve the indirect call. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This contains Yousif's masters thesis work and the unified intraprocedural and interprocedural CFG.
We will work on rebasing this branch on main before merging