You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Challenge 20: remove two tool workarounds once Kani and CBMC are fixed #748
#740 (Challenge 20) carries two workarounds that can go once the tools are fixed.
The next_match stub in ffi::c_str::verify::check_from_ptr_contract (library/core/src/ffi/c_str.rs, with its any_match model). The harness reaches CharSearcher::next_match only through panic formatting, where it never runs. The loop contract of next_match makes Kani apply loop contracts to the whole harness, and CBMC 6.11 then rejects the contract-less loop of its built-in strlen ("Check that len is assignable"). Fixed by DFCC: scope skipped inner-loop locals to their enclosing scope diffblue/cbmc#9164 (merged 2026-09-16, in no release yet). Remove the stub once Kani ships a CBMC that includes it.
Activity