generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 142
Introduce native kani / cargo-kani #738
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
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
98a27df
Introduce native rmc / cargo-rmc
tedinski aac1f63
merge origin/main
tedinski 2dfa3d2
rename to cargo-kani (not yet working, must account for #722 yet)
tedinski eb1f190
adapt to new kani-compiler
tedinski 4744016
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski 095e8ce
merge origin/main
tedinski fe77718
add support for various output modifier flags
tedinski 7573df5
add enable/disable flags for cbmc checks
tedinski 023ecfa
implement more flags
tedinski f1654f9
add cbmc arguments
tedinski 7fa5510
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski 1cb4295
add gen-c
tedinski 54ab877
add output-format
tedinski 4e13da7
support use-abs and abs-type
tedinski a7c3e9d
merge origin/main
tedinski 044478d
update debug flag mechanism
tedinski 03afcc6
add vtable restrictions code
tedinski 8cb97de
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski a05a163
Switch to native, delete the python
tedinski a934769
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski 2767f4a
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski 912dfdf
add symbol mangling, stratify arguments
tedinski c2b7ddb
use python3
tedinski 2b672ae
use correct build triple
tedinski 636e4c7
clean up some comments
tedinski c69c2ff
Rename KaniContext -> KaniSession
tedinski e0e0895
merge origin/main
tedinski 0e83e2d
update default format to regular
tedinski 652b0e9
merge origin/main
tedinski cc8afa5
add new assertion-reach-checks
tedinski a64e156
Update src/cargo-kani/Cargo.toml
tedinski 1dd557b
Update src/cargo-kani/src/args.rs
tedinski 940912b
Update src/cargo-kani/src/args.rs
tedinski a566ee8
refactor calls to goto instrument a bit
tedinski f3755f0
cargo-kani should write reports to target/report by default
tedinski d0ea90a
cbmc_formatter renamed display_results
tedinski 85e7579
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski b40aca2
correct old rmc name
tedinski 15f4aa4
fail based on 'formatter' result alone. Accomodates the reachability …
tedinski 79c1e0c
move toml code to its own file, it didn't belong where it was
tedinski 1704c54
merge origin/main
tedinski bd7de7b
pathbuf and error checks
tedinski 5acf2e4
introduce aggregate return type for kani outputs
tedinski 8e3ea09
introduce aggregate return type for cargo-kani outputs
tedinski bd73faf
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski 42491ef
rename descend to get_table
tedinski 931e804
Merge remote-tracking branch 'origin/main' into native-rmc
tedinski b00eb42
allow repeated arguments
tedinski 526a666
Detect verification failure and exit appropriately without an additio…
tedinski cc01c3f
Merge branch 'main' into native-rmc
tedinski 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
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
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 |
|---|---|---|
| @@ -1,5 +1,2 @@ | ||
| [initialize_prefix.unwind.0] line 11 unwinding assertion loop 0: FAILURE | ||
| VERIFICATION FAILED | ||
| [Kani] info: Verification output shows one or more unwinding failures. | ||
| [Kani] tip: Consider increasing the unwinding value or disabling | ||
| `--unwinding-assertions`. | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tip is useful, but I was thinking of moving it to the CBMC output parser here:
kani/scripts/cbmc_json_parser.py
Line 189 in 2b843b2
while updating the results to UNDETERMINED.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome TODO. Yeah, I think that output parsing code is the better approach.