Pinned eval.rs::MainThreadState::on_main_stack_empty (309-360), call_main (481-558), ty/instance.rs::Instance::mono (527-538), rustc_session/config/ sigpipe.rs::DEFAULT. Compiler queries, actual allocation/read/call operations remain required stateful leaves; source ordering and checks execute here.
- miriStart : MainEntryType
- rustcMain (declaredSigpipe : UInt8) : MainEntryType
Instances For
- lifetime : MainGenericParameter
- typeParameter : MainGenericParameter
- constParameter : MainGenericParameter
Instances For
- globalConstructors {P : Type} (entry : MIR.DefId) (entryType : MainEntryType) (argc argv : TlsImmediate P) : MainThreadStage P
- running {P : Type} : MainThreadStage P
- exiting {P : Type} (stage : ProgramExitStage) (exitCode : Int32) : MainThreadStage P
Instances For
- constructors : GlobalCtorState P E H
- stage : MainThreadStage P
Instances For
- constructor {Error : Type} (error : TlsExecutionError Error) : MainThreadError Error
- programExit {Error : Type} (error : ProgramExitError Error) : MainThreadError Error
- scalar {Error : Type} (error : Memory.ScalarError) : MainThreadError Error
- leaf {Error : Type} (error : Error) : MainThreadError Error
- sourceInvariant {Error : Type} (message : String) : MainThreadError Error
- missingStartLangItem {Error : Type} : MainThreadError Error
- unresolvedStartInstance {Error : Type} : MainThreadError Error
- missingMainReturnPlace {Error : Type} : MainThreadError Error
- undefinedBehaviorExitCodeOutOfRange {Error : Type} (exitCode : Int64) : MainThreadError Error
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Miri.Interpreter.MainThreadM P E H Error A = EStateM (Miri.Interpreter.MainThreadError Error) (Miri.Interpreter.MainThreadState P E H) A
Instances For
- isizeLayout : ABI.TyAndLayout MIR.TyId
- u8Layout : ABI.TyAndLayout MIR.TyId
- genericParameters : MIR.DefId → MainThreadM P E H Error (Array MainGenericParameter)
Includes parent parameters, in compiler GenericArgs::for_item order.
- allocate : ABI.TyAndLayout MIR.TyId → Memory.MemoryKind Memory.MiriMemoryKind → MainThreadM P E H Error (MPlaceTy P)
Actual allocate(layout, MiriMemoryKind::Machine), including hooks.
- entrySignature : MIR.DefId → MainThreadM P E H Error MainSignature
- startLangItem : MainThreadM P E H Error (Option MIR.DefId)
- resolveInstance : MIR.DefId → Array MIR.GenericArg → MainThreadM P E H Error (Option CallInstance)
Instance::try_resolve in the actual interpreter typing environment.
- fnPointer : CallInstance → MainThreadM P E H Error (Memory.Pointer P)
- layoutOf : MIR.TyId → MainThreadM P E H Error (ABI.TyAndLayout MIR.TyId)
- callFunction : CallInstance → Array (OpTy P) → MPlaceTy P → MainThreadM P E H Error Unit
Actual call_function with Rust ABI and Stop{cleanup:true}.
- readTargetIsize : MPlaceTy P → MainThreadM P E H Error Int64
Actual target-isize memory read, with pointer/initialization/borrow/race checks. An arbitrary precomputed integer does not satisfy this leaf.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Global ctor callbacks run before main is scheduled. Main's actual return memory is read only once its stack empties; signed i32 narrowing failure is UB. ProgramExit's machine-stop outcome propagates without reporting callback Ready.
Equations
- One or more equations did not get rendered due to their size.