-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CIVL: better refinement error messages (#312)
- Loading branch information
Showing
7 changed files
with
67 additions
and
57 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
r2.bpl(10,57): Error BP5001: Failed to execute atomic action before procedure return | ||
r2.bpl(10,57): Error BP5001: On some path no yield-to-yield fragment matched the refined atomic action | ||
Execution trace: | ||
r2.bpl(11,5): anon0 | ||
(0,0): Civl_call_refinement_4 | ||
r2.bpl(21,34): inline$atomic_nop$0$Return | ||
(0,0): Civl_ReturnChecker | ||
r2.bpl(10,57): Error BP5001: Globals must not be modified | ||
r2.bpl(10,57): Error BP5001: A yield-to-yield fragment illegally modifies layer-2 globals | ||
Execution trace: | ||
r2.bpl(11,5): anon0 | ||
(0,0): Civl_call_refinement_3 | ||
r2.bpl(17,7): inline$atomic_incr$0$anon0 | ||
r2.bpl(14,34): inline$atomic_incr$0$Return | ||
(0,0): Civl_RefinementCheckerForYieldingLoops | ||
(0,0): Civl_UnchangedChecker | ||
|
||
Boogie program verifier finished with 1 verified, 2 errors |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
refinement.bpl(6,48): Error BP5001: Transition invariant violated in final state | ||
refinement.bpl(6,48): Error BP5001: A yield-to-yield fragment modifies layer-2 state subsequent to a yield-to-yield fragment that already modified layer-2 state | ||
Execution trace: | ||
refinement.bpl(8,3): anon0 | ||
refinement.bpl(42,5): inline$INCR$0$anon0 | ||
refinement.bpl(52,5): inline$INCR$0$anon0 | ||
refinement.bpl(8,3): anon0_0 | ||
refinement.bpl(42,5): inline$INCR$1$anon0 | ||
refinement.bpl(52,5): inline$INCR$1$anon0 | ||
(0,0): Civl_ReturnChecker | ||
refinement.bpl(14,48): Error BP5001: Transition invariant violated in initial state | ||
refinement.bpl(13,48): Error BP5001: A yield-to-yield fragment modifies layer-2 state in a way that does not match the refined atomic action | ||
Execution trace: | ||
refinement.bpl(16,3): anon0 | ||
refinement.bpl(48,5): inline$DECR$0$anon0 | ||
refinement.bpl(15,3): anon0 | ||
refinement.bpl(58,5): inline$DECR$0$anon0 | ||
(0,0): Civl_RefinementChecker | ||
refinement.bpl(14,48): Error BP5001: Transition invariant violated in final state | ||
refinement.bpl(13,48): Error BP5001: A yield-to-yield fragment modifies layer-2 state subsequent to a yield-to-yield fragment that already modified layer-2 state | ||
Execution trace: | ||
refinement.bpl(16,3): anon0 | ||
refinement.bpl(48,5): inline$DECR$0$anon0 | ||
refinement.bpl(16,3): anon0_0 | ||
refinement.bpl(42,5): inline$INCR$0$anon0 | ||
refinement.bpl(15,3): anon0 | ||
refinement.bpl(58,5): inline$DECR$0$anon0 | ||
refinement.bpl(15,3): anon0_0 | ||
refinement.bpl(52,5): inline$INCR$0$anon0 | ||
(0,0): Civl_ReturnChecker | ||
refinement.bpl(34,48): Error BP5001: Failed to execute atomic action before procedure return | ||
refinement.bpl(33,48): Error BP5001: On some path no yield-to-yield fragment matched the refined atomic action | ||
Execution trace: | ||
refinement.bpl(37,1): anon0 | ||
refinement.bpl(36,1): anon0 | ||
(0,0): Civl_ReturnChecker | ||
refinement.bpl(38,48): Error BP5001: A yield-to-yield fragment illegally modifies layer-2 globals | ||
Execution trace: | ||
refinement.bpl(40,3): anon0 | ||
refinement.bpl(52,5): inline$INCR$0$anon0 | ||
refinement.bpl(40,3): anon0_0 | ||
refinement.bpl(42,3): anon2_LoopHead | ||
refinement.bpl(52,5): inline$INCR$1$anon0 | ||
(0,0): Civl_UnchangedChecker | ||
|
||
Boogie program verifier finished with 3 verified, 4 errors | ||
Boogie program verifier finished with 3 verified, 5 errors |