Documentation

Miri.Interpreter.Native.Trace

Rust supervisor protocol and Capstone result interpretation. External decode, ptrace, IPC, host signal, and page-protection effects are explicit operations; there is no assumption that an arbitrary native execution is safe.

Instances For
    Equations
    Instances For
      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
            Instances For
              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
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        • image : Array UInt8

                          Full backend register image, not just IP/SP; restoration preserves all regs.

                        • ip : Nat
                        • sp : Nat
                        Instances For
                          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
                                Instances For
                                  def Miri.Interpreter.Native.Trace.poll {S C : Type} (h : Hooks S C) (choice : C) (listener : Listener) :

                                  One listener polling iteration. None requests the source host yield/retry; no bounded polling result is interpreted as process completion.

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

                                    Capstone memory operands retain read-before-write, uncertain RW writes, and source partial event append before detecting a second memory operand.

                                    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
                                          def Miri.Interpreter.Native.Trace.waitSignalStep {S C : Type} (h : Hooks S C) (choice : C) (pid : Option Pid) (signal : Signal) :

                                          One iteration of source wait_for_signal, retaining unknown-status continue and signal forwarding. Caller retains pending state until the requested signal.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            def Miri.Interpreter.Native.Trace.waitSignal {S C : Type} (h : Hooks S C) (choice : C) (pid : Option Pid) (signal : Signal) :

                                            Bounded operational prefix of a possibly diverging wait. Exhaustion returns pending; it never authorizes the caller to advance the supervisor protocol.

                                            Equations
                                            Instances For
                                              def Miri.Interpreter.Native.Trace.instructionBytes {S C : Type} (h : Hooks S C) (choice : C) (pid : Pid) (ip : Nat) :

                                              Source instruction-byte collection reads ceil(15/wordSize) complete words, with individual ptrace failures zero-filled before the Capstone call.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                def Miri.Interpreter.Native.Trace.clearCallbackStack {S C : Type} (h : Hooks S C) (choice : C) (pid : Pid) (stack : Nat) :
                                                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
                                                      def Miri.Interpreter.Native.Trace.prepareFault {S C : Type} (h : Hooks S C) (choice : C) (pid : Pid) (pages : Array Nat) (stack : Nat) (events : Array AccessEvent) :

                                                      Pure Rust-side preparation before mempr_off. Native faults outside the owned pages kill the child; they never become a successful unknown memory access.

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