Documentation

Miri.Interpreter.NativeMachine

Concrete native memory adapter. Source: native_lib/mod.rs:181–360,550–600 and rustc interpret/memory.rs:1104–1134. FFI execution, actual stable native backing pointers, physical exposure and process-global state remain explicit host effects, not fabricated native execution results.

Raw access has no Rust read/write hooks. Global conversion effects and failed mutable materialization are committed before returning its error.

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

    The host publication callback preserves already observed bytes even when its subsequent FFI operation fails. No mask/provenance transition runs here.

    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
        Instances For

          LIFO traversal snapshots children before callback mutation, matching visit_reachable_allocs. Fuel exhaustion is a resource error, not completion.

          Equations
          Instances For
            def Miri.Interpreter.NativeMachine.argument {K U C Code : Type} [DecidableEq K] (host : Host K U C Code) (access : ValidityMachine.Access K U) (pointers : PointerMachine.Hooks K (ValidityMachine.Control U)) (engine : Native.Hooks Memory.Provenance (State K U) C (RuntimePlace Memory.Provenance) Code) (choice : C) (fuel : Nat) (tracing : Bool) (value : OpTy Memory.Provenance) :

            Keep one source allocation snapshot across provenance exposure and raw argument inspection. The generic legacy Hook interface is not used to repeat these raw global queries. Immediate conversion reuses the source serializer.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.NativeMachine.call {K U C Code F A Pad : Type} [DecidableEq K] (host : Host K U C Code) (access : ValidityMachine.Access K U) (pointers : PointerMachine.Hooks K (ValidityMachine.Control U)) (validity : ValidityVisitor.Hooks Memory.Provenance (State K U) C MachineHooks.FrameExtra F A Pad) (validationBudget reachabilityBudget : Nat) (choice : C) (fuel : Nat) (name : String) (dest : RuntimePlace Memory.Provenance) (args : Array (OpTy Memory.Provenance)) :
              M K U Bool

              Connected native driver, including the source's single-snapshot argument and trace paths and single mutable return query. Native.Hooks remains useful for type conversion; no baseline NativeHooks is a production input.

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