-
Notifications
You must be signed in to change notification settings - Fork 11
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
DEP: Wp interpolant, fix function calls #361
Open
rasoolmaghareh
wants to merge
5
commits into
master
Choose a base branch
from
wp-interpolant
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
Add wp-interpolant command line argument, adding wpInterpolant field, getWPInterpolant, printWP methods and getWPInterpolantTime statistic, Storing the list of visited instructions of a node in reverseInstructionList, Marking instructions contributing to an infeasible path, Adding wp class, GenerateWP function and the implication test: Context |= WP interpolant Differentiating on instructions marked from false branch(mark with 2) and true branch (marked with 1). This is important for negating of the instructions marked at false branch. Separating the WP subsumption check from deletion subsumption check Adding support for FMul,FDiv,FPToSI,SIToFP, FAdd and FSub and getting load** Updating TxTree::markInstruction: Marking all the br instruction that have one branch as infeasible. Other infeasible paths (like the infeasible paths in the internal KLEE function klee_make_symbolic are not tracked by weakest precondition approach. Adding the code for instantiating branchCondition. Updating TxTreeNode::generateWPInterpolant Calling updateSubsumptionTableEntrySinglePartition to update subsumptionTable entry with respect to the WP expression, add WPInterpolant check in assert violation handler, Handling loading of an array using getelementptr (the pointer arithmetic is not done yet). Adding support for multi-dimensional arrays in WP, implemement updateSubsumptionTableEntry function Adding TxWPHelper::simplifyWPExpr and Simplify WP expression Simplify expression on flag = 1/2 & fix checking variable with WPVar Using Z3 simplication, Need to check for negative number conversion
… add wp simplication for Rem operator Adding support for Upd & Sel expression for array theory.
Updaing Expr simplification to handle sel and upd array expressions Adding subsumption on sel expression and Fixing crashes
…ating point formula. We use deletion. Adding condition to fail subsumption if a variable is undefined. This can change in future. Fix bug for erasing rows in concretelyAddressedStore.
…" expr in Z3 to Klee, Add simplify step after merging from 2 child WPs, Implementation of Phi Node for WP interpolant, Adding support for llvm::ConstantPointerNull in WP interpolant
6bd90ae
to
732d8d4
Compare
b1170cc
to
aca24bb
Compare
I am checking this branch on this example, and the subsumptions are not happening. @xuanlinhha can you please check why here the WP interpolant is empty?
|
d336c6c
to
4080419
Compare
8a3bcc6
to
8f0f27f
Compare
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.
No description provided.