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
Kani compiler should give a warning when user code includes code that we cannot handle #922
Requested feature: Kani should be upfront with the user about any construct that it cannot reason about. Users should be aware that the verification may fail because we cannot compile certain constructs.
Use case: User code include things like inline assembly.
Link to relevant documentation (Rust reference, Nomicon, RFC):
Is this a breaking change?
When compiling this crate, I would expect to see a warning saying that we cannot codegen std::arch::asm!("NOP");. Additionally, we should keep the behavior where the verification fails if the construct is reachable (harness_fail) and succeed if it's not reachable (harness_succeed).
Activity
zhassan-aws commentedon Mar 18, 2022
No warnings/errors are emitted in codegen for: