thread.rs replace_active_thread_stack and eval.rs ProgramExitHandler, ExitCalled variant, connected to the same actual main/TLS scheduler callbacks.
@[reducible, inline]
Instances For
@[reducible, inline]
Instances For
- token : Nat
- stage : ProgramExitStage
- code : Int32
Instances For
Instances For
- main : MainMachine.Hooks U C O X F A Aff P
- get : U → Registry
- put : U → Registry → U
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
- exitHandler (handler : Handler) : Callback
- mainOrTls (callback : MainMachine.Callback) : Callback
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
- One or more equations did not get rendered due to their size.
- Miri.Interpreter.WindowsExitMachine.restore h (Miri.Interpreter.WindowsExitMachine.Callback.mainOrTls callback) = Miri.Interpreter.MainMachine.restore h.main callback
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)
:
RunLoopHooks (State U) C Callback
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)
:
WindowsPlatformDispatch.Hooks (State U) Os E Kind FD
Equations
- One or more equations did not get rendered due to their size.