Skip to content
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

Split LLVMBasedICFG #726

Open
wants to merge 9 commits into
base: development
Choose a base branch
from
Open

Split LLVMBasedICFG #726

wants to merge 9 commits into from

Conversation

fabianbs96
Copy link
Member

The LLVMBasedICFG has too many tasks and is therefore hard to maintain and violates the single responsibility principle.

This PR splits the LLVMBasedICFG into three parts: Callgraph-construction (LLVMBasedCallGraphBuilder), global ctors/dtors handling (GlobalCtorsDtorsModel), and representing the LLVM-based ICFG (LLVMBasedICFG). The current API functions from LLVMBasedICFG are still there for compatibility and convenience.

In addition, the callgraph-construction is enhanced to make use of the Soundness flag that is already passed in, but not used.
Also, callgraph-resolvers that do not modify the alias information, can now communicate this information to the callgraph builder in order to reach a faster path in the fixpoint algorithm.

@fabianbs96 fabianbs96 added enhancement New feature or request refactoring technical debt performance This ticket improves the performance of an existing feature instead of adding a new one labels May 26, 2024
@fabianbs96 fabianbs96 self-assigned this May 26, 2024
…r library dependencies between phasar_llvm_db and phasar_llvm_utils
@fabianbs96 fabianbs96 marked this pull request as ready for review May 26, 2024 15:32
@fabianbs96 fabianbs96 requested a review from MMory as a code owner May 26, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance This ticket improves the performance of an existing feature instead of adding a new one refactoring technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant