Documentation

Miri.Interpreter.StdOnlyShims

Pinned unix/windows foreign_items.rs std-only dispatch arms. These are source stubs, enabled by the actual frame predicate, never general FFI defaults.

structure Miri.Interpreter.StdOnlyShims.Hooks (P S D MD B I : Type) :
Instances For
    def Miri.Interpreter.StdOnlyShims.unix {P S D MD B I : Type} (h : Hooks P S D MD B I) (name : String) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Windows uses no Unix path, layout or passwd operations. Keep its source construction independent of those capabilities.

      Instances For
        def Miri.Interpreter.StdOnlyShims.windowsCore {P S D MD B I : Type} (h : WindowsHooks P S D MD B I) (name : String) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Miri.Interpreter.StdOnlyShims.windows {P S D MD B I : Type} (h : Hooks P S D MD B I) (name : String) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.StdOnlyShims.bind {P S D MD B I : Type} (h : Hooks P S D MD B I) (base : ForeignItems.Hooks P S D MD (Memory.Pointer (Option P)) B I) :

            Recognized but unavailable std arms fall through to the existing platform handler, matching source guards rather than claiming a successful stub.

            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