StructsΒ§
- Function
Target - Collected verification data for a single function under analysis.
- Prepare
Targets - Analysis pass that finds all verification targets.
- Struct
Target - Collected verification data for a struct that owns methods marked with
#[rapx::verify]. - Trait
Ensurance - Collected verification data for an
impl unsafe Trait for Typeblock. - Verify
Target Collector - Visitor that collects targets annotated with
#[rapx::verify].
FunctionsΒ§
- build_
raw_ πptr_ deref_ checks - Build (pseudo-checkpoint, properties) pairs for every raw pointer dereference in the target function.
- build_
static_ πmut_ checks - Build (pseudo-checkpoint, properties) pairs for every static mut access in the target function.
- collect_
properties_ πfrom_ ensures_ attrs - Collects properties from
#[rapx::ensures(...)]attributes. - collect_
properties_ πfrom_ invariant_ attrs - Collects properties from
#[rapx::invariant(...)]attributes. - collect_
properties_ πfrom_ named_ attrs - collect_
properties_ πfrom_ requires_ attrs - Collects properties from
#[rapx::requires(...)]attributes. - get_
contract_ πfrom_ annotation - Parses
requirescontracts from source-level RAPx annotations attached to a definition. - get_
contract_ πfrom_ entry - Builds contracts from backup JSON entries.
- get_
struct_ πinvariants_ from_ annotation - Parses struct invariants from source-level RAPx annotations attached to a struct definition.
- get_
trait_ πcontracts_ from_ annotation - Parses trait safety contracts from
#[rapx::ensures(...)]on unsafe trait methods, grouped by method name. - get_
trait_ πmethod_ requires - is_
contract_ πtoken_ char - is_
rapx_ πnamed_ attr - normalize_
json_ πcontract_ arg - Convert explicit JSON contract tokens into the expression syntax accepted by the existing property parser.
- resolve_
chain_ πcontracts - Follow an unsafe calleeβs call chain to find inherited safety contracts.
- scan_
while π
Type AliasesΒ§
- FnContracts
- A list of parsed
requirescontracts. - Struct
Invariants - A list of parsed struct invariants.