Skip to content

Split LLVMBasedICFG#726

Merged
fabianbs96 merged 12 commits intodevelopmentfrom
f-SplitLLVMBasedICFG
Oct 22, 2024
Merged

Split LLVMBasedICFG#726
fabianbs96 merged 12 commits intodevelopmentfrom
f-SplitLLVMBasedICFG

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
@fabianbs96 fabianbs96 merged commit bb86c25 into development Oct 22, 2024
@fabianbs96 fabianbs96 deleted the f-SplitLLVMBasedICFG branch October 22, 2024 17:26
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.

2 participants