Documentation

Miri.Interpreter.MemoryShimMachine

Concrete portable C memory/string shim dictionary. All raw reads/writes, initialization/provenance checks, race/weak/TB/sync hooks and alignment use the canonical interpreter machine. Only actual compiler type layouts and foreign ABI/dispatch policies remain inputs.

Instances For
    def Miri.Interpreter.MemoryShimMachine.writeI32 {K U C E : Type} (h : Hooks K U C E) (choice : C) (value : Int32) (dest : RuntimePlace Memory.Provenance) :
    M K U Unit
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Miri.Interpreter.MemoryShimMachine.writeUsize {K U C E : Type} (h : Hooks K U C E) (choice : C) (value : UInt64) (dest : RuntimePlace Memory.Provenance) :
      M K U Unit
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Source read_c_str in MemoryShims scans with readByte and then performs a second readBytes. Both passes reach real allocation accesses through this binding; no cached string length suppresses the second read or its hooks.

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

          Production construction from source primitives. No whole foreign baseline or fallback interpreter is requested or captured.

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