eval.rs:390–471,641–710: actual immutable argument/argv/root-cell memory and Windows command-line encoding. Compiler array-layout queries retain real TyIds; projected indices execute the existing effectful canonical Place path.
Source initialization panics are explicit invalid-program results, never host exceptions. Empty argv produces exactly one UTF-16 zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- isize : LocalLayout
- u8 : LocalLayout
- u16 : LocalLayout
- u8Pointer : LocalLayout
- u8PointerPointer : LocalLayout
Instances For
- argc : RvalueImmTy Memory.Provenance
- argv : RvalueImmTy Memory.Provenance
Instances For
- addresses : FunctionPointers.AddressLens User AddressPayload
- allocation : PlaceMachine.AllocationConfig K (PointerMachine.User AddressPayload)
This is the already source-assembled allocation config. Its tail and root-address callback own extras and the persistent choice tape.
- arithmetic : Memory.PointerArithmetic
- access : PlaceMachine.AccessConfig K User
- place : PlaceProjectionHooks Memory.Provenance (MachineHooks.State K User) C MachineHooks.FrameExtra
- layouts : Layouts
- arrayLayout : C → MIR.TyId → UInt64 → MachineHooks.M K User LocalLayout
Ty::new_array(element,count) and layout_of in the actual typing environment.
- entryPointers : User → MachineGCRoots.EntryPointers
- putEntryPointers : User → MachineGCRoots.EntryPointers → User
- windows : Bool
- isNoCore : MachineHooks.M K User Bool
- coreSentinelMirAvailable : MachineHooks.M K User Bool
Instances For
The exact source initialization order: all strings, argv array, argc cell, argv cell, optional UTF-16 command line, then return typed argc/argv for the captured main callback. Every byte/scalar write invokes real memory policies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Actual Miri source kind, without choosing ownership from a layout size.
Equations
- Miri.Interpreter.EntryArguments.initializeMiri h choice args = Miri.Interpreter.EntryArguments.setup h choice Miri.Memory.MiriMemoryKind.machine args