Source construction for the pinned Unix filesystem shim family. Compiler ABI facts, guest memory, descriptors and directory storage stay in the actual EvalWorld. This layer accepts only raw host filesystem effects; policy remains in the existing UnixFs interpreter modules.
Instances For
Actual host operations not represented by the current source seed. Values are raw std::fs/path/ReadDir observations; this record has no guest-memory, compiler-layout, errno, descriptor-table, directory-table or shim-policy callbacks.
- hostUnix : Bool
- hostWindows : Bool
- hostUsizeBits : Nat
Width of this host's
usize, used by source host-boundary checks. - isEmpty : Path → Bool
- isAbsolute : Path → Bool
- isDot : Path → Bool
- emptyPath : Path
Exact
path::absolute(path).is_ok_and(|p| p.starts_with("/proc")).- removeFile : Path → M S (Except (Interpreter.IoError.HostError E) Unit)
- removeDirectory : Path → M S (Except (Interpreter.IoError.HostError E) Unit)
- createSymlink : Path → Path → Bool → M S (Except (Interpreter.IoError.HostError E) Unit)
- hardLink : Path → Path → M S (Except (Interpreter.IoError.HostError E) Unit)
- setPathPermissions : Path → UInt32 → M S (Except (Interpreter.IoError.HostError E) Unit)
- rename : Path → Path → M S (Except (Interpreter.IoError.HostError E) Unit)
- readLink : Path → M S (Except (Interpreter.IoError.HostError E) Path)
- canonicalize : Path → M S (Except (Interpreter.IoError.HostError E) Path)
- pathMetadata : Option D → Path → Bool → M S (Except (Interpreter.IoError.HostError E) HM)
- fileType : HM → Interpreter.UnixFsMetadata.FileType
- length : HM → UInt64
- time : HM → Interpreter.UnixFsMetadata.TimeField → M S (Except (Interpreter.IoError.HostError E) Time)
- sinceEpoch : Time → M S Interpreter.Clock.Duration
- unixFields : HM → Interpreter.UnixFsMetadata.UnixFields
- readonly : HM → Bool
- readDir : Path → M S (Except (Interpreter.IoError.HostError E) ReadDir)
- openDirectory : Path → M S (Except (Interpreter.IoError.HostError E) D)
- nextEntry : ReadDir → M S (Option (Except (Interpreter.IoError.HostError E) Entry))
- entryName : Entry → Path
- entryType : Entry → M S (Except (Interpreter.IoError.HostError E) Interpreter.UnixFsMetadata.FileType)
- entryInode : Entry → UInt64
- setLength : H → UInt64 → M S (Except (Interpreter.IoError.HostError E) Unit)
- fileLength : H → M S (Except (Interpreter.IoError.HostError E) UInt64)
- setFilePermissions : H → UInt32 → M S (Except (Interpreter.IoError.HostError E) Unit)
- sync : H → Bool → M S (Except (Interpreter.IoError.HostError E) Unit)
- isTty : Interpreter.Files.Ref (Interpreter.Files.Description H D O) → Bool → M S Bool
- systemNow : M S Time
- sinceEpochCheckedAdd : Interpreter.Clock.Duration → M S (Option Time)
- setFileTimes : H → Interpreter.UnixFsTimes.Update Time → Interpreter.UnixFsTimes.Update Time → M S (Except (Interpreter.IoError.HostError E) Unit)
- setPathTimes : Path → Bool → Interpreter.UnixFsTimes.Update Time → Interpreter.UnixFsTimes.Update Time → M S (Except (Interpreter.IoError.HostError E) Unit)
- openExclusive : Path → Interpreter.UnixTempFile.HostOptions → M S (Except (Interpreter.IoError.HostError E) H)
Instances For
Canonical stat metadata access, including compiler-owned exact named layouts/constants and FD lookups from the existing source descriptor table.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Build the path string codec over the same EvalWorld memory, but expose
the actual allocator kind: realpath(NULL) calls Miri's C allocator, while
the ordinary environment-string builder only exposes its narrower env kinds.
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.
- Miri.Input.EvalUnixFsConstruction.osStringsFromSource.scan access pointer base 0 length = throw (Miri.Interpreter.StepError.resourceExhaustion "C string scan budget")
Instances For
Canonical pathname shim hooks. All ABI reads/writes use the existing guest access and compiler layouts; the only supplied values are actual raw host path operations and the same source OS-string representation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Bind file-only filesystem operations to the canonical Files implementation and the same owned descriptor references used by readiness and close.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source timespec input and host file-time operations. Field identities and
layouts come from the selected compiler; reads still pass through the active
borrow/race/initialization access engine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reuse the one rooted runtime DIR table and allocate/write dirent results through compiler-provided layouts and the active source memory access.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source mkstemp hooks over the actual RNG selection and owned FD registry. The random action is passed separately from host FS leaves because its state is the interpreter's machine choice tape, not host nondeterminism.
Equations
- One or more equations did not get rendered due to their size.