Construct target OS-string operations from the canonical machine memory
and allocation engines. Only host OsStr representation/conversion remains a
host capability; target byte/UTF-16 access and array allocation use Miri state.
Equations
Instances For
Equations
Instances For
These operations are properties of the actual host OsStr implementation.
They are intentionally separate from target memory operations below.
- hostWindows : Bool
- hostUnix : Bool
- targetWindows : Bool
- fromUnixBytes : ByteArray → Os
- fromUtf8 : ByteArray → Except Interpreter.StepError Os
- fromWide : Array UInt16 → Except Interpreter.StepError Os
- toWide : Os → Except Interpreter.StepError (Array UInt16)
- encodedBytes : Os → ByteArray
- encodedLength : Os → Nat
- decodeUnixBytes : ByteArray → Except Interpreter.StepError Os
- empty : Os
- concat : Os → Os → Os
- ascii : String → Os
- isEmpty : Os → Bool
- containsEquals : Os → Bool
Instances For
Instances For
Instances For
Equations
Instances For
- deallocate : Memory.Pointer (Option Memory.Provenance) → Option (ABI.Size × ABI.Align) → Memory.MemoryKind Memory.MiriMemoryKind → RuntimeM U Unit
Operation-local source deallocation. This runs in the real MachineHooks state so current span, free allocation identity, address reuse, and all partial effects observe the active frame instead of a captured startup state.
- pointers : Interpreter.PointerMachine.Hooks Memory.MiriMemoryKind U
- arrays : RuntimeArrayQueries.Access (RuntimeState U)
- symbolicAlignment : Bool
- enforceAlignment : Bool
- stringScanBudget : Nat
- choice : C
- pointerTy : MIR.TyId
- pointerLayout : Interpreter.LocalLayout
Instances For
Build OsStrings.Hooks with the source access and allocation records. The
array type identity is interned in the same persistent runtime-type world used
by EntryArguments; byte-size coincidence never substitutes for Ty::new_array.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source environment allocation and pointer-cell operations built from the
same canonical access, allocation and projection engines as MIR. State access
is only a lens into MachineGCRoots.Storage; no parallel environment map is
created. Host errno/Win32-not-found effects remain explicit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct init_extern_statics from real allocation, typed scalar writes,
the actual environment root, exact source dynamic-symbol allowlists and the
canonical FunctionPointers registry. dynamicValue only embeds the source
DynSym value into the caller's concrete Other representation.
Equations
- One or more equations did not get rendered due to their size.