Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion formal_lib/specs/kani.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _kani_message(value: str) -> str:
# a hint telling the user which flags expose the counterexample, mirroring
# CBMC's `--trace` hint.
block=missing_hint("Needs --output-format old --cbmc-args --trace")(
r"(?:Trace for (?!\S+\.reachability_check\.)[^\n]+|Counterexample):\n"
r"(?:Trace for (?![^\n]+\.reachability_check\.)[^\n]+|Counterexample):\n"
r".*?(?=Trace for [^\n]+:\n|Counterexample:\n|\*\* \d+ of \d+|\Z)"
),
# Kani lowers every check to an assertion, so CBMC's first-word-of-description
Expand Down
5 changes: 5 additions & 0 deletions tests/regressions/samples/kani/v0.67.0/closure_reach.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"successful": true,
"issues": [],
"duration": 0.0
}
Loading
Loading