Syscalls.lean
Linux AArch64 Syscall Families Umbrella (Arm64.)
-
Layer / Role:
Arm64Trusted Computing Base (Role::Spec, definitions only, 0 theorems). -
Purpose & Key Exports: Re-exports the modular Linux AArch64 syscall families under
Arm64/(Trusted/ Syscalls/ Common,Stdio,FileIo,Poll,Alloc,Signals,Time,Random,Misc) and defines the empty bundleSyscall., the full 31-entry dispatch tablenone Syscall.,standardTable Syscall., and the compatibility aliasstandard execSyscall. -
When to read: Read
Arm64/to pick the minimal bundle for a specification (Trusted/ Syscalls/ README.md noSyscalls,Syscall.,stdioCli Syscall., ...) so unused syscall families stay outside the theorem statement's transitive constant closure.fileIo
@[expose] public sectionnamespace Arm64namespace Syscall1 declaration not shown (lines 41–42): theorems, which Lean checks, or definitions that no headline statement uses
Arm64.
def standardTable
Complete 31-syscall Linux AArch64 dispatch table combining all modeled families.
def standardTable : List (BitVec 64 × (State → State)) :=
stdioTable ++ fileIoOnlyTable ++ pollTable ++ allocTable ++ signalsTable ++ timeTable ++ randomTable ++ miscTabledef standard
Full modeled Linux AArch64 syscall bundle (31 syscalls across Stdio, FileIo, Poll, Alloc, Signals, Time, Random, and Misc).
def standard : State → State := dispatch standardTableend Syscall1 declaration not shown (lines 54–58): theorems, which Lean checks, or definitions that no headline statement uses
Arm64.
end Arm64