Source construction for the Unix environment foreign-item arm. The compiler ABI recipe and genuine environment/host operations are explicit; frame relevance, symbol clashes, ABI compatibility, target policy and guest memory writes are bound to the canonical compiler and execution state.
Instances For
Instances For
Equations
- Miri.Input.EvalUnixConstruction.M Os R P H D O Aff B Host A = Miri.Interpreter.MachineHooks.M Miri.Memory.MiriMemoryKind (Miri.Input.EvalUnixConstruction.User Os R P H D O Aff B Host) A
Instances For
Instances For
Equations
- Miri.Input.EvalUnixConstruction.InnerControl Os R P H D O Aff B Host = Miri.Interpreter.ValidityMachine.Control (Miri.Input.EvalUnixConstruction.Stored Os R P H D O Aff B Host)
Instances For
- abort : RejectOpWith
- noWarning : RejectOpWith
- warning : RejectOpWith
- warningWithoutBacktrace : RejectOpWith
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact source MiriConfig.isolated_op setting. communicate is checked
against this value, and shim policy actions are derived below.
- allow : IsolatedOp
- reject (mode : RejectOpWith) : IsolatedOp
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Miri.Input.EvalUnixConstruction.instDecidableEqIsolatedOp.decEq Miri.Input.EvalUnixConstruction.IsolatedOp.allow Miri.Input.EvalUnixConstruction.IsolatedOp.allow = isTrue ⋯
- Miri.Input.EvalUnixConstruction.instDecidableEqIsolatedOp.decEq Miri.Input.EvalUnixConstruction.IsolatedOp.allow (Miri.Input.EvalUnixConstruction.IsolatedOp.reject mode) = isFalse ⋯
- Miri.Input.EvalUnixConstruction.instDecidableEqIsolatedOp.decEq (Miri.Input.EvalUnixConstruction.IsolatedOp.reject mode) Miri.Input.EvalUnixConstruction.IsolatedOp.allow = isFalse ⋯
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Genuine host filesystem/error-display effects plus exact Miri host configuration values. It contains no target memory, ABI, libc constant, EnvVars, errno-slot, or policy callback.
- communicate : Bool
- isolatedOp : IsolatedOp
- hostPid : EStateM Interpreter.StepError S UInt32
- currentDirectory : EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Os)
- setCurrentDirectory : Os → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Unit)
- pageSize : UInt64
- numCpus : UInt32
- miriVersion : String
- homeDirectory : EStateM Interpreter.StepError S (Option Os)
- hostErrorDisplay : Interpreter.IoError.HostError E → EStateM Interpreter.StepError S Os
- unknownErrorDisplay : Memory.Scalar Memory.Provenance → EStateM Interpreter.StepError S Os
Instances For
Native error conversions that cannot be computed from the target compiler facts. Unix errno/libc lookups and conversion of host errors remain explicit; the IoError machine, compiler constants, errno memory and scalar access are constructed here.
- hostErrno : String → EStateM Interpreter.StepError S Int32
- hostFromRaw : Int32 → EStateM Interpreter.StepError S (Interpreter.IoError.HostError E)
- hostFromKind : Interpreter.IoError.ErrorKind → EStateM Interpreter.StepError S (Interpreter.IoError.HostError E)
Instances For
Source EnvVars backed by the same EvalWorld environment root and real
runtime memory/allocation geometry as startup. The only environment-specific
effects are the actual host OsStr conversions and the two host error outcomes;
all target strings, arrays, reads, writes, allocation kinds and roots come
from EnvironmentMemory.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compose Unix environment dispatch from the real runtime memory bundle.
source remains only for process/host/isolation policy and host-error display;
its environment, OS-string memory, scalar/pointer access, compiler constants,
typed projections, errno allocation, and errno-place state are all replaced by
the canonical providers.
Equations
- One or more equations did not get rendered due to their size.