Documentation

Miri.Interpreter.RunLoop

Miri scheduler.rs run_on_stack_empty, step_current_thread and one run_threads iteration. Empty MIR stack is not program termination: callbacks, TLS destructors and termination hooks still run. Environment effects and thread storage are required operations, not assumed successes.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        structure Miri.Interpreter.RunLoopHooks (S C Callback : Type) :
        Instances For
          def Miri.Interpreter.RunLoop.runOnStackEmpty {S C Callback : Type} (hooks : RunLoopHooks S C Callback) (choice : C) (state : S) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.RunLoop.stepCurrentThread {S C Callback : Type} (hooks : RunLoopHooks S C Callback) (choice : C) (state : S) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.RunLoop.iteration {S C Callback : Type} (hooks : RunLoopHooks S C Callback) (choice : C) (state : S) :

              One outer-loop iteration; success means another iteration is required. A fuel-bound runner must report fuel exhaustion as unknown, never as a return.

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