DirTable/DirStream and opendir/readdir/dirfd/closedir from pinned unix/fs.rs. Opaque DIR IDs are target usize scalars, not allocated or dereferenceable pointers.
@[reducible, inline]
Instances For
- host : ReadDir
- fd : Int32
- identity : Files.FdId
- entry : Option (Memory.Pointer (Option Memory.Provenance) × String)
Instances For
- paths : UnixFsPaths.Hooks S F D Path HM Time E Kind
- readDir : Path → M S (Except (IoError.HostError E) ReadDir)
- openDirectory : Path → M S (Except (IoError.HostError E) D)
- insertDirectory : D → M S (Int32 × Files.FdId)
Owns/transfers the actual directory handle into FileOwnership + FD table.
- id : F → Files.FdId
- nextEntry : ReadDir → M S (Option (Except (IoError.HostError E) Entry))
- entryName : Entry → Path
- entryType : Entry → M S (Except (IoError.HostError E) UnixFsMetadata.FileType)
- entryInode : Entry → UInt64
- readUsize : OpTy Memory.Provenance → M S UInt64
- writePointer : Memory.Pointer (Option Memory.Provenance) → MPlaceTy Memory.Provenance → M S Unit
- direntLayout : String → M S LocalLayout
Compiler dirent layout, last-field offset and ABI alignment; no inferred shape.
- allocateRuntime : ABI.Size → ABI.Align → M S (Memory.Pointer (Option Memory.Provenance))
- asPlace : Memory.Pointer (Option Memory.Provenance) → LocalLayout → MPlaceTy Memory.Provenance
- wrappingOffset : Memory.Pointer (Option Memory.Provenance) → ABI.Size → M S (Memory.Pointer (Option Memory.Provenance))
- optionalField : MPlaceTy Memory.Provenance → String → M S (Option (MPlaceTy Memory.Provenance))
- writeNull : MPlaceTy Memory.Provenance → M S Unit
- deallocateRuntime : Memory.Pointer (Option Memory.Provenance) → M S Unit
Instances For
def
Miri.Interpreter.UnixDirectories.openDir
{S F D P HM T E K R Ent : Type}
(h : Hooks S F D P HM T E K R Ent)
(name : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDirectories.readDir
{S F D P HM T E K R Ent : Type}
(h : Hooks S F D P HM T E K R Ent)
(dir : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
(kind : String)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDirectories.dirFd
{S F D P HM T E K R Ent : Type}
(h : Hooks S F D P HM T E K R Ent)
(dir : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixDirectories.closeDir
{S F D P HM T E K R Ent : Type}
(h : Hooks S F D P HM T E K R Ent)
(dir : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.