Canonical Unix descriptor/file operation construction. Host file handles and true host IO stay typed effects; descriptor identity, ownership, guest buffer reads/writes, and scalar accesses are bound to the current EvalWorld.
Equations
- Miri.Input.EvalUnixIoConstruction.Other Raw Listener TcpStream Error = Miri.Input.EvalSocketStorage.Other Raw Listener TcpStream Error
Instances For
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
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Genuine host resource operations only. Guest byte access, descriptor
ownership, and FileDescription policy are supplied by the source constructor.
The other* callbacks are the already source-built event/socket operation
family and remain separate from the host file boundary.
- hostRead : Interpreter.Files.Description H D O → ByteArray → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) (Nat × ByteArray))
- hostWrite : Interpreter.Files.Description H D O → ByteArray → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Nat)
- flushStdout : EStateM Interpreter.StepError S Unit
- hostSeek : H → Interpreter.Files.SeekFrom → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) UInt64)
- hostMetadata : Interpreter.Files.Description H D O → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Meta)
- hostIsTerminal : Interpreter.Files.Description H D O → EStateM Interpreter.StepError S Bool
- permissionDenied : EStateM Interpreter.StepError S (Interpreter.IoError.HostError E)
Instances For
- read : FD H D O → Bool → Memory.Pointer (Option Memory.Provenance) → Nat → Interpreter.Files.Finish S E → EStateM Interpreter.StepError S Unit
- write : FD H D O → Bool → Memory.Pointer (Option Memory.Provenance) → Nat → Interpreter.Files.Finish S E → EStateM Interpreter.StepError S Unit
- shortOperations : O → Bool
- readiness : O → EStateM Interpreter.StepError S (Option Interpreter.Files.Readiness)
- hasReadinessWatched : O → Bool
- isTerminal : O → Bool → EStateM Interpreter.StepError S Bool
Instances For
- tryLock : H → Bool → EStateM Interpreter.StepError S (Except (Interpreter.UnixFileOperations.TryLockError E) Unit)
- unlock : H → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Unit)
Instances For
Resource finalization at the FileMachine last-owner boundary. Host file and directory handles have separate cleanup effects; source-owned descriptors retain their own typed cleanup route. The four standard descriptors need no external resource release.
- dropFile : H → EStateM Interpreter.StepError S Unit
- dropDirectory : D → EStateM Interpreter.StepError S Unit
- dropOther : O → EStateM Interpreter.StepError S Unit
Instances For
Construct FileDescription behavior from the selected compiler target and
canonical physical guest memory. other is an operation bundle from the
source-owned EventFd/Socket adapters, not a replaceable Files hook record.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Preserve the historical Unix-only constructor and target validation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The descriptor registry is the one in EvalWorld runtime state. This helper keeps table, Rc ownership, and destructor callbacks on the FileMachine path.
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
Bind exact guest access and compiler target limits to source UnixFd policy. Random short-read selection remains a source RNG effect, and non-Unix positional descriptions remain explicit unsupported operations.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- fullSync : Int32 → EStateM Interpreter.StepError S (Memory.Scalar Memory.Provenance)
Instances For
Assemble fcntl/ioctl dispatch from exact compiler ABI/constants and canonical access. Only the shared general shim-signature provider and genuine source policy/resource effects remain inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Full source vectored field construction. The temporary iovec buffer uses
the compiler's exact element layout, EvalWorld allocation lifecycle, actual
pointer arithmetic, and provenance-preserving copy. checkedSum and host
usize width are native build properties, supplied as explicit host facts.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compatibility wrapper for callers which still package the genuine diagnostic and native-drop leaves in an AllocationMachine record. The source lifecycle itself remains constructed at the actual operation point.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compatibility wrapper for callers that already own a complete execution
configuration. The production source constructor uses vectoredFromFields
so Core can build the foreign component without a configuration cycle.
Equations
- One or more equations did not get rendered due to their size.