Documentation

Miri.Interpreter.RawMemoryMachine

Shared concrete raw-memory operations: rustc memory.rs:1423–1480 and Miri helpers.rs:755–835. Reads include initialization checks and appropriate provenance stripping; all access/touched effects commit before errors.

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
        • One or more equations did not get rendered due to their size.
        Instances For

          Allocation.writeBytes clears overwritten provenance and initializes every byte. A failing overwrite retains its partially mutated allocation.

          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

              Miri helpers.rs:783–801. Insufficient caller capacity returns the needed length without touching the pointer. Successful writes include the terminator.

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

                String scanning uses wrapping offsets, without an inbounds check before its next byte read. The byte read owns the actual access bounds check.

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

                  Explicit ptr_get_alloc_id(...,0), unlike a zero-size dereference this must resolve pointer identity and reject integer/dangling address resolution.

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