Structs§
- Unsafe
Root - A function that contains unsafe operations — an “unsafe root”.
Enums§
- Unsafe
OpKind - Kind of unsafe operation found in a function body.
Functions§
- function_
has_ struct_ invariant - Quick check: does this function’s owning struct have invariants?
- function_
has_ trait_ ensurance - Quick check: does this function’s containing impl implement an
unsafe trait? - has_
struct_ invariant - Check if a struct has
#[rapx::invariant(...)]annotations. - hir_
contains_ unsafe - Fast HIR-level pre-check: does this function contain
unsafeblocks or is it declaredunsafe fn? - scan_
mir - Full MIR-level detection: scan the function body for all unsafe operations.