Documentation

Miri.Memory.CtfeProvenance

CTFE's packed provenance from pinned rustc mir/interpret/pointer.rs. The representation is decoded into the same allocation ID and two flags; the constructor enforces the source's 62-bit ID and immutable⇒shared invariant. packed reconstructs the original u64, including both high bits. This is separate from Miri's concrete/wildcard provenance, not a substitute for it.

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

                    The exact two high-bit masks from the source representation.

                    Equations
                    Instances For

                      Decoding the allocation bits recovers exactly the stored identity. This uses kernel-checked bitwise lemmas; no native-decide certificate axiom.