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.
- build_
type_ πinvariants_ from_ params - For each function parameter (and the return type), look up the typeβs
invariants from
std-type-invariants.jsonand create preconditions. - collect_
properties_ πfrom_ named_ attrs - collect_
type_ πinvariants - Look up the type path in the DB and add instantiated invariants to
results. - get_
contract_ πfrom_ annotation - Parses
requirescontracts from source-level RAPx annotations attached to a definition. - 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 - instantiate_
type_ πinvariant - Create a property from a type invariant entry, substituting the parameter name.
- is_
drop_ πimpl - is_
numeric_ πfield_ access - Check if a string looks like a numeric field access (e.g. β0β).
- is_
rapx_ πnamed_ attr - resolve_
chain_ πcontracts - Follow an unsafe calleeβs call chain to find inherited safety contracts.
- type_
path_ πkey - Generate a normalised type path key for lookups in the type-invariants DB.
Type AliasesΒ§
- FnContracts
- A list of parsed
requirescontracts. - Struct
Invariants - A list of parsed struct invariants.