Source construction for Unix socket address memory operations. Compiler layouts/constants, pointer access, allocation, projection, byte IO, and provenance-aware copies come from one canonical EnvironmentMemory bundle. The only residual effects are host address resolution and its iterator lifecycle.
Equations
Instances For
Equations
Instances For
- resolve : String → UInt16 → EStateM Interpreter.StepError S (Except (Interpreter.IoError.HostError E) Iterator)
- nextAddress : Iterator → EStateM Interpreter.StepError S (Option (Interpreter.SocketAddress.Address × Iterator))
- dropIterator : Iterator → EStateM Interpreter.StepError S Unit
- resolutionDiagnostic : Interpreter.IoError.HostError E → EStateM Interpreter.StepError S Unit
- listBudget : Nat
Instances For
Build all guest-side address operations from the selected execution's
canonical memory. errors is the already-built errno machine belonging to the
same callback state; resolver effects are the only host-specific inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Build socket-address hooks for callback IO from the same EvalWorld memory
bundle used by Core. The explicit Stored specialization is important:
RuntimeState (Control (Stored ...)) reduces to the callback's canonical
inner state, so pointer provenance, allocation effects, and partially updated
error states are already in the required state representation. No alternate
memory lens or synthetic transport state is introduced.
Equations
- Miri.Input.EvalSocketAddressConstruction.callbackFromSource p memory errors host = Miri.Input.EvalSocketAddressConstruction.fromSource p memory errors host