FileIo.lean
File-System and File-Descriptor Syscalls
Re-exports Arm64. and bundles their handlers with Stdio into Syscall., Syscall., and Syscall..
@[expose] public sectionnamespace Arm64namespace Syscalldef fileIoOnlyTable
Dispatch entries specific to file-descriptor and path operations (excluding Stdio).
def fileIoOnlyTable : List (BitVec 64 × (State → State)) :=
[(SYS_FCNTL, execFcntl),
(SYS_IOCTL, execIoctl),
(SYS_OPENAT, execOpenat),
(SYS_CLOSE, execClose),
(SYS_LSEEK, execLseek),
(SYS_PREAD64, execPread64),
(SYS_FSTAT, execFstat)]2 declarations not shown (lines 43–49): theorems, which Lean checks, or definitions that no headline statement uses
Arm64., Arm64.
end Syscallend Arm64