Raw source residual bindings for the portable Miri-specific externs. This module derives host path conversion, output and isolation from source-level capabilities. Unsupported diagnostics and compiler identity evidence remain demand-local.
Equations
- Miri.Input.EvalMiriHostEffectsConstruction.User Os R P H D O Aff B Host = Miri.Input.EvalCoreMachine.User Os R P H D O Aff B Host
Instances For
Equations
- Miri.Input.EvalMiriHostEffectsConstruction.State Os R P H D O Aff B Host = Miri.Input.EvalCoreMachine.State Os R P H D O Aff B Host
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- strings : Interpreter.OsStrings.Hooks Memory.Provenance (State Os R P H D O Aff B Host) Os Kind
- hostFiles : EvalUnixIoConstruction.HostFileEffects (State Os R P H D O Aff B Host) H D O Error Meta
- writeRetryBudget : Nat
Bound the source
write_allretry loop so repeated Interrupted or adversarial short writes remain an explicit resource-exhaustion outcome. - communicate : Bool
- sourceAllocIdNumber : Option (Memory.AllocId → M Os R P H D O Aff B Host UInt64)
Exact rustc allocation-number identity mapping, when the source compiler retains it. Dense imported memory IDs are deliberately not accepted here.
- namePointer : Option (Memory.Pointer (Option Memory.Provenance) → UInt8 → ByteArray → M Os R P H D O Aff B Host Unit)
Instances For
The source Write::write_all loop over a host writer. Host I/O errors are
returned to this boundary and ignored by its caller; capability and interpreter
errors remain thrown. A finite budget prevents endless Interrupted responses.
Equations
- Miri.Input.EvalMiriHostEffectsConstruction.writeAllHost write budget bytes = Miri.Input.EvalMiriHostEffectsConstruction.writeAllHost.loop write bytes budget 0
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Bind actual source OS-string routines and host stdout/stderr effects to
the Miri shim residual record. HostFileEffects.hostWrite errors are ignored
because pinned foreign_items.rs ignores write_all errors; absent
capabilities represented by StepError still propagate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source-context convenience constructor. OS encodings, target conversion,
and target-memory C-string operations are generated from the same canonical
environment memory and host OsStr implementation used by other shims.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recover rustc's allocation number only through the exact exporter-node to runtime-global crosswalk. Fresh runtime allocations and legacy exports have no witness and remain Unsupported; the runtime's own dense ID is never returned.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Inverse source-number lookup for miri_print_borrow_state. Zero and a raw ID
with no global return none. Opaque globals remain Unsupported: source memory
and statics can be live data even before their payload is imported. Export-node
witnesses and the runtime imported-global table must identify one unique
allocation before it can be inspected.
Equations
- One or more equations did not get rendered due to their size.