Documentation

Miri.Memory.Identity

Allocation and borrow identities from the pinned rustc/Miri sources. AllocId is a nonzero u64 (mir/interpret/mod.rs); BorTag is a distinct nonzero u64 (borrow_tracker/mod.rs). No address or validity is inferred from either identity. Allocation liveness belongs to the allocation state.

Instances For
    def Miri.Memory.instDecidableEqAllocId.decEq (x✝ x✝¹ : AllocId) :
    Decidable (x✝ = x✝¹)
    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
          theorem Miri.Memory.AllocId.constructed_value {value : UInt64} {id : AllocId} (h : ofUInt64 value = some id) :
          id.value = value
          Instances For
            def Miri.Memory.instDecidableEqBorTag.decEq (x✝ x✝¹ : BorTag) :
            Decidable (x✝ = x✝¹)
            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

                  Source NonZero<u64>::checked_add(1) preserves overflow as None.

                  Equations
                  Instances For
                    theorem Miri.Memory.BorTag.max_has_no_successor {tag : BorTag} (h : tag.value = 18446744073709551615) :
                    tag.succ = none

                    Pinned Miri machine::Provenance. Wildcard is distinct from no provenance.

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

                        The semantic members of rustc's interpret::Provenance trait. The formatting callback is diagnostic-only. Implementations are fixed by the library for each concrete engine provenance type.

                        Instances
                          @[instance_reducible]
                          Equations

                          The extra information from Miri's machine::ProvenanceExtra.

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