|
1 | 1 | Kani generated automatic harnesses for 7 function(s):
|
2 |
| -+---------------------------------------------+ |
3 |
| -| Selected Function | |
4 |
| -+=============================================+ |
5 |
| -| should_fail::max | |
6 |
| -|---------------------------------------------| |
7 |
| -| should_pass::alignment::Alignment | |
8 |
| -|---------------------------------------------| |
9 |
| -| should_pass::alignment::Alignment::as_usize | |
10 |
| -|---------------------------------------------| |
11 |
| -| should_pass::div | |
12 |
| -|---------------------------------------------| |
13 |
| -| should_pass::has_loop_contract | |
14 |
| -|---------------------------------------------| |
15 |
| -| should_pass::has_recursion_gcd | |
16 |
| -|---------------------------------------------| |
17 |
| -| should_pass::unchecked_mul | |
18 |
| -+---------------------------------------------+ |
| 2 | ++-----------------------------+---------------------------------------------+ |
| 3 | +| Crate | Selected Function | |
| 4 | ++===========================================================================+ |
| 5 | +| cargo_autoharness_contracts | should_fail::max | |
| 6 | +|-----------------------------+---------------------------------------------| |
| 7 | +| cargo_autoharness_contracts | should_pass::alignment::Alignment | |
| 8 | +|-----------------------------+---------------------------------------------| |
| 9 | +| cargo_autoharness_contracts | should_pass::alignment::Alignment::as_usize | |
| 10 | +|-----------------------------+---------------------------------------------| |
| 11 | +| cargo_autoharness_contracts | should_pass::div | |
| 12 | +|-----------------------------+---------------------------------------------| |
| 13 | +| cargo_autoharness_contracts | should_pass::has_loop_contract | |
| 14 | +|-----------------------------+---------------------------------------------| |
| 15 | +| cargo_autoharness_contracts | should_pass::has_recursion_gcd | |
| 16 | +|-----------------------------+---------------------------------------------| |
| 17 | +| cargo_autoharness_contracts | should_pass::unchecked_mul | |
| 18 | ++-----------------------------+---------------------------------------------+ |
19 | 19 |
|
20 | 20 | Skipped Functions: None. Kani generated automatic harnesses for all functions in the available crate(s).
|
21 |
| - |
22 | 21 | Autoharness: Checking function should_fail::max's contract against all possible inputs...
|
23 | 22 | assertion\
|
24 | 23 | - Status: FAILURE\
|
@@ -55,23 +54,23 @@ Manual Harness Summary:
|
55 | 54 | No proof harnesses (functions with #[kani::proof]) were found to verify.
|
56 | 55 |
|
57 | 56 | Autoharness Summary:
|
58 |
| -+---------------------------------------------+-----------------------------+---------------------+ |
59 |
| -| Selected Function | Kind of Automatic Harness | Verification Result | |
60 |
| -+=================================================================================================+ |
61 |
| -| should_pass::alignment::Alignment | #[kani::proof] | Success | |
62 |
| -|---------------------------------------------+-----------------------------+---------------------| |
63 |
| -| should_pass::alignment::Alignment::as_usize | #[kani::proof_for_contract] | Success | |
64 |
| -|---------------------------------------------+-----------------------------+---------------------| |
65 |
| -| should_pass::div | #[kani::proof_for_contract] | Success | |
66 |
| -|---------------------------------------------+-----------------------------+---------------------| |
67 |
| -| should_pass::has_loop_contract | #[kani::proof] | Success | |
68 |
| -|---------------------------------------------+-----------------------------+---------------------| |
69 |
| -| should_pass::has_recursion_gcd | #[kani::proof_for_contract] | Success | |
70 |
| -|---------------------------------------------+-----------------------------+---------------------| |
71 |
| -| should_pass::unchecked_mul | #[kani::proof_for_contract] | Success | |
72 |
| -|---------------------------------------------+-----------------------------+---------------------| |
73 |
| -| should_fail::max | #[kani::proof_for_contract] | Failure | |
74 |
| -+---------------------------------------------+-----------------------------+---------------------+ |
| 57 | ++-----------------------------+---------------------------------------------+-----------------------------+---------------------+ |
| 58 | +| Crate | Selected Function | Kind of Automatic Harness | Verification Result | |
| 59 | ++===============================================================================================================================+ |
| 60 | +| cargo_autoharness_contracts | should_pass::alignment::Alignment | #[kani::proof] | Success | |
| 61 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 62 | +| cargo_autoharness_contracts | should_pass::alignment::Alignment::as_usize | #[kani::proof_for_contract] | Success | |
| 63 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 64 | +| cargo_autoharness_contracts | should_pass::div | #[kani::proof_for_contract] | Success | |
| 65 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 66 | +| cargo_autoharness_contracts | should_pass::has_loop_contract | #[kani::proof] | Success | |
| 67 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 68 | +| cargo_autoharness_contracts | should_pass::has_recursion_gcd | #[kani::proof_for_contract] | Success | |
| 69 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 70 | +| cargo_autoharness_contracts | should_pass::unchecked_mul | #[kani::proof_for_contract] | Success | |
| 71 | +|-----------------------------+---------------------------------------------+-----------------------------+---------------------| |
| 72 | +| cargo_autoharness_contracts | should_fail::max | #[kani::proof_for_contract] | Failure | |
| 73 | ++-----------------------------+---------------------------------------------+-----------------------------+---------------------+ |
75 | 74 | Note that `kani autoharness` sets default --harness-timeout of 60s and --default-unwind of 20.
|
76 | 75 | If verification failed because of timing out or too low of an unwinding bound, try passing larger values for these arguments (or, if possible, writing a loop contract).
|
77 | 76 | Complete - 6 successfully verified functions, 1 failures, 7 total.
|
0 commit comments