Skip to content

Tips for verifying usages of HashMap #3909

Answered by zhassan-aws
fpoli asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fpoli. The failure is due to an insufficient unwind value. This indicates that there's a loop somewhere that requires an unwinding value greater than 3. Verification succeeds if I increase the unwind value to 5:

SUMMARY:
 ** 0 of 2198 failed (60 unreachable)

VERIFICATION:- SUCCESSFUL
Verification Time: 255.76009s

We have a similar test in our regressions:

https://github.com/model-checking/kani/blob/main/tests/perf/hashset/src/lib.rs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fpoli
Comment options

Answer selected by fpoli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants