Documentation

Miri.Interpreter.WindowsExitMachine

thread.rs replace_active_thread_stack and eval.rs ProgramExitHandler, ExitCalled variant, connected to the same actual main/TLS scheduler callbacks.

structure Miri.Interpreter.WindowsExitMachine.Hooks (U C O X F A Aff P : Type) :
Instances For
    def Miri.Interpreter.WindowsExitMachine.start {U C O X F A Aff P : Type} (h : Hooks U C O X F A Aff P) (code : Int32) :

    Source clears frame owners, leaking allocations without running pops, retags, destructors, or deallocation hooks. Diagnostic origin is captured first.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Miri.Interpreter.WindowsExitMachine.invoke {U C O X F A Aff P : Type} (h : Hooks U C O X F A Aff P) (choice : C) (handler : Handler) :

      Invoked only after take moved the actual owned handler out of the registry.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Instances For
          def Miri.Interpreter.WindowsExitMachine.take {U C O X F A Aff P : Type} (h : Hooks U C O X F A Aff P) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.WindowsExitMachine.restore {U C O X F A Aff P : Type} (h : Hooks U C O X F A Aff P) :
            Equations
            Instances For
              def Miri.Interpreter.WindowsExitMachine.bindLoop {U C O X F A Aff P : Type} (h : Hooks U C O X F A Aff P) (base : RunLoopHooks (State U) C Callback) (scheduler : C → ThreadStacks.LocalSchedulerHooks Memory.MiriMemoryKind U) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Miri.Interpreter.WindowsExitMachine.bindPlatform {U C O X F A Aff P Os E Kind FD : Type} (h : Hooks U C O X F A Aff P) (base : WindowsPlatformDispatch.Hooks (State U) Os E Kind FD) :
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For