Documentation

Miri.TreeBorrows.FreezeVisitor

Pinned Miri helpers.rs visit_freeze_sensitive / UnsafeCellVisitor, using rustc interpret/visitor.rs walk_value order. This visitor never reads a local discriminant or follows a pointer into its pointee. Compiler predicates, layout projection, dyn-vtable resolution and DST sizes are required leaves.

The Boolean queries correspond to exact source type-kind tests; missing metadata must fail. projectBox implements project_to_ptr_in_box and returns its raw pointer field and allocator field, retaining layout/provenance.

Instances For
    def Miri.TreeBorrows.FreezeVisitor.visitFreezeSensitive {P S : Type} (h : Hooks P S) (budget : Nat) (place : Interpreter.MPlaceTy P) (size : ABI.Size) (action : Memory.AllocRange → Bool → M S Unit) :

    Source helper including its debug size assertion and final zero-sized UnsafeCell at the wrapping end pointer, which flushes trailing frozen bytes.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For