-
Notifications
You must be signed in to change notification settings - Fork 85
Violation witness feasibility analysis using Witch
#1882
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
Draft
karoliineh
wants to merge
78
commits into
master
Choose a base branch
from
violation_witnesses
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.
Draft
Changes from 53 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
552d6bb
Reintroduce some ARG related code that was removed in 70e1be6
karoliineh f8f8915
Consider InlinedEdges correctly in BFS for violation path construction
karoliineh a16c8de
Add functionality to write violation yaml witnesses (with empty content)
karoliineh 1756f67
Create assumption "1" waypoints and a target waypoint from violation …
karoliineh 0396735
Differentiate function_enter, function_return and branching waypoints…
karoliineh 87f5b8e
Use an efficient recursive function instead of map
karoliineh ae4679f
Find the right locations using WitnessInvariant.location_location
karoliineh 1516a74
Disable function entry/return waypoints for now due to missing correc…
karoliineh a3fd139
Change violation path finding direction from bottom-up to top-down
karoliineh a0ff4fa
Add "mapping_start failed" to Yaml.to_string error handling
karoliineh d9cb04b
Temporarily disable conf immutability to bypass restriction on adding…
karoliineh 745a4e8
Make `spec_module` a `ResettableLazy` to enable resetting hashcons li…
karoliineh 0c1cea3
Add functionality to use witch for result refinement
karoliineh f73b8fa
Take into account that the verdicts can have suffixes (e.g. false(unr…
karoliineh c9eb38e
Bugfix: correctly account for InlinedEdges
karoliineh f40198a
Do not create waypoints of return edges (due to void fun-s not having…
karoliineh 29efcde
Do uncilling only for witness waypoints (to keep the cilled path as a…
karoliineh a35192d
Add `--guide-only` flag for witch
karoliineh 08a42eb
Trim path prefix up to the corresponding waypoint preceding the first…
karoliineh 0d90cf9
Do not cut paths that contain the unreachable node within a loop
karoliineh da5b594
Log all of Witch'es output
karoliineh 6cc99b7
Remove forgotten logging for debugging
karoliineh b47805c
Do not trim path when it includes setjump calls
karoliineh 84bf053
Replace all `==` with `=`
karoliineh f6f8817
Bugfix: consider also Ret edges when removing function calls from cal…
karoliineh 5ec6ae7
Bugfix: check that none of the function calls from the callstack are …
karoliineh 798d41f
Move `collect_callstack` from `bfs` to `get_unreachable_path`
karoliineh b5600cf
Refactor: move `has_setjump_calls` check earlier
karoliineh 4f1ec2a
Bugfix: include the step preceding the unreachable node (as identifie…
karoliineh 4e6e78e
Bugfix: check loop containment for unreachable node itself, not just …
karoliineh 842ef8d
Add branching waypoints at loop heads by considering loop locations f…
karoliineh 7ca25fa
Count the number of times Witch runs
karoliineh 3f3cbdc
Print number of Witch runs only once when SV-COMP result is printed
karoliineh c112d2d
Add branching "false" waypoints when the path skips the loop entirely
karoliineh 99433a3
Do not add waypoints inside loops
karoliineh 1e05007
Make the `uncil` option work again
karoliineh 05feff9
Only print the nr of witch runs if Witch path is set
karoliineh 8abcc15
Add tests where ARG uncilling crashes due to path sensitivity
sim642 063faa6
Hack ARG uncilling to remember and follow paths to avoid move_opt
sim642 67e4cef
Fix ARG uncilling hack duplicating edges
sim642 8883b72
Merge remote-tracking branch 'origin/arg-uncil-ambiguous' into violat…
karoliineh 6333f93
Consider all possible paths in `next_opt`
karoliineh 0604c03
Update configuration to the one used for server runs
karoliineh 55acbb0
Merge branch 'master' into violation_witnesses
karoliineh 98ecdf3
Merge branch 'master' into violation_witnesses
karoliineh 9677dd4
Adapt Witch command to new witness-producing Witch
karoliineh 86d696f
Use the cilled path prefix of the corresponding uncilling to determin…
karoliineh f037fa2
Refactor
karoliineh 6ce9257
Remove branching waypoints with invalid locations using Witch
karoliineh cc6af51
Do not run Witch twice if result is already found during the location…
karoliineh afe27f5
Refactor
karoliineh 78eaa50
Optimize
karoliineh 275d60b
Fix indentation in `violation.ml`
karoliineh 852f546
Address semgrep warnings
karoliineh 19eb0bd
Rename violation.t -> violation-validation.t
karoliineh bb3d696
Add a cram test for violation witness generation
karoliineh 01fd90c
Fix ambiguous ARG uncilling crash by remembering and following CFG paths
sim642 566813f
Comment ARG uncilling by following CFG paths
sim642 0cac26d
Merge branch 'master' into arg-uncil-ambiguous
sim642 b68f4e5
Remove now-unused ARG Node move_opt
sim642 60078ab
Remove unused ARG Node equal_node_context
sim642 ca40482
Change path printing log level to debug
karoliineh c2bbd89
Remove unused to_n argument in MyArg.Intra.follow
sim642 fdf1779
Add assert about to_n to MyARG.Intra.next
sim642 32c0acd
Remove ARG equivalent CFG chain detection
sim642 f85449f
Extract type MyARG.cfg_path
sim642 0f8b387
Disable violation cram tests on OSX
karoliineh 4640382
Disable violation cram tests on OSX
karoliineh 29d05cf
Add tests where MyARG.partition_if_next choosing arbitrary single pat…
sim642 1180f83
Return all possible paths MyARG.partition_if_next
karoliineh b8b6041
Simplify MyARG.partition_if_next by keeping triples paths with same e…
sim642 6d6c124
Revert to old partition_if_next but with path lists
sim642 0db8fea
Replace violation cram test
karoliineh bef86e2
Refactor old partition_if_next to check for more errors
sim642 eae4fb2
Remove Karoliine's partition_if_next
sim642 c630eae
Use List.concat_map in MyARG.cartesian_concat_paths
sim642 708edac
Fix MyARG.UnCilTernaryIntra returning duplicate edge and node
sim642 cc3768d
Merge branch 'arg-uncil-ambiguous' into violation_witnesses
sim642 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,4 +111,4 @@ | |
| "pre": { | ||
| "enabled": false | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.