Documentation

Miri.Interpreter.Backtrace

Full pinned shims/backtrace.rs driver. Encoded frame pointers preserve actual function provenance and source BytePos offsets. Host/compiler symbol, source-map and hygiene queries are explicit typed leaves; all writes are real machine operations supplied by the connected memory binding.

structure Miri.Interpreter.Backtrace.Operations (P S D MD B I E Loc : Type) :
Instances For
    def Miri.Interpreter.Backtrace.Hooks.core {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) :
    CoreHooks P S D MD B I E Loc
    Equations
    Instances For
      @[instance_reducible]
      instance Miri.Interpreter.Backtrace.instCoeOutHooksCoreHooks {P S D MD B I E Loc : Type} :
      CoeOut (Hooks P S D MD B I E Loc) (CoreHooks P S D MD B I E Loc)
      Equations

      stack.rs Frame::current_span, including the unwinding-span path.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Miri.Interpreter.Backtrace.Source.size {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :

        No symbol or stack query occurs on the invalid-flags path.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Miri.Interpreter.Backtrace.Source.get {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) :

          Gather all source spans first, then create every encoded function pointer, then check flags and write the caller's array in order. Even obsolete flags perform the source pointer-generation effects before returning Unsupported.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.Backtrace.Source.resolvePointer {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (operand : OpTy P) :

            The byte offset encodes source position; therefore ordinary get_ptr_fn, which rejects nonzero function offsets, is deliberately not used.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.Backtrace.Source.resolveFrame {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) (adtReprC : MIR.TyId → M S (Option Bool)) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Miri.Interpreter.Backtrace.Source.resolveNames {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) :
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Miri.Interpreter.Backtrace.Source.emulate {P S D MD B I E Loc : Type} (h : CoreHooks P S D MD B I E Loc) (adtReprC : MIR.TyId → M S (Option Bool)) (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.Backtrace.size {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :
                    Equations
                    Instances For
                      def Miri.Interpreter.Backtrace.get {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) :
                      Equations
                      Instances For
                        def Miri.Interpreter.Backtrace.resolvePointer {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (operand : OpTy P) :
                        Equations
                        Instances For
                          def Miri.Interpreter.Backtrace.resolveFrame {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) (adtReprC : MIR.TyId → M S (Option Bool)) :
                          Equations
                          Instances For
                            def Miri.Interpreter.Backtrace.resolveNames {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) :
                            Equations
                            Instances For
                              def Miri.Interpreter.Backtrace.emulate {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (adtReprC : MIR.TyId → M S (Option Bool)) (name : String) (abi : ABI.FnAbi MIR.TyId) (args : Array (OpTy P)) (dest : MD) :
                              Equations
                              Instances For
                                def Miri.Interpreter.Backtrace.bind {P S D MD B I E Loc : Type} (h : Hooks P S D MD B I E Loc) (adtReprC : MIR.TyId → M S (Option Bool)) :
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For