rapx 0.7.35

A static analysis platform for Rust program analysis and verification
1
2
3
4
5
6
7
8
9
10
11
12
// ============================================================
// RAPx user extension contracts (compound macros)
//
// Define your own compound contracts here as `Name(params) { body }` blocks
// (boolean combinations of the 21 primitives). They take effect after
// recompiling rapx. This complements the in-crate `pred!` path: here is where
// a rapx deployment pre-seeds extensions.
//
// Same syntax as std-contracts.rs:
//
// MyTag(p: Ptr, T: Ty, n: Expr) { NonNull(p) && Align(p, T) && Allocated(p, T, n) }
// ============================================================