Complete windows/fs.rs policy. Reuses shared FileDescription and host open infrastructure; target constants and real host resources remain mandatory.
@[reducible, inline]
Instances For
- createAlways : Disposition
- createNew : Disposition
- openAlways : Disposition
- openExisting : Disposition
- truncateExisting : Disposition
Instances For
@[instance_reducible]
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
- handle : H
- writable : Bool
Instances For
- handles : WindowsHandles.Hooks S F
- errors : IoError.Hooks S E
- os : String
- communicate : Bool
- readUsize : OpTy Memory.Provenance → M S UInt64
- readI64 : OpTy Memory.Provenance → M S Int64
- readWidePath : Memory.Pointer (Option Memory.Provenance) → M S P
- openFileOrDir : P → UnixOpen.Options → M S (Except (IoError.HostError E) (UnixOpen.Opened H D))
Actual shared open_file_or_dir(None,path,options), including host workaround.
- metadata : F → M S (Except (IoError.HostError E) HM ⊕ String)
- length : HM → UInt64
- fileType : HM → UnixFsMetadata.FileType
- time : HM → UnixFsMetadata.TimeField → M S (Except (IoError.HostError E) Time)
system_time_since_windows_epoch then windows_ticks_for (checked u64).
- fileLength : H → M S (Except (IoError.HostError E) UInt64)
- setLength : H → UInt64 → M S (Except (IoError.HostError E) Unit)
- syncAll : H → M S (Except (IoError.HostError E) Unit)
- rename : P → P → M S (Except (IoError.HostError E) Unit)
- removeFile : P → M S (Except (IoError.HostError E) Unit)
- derefAs : OpTy Memory.Provenance → String → M S (MPlaceTy Memory.Provenance)
- ptrToPlace : Memory.Pointer (Option Memory.Provenance) → String → M S (MPlaceTy Memory.Provenance)
- derefI64 : OpTy Memory.Provenance → M S (MPlaceTy Memory.Provenance)
- checkAccess : Memory.Pointer (Option Memory.Provenance) → ABI.Size → M S Unit
- field : MPlaceTy Memory.Provenance → String → M S (MPlaceTy Memory.Provenance)
- readFieldI64 : MPlaceTy Memory.Provenance → M S Int64
- writeInt : Int → MPlaceTy Memory.Provenance → M S Unit
- seek : F → Bool → Files.SeekFrom → M S (Except (IoError.Error E) UInt64)
- readWrite : F → Bool → Bool → Memory.Pointer (Option Memory.Provenance) → Nat → Files.Finish S E → M S Unit
Consumes owned FD reference, including asynchronous completion. Real Files read/write provides the immediate/file route and custom typed pending callbacks.
Instances For
def
Miri.Interpreter.WindowsFiles.disposition
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(value : UInt32)
:
M S Disposition
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.attributes
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(value : UInt32)
:
M S Attributes
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.create
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(name access share security disp flags template : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.getInformation
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(file info : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.setInformation
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(file infoClass info size : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.flush
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(operand : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.moveFile
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(old new flags : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.deleteFile
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(operand : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.ntReadWrite
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(write : Bool)
(handle event routine context status buffer count offset key : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Read/write intentionally differ in whether status projection precedes FD validation, including upstream's NtWriteFile diagnostic in the read branch.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.WindowsFiles.setPointer
{S F H D P HM T E : Type}
(h : Hooks S F H D P HM T E)
(operand distance newPointer method : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.