Documentation

Miri.Interpreter.OsStringMachine

Actual raw-memory binding for source OS-string helpers. UTF-16 reads use one aligned integer access per element; writes acquire the full destination once, as source get_ptr_alloc_mut does, preserving source race/borrow events.

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
        def Miri.Interpreter.OsStringMachine.bind {K U D MD B I Os Kind : Type} [DecidableEq K] (h : Hooks K U) (budget : Nat) (memory : MemoryShims.Hooks Memory.Provenance (State K U) D MD B I) (base : OsStrings.Hooks Memory.Provenance (State K U) Os Kind) :

        Retain exact actual host encoding and runtime array-layout/allocator leaves. Missing compiler-created runtime array types are never replaced by byte views.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Miri.Interpreter.OsStringMachine.bindMiri {S Os Kind D MD B I : Type} (strings : OsStrings.Hooks Memory.Provenance S Os Kind) (base : MiriShims.Hooks Memory.Provenance S D MD B I Os) :

          miri_host_to_target_path reads a plain host OsStr, then performs only the HostToTarget conversion on output; reading a target path here would convert twice.

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