libclues
Linux C++ Tracing Library
Loading...
Searching...
No Matches
clues Namespace Reference

Classes

struct  AccessSystemCall
 
struct  AlarmSystemCall
 
struct  Args
 
class  AutoAttachedTracee
 Specialization of Tracee for automatically attached child tracees. More...
 
struct  BreakSystemCall
 
class  ChildTracee
 Specialization of Tracee that creates a new child process for tracing. More...
 
struct  ClockNanoSleepSystemCall
 
struct  Clone3SystemCall
 
struct  CloneSystemCall
 Wrapper for the clone() and clone2() system calls. More...
 
struct  CloseSystemCall
 
class  Engine
 Main class for configuring and running libclues. More...
 
class  ErrnoResult
 An errno system call result. More...
 
class  EventConsumer
 Callback interface for consumers of tracing events. More...
 
struct  ExecveAtSystemCall
 
struct  ExecveSystemCall
 
struct  ExitGroupSystemCall
 
struct  FAccessAt2SystemCall
 
struct  FAccessAtSystemCall
 
struct  FcntlSystemCall
 
struct  FDInfo
 Contextual information about a file descriptor in a Tracee. More...
 
class  ForeignTracee
 Specialization of Tracee that attaches to an existing, unrelated process in the system. More...
 
struct  ForkSystemCall
 
struct  FstatAtSystemCall
 
struct  FstatSystemCall
 
struct  FutexSystemCall
 futex() system call with context-sensitive parameters and return values. More...
 
struct  GetDentsSystemCall
 
struct  GetRobustListSystemCall
 
struct  GetXIdSystemCall
 
struct  IoCtlSystemCall
 
struct  kernel_old_sigaction
 Variant of sigaction used for the old sigaction() system call. More...
 
struct  kernel_sigaction
 This is the sigaction structure used by the kernel for e.g. rt_sigaction. More...
 
struct  kernel_sigaction32
 Variant of sigaction for 64-bit <-> 32-bit cross ABI tracing. More...
 
struct  LimitSystemCallT
 
struct  linux_dirent
 32-bit getdents() directory entries.used on native 32-bit/64-bit ABIs. More...
 
struct  linux_dirent32
 32-bit getdents() directory entries used in 32-bit emulation ABI. More...
 
struct  linux_dirent64
 64-bit entries used with getdents64() on both 32-bit and 64-bit ABIs More...
 
struct  mmap_arg_struct
 Old mmap() parameter on 32-bit ABIs like I386. More...
 
struct  MmapSystemCall
 Type for mmap() / mmap2() system calls. More...
 
struct  MprotectSystemCall
 
struct  MunmapSystemCall
 
struct  NanoSleepSystemCall
 
struct  old_kernel_stat
 Original Linux stat data structure for SystemCallNr::OLDSTAT, OLDLSTAT and OLDFSTAT. More...
 
struct  OpenAtSystemCall
 
struct  OpenSystemCall
 
struct  Pipe2SystemCall
 
struct  PipeSystemCall
 The classic pipe() system call without flags. More...
 
struct  Prlimit64SystemCall
 
class  ProcessData
 This type contains data that is shared between tracees of the same thread group. More...
 
struct  ReadSystemCall
 
struct  RegisterData
 Base class for ABI specific register data. More...
 
struct  RegisterDataAARCH64
 Native register data for the aarch64 ABI. More...
 
struct  RegisterDataI386
 Native register data for the I386 32-bit X86 ABI. More...
 
struct  RegisterDataTraits
 Traits which will be overridden by template specializations per ABI. More...
 
struct  RegisterDataTraits< ABI::AARCH64 >
 
struct  RegisterDataTraits< ABI::I386 >
 
struct  RegisterDataTraits< ABI::X32 >
 
struct  RegisterDataTraits< ABI::X86_64 >
 
struct  RegisterDataX32
 
struct  RegisterDataX64
 
struct  RegisterDataX86_64_T
 Native register data for the X86_64 and X32 ABIs. More...
 
class  RegisterSet
 Holds a set of registers for the given ABI. More...
 
struct  RestartSystemCall
 
struct  rlimit32
 32-bit based struct rlimit used with getrlimit() and setrlimit(). More...
 
struct  rlimit64
 64-bit based struct rlimit used with prlimit(). More...
 
struct  RtSigActionSystemCall
 Type for the current rt_sigaction() system call. More...
 
struct  RtSigProcMaskSystemCall
 Type for the current rt_sigprocmask(). More...
 
struct  SetRobustListSystemCall
 
struct  SetTIDAddressSystemCall
 
struct  SigActionSystemCall
 Type for and old sigaction(). More...
 
struct  SigProcMaskSystemCall
 Type for old sigprocmask(). More...
 
struct  stat32
 32-bit sized stat data structure with some padding for SystemCallNR::STAT, LSTAT and FSTAT on 32-bit archs like i386. More...
 
struct  stat32_64
 64-bit sized stat data structure used with the stat64 family of system calls on 32-bit ABIs like i386. More...
 
struct  stat64
 The single stat structure from asm-generic used e.g. on AARCH64. More...
 
struct  StatSystemCallT
 
class  SystemCall
 Access to System Call Data. More...
 
class  SystemCallDB
 Stores information about each system call number in form of SystemCall objects. More...
 
class  SystemCallInfo
 Extended ptrace system call state information. More...
 
class  SystemCallItem
 Base class for any kind of system call parameter or return value. More...
 
struct  SystemCallNrTraits
 Traits which allow to lookup the correct SystemCallNr type per ABI. More...
 
struct  SystemCallNrTraits< ABI::AARCH64 >
 
struct  SystemCallNrTraits< ABI::I386 >
 
struct  SystemCallNrTraits< ABI::X32 >
 
struct  SystemCallNrTraits< ABI::X86_64 >
 
class  TermTracer
 
struct  TgKillSystemCall
 
struct  timespec32
 Original Linux stat data structure for SystemCallNr::OLDSTAT, OLDLSTAT and OLDFSTAT. More...
 
class  Tracee
 Base class for traced processes. More...
 
struct  UnknownSystemCall
 
struct  Wait4SystemCall
 
struct  WriteSystemCall
 

Typedefs

using RestorerCB = void (*)()
 
using SignalCB = void (*)(int)
 
using AnyRegisterSet
 A variant to hold any of the ABI-specific RegisterSet types.
 
using StatSystemCall = StatSystemCallT
 
using LstatSystemCall = StatSystemCallT
 
using GetRlimitSystemCall = LimitSystemCallT<SystemCallNr::GETRLIMIT>
 
using SetRlimitSystemCall = LimitSystemCallT<SystemCallNr::SETRLIMIT>
 
using GetUidSystemCall = GetXIdSystemCall<item::UserID>
 
using GetEuidSystemCall = GetXIdSystemCall<item::UserID>
 
using GetGidSystemCall = GetXIdSystemCall<item::GroupID>
 
using GetEgidSystemCall = GetXIdSystemCall<item::GroupID>
 
using AnySystemCallNr = std::variant<SystemCallNrI386, SystemCallNrX64, SystemCallNrX32, SystemCallNrAARCH64>
 
using SystemCallPtr = std::shared_ptr<SystemCall>
 
using SystemCallItemPtr = SystemCallItem*
 
using FollowChildren = cosmos::NamedBool<struct follow_children_t, true>
 A strong boolean type denoting whether to automatically attach to newly created child processes.
 
using AttachThreads = cosmos::NamedBool<struct attach_threads_t, true>
 A strong boolean type denoting whether to automatically all other threads of a process.
 
using TraceePtr = std::shared_ptr<Tracee>
 
using ProcessDataPtr = std::shared_ptr<ProcessData>
 
using FDInfoMap = std::map<cosmos::FileNum, FDInfo>
 A mapping of file descriptor numbers to their file system paths or other human readable description of the descriptor.
 

Enumerations

enum class  SystemCallNrAARCH64 : uint64_t {
  _FIRST = 0 , IO_SETUP = 0 , IO_DESTROY = 1 , IO_SUBMIT = 2 ,
  IO_CANCEL = 3 , IO_GETEVENTS = 4 , SETXATTR = 5 , LSETXATTR = 6 ,
  FSETXATTR = 7 , GETXATTR = 8 , LGETXATTR = 9 , FGETXATTR = 10 ,
  LISTXATTR = 11 , LLISTXATTR = 12 , FLISTXATTR = 13 , REMOVEXATTR = 14 ,
  LREMOVEXATTR = 15 , FREMOVEXATTR = 16 , GETCWD = 17 , LOOKUP_DCOOKIE = 18 ,
  EVENTFD2 = 19 , EPOLL_CREATE1 = 20 , EPOLL_CTL = 21 , EPOLL_PWAIT = 22 ,
  DUP = 23 , DUP3 = 24 , FCNTL = 25 , INOTIFY_INIT1 = 26 ,
  INOTIFY_ADD_WATCH = 27 , INOTIFY_RM_WATCH = 28 , IOCTL = 29 , IOPRIO_SET = 30 ,
  IOPRIO_GET = 31 , FLOCK = 32 , MKNODAT = 33 , MKDIRAT = 34 ,
  UNLINKAT = 35 , SYMLINKAT = 36 , LINKAT = 37 , RENAMEAT = 38 ,
  UMOUNT2 = 39 , MOUNT = 40 , PIVOT_ROOT = 41 , NFSSERVCTL = 42 ,
  STATFS = 43 , FSTATFS = 44 , TRUNCATE = 45 , FTRUNCATE = 46 ,
  FALLOCATE = 47 , FACCESSAT = 48 , CHDIR = 49 , FCHDIR = 50 ,
  CHROOT = 51 , FCHMOD = 52 , FCHMODAT = 53 , FCHOWNAT = 54 ,
  FCHOWN = 55 , OPENAT = 56 , CLOSE = 57 , VHANGUP = 58 ,
  PIPE2 = 59 , QUOTACTL = 60 , GETDENTS64 = 61 , LSEEK = 62 ,
  READ = 63 , WRITE = 64 , READV = 65 , WRITEV = 66 ,
  PREAD64 = 67 , PWRITE64 = 68 , PREADV = 69 , PWRITEV = 70 ,
  SENDFILE = 71 , PSELECT6 = 72 , PPOLL = 73 , SIGNALFD4 = 74 ,
  VMSPLICE = 75 , SPLICE = 76 , TEE = 77 , READLINKAT = 78 ,
  NEWFSTATAT = 79 , FSTAT = 80 , SYNC = 81 , FSYNC = 82 ,
  FDATASYNC = 83 , SYNC_FILE_RANGE = 84 , TIMERFD_CREATE = 85 , TIMERFD_SETTIME = 86 ,
  TIMERFD_GETTIME = 87 , UTIMENSAT = 88 , ACCT = 89 , CAPGET = 90 ,
  CAPSET = 91 , PERSONALITY = 92 , EXIT = 93 , EXIT_GROUP = 94 ,
  WAITID = 95 , SET_TID_ADDRESS = 96 , UNSHARE = 97 , FUTEX = 98 ,
  SET_ROBUST_LIST = 99 , GET_ROBUST_LIST = 100 , NANOSLEEP = 101 , GETITIMER = 102 ,
  SETITIMER = 103 , KEXEC_LOAD = 104 , INIT_MODULE = 105 , DELETE_MODULE = 106 ,
  TIMER_CREATE = 107 , TIMER_GETTIME = 108 , TIMER_GETOVERRUN = 109 , TIMER_SETTIME = 110 ,
  TIMER_DELETE = 111 , CLOCK_SETTIME = 112 , CLOCK_GETTIME = 113 , CLOCK_GETRES = 114 ,
  CLOCK_NANOSLEEP = 115 , SYSLOG = 116 , PTRACE = 117 , SCHED_SETPARAM = 118 ,
  SCHED_SETSCHEDULER = 119 , SCHED_GETSCHEDULER = 120 , SCHED_GETPARAM = 121 , SCHED_SETAFFINITY = 122 ,
  SCHED_GETAFFINITY = 123 , SCHED_YIELD = 124 , SCHED_GET_PRIORITY_MAX = 125 , SCHED_GET_PRIORITY_MIN = 126 ,
  SCHED_RR_GET_INTERVAL = 127 , RESTART_SYSCALL = 128 , KILL = 129 , TKILL = 130 ,
  TGKILL = 131 , SIGALTSTACK = 132 , RT_SIGSUSPEND = 133 , RT_SIGACTION = 134 ,
  RT_SIGPROCMASK = 135 , RT_SIGPENDING = 136 , RT_SIGTIMEDWAIT = 137 , RT_SIGQUEUEINFO = 138 ,
  RT_SIGRETURN = 139 , SETPRIORITY = 140 , GETPRIORITY = 141 , REBOOT = 142 ,
  SETREGID = 143 , SETGID = 144 , SETREUID = 145 , SETUID = 146 ,
  SETRESUID = 147 , GETRESUID = 148 , SETRESGID = 149 , GETRESGID = 150 ,
  SETFSUID = 151 , SETFSGID = 152 , TIMES = 153 , SETPGID = 154 ,
  GETPGID = 155 , GETSID = 156 , SETSID = 157 , GETGROUPS = 158 ,
  SETGROUPS = 159 , UNAME = 160 , SETHOSTNAME = 161 , SETDOMAINNAME = 162 ,
  GETRLIMIT = 163 , SETRLIMIT = 164 , GETRUSAGE = 165 , UMASK = 166 ,
  PRCTL = 167 , GETCPU = 168 , GETTIMEOFDAY = 169 , SETTIMEOFDAY = 170 ,
  ADJTIMEX = 171 , GETPID = 172 , GETPPID = 173 , GETUID = 174 ,
  GETEUID = 175 , GETGID = 176 , GETEGID = 177 , GETTID = 178 ,
  SYSINFO = 179 , MQ_OPEN = 180 , MQ_UNLINK = 181 , MQ_TIMEDSEND = 182 ,
  MQ_TIMEDRECEIVE = 183 , MQ_NOTIFY = 184 , MQ_GETSETATTR = 185 , MSGGET = 186 ,
  MSGCTL = 187 , MSGRCV = 188 , MSGSND = 189 , SEMGET = 190 ,
  SEMCTL = 191 , SEMTIMEDOP = 192 , SEMOP = 193 , SHMGET = 194 ,
  SHMCTL = 195 , SHMAT = 196 , SHMDT = 197 , SOCKET = 198 ,
  SOCKETPAIR = 199 , BIND = 200 , LISTEN = 201 , ACCEPT = 202 ,
  CONNECT = 203 , GETSOCKNAME = 204 , GETPEERNAME = 205 , SENDTO = 206 ,
  RECVFROM = 207 , SETSOCKOPT = 208 , GETSOCKOPT = 209 , SHUTDOWN = 210 ,
  SENDMSG = 211 , RECVMSG = 212 , READAHEAD = 213 , BRK = 214 ,
  MUNMAP = 215 , MREMAP = 216 , ADD_KEY = 217 , REQUEST_KEY = 218 ,
  KEYCTL = 219 , CLONE = 220 , EXECVE = 221 , MMAP = 222 ,
  FADVISE64 = 223 , SWAPON = 224 , SWAPOFF = 225 , MPROTECT = 226 ,
  MSYNC = 227 , MLOCK = 228 , MUNLOCK = 229 , MLOCKALL = 230 ,
  MUNLOCKALL = 231 , MINCORE = 232 , MADVISE = 233 , REMAP_FILE_PAGES = 234 ,
  MBIND = 235 , GET_MEMPOLICY = 236 , SET_MEMPOLICY = 237 , MIGRATE_PAGES = 238 ,
  MOVE_PAGES = 239 , RT_TGSIGQUEUEINFO = 240 , PERF_EVENT_OPEN = 241 , ACCEPT4 = 242 ,
  RECVMMSG = 243 , WAIT4 = 260 , PRLIMIT64 = 261 , FANOTIFY_INIT = 262 ,
  FANOTIFY_MARK = 263 , NAME_TO_HANDLE_AT = 264 , OPEN_BY_HANDLE_AT = 265 , CLOCK_ADJTIME = 266 ,
  SYNCFS = 267 , SETNS = 268 , SENDMMSG = 269 , PROCESS_VM_READV = 270 ,
  PROCESS_VM_WRITEV = 271 , KCMP = 272 , FINIT_MODULE = 273 , SCHED_SETATTR = 274 ,
  SCHED_GETATTR = 275 , RENAMEAT2 = 276 , SECCOMP = 277 , GETRANDOM = 278 ,
  MEMFD_CREATE = 279 , BPF = 280 , EXECVEAT = 281 , USERFAULTFD = 282 ,
  MEMBARRIER = 283 , MLOCK2 = 284 , COPY_FILE_RANGE = 285 , PREADV2 = 286 ,
  PWRITEV2 = 287 , PKEY_MPROTECT = 288 , PKEY_ALLOC = 289 , PKEY_FREE = 290 ,
  STATX = 291 , IO_PGETEVENTS = 292 , RSEQ = 293 , KEXEC_FILE_LOAD = 294 ,
  PIDFD_SEND_SIGNAL = 424 , IO_URING_SETUP = 425 , IO_URING_ENTER = 426 , IO_URING_REGISTER = 427 ,
  OPEN_TREE = 428 , MOVE_MOUNT = 429 , FSOPEN = 430 , FSCONFIG = 431 ,
  FSMOUNT = 432 , FSPICK = 433 , PIDFD_OPEN = 434 , CLONE3 = 435 ,
  CLOSE_RANGE = 436 , OPENAT2 = 437 , PIDFD_GETFD = 438 , FACCESSAT2 = 439 ,
  PROCESS_MADVISE = 440 , EPOLL_PWAIT2 = 441 , MOUNT_SETATTR = 442 , QUOTACTL_FD = 443 ,
  LANDLOCK_CREATE_RULESET = 444 , LANDLOCK_ADD_RULE = 445 , LANDLOCK_RESTRICT_SELF = 446 , MEMFD_SECRET = 447 ,
  PROCESS_MRELEASE = 448 , FUTEX_WAITV = 449 , SET_MEMPOLICY_HOME_NODE = 450 , CACHESTAT = 451 ,
  FCHMODAT2 = 452 , MAP_SHADOW_STACK = 453 , _FUTEX_WAKE = 454 , _FUTEX_WAIT = 455 ,
  _FUTEX_REQUEUE = 456 , STATMOUNT = 457 , LISTMOUNT = 458 , LSM_GET_SELF_ATTR = 459 ,
  LSM_SET_SELF_ATTR = 460 , LSM_LIST_MODULES = 461 , MSEAL = 462 , SETXATTRAT = 463 ,
  GETXATTRAT = 464 , LISTXATTRAT = 465 , REMOVEXATTRAT = 466 , OPEN_TREE_ATTR = 467 ,
  FILE_GETATTR = 468 , FILE_SETATTR = 469 , _LAST = 469
}
 Native system call numbers as used by Linux on the aarch64 ABI. More...
 
enum class  SystemCallNr : uint64_t {
  UNKNOWN = 0 , ACCEPT , ACCEPT4 , ACCESS ,
  ACCT , ADD_KEY , ADJTIMEX , AFS_SYSCALL ,
  ALARM , ARCH_PRCTL , BDFLUSH , BIND ,
  BPF , BREAK , BRK , CACHESTAT ,
  CAPGET , CAPSET , CHDIR , CHMOD ,
  CHOWN , CHOWN32 , CHROOT , CLOCK_ADJTIME ,
  CLOCK_ADJTIME64 , CLOCK_GETRES , CLOCK_GETRES_TIME64 , CLOCK_GETTIME ,
  CLOCK_GETTIME64 , CLOCK_NANOSLEEP , CLOCK_NANOSLEEP_TIME64 , CLOCK_SETTIME ,
  CLOCK_SETTIME64 , CLONE , CLONE3 , CLOSE ,
  CLOSE_RANGE , CONNECT , COPY_FILE_RANGE , CREAT ,
  CREATE_MODULE , DELETE_MODULE , DUP , DUP2 ,
  DUP3 , EPOLL_CREATE , EPOLL_CREATE1 , EPOLL_CTL ,
  EPOLL_CTL_OLD , EPOLL_PWAIT , EPOLL_PWAIT2 , EPOLL_WAIT ,
  EPOLL_WAIT_OLD , EVENTFD , EVENTFD2 , EXECVE ,
  EXECVEAT , EXIT , EXIT_GROUP , FACCESSAT ,
  FACCESSAT2 , FADVISE64 , FADVISE64_64 , FALLOCATE ,
  FANOTIFY_INIT , FANOTIFY_MARK , FCHDIR , FCHMOD ,
  FCHMODAT , FCHMODAT2 , FCHOWN , FCHOWN32 ,
  FCHOWNAT , FCNTL , FCNTL64 , FDATASYNC ,
  FGETXATTR , FILE_GETATTR , FILE_SETATTR , FINIT_MODULE ,
  FLISTXATTR , FLOCK , FORK , FREMOVEXATTR ,
  FSCONFIG , FSETXATTR , FSMOUNT , FSOPEN ,
  FSPICK , FSTAT , FSTAT64 , FSTATAT64 ,
  FSTATFS , FSTATFS64 , FSYNC , FTIME ,
  FTRUNCATE , FTRUNCATE64 , FUTEX , _FUTEX_REQUEUE ,
  FUTEX_TIME64 , _FUTEX_WAIT , FUTEX_WAITV , _FUTEX_WAKE ,
  FUTIMESAT , GET_KERNEL_SYMS , GET_MEMPOLICY , GET_ROBUST_LIST ,
  GET_THREAD_AREA , GETCPU , GETCWD , GETDENTS ,
  GETDENTS64 , GETEGID , GETEGID32 , GETEUID ,
  GETEUID32 , GETGID , GETGID32 , GETGROUPS ,
  GETGROUPS32 , GETITIMER , GETPEERNAME , GETPGID ,
  GETPGRP , GETPID , GETPMSG , GETPPID ,
  GETPRIORITY , GETRANDOM , GETRESGID , GETRESGID32 ,
  GETRESUID , GETRESUID32 , GETRLIMIT , GETRUSAGE ,
  GETSID , GETSOCKNAME , GETSOCKOPT , GETTID ,
  GETTIMEOFDAY , GETUID , GETUID32 , GETXATTR ,
  GETXATTRAT , GTTY , IDLE , INIT_MODULE ,
  INOTIFY_ADD_WATCH , INOTIFY_INIT , INOTIFY_INIT1 , INOTIFY_RM_WATCH ,
  IO_CANCEL , IO_DESTROY , IO_GETEVENTS , IO_PGETEVENTS ,
  IO_PGETEVENTS_TIME64 , IO_SETUP , IO_SUBMIT , IO_URING_ENTER ,
  IO_URING_REGISTER , IO_URING_SETUP , IOCTL , IOPERM ,
  IOPL , IOPRIO_GET , IOPRIO_SET , IPC ,
  KCMP , KEXEC_FILE_LOAD , KEXEC_LOAD , KEYCTL ,
  KILL , LANDLOCK_ADD_RULE , LANDLOCK_CREATE_RULESET , LANDLOCK_RESTRICT_SELF ,
  LCHOWN , LCHOWN32 , LGETXATTR , LINK ,
  LINKAT , LISTEN , LISTMOUNT , LISTXATTR ,
  LISTXATTRAT , LLISTXATTR , LLSEEK , LOCK ,
  LOOKUP_DCOOKIE , LREMOVEXATTR , LSEEK , LSETXATTR ,
  LSM_GET_SELF_ATTR , LSM_LIST_MODULES , LSM_SET_SELF_ATTR , LSTAT ,
  LSTAT64 , MADVISE , MAP_SHADOW_STACK , MBIND ,
  MEMBARRIER , MEMFD_CREATE , MEMFD_SECRET , MIGRATE_PAGES ,
  MINCORE , MKDIR , MKDIRAT , MKNOD ,
  MKNODAT , MLOCK , MLOCK2 , MLOCKALL ,
  MMAP , MMAP2 , MODIFY_LDT , MOUNT ,
  MOUNT_SETATTR , MOVE_MOUNT , MOVE_PAGES , MPROTECT ,
  MPX , MQ_GETSETATTR , MQ_NOTIFY , MQ_OPEN ,
  MQ_TIMEDRECEIVE , MQ_TIMEDRECEIVE_TIME64 , MQ_TIMEDSEND , MQ_TIMEDSEND_TIME64 ,
  MQ_UNLINK , MREMAP , MSEAL , MSGCTL ,
  MSGGET , MSGRCV , MSGSND , MSYNC ,
  MUNLOCK , MUNLOCKALL , MUNMAP , NAME_TO_HANDLE_AT ,
  NANOSLEEP , NEWFSTATAT , NEWSELECT , NFSSERVCTL ,
  NICE , OLDFSTAT , OLDLSTAT , OLDOLDUNAME ,
  OLDSTAT , OLDUNAME , OPEN , OPEN_BY_HANDLE_AT ,
  OPEN_TREE , OPEN_TREE_ATTR , OPENAT , OPENAT2 ,
  PAUSE , PERF_EVENT_OPEN , PERSONALITY , PIDFD_GETFD ,
  PIDFD_OPEN , PIDFD_SEND_SIGNAL , PIPE , PIPE2 ,
  PIVOT_ROOT , PKEY_ALLOC , PKEY_FREE , PKEY_MPROTECT ,
  POLL , PPOLL , PPOLL_TIME64 , PRCTL ,
  PREAD64 , PREADV , PREADV2 , PRLIMIT64 ,
  PROCESS_MADVISE , PROCESS_MRELEASE , PROCESS_VM_READV , PROCESS_VM_WRITEV ,
  PROF , PROFIL , PSELECT6 , PSELECT6_TIME64 ,
  PTRACE , PUTPMSG , PWRITE64 , PWRITEV ,
  PWRITEV2 , QUERY_MODULE , QUOTACTL , QUOTACTL_FD ,
  READ , READAHEAD , READDIR , READLINK ,
  READLINKAT , READV , REBOOT , RECVFROM ,
  RECVMMSG , RECVMMSG_TIME64 , RECVMSG , REMAP_FILE_PAGES ,
  REMOVEXATTR , REMOVEXATTRAT , RENAME , RENAMEAT ,
  RENAMEAT2 , REQUEST_KEY , RESTART_SYSCALL , RMDIR ,
  RSEQ , RT_SIGACTION , RT_SIGPENDING , RT_SIGPROCMASK ,
  RT_SIGQUEUEINFO , RT_SIGRETURN , RT_SIGSUSPEND , RT_SIGTIMEDWAIT ,
  RT_SIGTIMEDWAIT_TIME64 , RT_TGSIGQUEUEINFO , SCHED_GET_PRIORITY_MAX , SCHED_GET_PRIORITY_MIN ,
  SCHED_GETAFFINITY , SCHED_GETATTR , SCHED_GETPARAM , SCHED_GETSCHEDULER ,
  SCHED_RR_GET_INTERVAL , SCHED_RR_GET_INTERVAL_TIME64 , SCHED_SETAFFINITY , SCHED_SETATTR ,
  SCHED_SETPARAM , SCHED_SETSCHEDULER , SCHED_YIELD , SECCOMP ,
  SECURITY , SELECT , SEMCTL , SEMGET ,
  SEMOP , SEMTIMEDOP , SEMTIMEDOP_TIME64 , SENDFILE ,
  SENDFILE64 , SENDMMSG , SENDMSG , SENDTO ,
  SET_MEMPOLICY , SET_MEMPOLICY_HOME_NODE , SET_ROBUST_LIST , SET_THREAD_AREA ,
  SET_TID_ADDRESS , SETDOMAINNAME , SETFSGID , SETFSGID32 ,
  SETFSUID , SETFSUID32 , SETGID , SETGID32 ,
  SETGROUPS , SETGROUPS32 , SETHOSTNAME , SETITIMER ,
  SETNS , SETPGID , SETPRIORITY , SETREGID ,
  SETREGID32 , SETRESGID , SETRESGID32 , SETRESUID ,
  SETRESUID32 , SETREUID , SETREUID32 , SETRLIMIT ,
  SETSID , SETSOCKOPT , SETTIMEOFDAY , SETUID ,
  SETUID32 , SETXATTR , SETXATTRAT , SGETMASK ,
  SHMAT , SHMCTL , SHMDT , SHMGET ,
  SHUTDOWN , SIGACTION , SIGALTSTACK , SIGNAL ,
  SIGNALFD , SIGNALFD4 , SIGPENDING , SIGPROCMASK ,
  SIGRETURN , SIGSUSPEND , SOCKET , SOCKETCALL ,
  SOCKETPAIR , SPLICE , SSETMASK , STAT ,
  STAT64 , STATFS , STATFS64 , STATMOUNT ,
  STATX , STIME , STTY , SWAPOFF ,
  SWAPON , SYMLINK , SYMLINKAT , SYNC ,
  SYNC_FILE_RANGE , SYNCFS , SYSCTL , SYSFS ,
  SYSINFO , SYSLOG , TEE , TGKILL ,
  TIME , TIMER_CREATE , TIMER_DELETE , TIMER_GETOVERRUN ,
  TIMER_GETTIME , TIMER_GETTIME64 , TIMER_SETTIME , TIMER_SETTIME64 ,
  TIMERFD_CREATE , TIMERFD_GETTIME , TIMERFD_GETTIME64 , TIMERFD_SETTIME ,
  TIMERFD_SETTIME64 , TIMES , TKILL , TRUNCATE ,
  TRUNCATE64 , TUXCALL , UGETRLIMIT , ULIMIT ,
  UMASK , UMOUNT , UMOUNT2 , UNAME ,
  UNLINK , UNLINKAT , UNSHARE , UPROBE ,
  URETPROBE , USELIB , USERFAULTFD , USTAT ,
  UTIME , UTIMENSAT , UTIMENSAT_TIME64 , UTIMES ,
  VFORK , VHANGUP , VM86 , VM86OLD ,
  VMSPLICE , VSERVER , WAIT4 , WAITID ,
  WAITPID , WRITE , WRITEV
}
 Abstract system call number usable across architectures and ABIs. More...
 
enum class  SystemCallNrI386 : uint64_t {
  _FIRST = 0 , RESTART_SYSCALL = 0 , EXIT = 1 , FORK = 2 ,
  READ = 3 , WRITE = 4 , OPEN = 5 , CLOSE = 6 ,
  WAITPID = 7 , CREAT = 8 , LINK = 9 , UNLINK = 10 ,
  EXECVE = 11 , CHDIR = 12 , TIME = 13 , MKNOD = 14 ,
  CHMOD = 15 , LCHOWN = 16 , BREAK = 17 , OLDSTAT = 18 ,
  LSEEK = 19 , GETPID = 20 , MOUNT = 21 , UMOUNT = 22 ,
  SETUID = 23 , GETUID = 24 , STIME = 25 , PTRACE = 26 ,
  ALARM = 27 , OLDFSTAT = 28 , PAUSE = 29 , UTIME = 30 ,
  STTY = 31 , GTTY = 32 , ACCESS = 33 , NICE = 34 ,
  FTIME = 35 , SYNC = 36 , KILL = 37 , RENAME = 38 ,
  MKDIR = 39 , RMDIR = 40 , DUP = 41 , PIPE = 42 ,
  TIMES = 43 , PROF = 44 , BRK = 45 , SETGID = 46 ,
  GETGID = 47 , SIGNAL = 48 , GETEUID = 49 , GETEGID = 50 ,
  ACCT = 51 , UMOUNT2 = 52 , LOCK = 53 , IOCTL = 54 ,
  FCNTL = 55 , MPX = 56 , SETPGID = 57 , ULIMIT = 58 ,
  OLDOLDUNAME = 59 , UMASK = 60 , CHROOT = 61 , USTAT = 62 ,
  DUP2 = 63 , GETPPID = 64 , GETPGRP = 65 , SETSID = 66 ,
  SIGACTION = 67 , SGETMASK = 68 , SSETMASK = 69 , SETREUID = 70 ,
  SETREGID = 71 , SIGSUSPEND = 72 , SIGPENDING = 73 , SETHOSTNAME = 74 ,
  SETRLIMIT = 75 , GETRLIMIT = 76 , GETRUSAGE = 77 , GETTIMEOFDAY = 78 ,
  SETTIMEOFDAY = 79 , GETGROUPS = 80 , SETGROUPS = 81 , SELECT = 82 ,
  SYMLINK = 83 , OLDLSTAT = 84 , READLINK = 85 , USELIB = 86 ,
  SWAPON = 87 , REBOOT = 88 , READDIR = 89 , MMAP = 90 ,
  MUNMAP = 91 , TRUNCATE = 92 , FTRUNCATE = 93 , FCHMOD = 94 ,
  FCHOWN = 95 , GETPRIORITY = 96 , SETPRIORITY = 97 , PROFIL = 98 ,
  STATFS = 99 , FSTATFS = 100 , IOPERM = 101 , SOCKETCALL = 102 ,
  SYSLOG = 103 , SETITIMER = 104 , GETITIMER = 105 , STAT = 106 ,
  LSTAT = 107 , FSTAT = 108 , OLDUNAME = 109 , IOPL = 110 ,
  VHANGUP = 111 , IDLE = 112 , VM86OLD = 113 , WAIT4 = 114 ,
  SWAPOFF = 115 , SYSINFO = 116 , IPC = 117 , FSYNC = 118 ,
  SIGRETURN = 119 , CLONE = 120 , SETDOMAINNAME = 121 , UNAME = 122 ,
  MODIFY_LDT = 123 , ADJTIMEX = 124 , MPROTECT = 125 , SIGPROCMASK = 126 ,
  CREATE_MODULE = 127 , INIT_MODULE = 128 , DELETE_MODULE = 129 , GET_KERNEL_SYMS = 130 ,
  QUOTACTL = 131 , GETPGID = 132 , FCHDIR = 133 , BDFLUSH = 134 ,
  SYSFS = 135 , PERSONALITY = 136 , AFS_SYSCALL = 137 , SETFSUID = 138 ,
  SETFSGID = 139 , LLSEEK = 140 , GETDENTS = 141 , NEWSELECT = 142 ,
  FLOCK = 143 , MSYNC = 144 , READV = 145 , WRITEV = 146 ,
  GETSID = 147 , FDATASYNC = 148 , SYSCTL = 149 , MLOCK = 150 ,
  MUNLOCK = 151 , MLOCKALL = 152 , MUNLOCKALL = 153 , SCHED_SETPARAM = 154 ,
  SCHED_GETPARAM = 155 , SCHED_SETSCHEDULER = 156 , SCHED_GETSCHEDULER = 157 , SCHED_YIELD = 158 ,
  SCHED_GET_PRIORITY_MAX = 159 , SCHED_GET_PRIORITY_MIN = 160 , SCHED_RR_GET_INTERVAL = 161 , NANOSLEEP = 162 ,
  MREMAP = 163 , SETRESUID = 164 , GETRESUID = 165 , VM86 = 166 ,
  QUERY_MODULE = 167 , POLL = 168 , NFSSERVCTL = 169 , SETRESGID = 170 ,
  GETRESGID = 171 , PRCTL = 172 , RT_SIGRETURN = 173 , RT_SIGACTION = 174 ,
  RT_SIGPROCMASK = 175 , RT_SIGPENDING = 176 , RT_SIGTIMEDWAIT = 177 , RT_SIGQUEUEINFO = 178 ,
  RT_SIGSUSPEND = 179 , PREAD64 = 180 , PWRITE64 = 181 , CHOWN = 182 ,
  GETCWD = 183 , CAPGET = 184 , CAPSET = 185 , SIGALTSTACK = 186 ,
  SENDFILE = 187 , GETPMSG = 188 , PUTPMSG = 189 , VFORK = 190 ,
  UGETRLIMIT = 191 , MMAP2 = 192 , TRUNCATE64 = 193 , FTRUNCATE64 = 194 ,
  STAT64 = 195 , LSTAT64 = 196 , FSTAT64 = 197 , LCHOWN32 = 198 ,
  GETUID32 = 199 , GETGID32 = 200 , GETEUID32 = 201 , GETEGID32 = 202 ,
  SETREUID32 = 203 , SETREGID32 = 204 , GETGROUPS32 = 205 , SETGROUPS32 = 206 ,
  FCHOWN32 = 207 , SETRESUID32 = 208 , GETRESUID32 = 209 , SETRESGID32 = 210 ,
  GETRESGID32 = 211 , CHOWN32 = 212 , SETUID32 = 213 , SETGID32 = 214 ,
  SETFSUID32 = 215 , SETFSGID32 = 216 , PIVOT_ROOT = 217 , MINCORE = 218 ,
  MADVISE = 219 , GETDENTS64 = 220 , FCNTL64 = 221 , GETTID = 224 ,
  READAHEAD = 225 , SETXATTR = 226 , LSETXATTR = 227 , FSETXATTR = 228 ,
  GETXATTR = 229 , LGETXATTR = 230 , FGETXATTR = 231 , LISTXATTR = 232 ,
  LLISTXATTR = 233 , FLISTXATTR = 234 , REMOVEXATTR = 235 , LREMOVEXATTR = 236 ,
  FREMOVEXATTR = 237 , TKILL = 238 , SENDFILE64 = 239 , FUTEX = 240 ,
  SCHED_SETAFFINITY = 241 , SCHED_GETAFFINITY = 242 , SET_THREAD_AREA = 243 , GET_THREAD_AREA = 244 ,
  IO_SETUP = 245 , IO_DESTROY = 246 , IO_GETEVENTS = 247 , IO_SUBMIT = 248 ,
  IO_CANCEL = 249 , FADVISE64 = 250 , EXIT_GROUP = 252 , LOOKUP_DCOOKIE = 253 ,
  EPOLL_CREATE = 254 , EPOLL_CTL = 255 , EPOLL_WAIT = 256 , REMAP_FILE_PAGES = 257 ,
  SET_TID_ADDRESS = 258 , TIMER_CREATE = 259 , TIMER_SETTIME = 260 , TIMER_GETTIME = 261 ,
  TIMER_GETOVERRUN = 262 , TIMER_DELETE = 263 , CLOCK_SETTIME = 264 , CLOCK_GETTIME = 265 ,
  CLOCK_GETRES = 266 , CLOCK_NANOSLEEP = 267 , STATFS64 = 268 , FSTATFS64 = 269 ,
  TGKILL = 270 , UTIMES = 271 , FADVISE64_64 = 272 , VSERVER = 273 ,
  MBIND = 274 , GET_MEMPOLICY = 275 , SET_MEMPOLICY = 276 , MQ_OPEN = 277 ,
  MQ_UNLINK = 278 , MQ_TIMEDSEND = 279 , MQ_TIMEDRECEIVE = 280 , MQ_NOTIFY = 281 ,
  MQ_GETSETATTR = 282 , KEXEC_LOAD = 283 , WAITID = 284 , ADD_KEY = 286 ,
  REQUEST_KEY = 287 , KEYCTL = 288 , IOPRIO_SET = 289 , IOPRIO_GET = 290 ,
  INOTIFY_INIT = 291 , INOTIFY_ADD_WATCH = 292 , INOTIFY_RM_WATCH = 293 , MIGRATE_PAGES = 294 ,
  OPENAT = 295 , MKDIRAT = 296 , MKNODAT = 297 , FCHOWNAT = 298 ,
  FUTIMESAT = 299 , FSTATAT64 = 300 , UNLINKAT = 301 , RENAMEAT = 302 ,
  LINKAT = 303 , SYMLINKAT = 304 , READLINKAT = 305 , FCHMODAT = 306 ,
  FACCESSAT = 307 , PSELECT6 = 308 , PPOLL = 309 , UNSHARE = 310 ,
  SET_ROBUST_LIST = 311 , GET_ROBUST_LIST = 312 , SPLICE = 313 , SYNC_FILE_RANGE = 314 ,
  TEE = 315 , VMSPLICE = 316 , MOVE_PAGES = 317 , GETCPU = 318 ,
  EPOLL_PWAIT = 319 , UTIMENSAT = 320 , SIGNALFD = 321 , TIMERFD_CREATE = 322 ,
  EVENTFD = 323 , FALLOCATE = 324 , TIMERFD_SETTIME = 325 , TIMERFD_GETTIME = 326 ,
  SIGNALFD4 = 327 , EVENTFD2 = 328 , EPOLL_CREATE1 = 329 , DUP3 = 330 ,
  PIPE2 = 331 , INOTIFY_INIT1 = 332 , PREADV = 333 , PWRITEV = 334 ,
  RT_TGSIGQUEUEINFO = 335 , PERF_EVENT_OPEN = 336 , RECVMMSG = 337 , FANOTIFY_INIT = 338 ,
  FANOTIFY_MARK = 339 , PRLIMIT64 = 340 , NAME_TO_HANDLE_AT = 341 , OPEN_BY_HANDLE_AT = 342 ,
  CLOCK_ADJTIME = 343 , SYNCFS = 344 , SENDMMSG = 345 , SETNS = 346 ,
  PROCESS_VM_READV = 347 , PROCESS_VM_WRITEV = 348 , KCMP = 349 , FINIT_MODULE = 350 ,
  SCHED_SETATTR = 351 , SCHED_GETATTR = 352 , RENAMEAT2 = 353 , SECCOMP = 354 ,
  GETRANDOM = 355 , MEMFD_CREATE = 356 , BPF = 357 , EXECVEAT = 358 ,
  SOCKET = 359 , SOCKETPAIR = 360 , BIND = 361 , CONNECT = 362 ,
  LISTEN = 363 , ACCEPT4 = 364 , GETSOCKOPT = 365 , SETSOCKOPT = 366 ,
  GETSOCKNAME = 367 , GETPEERNAME = 368 , SENDTO = 369 , SENDMSG = 370 ,
  RECVFROM = 371 , RECVMSG = 372 , SHUTDOWN = 373 , USERFAULTFD = 374 ,
  MEMBARRIER = 375 , MLOCK2 = 376 , COPY_FILE_RANGE = 377 , PREADV2 = 378 ,
  PWRITEV2 = 379 , PKEY_MPROTECT = 380 , PKEY_ALLOC = 381 , PKEY_FREE = 382 ,
  STATX = 383 , ARCH_PRCTL = 384 , IO_PGETEVENTS = 385 , RSEQ = 386 ,
  SEMGET = 393 , SEMCTL = 394 , SHMGET = 395 , SHMCTL = 396 ,
  SHMAT = 397 , SHMDT = 398 , MSGGET = 399 , MSGSND = 400 ,
  MSGRCV = 401 , MSGCTL = 402 , CLOCK_GETTIME64 = 403 , CLOCK_SETTIME64 = 404 ,
  CLOCK_ADJTIME64 = 405 , CLOCK_GETRES_TIME64 = 406 , CLOCK_NANOSLEEP_TIME64 = 407 , TIMER_GETTIME64 = 408 ,
  TIMER_SETTIME64 = 409 , TIMERFD_GETTIME64 = 410 , TIMERFD_SETTIME64 = 411 , UTIMENSAT_TIME64 = 412 ,
  PSELECT6_TIME64 = 413 , PPOLL_TIME64 = 414 , IO_PGETEVENTS_TIME64 = 416 , RECVMMSG_TIME64 = 417 ,
  MQ_TIMEDSEND_TIME64 = 418 , MQ_TIMEDRECEIVE_TIME64 = 419 , SEMTIMEDOP_TIME64 = 420 , RT_SIGTIMEDWAIT_TIME64 = 421 ,
  FUTEX_TIME64 = 422 , SCHED_RR_GET_INTERVAL_TIME64 = 423 , PIDFD_SEND_SIGNAL = 424 , IO_URING_SETUP = 425 ,
  IO_URING_ENTER = 426 , IO_URING_REGISTER = 427 , OPEN_TREE = 428 , MOVE_MOUNT = 429 ,
  FSOPEN = 430 , FSCONFIG = 431 , FSMOUNT = 432 , FSPICK = 433 ,
  PIDFD_OPEN = 434 , CLONE3 = 435 , CLOSE_RANGE = 436 , OPENAT2 = 437 ,
  PIDFD_GETFD = 438 , FACCESSAT2 = 439 , PROCESS_MADVISE = 440 , EPOLL_PWAIT2 = 441 ,
  MOUNT_SETATTR = 442 , QUOTACTL_FD = 443 , LANDLOCK_CREATE_RULESET = 444 , LANDLOCK_ADD_RULE = 445 ,
  LANDLOCK_RESTRICT_SELF = 446 , MEMFD_SECRET = 447 , PROCESS_MRELEASE = 448 , FUTEX_WAITV = 449 ,
  SET_MEMPOLICY_HOME_NODE = 450 , CACHESTAT = 451 , FCHMODAT2 = 452 , MAP_SHADOW_STACK = 453 ,
  _FUTEX_WAKE = 454 , _FUTEX_WAIT = 455 , _FUTEX_REQUEUE = 456 , STATMOUNT = 457 ,
  LISTMOUNT = 458 , LSM_GET_SELF_ATTR = 459 , LSM_SET_SELF_ATTR = 460 , LSM_LIST_MODULES = 461 ,
  MSEAL = 462 , SETXATTRAT = 463 , GETXATTRAT = 464 , LISTXATTRAT = 465 ,
  REMOVEXATTRAT = 466 , OPEN_TREE_ATTR = 467 , FILE_GETATTR = 468 , FILE_SETATTR = 469 ,
  _LAST = 469
}
 Native system call numbers as used by Linux on the i386 ABI. More...
 
enum class  SystemCallNrX32 : uint64_t {
  _FIRST = X32_SYSCALL_BIT + 0 , READ = X32_SYSCALL_BIT + 0 , WRITE = X32_SYSCALL_BIT + 1 , OPEN = X32_SYSCALL_BIT + 2 ,
  CLOSE = X32_SYSCALL_BIT + 3 , STAT = X32_SYSCALL_BIT + 4 , FSTAT = X32_SYSCALL_BIT + 5 , LSTAT = X32_SYSCALL_BIT + 6 ,
  POLL = X32_SYSCALL_BIT + 7 , LSEEK = X32_SYSCALL_BIT + 8 , MMAP = X32_SYSCALL_BIT + 9 , MPROTECT = X32_SYSCALL_BIT + 10 ,
  MUNMAP = X32_SYSCALL_BIT + 11 , BRK = X32_SYSCALL_BIT + 12 , RT_SIGPROCMASK = X32_SYSCALL_BIT + 14 , PREAD64 = X32_SYSCALL_BIT + 17 ,
  PWRITE64 = X32_SYSCALL_BIT + 18 , ACCESS = X32_SYSCALL_BIT + 21 , PIPE = X32_SYSCALL_BIT + 22 , SELECT = X32_SYSCALL_BIT + 23 ,
  SCHED_YIELD = X32_SYSCALL_BIT + 24 , MREMAP = X32_SYSCALL_BIT + 25 , MSYNC = X32_SYSCALL_BIT + 26 , MINCORE = X32_SYSCALL_BIT + 27 ,
  MADVISE = X32_SYSCALL_BIT + 28 , SHMGET = X32_SYSCALL_BIT + 29 , SHMAT = X32_SYSCALL_BIT + 30 , SHMCTL = X32_SYSCALL_BIT + 31 ,
  DUP = X32_SYSCALL_BIT + 32 , DUP2 = X32_SYSCALL_BIT + 33 , PAUSE = X32_SYSCALL_BIT + 34 , NANOSLEEP = X32_SYSCALL_BIT + 35 ,
  GETITIMER = X32_SYSCALL_BIT + 36 , ALARM = X32_SYSCALL_BIT + 37 , SETITIMER = X32_SYSCALL_BIT + 38 , GETPID = X32_SYSCALL_BIT + 39 ,
  SENDFILE = X32_SYSCALL_BIT + 40 , SOCKET = X32_SYSCALL_BIT + 41 , CONNECT = X32_SYSCALL_BIT + 42 , ACCEPT = X32_SYSCALL_BIT + 43 ,
  SENDTO = X32_SYSCALL_BIT + 44 , SHUTDOWN = X32_SYSCALL_BIT + 48 , BIND = X32_SYSCALL_BIT + 49 , LISTEN = X32_SYSCALL_BIT + 50 ,
  GETSOCKNAME = X32_SYSCALL_BIT + 51 , GETPEERNAME = X32_SYSCALL_BIT + 52 , SOCKETPAIR = X32_SYSCALL_BIT + 53 , CLONE = X32_SYSCALL_BIT + 56 ,
  FORK = X32_SYSCALL_BIT + 57 , VFORK = X32_SYSCALL_BIT + 58 , EXIT = X32_SYSCALL_BIT + 60 , WAIT4 = X32_SYSCALL_BIT + 61 ,
  KILL = X32_SYSCALL_BIT + 62 , UNAME = X32_SYSCALL_BIT + 63 , SEMGET = X32_SYSCALL_BIT + 64 , SEMOP = X32_SYSCALL_BIT + 65 ,
  SEMCTL = X32_SYSCALL_BIT + 66 , SHMDT = X32_SYSCALL_BIT + 67 , MSGGET = X32_SYSCALL_BIT + 68 , MSGSND = X32_SYSCALL_BIT + 69 ,
  MSGRCV = X32_SYSCALL_BIT + 70 , MSGCTL = X32_SYSCALL_BIT + 71 , FCNTL = X32_SYSCALL_BIT + 72 , FLOCK = X32_SYSCALL_BIT + 73 ,
  FSYNC = X32_SYSCALL_BIT + 74 , FDATASYNC = X32_SYSCALL_BIT + 75 , TRUNCATE = X32_SYSCALL_BIT + 76 , FTRUNCATE = X32_SYSCALL_BIT + 77 ,
  GETDENTS = X32_SYSCALL_BIT + 78 , GETCWD = X32_SYSCALL_BIT + 79 , CHDIR = X32_SYSCALL_BIT + 80 , FCHDIR = X32_SYSCALL_BIT + 81 ,
  RENAME = X32_SYSCALL_BIT + 82 , MKDIR = X32_SYSCALL_BIT + 83 , RMDIR = X32_SYSCALL_BIT + 84 , CREAT = X32_SYSCALL_BIT + 85 ,
  LINK = X32_SYSCALL_BIT + 86 , UNLINK = X32_SYSCALL_BIT + 87 , SYMLINK = X32_SYSCALL_BIT + 88 , READLINK = X32_SYSCALL_BIT + 89 ,
  CHMOD = X32_SYSCALL_BIT + 90 , FCHMOD = X32_SYSCALL_BIT + 91 , CHOWN = X32_SYSCALL_BIT + 92 , FCHOWN = X32_SYSCALL_BIT + 93 ,
  LCHOWN = X32_SYSCALL_BIT + 94 , UMASK = X32_SYSCALL_BIT + 95 , GETTIMEOFDAY = X32_SYSCALL_BIT + 96 , GETRLIMIT = X32_SYSCALL_BIT + 97 ,
  GETRUSAGE = X32_SYSCALL_BIT + 98 , SYSINFO = X32_SYSCALL_BIT + 99 , TIMES = X32_SYSCALL_BIT + 100 , GETUID = X32_SYSCALL_BIT + 102 ,
  SYSLOG = X32_SYSCALL_BIT + 103 , GETGID = X32_SYSCALL_BIT + 104 , SETUID = X32_SYSCALL_BIT + 105 , SETGID = X32_SYSCALL_BIT + 106 ,
  GETEUID = X32_SYSCALL_BIT + 107 , GETEGID = X32_SYSCALL_BIT + 108 , SETPGID = X32_SYSCALL_BIT + 109 , GETPPID = X32_SYSCALL_BIT + 110 ,
  GETPGRP = X32_SYSCALL_BIT + 111 , SETSID = X32_SYSCALL_BIT + 112 , SETREUID = X32_SYSCALL_BIT + 113 , SETREGID = X32_SYSCALL_BIT + 114 ,
  GETGROUPS = X32_SYSCALL_BIT + 115 , SETGROUPS = X32_SYSCALL_BIT + 116 , SETRESUID = X32_SYSCALL_BIT + 117 , GETRESUID = X32_SYSCALL_BIT + 118 ,
  SETRESGID = X32_SYSCALL_BIT + 119 , GETRESGID = X32_SYSCALL_BIT + 120 , GETPGID = X32_SYSCALL_BIT + 121 , SETFSUID = X32_SYSCALL_BIT + 122 ,
  SETFSGID = X32_SYSCALL_BIT + 123 , GETSID = X32_SYSCALL_BIT + 124 , CAPGET = X32_SYSCALL_BIT + 125 , CAPSET = X32_SYSCALL_BIT + 126 ,
  RT_SIGSUSPEND = X32_SYSCALL_BIT + 130 , UTIME = X32_SYSCALL_BIT + 132 , MKNOD = X32_SYSCALL_BIT + 133 , PERSONALITY = X32_SYSCALL_BIT + 135 ,
  USTAT = X32_SYSCALL_BIT + 136 , STATFS = X32_SYSCALL_BIT + 137 , FSTATFS = X32_SYSCALL_BIT + 138 , SYSFS = X32_SYSCALL_BIT + 139 ,
  GETPRIORITY = X32_SYSCALL_BIT + 140 , SETPRIORITY = X32_SYSCALL_BIT + 141 , SCHED_SETPARAM = X32_SYSCALL_BIT + 142 , SCHED_GETPARAM = X32_SYSCALL_BIT + 143 ,
  SCHED_SETSCHEDULER = X32_SYSCALL_BIT + 144 , SCHED_GETSCHEDULER = X32_SYSCALL_BIT + 145 , SCHED_GET_PRIORITY_MAX = X32_SYSCALL_BIT + 146 , SCHED_GET_PRIORITY_MIN = X32_SYSCALL_BIT + 147 ,
  SCHED_RR_GET_INTERVAL = X32_SYSCALL_BIT + 148 , MLOCK = X32_SYSCALL_BIT + 149 , MUNLOCK = X32_SYSCALL_BIT + 150 , MLOCKALL = X32_SYSCALL_BIT + 151 ,
  MUNLOCKALL = X32_SYSCALL_BIT + 152 , VHANGUP = X32_SYSCALL_BIT + 153 , MODIFY_LDT = X32_SYSCALL_BIT + 154 , PIVOT_ROOT = X32_SYSCALL_BIT + 155 ,
  PRCTL = X32_SYSCALL_BIT + 157 , ARCH_PRCTL = X32_SYSCALL_BIT + 158 , ADJTIMEX = X32_SYSCALL_BIT + 159 , SETRLIMIT = X32_SYSCALL_BIT + 160 ,
  CHROOT = X32_SYSCALL_BIT + 161 , SYNC = X32_SYSCALL_BIT + 162 , ACCT = X32_SYSCALL_BIT + 163 , SETTIMEOFDAY = X32_SYSCALL_BIT + 164 ,
  MOUNT = X32_SYSCALL_BIT + 165 , UMOUNT2 = X32_SYSCALL_BIT + 166 , SWAPON = X32_SYSCALL_BIT + 167 , SWAPOFF = X32_SYSCALL_BIT + 168 ,
  REBOOT = X32_SYSCALL_BIT + 169 , SETHOSTNAME = X32_SYSCALL_BIT + 170 , SETDOMAINNAME = X32_SYSCALL_BIT + 171 , IOPL = X32_SYSCALL_BIT + 172 ,
  IOPERM = X32_SYSCALL_BIT + 173 , INIT_MODULE = X32_SYSCALL_BIT + 175 , DELETE_MODULE = X32_SYSCALL_BIT + 176 , QUOTACTL = X32_SYSCALL_BIT + 179 ,
  GETPMSG = X32_SYSCALL_BIT + 181 , PUTPMSG = X32_SYSCALL_BIT + 182 , AFS_SYSCALL = X32_SYSCALL_BIT + 183 , TUXCALL = X32_SYSCALL_BIT + 184 ,
  SECURITY = X32_SYSCALL_BIT + 185 , GETTID = X32_SYSCALL_BIT + 186 , READAHEAD = X32_SYSCALL_BIT + 187 , SETXATTR = X32_SYSCALL_BIT + 188 ,
  LSETXATTR = X32_SYSCALL_BIT + 189 , FSETXATTR = X32_SYSCALL_BIT + 190 , GETXATTR = X32_SYSCALL_BIT + 191 , LGETXATTR = X32_SYSCALL_BIT + 192 ,
  FGETXATTR = X32_SYSCALL_BIT + 193 , LISTXATTR = X32_SYSCALL_BIT + 194 , LLISTXATTR = X32_SYSCALL_BIT + 195 , FLISTXATTR = X32_SYSCALL_BIT + 196 ,
  REMOVEXATTR = X32_SYSCALL_BIT + 197 , LREMOVEXATTR = X32_SYSCALL_BIT + 198 , FREMOVEXATTR = X32_SYSCALL_BIT + 199 , TKILL = X32_SYSCALL_BIT + 200 ,
  TIME = X32_SYSCALL_BIT + 201 , FUTEX = X32_SYSCALL_BIT + 202 , SCHED_SETAFFINITY = X32_SYSCALL_BIT + 203 , SCHED_GETAFFINITY = X32_SYSCALL_BIT + 204 ,
  IO_DESTROY = X32_SYSCALL_BIT + 207 , IO_GETEVENTS = X32_SYSCALL_BIT + 208 , IO_CANCEL = X32_SYSCALL_BIT + 210 , LOOKUP_DCOOKIE = X32_SYSCALL_BIT + 212 ,
  EPOLL_CREATE = X32_SYSCALL_BIT + 213 , REMAP_FILE_PAGES = X32_SYSCALL_BIT + 216 , GETDENTS64 = X32_SYSCALL_BIT + 217 , SET_TID_ADDRESS = X32_SYSCALL_BIT + 218 ,
  RESTART_SYSCALL = X32_SYSCALL_BIT + 219 , SEMTIMEDOP = X32_SYSCALL_BIT + 220 , FADVISE64 = X32_SYSCALL_BIT + 221 , TIMER_SETTIME = X32_SYSCALL_BIT + 223 ,
  TIMER_GETTIME = X32_SYSCALL_BIT + 224 , TIMER_GETOVERRUN = X32_SYSCALL_BIT + 225 , TIMER_DELETE = X32_SYSCALL_BIT + 226 , CLOCK_SETTIME = X32_SYSCALL_BIT + 227 ,
  CLOCK_GETTIME = X32_SYSCALL_BIT + 228 , CLOCK_GETRES = X32_SYSCALL_BIT + 229 , CLOCK_NANOSLEEP = X32_SYSCALL_BIT + 230 , EXIT_GROUP = X32_SYSCALL_BIT + 231 ,
  EPOLL_WAIT = X32_SYSCALL_BIT + 232 , EPOLL_CTL = X32_SYSCALL_BIT + 233 , TGKILL = X32_SYSCALL_BIT + 234 , UTIMES = X32_SYSCALL_BIT + 235 ,
  MBIND = X32_SYSCALL_BIT + 237 , SET_MEMPOLICY = X32_SYSCALL_BIT + 238 , GET_MEMPOLICY = X32_SYSCALL_BIT + 239 , MQ_OPEN = X32_SYSCALL_BIT + 240 ,
  MQ_UNLINK = X32_SYSCALL_BIT + 241 , MQ_TIMEDSEND = X32_SYSCALL_BIT + 242 , MQ_TIMEDRECEIVE = X32_SYSCALL_BIT + 243 , MQ_GETSETATTR = X32_SYSCALL_BIT + 245 ,
  ADD_KEY = X32_SYSCALL_BIT + 248 , REQUEST_KEY = X32_SYSCALL_BIT + 249 , KEYCTL = X32_SYSCALL_BIT + 250 , IOPRIO_SET = X32_SYSCALL_BIT + 251 ,
  IOPRIO_GET = X32_SYSCALL_BIT + 252 , INOTIFY_INIT = X32_SYSCALL_BIT + 253 , INOTIFY_ADD_WATCH = X32_SYSCALL_BIT + 254 , INOTIFY_RM_WATCH = X32_SYSCALL_BIT + 255 ,
  MIGRATE_PAGES = X32_SYSCALL_BIT + 256 , OPENAT = X32_SYSCALL_BIT + 257 , MKDIRAT = X32_SYSCALL_BIT + 258 , MKNODAT = X32_SYSCALL_BIT + 259 ,
  FCHOWNAT = X32_SYSCALL_BIT + 260 , FUTIMESAT = X32_SYSCALL_BIT + 261 , NEWFSTATAT = X32_SYSCALL_BIT + 262 , UNLINKAT = X32_SYSCALL_BIT + 263 ,
  RENAMEAT = X32_SYSCALL_BIT + 264 , LINKAT = X32_SYSCALL_BIT + 265 , SYMLINKAT = X32_SYSCALL_BIT + 266 , READLINKAT = X32_SYSCALL_BIT + 267 ,
  FCHMODAT = X32_SYSCALL_BIT + 268 , FACCESSAT = X32_SYSCALL_BIT + 269 , PSELECT6 = X32_SYSCALL_BIT + 270 , PPOLL = X32_SYSCALL_BIT + 271 ,
  UNSHARE = X32_SYSCALL_BIT + 272 , SPLICE = X32_SYSCALL_BIT + 275 , TEE = X32_SYSCALL_BIT + 276 , SYNC_FILE_RANGE = X32_SYSCALL_BIT + 277 ,
  UTIMENSAT = X32_SYSCALL_BIT + 280 , EPOLL_PWAIT = X32_SYSCALL_BIT + 281 , SIGNALFD = X32_SYSCALL_BIT + 282 , TIMERFD_CREATE = X32_SYSCALL_BIT + 283 ,
  EVENTFD = X32_SYSCALL_BIT + 284 , FALLOCATE = X32_SYSCALL_BIT + 285 , TIMERFD_SETTIME = X32_SYSCALL_BIT + 286 , TIMERFD_GETTIME = X32_SYSCALL_BIT + 287 ,
  ACCEPT4 = X32_SYSCALL_BIT + 288 , SIGNALFD4 = X32_SYSCALL_BIT + 289 , EVENTFD2 = X32_SYSCALL_BIT + 290 , EPOLL_CREATE1 = X32_SYSCALL_BIT + 291 ,
  DUP3 = X32_SYSCALL_BIT + 292 , PIPE2 = X32_SYSCALL_BIT + 293 , INOTIFY_INIT1 = X32_SYSCALL_BIT + 294 , PERF_EVENT_OPEN = X32_SYSCALL_BIT + 298 ,
  FANOTIFY_INIT = X32_SYSCALL_BIT + 300 , FANOTIFY_MARK = X32_SYSCALL_BIT + 301 , PRLIMIT64 = X32_SYSCALL_BIT + 302 , NAME_TO_HANDLE_AT = X32_SYSCALL_BIT + 303 ,
  OPEN_BY_HANDLE_AT = X32_SYSCALL_BIT + 304 , CLOCK_ADJTIME = X32_SYSCALL_BIT + 305 , SYNCFS = X32_SYSCALL_BIT + 306 , SETNS = X32_SYSCALL_BIT + 308 ,
  GETCPU = X32_SYSCALL_BIT + 309 , KCMP = X32_SYSCALL_BIT + 312 , FINIT_MODULE = X32_SYSCALL_BIT + 313 , SCHED_SETATTR = X32_SYSCALL_BIT + 314 ,
  SCHED_GETATTR = X32_SYSCALL_BIT + 315 , RENAMEAT2 = X32_SYSCALL_BIT + 316 , SECCOMP = X32_SYSCALL_BIT + 317 , GETRANDOM = X32_SYSCALL_BIT + 318 ,
  MEMFD_CREATE = X32_SYSCALL_BIT + 319 , KEXEC_FILE_LOAD = X32_SYSCALL_BIT + 320 , BPF = X32_SYSCALL_BIT + 321 , USERFAULTFD = X32_SYSCALL_BIT + 323 ,
  MEMBARRIER = X32_SYSCALL_BIT + 324 , MLOCK2 = X32_SYSCALL_BIT + 325 , COPY_FILE_RANGE = X32_SYSCALL_BIT + 326 , PKEY_MPROTECT = X32_SYSCALL_BIT + 329 ,
  PKEY_ALLOC = X32_SYSCALL_BIT + 330 , PKEY_FREE = X32_SYSCALL_BIT + 331 , STATX = X32_SYSCALL_BIT + 332 , IO_PGETEVENTS = X32_SYSCALL_BIT + 333 ,
  RSEQ = X32_SYSCALL_BIT + 334 , URETPROBE = X32_SYSCALL_BIT + 335 , UPROBE = X32_SYSCALL_BIT + 336 , PIDFD_SEND_SIGNAL = X32_SYSCALL_BIT + 424 ,
  IO_URING_SETUP = X32_SYSCALL_BIT + 425 , IO_URING_ENTER = X32_SYSCALL_BIT + 426 , IO_URING_REGISTER = X32_SYSCALL_BIT + 427 , OPEN_TREE = X32_SYSCALL_BIT + 428 ,
  MOVE_MOUNT = X32_SYSCALL_BIT + 429 , FSOPEN = X32_SYSCALL_BIT + 430 , FSCONFIG = X32_SYSCALL_BIT + 431 , FSMOUNT = X32_SYSCALL_BIT + 432 ,
  FSPICK = X32_SYSCALL_BIT + 433 , PIDFD_OPEN = X32_SYSCALL_BIT + 434 , CLONE3 = X32_SYSCALL_BIT + 435 , CLOSE_RANGE = X32_SYSCALL_BIT + 436 ,
  OPENAT2 = X32_SYSCALL_BIT + 437 , PIDFD_GETFD = X32_SYSCALL_BIT + 438 , FACCESSAT2 = X32_SYSCALL_BIT + 439 , PROCESS_MADVISE = X32_SYSCALL_BIT + 440 ,
  EPOLL_PWAIT2 = X32_SYSCALL_BIT + 441 , MOUNT_SETATTR = X32_SYSCALL_BIT + 442 , QUOTACTL_FD = X32_SYSCALL_BIT + 443 , LANDLOCK_CREATE_RULESET = X32_SYSCALL_BIT + 444 ,
  LANDLOCK_ADD_RULE = X32_SYSCALL_BIT + 445 , LANDLOCK_RESTRICT_SELF = X32_SYSCALL_BIT + 446 , MEMFD_SECRET = X32_SYSCALL_BIT + 447 , PROCESS_MRELEASE = X32_SYSCALL_BIT + 448 ,
  FUTEX_WAITV = X32_SYSCALL_BIT + 449 , SET_MEMPOLICY_HOME_NODE = X32_SYSCALL_BIT + 450 , CACHESTAT = X32_SYSCALL_BIT + 451 , FCHMODAT2 = X32_SYSCALL_BIT + 452 ,
  MAP_SHADOW_STACK = X32_SYSCALL_BIT + 453 , _FUTEX_WAKE = X32_SYSCALL_BIT + 454 , _FUTEX_WAIT = X32_SYSCALL_BIT + 455 , _FUTEX_REQUEUE = X32_SYSCALL_BIT + 456 ,
  STATMOUNT = X32_SYSCALL_BIT + 457 , LISTMOUNT = X32_SYSCALL_BIT + 458 , LSM_GET_SELF_ATTR = X32_SYSCALL_BIT + 459 , LSM_SET_SELF_ATTR = X32_SYSCALL_BIT + 460 ,
  LSM_LIST_MODULES = X32_SYSCALL_BIT + 461 , MSEAL = X32_SYSCALL_BIT + 462 , SETXATTRAT = X32_SYSCALL_BIT + 463 , GETXATTRAT = X32_SYSCALL_BIT + 464 ,
  LISTXATTRAT = X32_SYSCALL_BIT + 465 , REMOVEXATTRAT = X32_SYSCALL_BIT + 466 , OPEN_TREE_ATTR = X32_SYSCALL_BIT + 467 , FILE_GETATTR = X32_SYSCALL_BIT + 468 ,
  FILE_SETATTR = X32_SYSCALL_BIT + 469 , RT_SIGACTION = X32_SYSCALL_BIT + 512 , RT_SIGRETURN = X32_SYSCALL_BIT + 513 , IOCTL = X32_SYSCALL_BIT + 514 ,
  READV = X32_SYSCALL_BIT + 515 , WRITEV = X32_SYSCALL_BIT + 516 , RECVFROM = X32_SYSCALL_BIT + 517 , SENDMSG = X32_SYSCALL_BIT + 518 ,
  RECVMSG = X32_SYSCALL_BIT + 519 , EXECVE = X32_SYSCALL_BIT + 520 , PTRACE = X32_SYSCALL_BIT + 521 , RT_SIGPENDING = X32_SYSCALL_BIT + 522 ,
  RT_SIGTIMEDWAIT = X32_SYSCALL_BIT + 523 , RT_SIGQUEUEINFO = X32_SYSCALL_BIT + 524 , SIGALTSTACK = X32_SYSCALL_BIT + 525 , TIMER_CREATE = X32_SYSCALL_BIT + 526 ,
  MQ_NOTIFY = X32_SYSCALL_BIT + 527 , KEXEC_LOAD = X32_SYSCALL_BIT + 528 , WAITID = X32_SYSCALL_BIT + 529 , SET_ROBUST_LIST = X32_SYSCALL_BIT + 530 ,
  GET_ROBUST_LIST = X32_SYSCALL_BIT + 531 , VMSPLICE = X32_SYSCALL_BIT + 532 , MOVE_PAGES = X32_SYSCALL_BIT + 533 , PREADV = X32_SYSCALL_BIT + 534 ,
  PWRITEV = X32_SYSCALL_BIT + 535 , RT_TGSIGQUEUEINFO = X32_SYSCALL_BIT + 536 , RECVMMSG = X32_SYSCALL_BIT + 537 , SENDMMSG = X32_SYSCALL_BIT + 538 ,
  PROCESS_VM_READV = X32_SYSCALL_BIT + 539 , PROCESS_VM_WRITEV = X32_SYSCALL_BIT + 540 , SETSOCKOPT = X32_SYSCALL_BIT + 541 , GETSOCKOPT = X32_SYSCALL_BIT + 542 ,
  IO_SETUP = X32_SYSCALL_BIT + 543 , IO_SUBMIT = X32_SYSCALL_BIT + 544 , EXECVEAT = X32_SYSCALL_BIT + 545 , PREADV2 = X32_SYSCALL_BIT + 546 ,
  PWRITEV2 = X32_SYSCALL_BIT + 547 , _LAST = X32_SYSCALL_BIT + 547
}
 
enum class  SystemCallNrX64 : uint64_t {
  _FIRST = 0 , READ = 0 , WRITE = 1 , OPEN = 2 ,
  CLOSE = 3 , STAT = 4 , FSTAT = 5 , LSTAT = 6 ,
  POLL = 7 , LSEEK = 8 , MMAP = 9 , MPROTECT = 10 ,
  MUNMAP = 11 , BRK = 12 , RT_SIGACTION = 13 , RT_SIGPROCMASK = 14 ,
  RT_SIGRETURN = 15 , IOCTL = 16 , PREAD64 = 17 , PWRITE64 = 18 ,
  READV = 19 , WRITEV = 20 , ACCESS = 21 , PIPE = 22 ,
  SELECT = 23 , SCHED_YIELD = 24 , MREMAP = 25 , MSYNC = 26 ,
  MINCORE = 27 , MADVISE = 28 , SHMGET = 29 , SHMAT = 30 ,
  SHMCTL = 31 , DUP = 32 , DUP2 = 33 , PAUSE = 34 ,
  NANOSLEEP = 35 , GETITIMER = 36 , ALARM = 37 , SETITIMER = 38 ,
  GETPID = 39 , SENDFILE = 40 , SOCKET = 41 , CONNECT = 42 ,
  ACCEPT = 43 , SENDTO = 44 , RECVFROM = 45 , SENDMSG = 46 ,
  RECVMSG = 47 , SHUTDOWN = 48 , BIND = 49 , LISTEN = 50 ,
  GETSOCKNAME = 51 , GETPEERNAME = 52 , SOCKETPAIR = 53 , SETSOCKOPT = 54 ,
  GETSOCKOPT = 55 , CLONE = 56 , FORK = 57 , VFORK = 58 ,
  EXECVE = 59 , EXIT = 60 , WAIT4 = 61 , KILL = 62 ,
  UNAME = 63 , SEMGET = 64 , SEMOP = 65 , SEMCTL = 66 ,
  SHMDT = 67 , MSGGET = 68 , MSGSND = 69 , MSGRCV = 70 ,
  MSGCTL = 71 , FCNTL = 72 , FLOCK = 73 , FSYNC = 74 ,
  FDATASYNC = 75 , TRUNCATE = 76 , FTRUNCATE = 77 , GETDENTS = 78 ,
  GETCWD = 79 , CHDIR = 80 , FCHDIR = 81 , RENAME = 82 ,
  MKDIR = 83 , RMDIR = 84 , CREAT = 85 , LINK = 86 ,
  UNLINK = 87 , SYMLINK = 88 , READLINK = 89 , CHMOD = 90 ,
  FCHMOD = 91 , CHOWN = 92 , FCHOWN = 93 , LCHOWN = 94 ,
  UMASK = 95 , GETTIMEOFDAY = 96 , GETRLIMIT = 97 , GETRUSAGE = 98 ,
  SYSINFO = 99 , TIMES = 100 , PTRACE = 101 , GETUID = 102 ,
  SYSLOG = 103 , GETGID = 104 , SETUID = 105 , SETGID = 106 ,
  GETEUID = 107 , GETEGID = 108 , SETPGID = 109 , GETPPID = 110 ,
  GETPGRP = 111 , SETSID = 112 , SETREUID = 113 , SETREGID = 114 ,
  GETGROUPS = 115 , SETGROUPS = 116 , SETRESUID = 117 , GETRESUID = 118 ,
  SETRESGID = 119 , GETRESGID = 120 , GETPGID = 121 , SETFSUID = 122 ,
  SETFSGID = 123 , GETSID = 124 , CAPGET = 125 , CAPSET = 126 ,
  RT_SIGPENDING = 127 , RT_SIGTIMEDWAIT = 128 , RT_SIGQUEUEINFO = 129 , RT_SIGSUSPEND = 130 ,
  SIGALTSTACK = 131 , UTIME = 132 , MKNOD = 133 , USELIB = 134 ,
  PERSONALITY = 135 , USTAT = 136 , STATFS = 137 , FSTATFS = 138 ,
  SYSFS = 139 , GETPRIORITY = 140 , SETPRIORITY = 141 , SCHED_SETPARAM = 142 ,
  SCHED_GETPARAM = 143 , SCHED_SETSCHEDULER = 144 , SCHED_GETSCHEDULER = 145 , SCHED_GET_PRIORITY_MAX = 146 ,
  SCHED_GET_PRIORITY_MIN = 147 , SCHED_RR_GET_INTERVAL = 148 , MLOCK = 149 , MUNLOCK = 150 ,
  MLOCKALL = 151 , MUNLOCKALL = 152 , VHANGUP = 153 , MODIFY_LDT = 154 ,
  PIVOT_ROOT = 155 , SYSCTL = 156 , PRCTL = 157 , ARCH_PRCTL = 158 ,
  ADJTIMEX = 159 , SETRLIMIT = 160 , CHROOT = 161 , SYNC = 162 ,
  ACCT = 163 , SETTIMEOFDAY = 164 , MOUNT = 165 , UMOUNT2 = 166 ,
  SWAPON = 167 , SWAPOFF = 168 , REBOOT = 169 , SETHOSTNAME = 170 ,
  SETDOMAINNAME = 171 , IOPL = 172 , IOPERM = 173 , CREATE_MODULE = 174 ,
  INIT_MODULE = 175 , DELETE_MODULE = 176 , GET_KERNEL_SYMS = 177 , QUERY_MODULE = 178 ,
  QUOTACTL = 179 , NFSSERVCTL = 180 , GETPMSG = 181 , PUTPMSG = 182 ,
  AFS_SYSCALL = 183 , TUXCALL = 184 , SECURITY = 185 , GETTID = 186 ,
  READAHEAD = 187 , SETXATTR = 188 , LSETXATTR = 189 , FSETXATTR = 190 ,
  GETXATTR = 191 , LGETXATTR = 192 , FGETXATTR = 193 , LISTXATTR = 194 ,
  LLISTXATTR = 195 , FLISTXATTR = 196 , REMOVEXATTR = 197 , LREMOVEXATTR = 198 ,
  FREMOVEXATTR = 199 , TKILL = 200 , TIME = 201 , FUTEX = 202 ,
  SCHED_SETAFFINITY = 203 , SCHED_GETAFFINITY = 204 , SET_THREAD_AREA = 205 , IO_SETUP = 206 ,
  IO_DESTROY = 207 , IO_GETEVENTS = 208 , IO_SUBMIT = 209 , IO_CANCEL = 210 ,
  GET_THREAD_AREA = 211 , LOOKUP_DCOOKIE = 212 , EPOLL_CREATE = 213 , EPOLL_CTL_OLD = 214 ,
  EPOLL_WAIT_OLD = 215 , REMAP_FILE_PAGES = 216 , GETDENTS64 = 217 , SET_TID_ADDRESS = 218 ,
  RESTART_SYSCALL = 219 , SEMTIMEDOP = 220 , FADVISE64 = 221 , TIMER_CREATE = 222 ,
  TIMER_SETTIME = 223 , TIMER_GETTIME = 224 , TIMER_GETOVERRUN = 225 , TIMER_DELETE = 226 ,
  CLOCK_SETTIME = 227 , CLOCK_GETTIME = 228 , CLOCK_GETRES = 229 , CLOCK_NANOSLEEP = 230 ,
  EXIT_GROUP = 231 , EPOLL_WAIT = 232 , EPOLL_CTL = 233 , TGKILL = 234 ,
  UTIMES = 235 , VSERVER = 236 , MBIND = 237 , SET_MEMPOLICY = 238 ,
  GET_MEMPOLICY = 239 , MQ_OPEN = 240 , MQ_UNLINK = 241 , MQ_TIMEDSEND = 242 ,
  MQ_TIMEDRECEIVE = 243 , MQ_NOTIFY = 244 , MQ_GETSETATTR = 245 , KEXEC_LOAD = 246 ,
  WAITID = 247 , ADD_KEY = 248 , REQUEST_KEY = 249 , KEYCTL = 250 ,
  IOPRIO_SET = 251 , IOPRIO_GET = 252 , INOTIFY_INIT = 253 , INOTIFY_ADD_WATCH = 254 ,
  INOTIFY_RM_WATCH = 255 , MIGRATE_PAGES = 256 , OPENAT = 257 , MKDIRAT = 258 ,
  MKNODAT = 259 , FCHOWNAT = 260 , FUTIMESAT = 261 , NEWFSTATAT = 262 ,
  UNLINKAT = 263 , RENAMEAT = 264 , LINKAT = 265 , SYMLINKAT = 266 ,
  READLINKAT = 267 , FCHMODAT = 268 , FACCESSAT = 269 , PSELECT6 = 270 ,
  PPOLL = 271 , UNSHARE = 272 , SET_ROBUST_LIST = 273 , GET_ROBUST_LIST = 274 ,
  SPLICE = 275 , TEE = 276 , SYNC_FILE_RANGE = 277 , VMSPLICE = 278 ,
  MOVE_PAGES = 279 , UTIMENSAT = 280 , EPOLL_PWAIT = 281 , SIGNALFD = 282 ,
  TIMERFD_CREATE = 283 , EVENTFD = 284 , FALLOCATE = 285 , TIMERFD_SETTIME = 286 ,
  TIMERFD_GETTIME = 287 , ACCEPT4 = 288 , SIGNALFD4 = 289 , EVENTFD2 = 290 ,
  EPOLL_CREATE1 = 291 , DUP3 = 292 , PIPE2 = 293 , INOTIFY_INIT1 = 294 ,
  PREADV = 295 , PWRITEV = 296 , RT_TGSIGQUEUEINFO = 297 , PERF_EVENT_OPEN = 298 ,
  RECVMMSG = 299 , FANOTIFY_INIT = 300 , FANOTIFY_MARK = 301 , PRLIMIT64 = 302 ,
  NAME_TO_HANDLE_AT = 303 , OPEN_BY_HANDLE_AT = 304 , CLOCK_ADJTIME = 305 , SYNCFS = 306 ,
  SENDMMSG = 307 , SETNS = 308 , GETCPU = 309 , PROCESS_VM_READV = 310 ,
  PROCESS_VM_WRITEV = 311 , KCMP = 312 , FINIT_MODULE = 313 , SCHED_SETATTR = 314 ,
  SCHED_GETATTR = 315 , RENAMEAT2 = 316 , SECCOMP = 317 , GETRANDOM = 318 ,
  MEMFD_CREATE = 319 , KEXEC_FILE_LOAD = 320 , BPF = 321 , EXECVEAT = 322 ,
  USERFAULTFD = 323 , MEMBARRIER = 324 , MLOCK2 = 325 , COPY_FILE_RANGE = 326 ,
  PREADV2 = 327 , PWRITEV2 = 328 , PKEY_MPROTECT = 329 , PKEY_ALLOC = 330 ,
  PKEY_FREE = 331 , STATX = 332 , IO_PGETEVENTS = 333 , RSEQ = 334 ,
  URETPROBE = 335 , UPROBE = 336 , PIDFD_SEND_SIGNAL = 424 , IO_URING_SETUP = 425 ,
  IO_URING_ENTER = 426 , IO_URING_REGISTER = 427 , OPEN_TREE = 428 , MOVE_MOUNT = 429 ,
  FSOPEN = 430 , FSCONFIG = 431 , FSMOUNT = 432 , FSPICK = 433 ,
  PIDFD_OPEN = 434 , CLONE3 = 435 , CLOSE_RANGE = 436 , OPENAT2 = 437 ,
  PIDFD_GETFD = 438 , FACCESSAT2 = 439 , PROCESS_MADVISE = 440 , EPOLL_PWAIT2 = 441 ,
  MOUNT_SETATTR = 442 , QUOTACTL_FD = 443 , LANDLOCK_CREATE_RULESET = 444 , LANDLOCK_ADD_RULE = 445 ,
  LANDLOCK_RESTRICT_SELF = 446 , MEMFD_SECRET = 447 , PROCESS_MRELEASE = 448 , FUTEX_WAITV = 449 ,
  SET_MEMPOLICY_HOME_NODE = 450 , CACHESTAT = 451 , FCHMODAT2 = 452 , MAP_SHADOW_STACK = 453 ,
  _FUTEX_WAKE = 454 , _FUTEX_WAIT = 455 , _FUTEX_REQUEUE = 456 , STATMOUNT = 457 ,
  LISTMOUNT = 458 , LSM_GET_SELF_ATTR = 459 , LSM_SET_SELF_ATTR = 460 , LSM_LIST_MODULES = 461 ,
  MSEAL = 462 , SETXATTRAT = 463 , GETXATTRAT = 464 , LISTXATTRAT = 465 ,
  REMOVEXATTRAT = 466 , OPEN_TREE_ATTR = 467 , FILE_GETATTR = 468 , FILE_SETATTR = 469 ,
  _LAST = 469
}
 Native system call numbers as used by Linux on the x64 ABI. More...
 
enum class  ItemType { PARAM_IN , PARAM_OUT , PARAM_IN_OUT , RETVAL }
 Basic type of a SystemCallItem. More...
 
enum class  Word : elf_greg_t { ZERO = 0 }
 An integer that is able to hold a word for the current architecture. More...
 
enum class  KernelErrno : int { RESTART_SYS = 512 , RESTART_NOINTR = 513 , RESTART_NOHAND = 514 , RESTART_RESTARTBLOCK = 516 }
 Errno values that can appear in tracing context. More...
 
enum class  ABI {
  UNKNOWN , X86_64 , I386 , X32 ,
  AARCH64
}
 System Call ABI. More...
 
enum class  Base { OCT , DEC , HEX }
 Integer number display base for formatting purposes. More...
 
enum class  ForeignPtr : uintptr_t { NO_POINTER = 0 }
 Strongly typed opaque pointer to tracee memory. More...
 

Functions

struct clues::kernel_sigaction32 __attribute__ ((packed))
 
std::string strip_back (std::string &&s, const char ch='|')
 
void set_logger (cosmos::ILogger &)
 Configure a cosmos ILogger instance to use in the Clues library.
 
clues::SystemCallNr to_generic (const SystemCallNrAARCH64 nr)
 Convert the native system call nr. into its generic representation.
 
clues::SystemCallNr to_generic (const SystemCallNrI386 nr)
 Convert the native system call nr. into its generic representation.
 
clues::SystemCallNr to_generic (const SystemCallNrX32 nr)
 Convert the native system call nr. into its generic representation.
 
clues::SystemCallNr to_generic (const SystemCallNrX64 nr)
 Convert the native system call nr. into its generic representation.
 
template<typename T, typename... Args>
std::shared_ptr< T > new_sys (Args &&... args)
 
SystemCallPtr create_syscall (const SystemCallNr nr)
 Creates a dynamically allocated SystemCall instance for the given system call number.
 
template void Tracee::readVector< std::vector< uintptr_t > > (const ForeignPtr, std::vector< uintptr_t > &) const
 
template void Tracee::readVector< std::vector< uint32_t > > (const ForeignPtr, std::vector< uint32_t > &) const
 
const char * get_errno_label (const cosmos::Errno err)
 Returns a short errno label like ENOENT for the given errno integer.
 
const char * get_kernel_errno_label (const KernelErrno err)
 Returns a short errno label for extended KernelErrno codes.
 
const char * get_ptrace_event_str (const cosmos::ptrace::Event event)
 Returns a string label for the given event.
 
std::set< cosmos::FileNum > get_currently_open_fds (const cosmos::ProcessID pid)
 Returns the currently open file descriptors according to /proc/<pid>/fd.
 
std::vector< FDInfoget_fd_infos (const cosmos::ProcessID pid)
 Obtain detailed information about currently open file descriptors according to /proc/<pid>/fd.
 
std::optional< SystemCallNrlookup_system_call (const std::string_view name)
 Returns the SystemCallNr for the given system call name, if it exists.
 
bool is_default_abi (const ABI abi)
 Returns whether the given ABI is default ABI for this system.
 
const char * get_abi_label (const ABI abi)
 
std::array< ABI, SUPPORTED_ABIS > get_supported_abis ()
 Returns a list of ABIs supported on the current platform.
 
void parse_proc_file (const cosmos::ProcessID pid, const std::string_view subpath, std::function< bool(const std::string &)> parser)
 Parse a proc file of the given process using the given functor.
 
void parse_proc_file (const Tracee &tracee, const std::string_view subpath, std::function< bool(const std::string &)> parser)
 Parse proc file of the given Tracee.
 
constexpr ABI get_default_abi ()
 Returns the default ABI for this system.
 
bool is_supported_abi (const ABI abi)
 Returns whether the given ABI is supported on the current platform.
 

Variables

struct clues::kernel_old_sigaction __attribute__
 
cosmos::ILogger * logger = nullptr
 Global logger instance to use for Clues library logging - if any.
 
const std::array< std::string_view, SYSTEM_CALL_COUNT > SYSTEM_CALL_NAMES
 
const std::map< std::string_view, SystemCallNrSYSTEM_CALL_NAME_MAP
 
constexpr size_t SYSTEM_CALL_COUNT = 471
 
constexpr uint64_t X32_SYSCALL_BIT = 0x40000000
 Native system call numbers as used by Linux on the x32 ABI.
 

Detailed Description

This ABI is used for real 32-bit x86 kernels as well as for the 32-bit emulation when running on x64 kernels.

This ABI is based on the AMD64 instruction set but uses only 32-bit pointers and integers to reduce memory footprint.

The system call numbers have a high bit set to indicate the X32 ABI, which means that the system call numbers reported by ptrace() don't directly correspond to the values seen here.

This is the standard AMD64 ABI for 64-bit x86 kernels.

Typedef Documentation

◆ AnyRegisterSet

Initial value:

A variant to hold any of the ABI-specific RegisterSet types.

Definition at line 108 of file RegisterSet.hxx.

◆ AnySystemCallNr

using clues::AnySystemCallNr = std::variant<SystemCallNrI386, SystemCallNrX64, SystemCallNrX32, SystemCallNrAARCH64>

Definition at line 16 of file types.hxx.

◆ AttachThreads

using clues::AttachThreads = cosmos::NamedBool<struct attach_threads_t, true>

A strong boolean type denoting whether to automatically all other threads of a process.

Definition at line 27 of file types.hxx.

◆ FDInfoMap

using clues::FDInfoMap = std::map<cosmos::FileNum, FDInfo>

A mapping of file descriptor numbers to their file system paths or other human readable description of the descriptor.

Definition at line 126 of file types.hxx.

◆ FollowChildren

using clues::FollowChildren = cosmos::NamedBool<struct follow_children_t, true>

A strong boolean type denoting whether to automatically attach to newly created child processes.

Definition at line 24 of file types.hxx.

◆ GetEgidSystemCall

◆ GetEuidSystemCall

◆ GetGidSystemCall

◆ GetRlimitSystemCall

using clues::GetRlimitSystemCall = LimitSystemCallT<SystemCallNr::GETRLIMIT>

Definition at line 43 of file other.hxx.

◆ GetUidSystemCall

◆ LstatSystemCall

Definition at line 154 of file fs.hxx.

◆ ProcessDataPtr

using clues::ProcessDataPtr = std::shared_ptr<ProcessData>

Definition at line 35 of file types.hxx.

◆ RestorerCB

using clues::RestorerCB = void (*)()

Definition at line 18 of file sigaction.hxx.

◆ SetRlimitSystemCall

using clues::SetRlimitSystemCall = LimitSystemCallT<SystemCallNr::SETRLIMIT>

Definition at line 44 of file other.hxx.

◆ SignalCB

using clues::SignalCB = void (*)(int)

Definition at line 19 of file sigaction.hxx.

◆ StatSystemCall

Definition at line 153 of file fs.hxx.

◆ SystemCallItemPtr

Definition at line 33 of file SystemCall.hxx.

◆ SystemCallPtr

using clues::SystemCallPtr = std::shared_ptr<SystemCall>

Definition at line 32 of file SystemCall.hxx.

◆ TraceePtr

using clues::TraceePtr = std::shared_ptr<Tracee>

Definition at line 31 of file types.hxx.

Enumeration Type Documentation

◆ ABI

enum class clues::ABI
strong

System Call ABI.

This is mostly similar to cosmos::ptrace::Arch, but contains some extra differentiation. E.g. on Arch::X86_64 there is also the X32 ABI, which can only be detected by querying a special bit set in the system call nr.

Enumerator
X32 

X86_64 with 32-bit pointers.

Definition at line 62 of file types.hxx.

62 {
63 UNKNOWN,
64 X86_64,
65 I386,
66 X32,
67 AARCH64
68};
@ X32
X86_64 with 32-bit pointers.
Definition types.hxx:66

◆ Base

enum class clues::Base
strong

Integer number display base for formatting purposes.

Definition at line 129 of file types.hxx.

129 {
130 OCT,
131 DEC,
132 HEX
133};

◆ ForeignPtr

enum class clues::ForeignPtr : uintptr_t
strong

Strongly typed opaque pointer to tracee memory.

This type is used to prevent pointers related to tracee memory from being mistaken for proper pointers in tracer context.

Definition at line 140 of file types.hxx.

140 : uintptr_t {
141 NO_POINTER = 0
142};

◆ ItemType

enum class clues::ItemType
strong

Basic type of a SystemCallItem.

Enumerator
PARAM_IN 

An input parameter to the system call.

PARAM_OUT 

An output parameter filled by in by the system call.

PARAM_IN_OUT 

Both an input and output parameter.

RETVAL 

A system call return value.

Definition at line 21 of file SystemCallItem.hxx.

21 {
22 PARAM_IN,
23 PARAM_OUT,
25 RETVAL
26};
@ PARAM_OUT
An output parameter filled by in by the system call.
@ PARAM_IN
An input parameter to the system call.
@ RETVAL
A system call return value.
@ PARAM_IN_OUT
Both an input and output parameter.

◆ KernelErrno

enum class clues::KernelErrno : int
strong

Errno values that can appear in tracing context.

these errno values can appear for interrupted system calls and are not usually visible in user space, but can be observed when tracing a process. There is currently no user space header for these constants, they are found in the kernel header linux/errno.h.

Definition at line 49 of file types.hxx.

49 : int {
50 RESTART_SYS = 512, /* transparent restart if SA_RESTART is set, otherwise EINTR return */
51 RESTART_NOINTR = 513, /* always transparent restart */
52 RESTART_NOHAND = 514, /* restart if no handler.. */
53 RESTART_RESTARTBLOCK = 516, /* restart by calling sys_restart_syscall */
54};

◆ SystemCallNr

enum class clues::SystemCallNr : uint64_t
strong

Abstract system call number usable across architectures and ABIs.

This enum contains all known system calls across supported Linux architectures and ABIs. These are abstract in the sense that their numerical values don't correspond to the actual system call numbers used by the kernel.

For simplicity the underlying type for the abstract enum type is kept in sync with the concrete system call number enum types.

Definition at line 29 of file generic.hxx.

29 : uint64_t {
30 UNKNOWN = 0, // present in ...
31 ACCEPT, // x64 x32 aarch64
32 ACCEPT4, // i386 x64 x32 aarch64
33 ACCESS, // i386 x64 x32
34 ACCT, // i386 x64 x32 aarch64
35 ADD_KEY, // i386 x64 x32 aarch64
36 ADJTIMEX, // i386 x64 x32 aarch64
37 AFS_SYSCALL, // i386 x64 x32
38 ALARM, // i386 x64 x32
39 ARCH_PRCTL, // i386 x64 x32
40 BDFLUSH, // i386
41 BIND, // i386 x64 x32 aarch64
42 BPF, // i386 x64 x32 aarch64
43 BREAK, // i386
44 BRK, // i386 x64 x32 aarch64
45 CACHESTAT, // i386 x64 x32 aarch64
46 CAPGET, // i386 x64 x32 aarch64
47 CAPSET, // i386 x64 x32 aarch64
48 CHDIR, // i386 x64 x32 aarch64
49 CHMOD, // i386 x64 x32
50 CHOWN, // i386 x64 x32
51 CHOWN32, // i386
52 CHROOT, // i386 x64 x32 aarch64
53 CLOCK_ADJTIME, // i386 x64 x32 aarch64
54 CLOCK_ADJTIME64, // i386
55 CLOCK_GETRES, // i386 x64 x32 aarch64
56 CLOCK_GETRES_TIME64, // i386
57 CLOCK_GETTIME, // i386 x64 x32 aarch64
58 CLOCK_GETTIME64, // i386
59 CLOCK_NANOSLEEP, // i386 x64 x32 aarch64
60 CLOCK_NANOSLEEP_TIME64, // i386
61 CLOCK_SETTIME, // i386 x64 x32 aarch64
62 CLOCK_SETTIME64, // i386
63 CLONE, // i386 x64 x32 aarch64
64 CLONE3, // i386 x64 x32 aarch64
65 CLOSE, // i386 x64 x32 aarch64
66 CLOSE_RANGE, // i386 x64 x32 aarch64
67 CONNECT, // i386 x64 x32 aarch64
68 COPY_FILE_RANGE, // i386 x64 x32 aarch64
69 CREAT, // i386 x64 x32
70 CREATE_MODULE, // i386 x64
71 DELETE_MODULE, // i386 x64 x32 aarch64
72 DUP, // i386 x64 x32 aarch64
73 DUP2, // i386 x64 x32
74 DUP3, // i386 x64 x32 aarch64
75 EPOLL_CREATE, // i386 x64 x32
76 EPOLL_CREATE1, // i386 x64 x32 aarch64
77 EPOLL_CTL, // i386 x64 x32 aarch64
78 EPOLL_CTL_OLD, // x64
79 EPOLL_PWAIT, // i386 x64 x32 aarch64
80 EPOLL_PWAIT2, // i386 x64 x32 aarch64
81 EPOLL_WAIT, // i386 x64 x32
82 EPOLL_WAIT_OLD, // x64
83 EVENTFD, // i386 x64 x32
84 EVENTFD2, // i386 x64 x32 aarch64
85 EXECVE, // i386 x64 x32 aarch64
86 EXECVEAT, // i386 x64 x32 aarch64
87 EXIT, // i386 x64 x32 aarch64
88 EXIT_GROUP, // i386 x64 x32 aarch64
89 FACCESSAT, // i386 x64 x32 aarch64
90 FACCESSAT2, // i386 x64 x32 aarch64
91 FADVISE64, // i386 x64 x32 aarch64
92 FADVISE64_64, // i386
93 FALLOCATE, // i386 x64 x32 aarch64
94 FANOTIFY_INIT, // i386 x64 x32 aarch64
95 FANOTIFY_MARK, // i386 x64 x32 aarch64
96 FCHDIR, // i386 x64 x32 aarch64
97 FCHMOD, // i386 x64 x32 aarch64
98 FCHMODAT, // i386 x64 x32 aarch64
99 FCHMODAT2, // i386 x64 x32 aarch64
100 FCHOWN, // i386 x64 x32 aarch64
101 FCHOWN32, // i386
102 FCHOWNAT, // i386 x64 x32 aarch64
103 FCNTL, // i386 x64 x32 aarch64
104 FCNTL64, // i386
105 FDATASYNC, // i386 x64 x32 aarch64
106 FGETXATTR, // i386 x64 x32 aarch64
107 FILE_GETATTR, // i386 x64 x32 aarch64
108 FILE_SETATTR, // i386 x64 x32 aarch64
109 FINIT_MODULE, // i386 x64 x32 aarch64
110 FLISTXATTR, // i386 x64 x32 aarch64
111 FLOCK, // i386 x64 x32 aarch64
112 FORK, // i386 x64 x32
113 FREMOVEXATTR, // i386 x64 x32 aarch64
114 FSCONFIG, // i386 x64 x32 aarch64
115 FSETXATTR, // i386 x64 x32 aarch64
116 FSMOUNT, // i386 x64 x32 aarch64
117 FSOPEN, // i386 x64 x32 aarch64
118 FSPICK, // i386 x64 x32 aarch64
119 FSTAT, // i386 x64 x32 aarch64
120 FSTAT64, // i386
121 FSTATAT64, // i386
122 FSTATFS, // i386 x64 x32 aarch64
123 FSTATFS64, // i386
124 FSYNC, // i386 x64 x32 aarch64
125 FTIME, // i386
126 FTRUNCATE, // i386 x64 x32 aarch64
127 FTRUNCATE64, // i386
128 FUTEX, // i386 x64 x32 aarch64
129 _FUTEX_REQUEUE, // i386 x64 x32 aarch64
130 FUTEX_TIME64, // i386
131 _FUTEX_WAIT, // i386 x64 x32 aarch64
132 FUTEX_WAITV, // i386 x64 x32 aarch64
133 _FUTEX_WAKE, // i386 x64 x32 aarch64
134 FUTIMESAT, // i386 x64 x32
135 GET_KERNEL_SYMS, // i386 x64
136 GET_MEMPOLICY, // i386 x64 x32 aarch64
137 GET_ROBUST_LIST, // i386 x64 x32 aarch64
138 GET_THREAD_AREA, // i386 x64
139 GETCPU, // i386 x64 x32 aarch64
140 GETCWD, // i386 x64 x32 aarch64
141 GETDENTS, // i386 x64 x32
142 GETDENTS64, // i386 x64 x32 aarch64
143 GETEGID, // i386 x64 x32 aarch64
144 GETEGID32, // i386
145 GETEUID, // i386 x64 x32 aarch64
146 GETEUID32, // i386
147 GETGID, // i386 x64 x32 aarch64
148 GETGID32, // i386
149 GETGROUPS, // i386 x64 x32 aarch64
150 GETGROUPS32, // i386
151 GETITIMER, // i386 x64 x32 aarch64
152 GETPEERNAME, // i386 x64 x32 aarch64
153 GETPGID, // i386 x64 x32 aarch64
154 GETPGRP, // i386 x64 x32
155 GETPID, // i386 x64 x32 aarch64
156 GETPMSG, // i386 x64 x32
157 GETPPID, // i386 x64 x32 aarch64
158 GETPRIORITY, // i386 x64 x32 aarch64
159 GETRANDOM, // i386 x64 x32 aarch64
160 GETRESGID, // i386 x64 x32 aarch64
161 GETRESGID32, // i386
162 GETRESUID, // i386 x64 x32 aarch64
163 GETRESUID32, // i386
164 GETRLIMIT, // i386 x64 x32 aarch64
165 GETRUSAGE, // i386 x64 x32 aarch64
166 GETSID, // i386 x64 x32 aarch64
167 GETSOCKNAME, // i386 x64 x32 aarch64
168 GETSOCKOPT, // i386 x64 x32 aarch64
169 GETTID, // i386 x64 x32 aarch64
170 GETTIMEOFDAY, // i386 x64 x32 aarch64
171 GETUID, // i386 x64 x32 aarch64
172 GETUID32, // i386
173 GETXATTR, // i386 x64 x32 aarch64
174 GETXATTRAT, // i386 x64 x32 aarch64
175 GTTY, // i386
176 IDLE, // i386
177 INIT_MODULE, // i386 x64 x32 aarch64
178 INOTIFY_ADD_WATCH, // i386 x64 x32 aarch64
179 INOTIFY_INIT, // i386 x64 x32
180 INOTIFY_INIT1, // i386 x64 x32 aarch64
181 INOTIFY_RM_WATCH, // i386 x64 x32 aarch64
182 IO_CANCEL, // i386 x64 x32 aarch64
183 IO_DESTROY, // i386 x64 x32 aarch64
184 IO_GETEVENTS, // i386 x64 x32 aarch64
185 IO_PGETEVENTS, // i386 x64 x32 aarch64
186 IO_PGETEVENTS_TIME64, // i386
187 IO_SETUP, // i386 x64 x32 aarch64
188 IO_SUBMIT, // i386 x64 x32 aarch64
189 IO_URING_ENTER, // i386 x64 x32 aarch64
190 IO_URING_REGISTER, // i386 x64 x32 aarch64
191 IO_URING_SETUP, // i386 x64 x32 aarch64
192 IOCTL, // i386 x64 x32 aarch64
193 IOPERM, // i386 x64 x32
194 IOPL, // i386 x64 x32
195 IOPRIO_GET, // i386 x64 x32 aarch64
196 IOPRIO_SET, // i386 x64 x32 aarch64
197 IPC, // i386
198 KCMP, // i386 x64 x32 aarch64
199 KEXEC_FILE_LOAD, // x64 x32 aarch64
200 KEXEC_LOAD, // i386 x64 x32 aarch64
201 KEYCTL, // i386 x64 x32 aarch64
202 KILL, // i386 x64 x32 aarch64
203 LANDLOCK_ADD_RULE, // i386 x64 x32 aarch64
204 LANDLOCK_CREATE_RULESET, // i386 x64 x32 aarch64
205 LANDLOCK_RESTRICT_SELF, // i386 x64 x32 aarch64
206 LCHOWN, // i386 x64 x32
207 LCHOWN32, // i386
208 LGETXATTR, // i386 x64 x32 aarch64
209 LINK, // i386 x64 x32
210 LINKAT, // i386 x64 x32 aarch64
211 LISTEN, // i386 x64 x32 aarch64
212 LISTMOUNT, // i386 x64 x32 aarch64
213 LISTXATTR, // i386 x64 x32 aarch64
214 LISTXATTRAT, // i386 x64 x32 aarch64
215 LLISTXATTR, // i386 x64 x32 aarch64
216 LLSEEK, // i386
217 LOCK, // i386
218 LOOKUP_DCOOKIE, // i386 x64 x32 aarch64
219 LREMOVEXATTR, // i386 x64 x32 aarch64
220 LSEEK, // i386 x64 x32 aarch64
221 LSETXATTR, // i386 x64 x32 aarch64
222 LSM_GET_SELF_ATTR, // i386 x64 x32 aarch64
223 LSM_LIST_MODULES, // i386 x64 x32 aarch64
224 LSM_SET_SELF_ATTR, // i386 x64 x32 aarch64
225 LSTAT, // i386 x64 x32
226 LSTAT64, // i386
227 MADVISE, // i386 x64 x32 aarch64
228 MAP_SHADOW_STACK, // i386 x64 x32 aarch64
229 MBIND, // i386 x64 x32 aarch64
230 MEMBARRIER, // i386 x64 x32 aarch64
231 MEMFD_CREATE, // i386 x64 x32 aarch64
232 MEMFD_SECRET, // i386 x64 x32 aarch64
233 MIGRATE_PAGES, // i386 x64 x32 aarch64
234 MINCORE, // i386 x64 x32 aarch64
235 MKDIR, // i386 x64 x32
236 MKDIRAT, // i386 x64 x32 aarch64
237 MKNOD, // i386 x64 x32
238 MKNODAT, // i386 x64 x32 aarch64
239 MLOCK, // i386 x64 x32 aarch64
240 MLOCK2, // i386 x64 x32 aarch64
241 MLOCKALL, // i386 x64 x32 aarch64
242 MMAP, // i386 x64 x32 aarch64
243 MMAP2, // i386
244 MODIFY_LDT, // i386 x64 x32
245 MOUNT, // i386 x64 x32 aarch64
246 MOUNT_SETATTR, // i386 x64 x32 aarch64
247 MOVE_MOUNT, // i386 x64 x32 aarch64
248 MOVE_PAGES, // i386 x64 x32 aarch64
249 MPROTECT, // i386 x64 x32 aarch64
250 MPX, // i386
251 MQ_GETSETATTR, // i386 x64 x32 aarch64
252 MQ_NOTIFY, // i386 x64 x32 aarch64
253 MQ_OPEN, // i386 x64 x32 aarch64
254 MQ_TIMEDRECEIVE, // i386 x64 x32 aarch64
255 MQ_TIMEDRECEIVE_TIME64, // i386
256 MQ_TIMEDSEND, // i386 x64 x32 aarch64
257 MQ_TIMEDSEND_TIME64, // i386
258 MQ_UNLINK, // i386 x64 x32 aarch64
259 MREMAP, // i386 x64 x32 aarch64
260 MSEAL, // i386 x64 x32 aarch64
261 MSGCTL, // i386 x64 x32 aarch64
262 MSGGET, // i386 x64 x32 aarch64
263 MSGRCV, // i386 x64 x32 aarch64
264 MSGSND, // i386 x64 x32 aarch64
265 MSYNC, // i386 x64 x32 aarch64
266 MUNLOCK, // i386 x64 x32 aarch64
267 MUNLOCKALL, // i386 x64 x32 aarch64
268 MUNMAP, // i386 x64 x32 aarch64
269 NAME_TO_HANDLE_AT, // i386 x64 x32 aarch64
270 NANOSLEEP, // i386 x64 x32 aarch64
271 NEWFSTATAT, // x64 x32 aarch64
272 NEWSELECT, // i386
273 NFSSERVCTL, // i386 x64 aarch64
274 NICE, // i386
275 OLDFSTAT, // i386
276 OLDLSTAT, // i386
277 OLDOLDUNAME, // i386
278 OLDSTAT, // i386
279 OLDUNAME, // i386
280 OPEN, // i386 x64 x32
281 OPEN_BY_HANDLE_AT, // i386 x64 x32 aarch64
282 OPEN_TREE, // i386 x64 x32 aarch64
283 OPEN_TREE_ATTR, // i386 x64 x32 aarch64
284 OPENAT, // i386 x64 x32 aarch64
285 OPENAT2, // i386 x64 x32 aarch64
286 PAUSE, // i386 x64 x32
287 PERF_EVENT_OPEN, // i386 x64 x32 aarch64
288 PERSONALITY, // i386 x64 x32 aarch64
289 PIDFD_GETFD, // i386 x64 x32 aarch64
290 PIDFD_OPEN, // i386 x64 x32 aarch64
291 PIDFD_SEND_SIGNAL, // i386 x64 x32 aarch64
292 PIPE, // i386 x64 x32
293 PIPE2, // i386 x64 x32 aarch64
294 PIVOT_ROOT, // i386 x64 x32 aarch64
295 PKEY_ALLOC, // i386 x64 x32 aarch64
296 PKEY_FREE, // i386 x64 x32 aarch64
297 PKEY_MPROTECT, // i386 x64 x32 aarch64
298 POLL, // i386 x64 x32
299 PPOLL, // i386 x64 x32 aarch64
300 PPOLL_TIME64, // i386
301 PRCTL, // i386 x64 x32 aarch64
302 PREAD64, // i386 x64 x32 aarch64
303 PREADV, // i386 x64 x32 aarch64
304 PREADV2, // i386 x64 x32 aarch64
305 PRLIMIT64, // i386 x64 x32 aarch64
306 PROCESS_MADVISE, // i386 x64 x32 aarch64
307 PROCESS_MRELEASE, // i386 x64 x32 aarch64
308 PROCESS_VM_READV, // i386 x64 x32 aarch64
309 PROCESS_VM_WRITEV, // i386 x64 x32 aarch64
310 PROF, // i386
311 PROFIL, // i386
312 PSELECT6, // i386 x64 x32 aarch64
313 PSELECT6_TIME64, // i386
314 PTRACE, // i386 x64 x32 aarch64
315 PUTPMSG, // i386 x64 x32
316 PWRITE64, // i386 x64 x32 aarch64
317 PWRITEV, // i386 x64 x32 aarch64
318 PWRITEV2, // i386 x64 x32 aarch64
319 QUERY_MODULE, // i386 x64
320 QUOTACTL, // i386 x64 x32 aarch64
321 QUOTACTL_FD, // i386 x64 x32 aarch64
322 READ, // i386 x64 x32 aarch64
323 READAHEAD, // i386 x64 x32 aarch64
324 READDIR, // i386
325 READLINK, // i386 x64 x32
326 READLINKAT, // i386 x64 x32 aarch64
327 READV, // i386 x64 x32 aarch64
328 REBOOT, // i386 x64 x32 aarch64
329 RECVFROM, // i386 x64 x32 aarch64
330 RECVMMSG, // i386 x64 x32 aarch64
331 RECVMMSG_TIME64, // i386
332 RECVMSG, // i386 x64 x32 aarch64
333 REMAP_FILE_PAGES, // i386 x64 x32 aarch64
334 REMOVEXATTR, // i386 x64 x32 aarch64
335 REMOVEXATTRAT, // i386 x64 x32 aarch64
336 RENAME, // i386 x64 x32
337 RENAMEAT, // i386 x64 x32 aarch64
338 RENAMEAT2, // i386 x64 x32 aarch64
339 REQUEST_KEY, // i386 x64 x32 aarch64
340 RESTART_SYSCALL, // i386 x64 x32 aarch64
341 RMDIR, // i386 x64 x32
342 RSEQ, // i386 x64 x32 aarch64
343 RT_SIGACTION, // i386 x64 x32 aarch64
344 RT_SIGPENDING, // i386 x64 x32 aarch64
345 RT_SIGPROCMASK, // i386 x64 x32 aarch64
346 RT_SIGQUEUEINFO, // i386 x64 x32 aarch64
347 RT_SIGRETURN, // i386 x64 x32 aarch64
348 RT_SIGSUSPEND, // i386 x64 x32 aarch64
349 RT_SIGTIMEDWAIT, // i386 x64 x32 aarch64
350 RT_SIGTIMEDWAIT_TIME64, // i386
351 RT_TGSIGQUEUEINFO, // i386 x64 x32 aarch64
352 SCHED_GET_PRIORITY_MAX, // i386 x64 x32 aarch64
353 SCHED_GET_PRIORITY_MIN, // i386 x64 x32 aarch64
354 SCHED_GETAFFINITY, // i386 x64 x32 aarch64
355 SCHED_GETATTR, // i386 x64 x32 aarch64
356 SCHED_GETPARAM, // i386 x64 x32 aarch64
357 SCHED_GETSCHEDULER, // i386 x64 x32 aarch64
358 SCHED_RR_GET_INTERVAL, // i386 x64 x32 aarch64
359 SCHED_RR_GET_INTERVAL_TIME64, // i386
360 SCHED_SETAFFINITY, // i386 x64 x32 aarch64
361 SCHED_SETATTR, // i386 x64 x32 aarch64
362 SCHED_SETPARAM, // i386 x64 x32 aarch64
363 SCHED_SETSCHEDULER, // i386 x64 x32 aarch64
364 SCHED_YIELD, // i386 x64 x32 aarch64
365 SECCOMP, // i386 x64 x32 aarch64
366 SECURITY, // x64 x32
367 SELECT, // i386 x64 x32
368 SEMCTL, // i386 x64 x32 aarch64
369 SEMGET, // i386 x64 x32 aarch64
370 SEMOP, // x64 x32 aarch64
371 SEMTIMEDOP, // x64 x32 aarch64
372 SEMTIMEDOP_TIME64, // i386
373 SENDFILE, // i386 x64 x32 aarch64
374 SENDFILE64, // i386
375 SENDMMSG, // i386 x64 x32 aarch64
376 SENDMSG, // i386 x64 x32 aarch64
377 SENDTO, // i386 x64 x32 aarch64
378 SET_MEMPOLICY, // i386 x64 x32 aarch64
379 SET_MEMPOLICY_HOME_NODE, // i386 x64 x32 aarch64
380 SET_ROBUST_LIST, // i386 x64 x32 aarch64
381 SET_THREAD_AREA, // i386 x64
382 SET_TID_ADDRESS, // i386 x64 x32 aarch64
383 SETDOMAINNAME, // i386 x64 x32 aarch64
384 SETFSGID, // i386 x64 x32 aarch64
385 SETFSGID32, // i386
386 SETFSUID, // i386 x64 x32 aarch64
387 SETFSUID32, // i386
388 SETGID, // i386 x64 x32 aarch64
389 SETGID32, // i386
390 SETGROUPS, // i386 x64 x32 aarch64
391 SETGROUPS32, // i386
392 SETHOSTNAME, // i386 x64 x32 aarch64
393 SETITIMER, // i386 x64 x32 aarch64
394 SETNS, // i386 x64 x32 aarch64
395 SETPGID, // i386 x64 x32 aarch64
396 SETPRIORITY, // i386 x64 x32 aarch64
397 SETREGID, // i386 x64 x32 aarch64
398 SETREGID32, // i386
399 SETRESGID, // i386 x64 x32 aarch64
400 SETRESGID32, // i386
401 SETRESUID, // i386 x64 x32 aarch64
402 SETRESUID32, // i386
403 SETREUID, // i386 x64 x32 aarch64
404 SETREUID32, // i386
405 SETRLIMIT, // i386 x64 x32 aarch64
406 SETSID, // i386 x64 x32 aarch64
407 SETSOCKOPT, // i386 x64 x32 aarch64
408 SETTIMEOFDAY, // i386 x64 x32 aarch64
409 SETUID, // i386 x64 x32 aarch64
410 SETUID32, // i386
411 SETXATTR, // i386 x64 x32 aarch64
412 SETXATTRAT, // i386 x64 x32 aarch64
413 SGETMASK, // i386
414 SHMAT, // i386 x64 x32 aarch64
415 SHMCTL, // i386 x64 x32 aarch64
416 SHMDT, // i386 x64 x32 aarch64
417 SHMGET, // i386 x64 x32 aarch64
418 SHUTDOWN, // i386 x64 x32 aarch64
419 SIGACTION, // i386
420 SIGALTSTACK, // i386 x64 x32 aarch64
421 SIGNAL, // i386
422 SIGNALFD, // i386 x64 x32
423 SIGNALFD4, // i386 x64 x32 aarch64
424 SIGPENDING, // i386
425 SIGPROCMASK, // i386
426 SIGRETURN, // i386
427 SIGSUSPEND, // i386
428 SOCKET, // i386 x64 x32 aarch64
429 SOCKETCALL, // i386
430 SOCKETPAIR, // i386 x64 x32 aarch64
431 SPLICE, // i386 x64 x32 aarch64
432 SSETMASK, // i386
433 STAT, // i386 x64 x32
434 STAT64, // i386
435 STATFS, // i386 x64 x32 aarch64
436 STATFS64, // i386
437 STATMOUNT, // i386 x64 x32 aarch64
438 STATX, // i386 x64 x32 aarch64
439 STIME, // i386
440 STTY, // i386
441 SWAPOFF, // i386 x64 x32 aarch64
442 SWAPON, // i386 x64 x32 aarch64
443 SYMLINK, // i386 x64 x32
444 SYMLINKAT, // i386 x64 x32 aarch64
445 SYNC, // i386 x64 x32 aarch64
446 SYNC_FILE_RANGE, // i386 x64 x32 aarch64
447 SYNCFS, // i386 x64 x32 aarch64
448 SYSCTL, // i386 x64
449 SYSFS, // i386 x64 x32
450 SYSINFO, // i386 x64 x32 aarch64
451 SYSLOG, // i386 x64 x32 aarch64
452 TEE, // i386 x64 x32 aarch64
453 TGKILL, // i386 x64 x32 aarch64
454 TIME, // i386 x64 x32
455 TIMER_CREATE, // i386 x64 x32 aarch64
456 TIMER_DELETE, // i386 x64 x32 aarch64
457 TIMER_GETOVERRUN, // i386 x64 x32 aarch64
458 TIMER_GETTIME, // i386 x64 x32 aarch64
459 TIMER_GETTIME64, // i386
460 TIMER_SETTIME, // i386 x64 x32 aarch64
461 TIMER_SETTIME64, // i386
462 TIMERFD_CREATE, // i386 x64 x32 aarch64
463 TIMERFD_GETTIME, // i386 x64 x32 aarch64
464 TIMERFD_GETTIME64, // i386
465 TIMERFD_SETTIME, // i386 x64 x32 aarch64
466 TIMERFD_SETTIME64, // i386
467 TIMES, // i386 x64 x32 aarch64
468 TKILL, // i386 x64 x32 aarch64
469 TRUNCATE, // i386 x64 x32 aarch64
470 TRUNCATE64, // i386
471 TUXCALL, // x64 x32
472 UGETRLIMIT, // i386
473 ULIMIT, // i386
474 UMASK, // i386 x64 x32 aarch64
475 UMOUNT, // i386
476 UMOUNT2, // i386 x64 x32 aarch64
477 UNAME, // i386 x64 x32 aarch64
478 UNLINK, // i386 x64 x32
479 UNLINKAT, // i386 x64 x32 aarch64
480 UNSHARE, // i386 x64 x32 aarch64
481 UPROBE, // x64 x32
482 URETPROBE, // x64 x32
483 USELIB, // i386 x64
484 USERFAULTFD, // i386 x64 x32 aarch64
485 USTAT, // i386 x64 x32
486 UTIME, // i386 x64 x32
487 UTIMENSAT, // i386 x64 x32 aarch64
488 UTIMENSAT_TIME64, // i386
489 UTIMES, // i386 x64 x32
490 VFORK, // i386 x64 x32
491 VHANGUP, // i386 x64 x32 aarch64
492 VM86, // i386
493 VM86OLD, // i386
494 VMSPLICE, // i386 x64 x32 aarch64
495 VSERVER, // i386 x64
496 WAIT4, // i386 x64 x32 aarch64
497 WAITID, // i386 x64 x32 aarch64
498 WAITPID, // i386
499 WRITE, // i386 x64 x32 aarch64
500 WRITEV, // i386 x64 x32 aarch64
501};

◆ SystemCallNrAARCH64

enum class clues::SystemCallNrAARCH64 : uint64_t
strong

Native system call numbers as used by Linux on the aarch64 ABI.

This strong enum type represents a system call number on the aarch64 ABI. The literal values correspond to the numbers used by the operating system and reported by the ptrace() API for this ABI.

The underlying data type corresponds to the type used in the PTRACE_GET_SYSCALL_INFO API and is the same for all ABIs.

Definition at line 31 of file aarch64.hxx.

31 : uint64_t {
32 _FIRST = 0, // first valid system call nr.
33 IO_SETUP = 0,
34 IO_DESTROY = 1,
35 IO_SUBMIT = 2,
36 IO_CANCEL = 3,
37 IO_GETEVENTS = 4,
38 SETXATTR = 5,
39 LSETXATTR = 6,
40 FSETXATTR = 7,
41 GETXATTR = 8,
42 LGETXATTR = 9,
43 FGETXATTR = 10,
44 LISTXATTR = 11,
45 LLISTXATTR = 12,
46 FLISTXATTR = 13,
47 REMOVEXATTR = 14,
48 LREMOVEXATTR = 15,
49 FREMOVEXATTR = 16,
50 GETCWD = 17,
51 LOOKUP_DCOOKIE = 18,
52 EVENTFD2 = 19,
53 EPOLL_CREATE1 = 20,
54 EPOLL_CTL = 21,
55 EPOLL_PWAIT = 22,
56 DUP = 23,
57 DUP3 = 24,
58 FCNTL = 25,
59 INOTIFY_INIT1 = 26,
60 INOTIFY_ADD_WATCH = 27,
61 INOTIFY_RM_WATCH = 28,
62 IOCTL = 29,
63 IOPRIO_SET = 30,
64 IOPRIO_GET = 31,
65 FLOCK = 32,
66 MKNODAT = 33,
67 MKDIRAT = 34,
68 UNLINKAT = 35,
69 SYMLINKAT = 36,
70 LINKAT = 37,
71 RENAMEAT = 38,
72 UMOUNT2 = 39,
73 MOUNT = 40,
74 PIVOT_ROOT = 41,
75 NFSSERVCTL = 42,
76 STATFS = 43,
77 FSTATFS = 44,
78 TRUNCATE = 45,
79 FTRUNCATE = 46,
80 FALLOCATE = 47,
81 FACCESSAT = 48,
82 CHDIR = 49,
83 FCHDIR = 50,
84 CHROOT = 51,
85 FCHMOD = 52,
86 FCHMODAT = 53,
87 FCHOWNAT = 54,
88 FCHOWN = 55,
89 OPENAT = 56,
90 CLOSE = 57,
91 VHANGUP = 58,
92 PIPE2 = 59,
93 QUOTACTL = 60,
94 GETDENTS64 = 61,
95 LSEEK = 62,
96 READ = 63,
97 WRITE = 64,
98 READV = 65,
99 WRITEV = 66,
100 PREAD64 = 67,
101 PWRITE64 = 68,
102 PREADV = 69,
103 PWRITEV = 70,
104 SENDFILE = 71,
105 PSELECT6 = 72,
106 PPOLL = 73,
107 SIGNALFD4 = 74,
108 VMSPLICE = 75,
109 SPLICE = 76,
110 TEE = 77,
111 READLINKAT = 78,
112 NEWFSTATAT = 79,
113 FSTAT = 80,
114 SYNC = 81,
115 FSYNC = 82,
116 FDATASYNC = 83,
117 SYNC_FILE_RANGE = 84,
118 TIMERFD_CREATE = 85,
119 TIMERFD_SETTIME = 86,
120 TIMERFD_GETTIME = 87,
121 UTIMENSAT = 88,
122 ACCT = 89,
123 CAPGET = 90,
124 CAPSET = 91,
125 PERSONALITY = 92,
126 EXIT = 93,
127 EXIT_GROUP = 94,
128 WAITID = 95,
129 SET_TID_ADDRESS = 96,
130 UNSHARE = 97,
131 FUTEX = 98,
132 SET_ROBUST_LIST = 99,
133 GET_ROBUST_LIST = 100,
134 NANOSLEEP = 101,
135 GETITIMER = 102,
136 SETITIMER = 103,
137 KEXEC_LOAD = 104,
138 INIT_MODULE = 105,
139 DELETE_MODULE = 106,
140 TIMER_CREATE = 107,
141 TIMER_GETTIME = 108,
142 TIMER_GETOVERRUN = 109,
143 TIMER_SETTIME = 110,
144 TIMER_DELETE = 111,
145 CLOCK_SETTIME = 112,
146 CLOCK_GETTIME = 113,
147 CLOCK_GETRES = 114,
148 CLOCK_NANOSLEEP = 115,
149 SYSLOG = 116,
150 PTRACE = 117,
151 SCHED_SETPARAM = 118,
152 SCHED_SETSCHEDULER = 119,
153 SCHED_GETSCHEDULER = 120,
154 SCHED_GETPARAM = 121,
155 SCHED_SETAFFINITY = 122,
156 SCHED_GETAFFINITY = 123,
157 SCHED_YIELD = 124,
158 SCHED_GET_PRIORITY_MAX = 125,
159 SCHED_GET_PRIORITY_MIN = 126,
160 SCHED_RR_GET_INTERVAL = 127,
161 RESTART_SYSCALL = 128,
162 KILL = 129,
163 TKILL = 130,
164 TGKILL = 131,
165 SIGALTSTACK = 132,
166 RT_SIGSUSPEND = 133,
167 RT_SIGACTION = 134,
168 RT_SIGPROCMASK = 135,
169 RT_SIGPENDING = 136,
170 RT_SIGTIMEDWAIT = 137,
171 RT_SIGQUEUEINFO = 138,
172 RT_SIGRETURN = 139,
173 SETPRIORITY = 140,
174 GETPRIORITY = 141,
175 REBOOT = 142,
176 SETREGID = 143,
177 SETGID = 144,
178 SETREUID = 145,
179 SETUID = 146,
180 SETRESUID = 147,
181 GETRESUID = 148,
182 SETRESGID = 149,
183 GETRESGID = 150,
184 SETFSUID = 151,
185 SETFSGID = 152,
186 TIMES = 153,
187 SETPGID = 154,
188 GETPGID = 155,
189 GETSID = 156,
190 SETSID = 157,
191 GETGROUPS = 158,
192 SETGROUPS = 159,
193 UNAME = 160,
194 SETHOSTNAME = 161,
195 SETDOMAINNAME = 162,
196 GETRLIMIT = 163,
197 SETRLIMIT = 164,
198 GETRUSAGE = 165,
199 UMASK = 166,
200 PRCTL = 167,
201 GETCPU = 168,
202 GETTIMEOFDAY = 169,
203 SETTIMEOFDAY = 170,
204 ADJTIMEX = 171,
205 GETPID = 172,
206 GETPPID = 173,
207 GETUID = 174,
208 GETEUID = 175,
209 GETGID = 176,
210 GETEGID = 177,
211 GETTID = 178,
212 SYSINFO = 179,
213 MQ_OPEN = 180,
214 MQ_UNLINK = 181,
215 MQ_TIMEDSEND = 182,
216 MQ_TIMEDRECEIVE = 183,
217 MQ_NOTIFY = 184,
218 MQ_GETSETATTR = 185,
219 MSGGET = 186,
220 MSGCTL = 187,
221 MSGRCV = 188,
222 MSGSND = 189,
223 SEMGET = 190,
224 SEMCTL = 191,
225 SEMTIMEDOP = 192,
226 SEMOP = 193,
227 SHMGET = 194,
228 SHMCTL = 195,
229 SHMAT = 196,
230 SHMDT = 197,
231 SOCKET = 198,
232 SOCKETPAIR = 199,
233 BIND = 200,
234 LISTEN = 201,
235 ACCEPT = 202,
236 CONNECT = 203,
237 GETSOCKNAME = 204,
238 GETPEERNAME = 205,
239 SENDTO = 206,
240 RECVFROM = 207,
241 SETSOCKOPT = 208,
242 GETSOCKOPT = 209,
243 SHUTDOWN = 210,
244 SENDMSG = 211,
245 RECVMSG = 212,
246 READAHEAD = 213,
247 BRK = 214,
248 MUNMAP = 215,
249 MREMAP = 216,
250 ADD_KEY = 217,
251 REQUEST_KEY = 218,
252 KEYCTL = 219,
253 CLONE = 220,
254 EXECVE = 221,
255 MMAP = 222,
256 FADVISE64 = 223,
257 SWAPON = 224,
258 SWAPOFF = 225,
259 MPROTECT = 226,
260 MSYNC = 227,
261 MLOCK = 228,
262 MUNLOCK = 229,
263 MLOCKALL = 230,
264 MUNLOCKALL = 231,
265 MINCORE = 232,
266 MADVISE = 233,
267 REMAP_FILE_PAGES = 234,
268 MBIND = 235,
269 GET_MEMPOLICY = 236,
270 SET_MEMPOLICY = 237,
271 MIGRATE_PAGES = 238,
272 MOVE_PAGES = 239,
273 RT_TGSIGQUEUEINFO = 240,
274 PERF_EVENT_OPEN = 241,
275 ACCEPT4 = 242,
276 RECVMMSG = 243,
277 WAIT4 = 260,
278 PRLIMIT64 = 261,
279 FANOTIFY_INIT = 262,
280 FANOTIFY_MARK = 263,
281 NAME_TO_HANDLE_AT = 264,
282 OPEN_BY_HANDLE_AT = 265,
283 CLOCK_ADJTIME = 266,
284 SYNCFS = 267,
285 SETNS = 268,
286 SENDMMSG = 269,
287 PROCESS_VM_READV = 270,
288 PROCESS_VM_WRITEV = 271,
289 KCMP = 272,
290 FINIT_MODULE = 273,
291 SCHED_SETATTR = 274,
292 SCHED_GETATTR = 275,
293 RENAMEAT2 = 276,
294 SECCOMP = 277,
295 GETRANDOM = 278,
296 MEMFD_CREATE = 279,
297 BPF = 280,
298 EXECVEAT = 281,
299 USERFAULTFD = 282,
300 MEMBARRIER = 283,
301 MLOCK2 = 284,
302 COPY_FILE_RANGE = 285,
303 PREADV2 = 286,
304 PWRITEV2 = 287,
305 PKEY_MPROTECT = 288,
306 PKEY_ALLOC = 289,
307 PKEY_FREE = 290,
308 STATX = 291,
309 IO_PGETEVENTS = 292,
310 RSEQ = 293,
311 KEXEC_FILE_LOAD = 294,
312 PIDFD_SEND_SIGNAL = 424,
313 IO_URING_SETUP = 425,
314 IO_URING_ENTER = 426,
315 IO_URING_REGISTER = 427,
316 OPEN_TREE = 428,
317 MOVE_MOUNT = 429,
318 FSOPEN = 430,
319 FSCONFIG = 431,
320 FSMOUNT = 432,
321 FSPICK = 433,
322 PIDFD_OPEN = 434,
323 CLONE3 = 435,
324 CLOSE_RANGE = 436,
325 OPENAT2 = 437,
326 PIDFD_GETFD = 438,
327 FACCESSAT2 = 439,
328 PROCESS_MADVISE = 440,
329 EPOLL_PWAIT2 = 441,
330 MOUNT_SETATTR = 442,
331 QUOTACTL_FD = 443,
332 LANDLOCK_CREATE_RULESET = 444,
333 LANDLOCK_ADD_RULE = 445,
334 LANDLOCK_RESTRICT_SELF = 446,
335 MEMFD_SECRET = 447,
336 PROCESS_MRELEASE = 448,
337 FUTEX_WAITV = 449,
338 SET_MEMPOLICY_HOME_NODE = 450,
339 CACHESTAT = 451,
340 FCHMODAT2 = 452,
341 MAP_SHADOW_STACK = 453,
342 _FUTEX_WAKE = 454,
343 _FUTEX_WAIT = 455,
344 _FUTEX_REQUEUE = 456,
345 STATMOUNT = 457,
346 LISTMOUNT = 458,
347 LSM_GET_SELF_ATTR = 459,
348 LSM_SET_SELF_ATTR = 460,
349 LSM_LIST_MODULES = 461,
350 MSEAL = 462,
351 SETXATTRAT = 463,
352 GETXATTRAT = 464,
353 LISTXATTRAT = 465,
354 REMOVEXATTRAT = 466,
355 OPEN_TREE_ATTR = 467,
356 FILE_GETATTR = 468,
357 FILE_SETATTR = 469,
358 _LAST = 469, // last valid system call nr. (careful, could be used in the future by the kernel!)
359};

◆ SystemCallNrI386

enum class clues::SystemCallNrI386 : uint64_t
strong

Native system call numbers as used by Linux on the i386 ABI.

This strong enum type represents a system call number on the i386 ABI. The literal values correspond to the numbers used by the operating system and reported by the ptrace() API for this ABI.

The underlying data type corresponds to the type used in the PTRACE_GET_SYSCALL_INFO API and is the same for all ABIs.

Definition at line 32 of file i386.hxx.

32 : uint64_t {
33 _FIRST = 0, // first valid system call nr.
34 RESTART_SYSCALL = 0,
35 EXIT = 1,
36 FORK = 2,
37 READ = 3,
38 WRITE = 4,
39 OPEN = 5,
40 CLOSE = 6,
41 WAITPID = 7,
42 CREAT = 8,
43 LINK = 9,
44 UNLINK = 10,
45 EXECVE = 11,
46 CHDIR = 12,
47 TIME = 13,
48 MKNOD = 14,
49 CHMOD = 15,
50 LCHOWN = 16,
51 BREAK = 17,
52 OLDSTAT = 18,
53 LSEEK = 19,
54 GETPID = 20,
55 MOUNT = 21,
56 UMOUNT = 22,
57 SETUID = 23,
58 GETUID = 24,
59 STIME = 25,
60 PTRACE = 26,
61 ALARM = 27,
62 OLDFSTAT = 28,
63 PAUSE = 29,
64 UTIME = 30,
65 STTY = 31,
66 GTTY = 32,
67 ACCESS = 33,
68 NICE = 34,
69 FTIME = 35,
70 SYNC = 36,
71 KILL = 37,
72 RENAME = 38,
73 MKDIR = 39,
74 RMDIR = 40,
75 DUP = 41,
76 PIPE = 42,
77 TIMES = 43,
78 PROF = 44,
79 BRK = 45,
80 SETGID = 46,
81 GETGID = 47,
82 SIGNAL = 48,
83 GETEUID = 49,
84 GETEGID = 50,
85 ACCT = 51,
86 UMOUNT2 = 52,
87 LOCK = 53,
88 IOCTL = 54,
89 FCNTL = 55,
90 MPX = 56,
91 SETPGID = 57,
92 ULIMIT = 58,
93 OLDOLDUNAME = 59,
94 UMASK = 60,
95 CHROOT = 61,
96 USTAT = 62,
97 DUP2 = 63,
98 GETPPID = 64,
99 GETPGRP = 65,
100 SETSID = 66,
101 SIGACTION = 67,
102 SGETMASK = 68,
103 SSETMASK = 69,
104 SETREUID = 70,
105 SETREGID = 71,
106 SIGSUSPEND = 72,
107 SIGPENDING = 73,
108 SETHOSTNAME = 74,
109 SETRLIMIT = 75,
110 GETRLIMIT = 76,
111 GETRUSAGE = 77,
112 GETTIMEOFDAY = 78,
113 SETTIMEOFDAY = 79,
114 GETGROUPS = 80,
115 SETGROUPS = 81,
116 SELECT = 82,
117 SYMLINK = 83,
118 OLDLSTAT = 84,
119 READLINK = 85,
120 USELIB = 86,
121 SWAPON = 87,
122 REBOOT = 88,
123 READDIR = 89,
124 MMAP = 90,
125 MUNMAP = 91,
126 TRUNCATE = 92,
127 FTRUNCATE = 93,
128 FCHMOD = 94,
129 FCHOWN = 95,
130 GETPRIORITY = 96,
131 SETPRIORITY = 97,
132 PROFIL = 98,
133 STATFS = 99,
134 FSTATFS = 100,
135 IOPERM = 101,
136 SOCKETCALL = 102,
137 SYSLOG = 103,
138 SETITIMER = 104,
139 GETITIMER = 105,
140 STAT = 106,
141 LSTAT = 107,
142 FSTAT = 108,
143 OLDUNAME = 109,
144 IOPL = 110,
145 VHANGUP = 111,
146 IDLE = 112,
147 VM86OLD = 113,
148 WAIT4 = 114,
149 SWAPOFF = 115,
150 SYSINFO = 116,
151 IPC = 117,
152 FSYNC = 118,
153 SIGRETURN = 119,
154 CLONE = 120,
155 SETDOMAINNAME = 121,
156 UNAME = 122,
157 MODIFY_LDT = 123,
158 ADJTIMEX = 124,
159 MPROTECT = 125,
160 SIGPROCMASK = 126,
161 CREATE_MODULE = 127,
162 INIT_MODULE = 128,
163 DELETE_MODULE = 129,
164 GET_KERNEL_SYMS = 130,
165 QUOTACTL = 131,
166 GETPGID = 132,
167 FCHDIR = 133,
168 BDFLUSH = 134,
169 SYSFS = 135,
170 PERSONALITY = 136,
171 AFS_SYSCALL = 137,
172 SETFSUID = 138,
173 SETFSGID = 139,
174 LLSEEK = 140,
175 GETDENTS = 141,
176 NEWSELECT = 142,
177 FLOCK = 143,
178 MSYNC = 144,
179 READV = 145,
180 WRITEV = 146,
181 GETSID = 147,
182 FDATASYNC = 148,
183 SYSCTL = 149,
184 MLOCK = 150,
185 MUNLOCK = 151,
186 MLOCKALL = 152,
187 MUNLOCKALL = 153,
188 SCHED_SETPARAM = 154,
189 SCHED_GETPARAM = 155,
190 SCHED_SETSCHEDULER = 156,
191 SCHED_GETSCHEDULER = 157,
192 SCHED_YIELD = 158,
193 SCHED_GET_PRIORITY_MAX = 159,
194 SCHED_GET_PRIORITY_MIN = 160,
195 SCHED_RR_GET_INTERVAL = 161,
196 NANOSLEEP = 162,
197 MREMAP = 163,
198 SETRESUID = 164,
199 GETRESUID = 165,
200 VM86 = 166,
201 QUERY_MODULE = 167,
202 POLL = 168,
203 NFSSERVCTL = 169,
204 SETRESGID = 170,
205 GETRESGID = 171,
206 PRCTL = 172,
207 RT_SIGRETURN = 173,
208 RT_SIGACTION = 174,
209 RT_SIGPROCMASK = 175,
210 RT_SIGPENDING = 176,
211 RT_SIGTIMEDWAIT = 177,
212 RT_SIGQUEUEINFO = 178,
213 RT_SIGSUSPEND = 179,
214 PREAD64 = 180,
215 PWRITE64 = 181,
216 CHOWN = 182,
217 GETCWD = 183,
218 CAPGET = 184,
219 CAPSET = 185,
220 SIGALTSTACK = 186,
221 SENDFILE = 187,
222 GETPMSG = 188,
223 PUTPMSG = 189,
224 VFORK = 190,
225 UGETRLIMIT = 191,
226 MMAP2 = 192,
227 TRUNCATE64 = 193,
228 FTRUNCATE64 = 194,
229 STAT64 = 195,
230 LSTAT64 = 196,
231 FSTAT64 = 197,
232 LCHOWN32 = 198,
233 GETUID32 = 199,
234 GETGID32 = 200,
235 GETEUID32 = 201,
236 GETEGID32 = 202,
237 SETREUID32 = 203,
238 SETREGID32 = 204,
239 GETGROUPS32 = 205,
240 SETGROUPS32 = 206,
241 FCHOWN32 = 207,
242 SETRESUID32 = 208,
243 GETRESUID32 = 209,
244 SETRESGID32 = 210,
245 GETRESGID32 = 211,
246 CHOWN32 = 212,
247 SETUID32 = 213,
248 SETGID32 = 214,
249 SETFSUID32 = 215,
250 SETFSGID32 = 216,
251 PIVOT_ROOT = 217,
252 MINCORE = 218,
253 MADVISE = 219,
254 GETDENTS64 = 220,
255 FCNTL64 = 221,
256 GETTID = 224,
257 READAHEAD = 225,
258 SETXATTR = 226,
259 LSETXATTR = 227,
260 FSETXATTR = 228,
261 GETXATTR = 229,
262 LGETXATTR = 230,
263 FGETXATTR = 231,
264 LISTXATTR = 232,
265 LLISTXATTR = 233,
266 FLISTXATTR = 234,
267 REMOVEXATTR = 235,
268 LREMOVEXATTR = 236,
269 FREMOVEXATTR = 237,
270 TKILL = 238,
271 SENDFILE64 = 239,
272 FUTEX = 240,
273 SCHED_SETAFFINITY = 241,
274 SCHED_GETAFFINITY = 242,
275 SET_THREAD_AREA = 243,
276 GET_THREAD_AREA = 244,
277 IO_SETUP = 245,
278 IO_DESTROY = 246,
279 IO_GETEVENTS = 247,
280 IO_SUBMIT = 248,
281 IO_CANCEL = 249,
282 FADVISE64 = 250,
283 EXIT_GROUP = 252,
284 LOOKUP_DCOOKIE = 253,
285 EPOLL_CREATE = 254,
286 EPOLL_CTL = 255,
287 EPOLL_WAIT = 256,
288 REMAP_FILE_PAGES = 257,
289 SET_TID_ADDRESS = 258,
290 TIMER_CREATE = 259,
291 TIMER_SETTIME = 260,
292 TIMER_GETTIME = 261,
293 TIMER_GETOVERRUN = 262,
294 TIMER_DELETE = 263,
295 CLOCK_SETTIME = 264,
296 CLOCK_GETTIME = 265,
297 CLOCK_GETRES = 266,
298 CLOCK_NANOSLEEP = 267,
299 STATFS64 = 268,
300 FSTATFS64 = 269,
301 TGKILL = 270,
302 UTIMES = 271,
303 FADVISE64_64 = 272,
304 VSERVER = 273,
305 MBIND = 274,
306 GET_MEMPOLICY = 275,
307 SET_MEMPOLICY = 276,
308 MQ_OPEN = 277,
309 MQ_UNLINK = 278,
310 MQ_TIMEDSEND = 279,
311 MQ_TIMEDRECEIVE = 280,
312 MQ_NOTIFY = 281,
313 MQ_GETSETATTR = 282,
314 KEXEC_LOAD = 283,
315 WAITID = 284,
316 ADD_KEY = 286,
317 REQUEST_KEY = 287,
318 KEYCTL = 288,
319 IOPRIO_SET = 289,
320 IOPRIO_GET = 290,
321 INOTIFY_INIT = 291,
322 INOTIFY_ADD_WATCH = 292,
323 INOTIFY_RM_WATCH = 293,
324 MIGRATE_PAGES = 294,
325 OPENAT = 295,
326 MKDIRAT = 296,
327 MKNODAT = 297,
328 FCHOWNAT = 298,
329 FUTIMESAT = 299,
330 FSTATAT64 = 300,
331 UNLINKAT = 301,
332 RENAMEAT = 302,
333 LINKAT = 303,
334 SYMLINKAT = 304,
335 READLINKAT = 305,
336 FCHMODAT = 306,
337 FACCESSAT = 307,
338 PSELECT6 = 308,
339 PPOLL = 309,
340 UNSHARE = 310,
341 SET_ROBUST_LIST = 311,
342 GET_ROBUST_LIST = 312,
343 SPLICE = 313,
344 SYNC_FILE_RANGE = 314,
345 TEE = 315,
346 VMSPLICE = 316,
347 MOVE_PAGES = 317,
348 GETCPU = 318,
349 EPOLL_PWAIT = 319,
350 UTIMENSAT = 320,
351 SIGNALFD = 321,
352 TIMERFD_CREATE = 322,
353 EVENTFD = 323,
354 FALLOCATE = 324,
355 TIMERFD_SETTIME = 325,
356 TIMERFD_GETTIME = 326,
357 SIGNALFD4 = 327,
358 EVENTFD2 = 328,
359 EPOLL_CREATE1 = 329,
360 DUP3 = 330,
361 PIPE2 = 331,
362 INOTIFY_INIT1 = 332,
363 PREADV = 333,
364 PWRITEV = 334,
365 RT_TGSIGQUEUEINFO = 335,
366 PERF_EVENT_OPEN = 336,
367 RECVMMSG = 337,
368 FANOTIFY_INIT = 338,
369 FANOTIFY_MARK = 339,
370 PRLIMIT64 = 340,
371 NAME_TO_HANDLE_AT = 341,
372 OPEN_BY_HANDLE_AT = 342,
373 CLOCK_ADJTIME = 343,
374 SYNCFS = 344,
375 SENDMMSG = 345,
376 SETNS = 346,
377 PROCESS_VM_READV = 347,
378 PROCESS_VM_WRITEV = 348,
379 KCMP = 349,
380 FINIT_MODULE = 350,
381 SCHED_SETATTR = 351,
382 SCHED_GETATTR = 352,
383 RENAMEAT2 = 353,
384 SECCOMP = 354,
385 GETRANDOM = 355,
386 MEMFD_CREATE = 356,
387 BPF = 357,
388 EXECVEAT = 358,
389 SOCKET = 359,
390 SOCKETPAIR = 360,
391 BIND = 361,
392 CONNECT = 362,
393 LISTEN = 363,
394 ACCEPT4 = 364,
395 GETSOCKOPT = 365,
396 SETSOCKOPT = 366,
397 GETSOCKNAME = 367,
398 GETPEERNAME = 368,
399 SENDTO = 369,
400 SENDMSG = 370,
401 RECVFROM = 371,
402 RECVMSG = 372,
403 SHUTDOWN = 373,
404 USERFAULTFD = 374,
405 MEMBARRIER = 375,
406 MLOCK2 = 376,
407 COPY_FILE_RANGE = 377,
408 PREADV2 = 378,
409 PWRITEV2 = 379,
410 PKEY_MPROTECT = 380,
411 PKEY_ALLOC = 381,
412 PKEY_FREE = 382,
413 STATX = 383,
414 ARCH_PRCTL = 384,
415 IO_PGETEVENTS = 385,
416 RSEQ = 386,
417 SEMGET = 393,
418 SEMCTL = 394,
419 SHMGET = 395,
420 SHMCTL = 396,
421 SHMAT = 397,
422 SHMDT = 398,
423 MSGGET = 399,
424 MSGSND = 400,
425 MSGRCV = 401,
426 MSGCTL = 402,
427 CLOCK_GETTIME64 = 403,
428 CLOCK_SETTIME64 = 404,
429 CLOCK_ADJTIME64 = 405,
430 CLOCK_GETRES_TIME64 = 406,
431 CLOCK_NANOSLEEP_TIME64 = 407,
432 TIMER_GETTIME64 = 408,
433 TIMER_SETTIME64 = 409,
434 TIMERFD_GETTIME64 = 410,
435 TIMERFD_SETTIME64 = 411,
436 UTIMENSAT_TIME64 = 412,
437 PSELECT6_TIME64 = 413,
438 PPOLL_TIME64 = 414,
439 IO_PGETEVENTS_TIME64 = 416,
440 RECVMMSG_TIME64 = 417,
441 MQ_TIMEDSEND_TIME64 = 418,
442 MQ_TIMEDRECEIVE_TIME64 = 419,
443 SEMTIMEDOP_TIME64 = 420,
444 RT_SIGTIMEDWAIT_TIME64 = 421,
445 FUTEX_TIME64 = 422,
446 SCHED_RR_GET_INTERVAL_TIME64 = 423,
447 PIDFD_SEND_SIGNAL = 424,
448 IO_URING_SETUP = 425,
449 IO_URING_ENTER = 426,
450 IO_URING_REGISTER = 427,
451 OPEN_TREE = 428,
452 MOVE_MOUNT = 429,
453 FSOPEN = 430,
454 FSCONFIG = 431,
455 FSMOUNT = 432,
456 FSPICK = 433,
457 PIDFD_OPEN = 434,
458 CLONE3 = 435,
459 CLOSE_RANGE = 436,
460 OPENAT2 = 437,
461 PIDFD_GETFD = 438,
462 FACCESSAT2 = 439,
463 PROCESS_MADVISE = 440,
464 EPOLL_PWAIT2 = 441,
465 MOUNT_SETATTR = 442,
466 QUOTACTL_FD = 443,
467 LANDLOCK_CREATE_RULESET = 444,
468 LANDLOCK_ADD_RULE = 445,
469 LANDLOCK_RESTRICT_SELF = 446,
470 MEMFD_SECRET = 447,
471 PROCESS_MRELEASE = 448,
472 FUTEX_WAITV = 449,
473 SET_MEMPOLICY_HOME_NODE = 450,
474 CACHESTAT = 451,
475 FCHMODAT2 = 452,
476 MAP_SHADOW_STACK = 453,
477 _FUTEX_WAKE = 454,
478 _FUTEX_WAIT = 455,
479 _FUTEX_REQUEUE = 456,
480 STATMOUNT = 457,
481 LISTMOUNT = 458,
482 LSM_GET_SELF_ATTR = 459,
483 LSM_SET_SELF_ATTR = 460,
484 LSM_LIST_MODULES = 461,
485 MSEAL = 462,
486 SETXATTRAT = 463,
487 GETXATTRAT = 464,
488 LISTXATTRAT = 465,
489 REMOVEXATTRAT = 466,
490 OPEN_TREE_ATTR = 467,
491 FILE_GETATTR = 468,
492 FILE_SETATTR = 469,
493 _LAST = 469, // last valid system call nr. (careful, could be used in the future by the kernel!)
494};

◆ SystemCallNrX32

enum class clues::SystemCallNrX32 : uint64_t
strong

Definition at line 40 of file x32.hxx.

40 : uint64_t {
41 _FIRST = X32_SYSCALL_BIT + 0, // first valid system call nr.
42 READ = X32_SYSCALL_BIT + 0, // common between x64 and x32
43 WRITE = X32_SYSCALL_BIT + 1, // common between x64 and x32
44 OPEN = X32_SYSCALL_BIT + 2, // common between x64 and x32
45 CLOSE = X32_SYSCALL_BIT + 3, // common between x64 and x32
46 STAT = X32_SYSCALL_BIT + 4, // common between x64 and x32
47 FSTAT = X32_SYSCALL_BIT + 5, // common between x64 and x32
48 LSTAT = X32_SYSCALL_BIT + 6, // common between x64 and x32
49 POLL = X32_SYSCALL_BIT + 7, // common between x64 and x32
50 LSEEK = X32_SYSCALL_BIT + 8, // common between x64 and x32
51 MMAP = X32_SYSCALL_BIT + 9, // common between x64 and x32
52 MPROTECT = X32_SYSCALL_BIT + 10, // common between x64 and x32
53 MUNMAP = X32_SYSCALL_BIT + 11, // common between x64 and x32
54 BRK = X32_SYSCALL_BIT + 12, // common between x64 and x32
55 RT_SIGPROCMASK = X32_SYSCALL_BIT + 14, // common between x64 and x32
56 PREAD64 = X32_SYSCALL_BIT + 17, // common between x64 and x32
57 PWRITE64 = X32_SYSCALL_BIT + 18, // common between x64 and x32
58 ACCESS = X32_SYSCALL_BIT + 21, // common between x64 and x32
59 PIPE = X32_SYSCALL_BIT + 22, // common between x64 and x32
60 SELECT = X32_SYSCALL_BIT + 23, // common between x64 and x32
61 SCHED_YIELD = X32_SYSCALL_BIT + 24, // common between x64 and x32
62 MREMAP = X32_SYSCALL_BIT + 25, // common between x64 and x32
63 MSYNC = X32_SYSCALL_BIT + 26, // common between x64 and x32
64 MINCORE = X32_SYSCALL_BIT + 27, // common between x64 and x32
65 MADVISE = X32_SYSCALL_BIT + 28, // common between x64 and x32
66 SHMGET = X32_SYSCALL_BIT + 29, // common between x64 and x32
67 SHMAT = X32_SYSCALL_BIT + 30, // common between x64 and x32
68 SHMCTL = X32_SYSCALL_BIT + 31, // common between x64 and x32
69 DUP = X32_SYSCALL_BIT + 32, // common between x64 and x32
70 DUP2 = X32_SYSCALL_BIT + 33, // common between x64 and x32
71 PAUSE = X32_SYSCALL_BIT + 34, // common between x64 and x32
72 NANOSLEEP = X32_SYSCALL_BIT + 35, // common between x64 and x32
73 GETITIMER = X32_SYSCALL_BIT + 36, // common between x64 and x32
74 ALARM = X32_SYSCALL_BIT + 37, // common between x64 and x32
75 SETITIMER = X32_SYSCALL_BIT + 38, // common between x64 and x32
76 GETPID = X32_SYSCALL_BIT + 39, // common between x64 and x32
77 SENDFILE = X32_SYSCALL_BIT + 40, // common between x64 and x32
78 SOCKET = X32_SYSCALL_BIT + 41, // common between x64 and x32
79 CONNECT = X32_SYSCALL_BIT + 42, // common between x64 and x32
80 ACCEPT = X32_SYSCALL_BIT + 43, // common between x64 and x32
81 SENDTO = X32_SYSCALL_BIT + 44, // common between x64 and x32
82 SHUTDOWN = X32_SYSCALL_BIT + 48, // common between x64 and x32
83 BIND = X32_SYSCALL_BIT + 49, // common between x64 and x32
84 LISTEN = X32_SYSCALL_BIT + 50, // common between x64 and x32
85 GETSOCKNAME = X32_SYSCALL_BIT + 51, // common between x64 and x32
86 GETPEERNAME = X32_SYSCALL_BIT + 52, // common between x64 and x32
87 SOCKETPAIR = X32_SYSCALL_BIT + 53, // common between x64 and x32
88 CLONE = X32_SYSCALL_BIT + 56, // common between x64 and x32
89 FORK = X32_SYSCALL_BIT + 57, // common between x64 and x32
90 VFORK = X32_SYSCALL_BIT + 58, // common between x64 and x32
91 EXIT = X32_SYSCALL_BIT + 60, // common between x64 and x32
92 WAIT4 = X32_SYSCALL_BIT + 61, // common between x64 and x32
93 KILL = X32_SYSCALL_BIT + 62, // common between x64 and x32
94 UNAME = X32_SYSCALL_BIT + 63, // common between x64 and x32
95 SEMGET = X32_SYSCALL_BIT + 64, // common between x64 and x32
96 SEMOP = X32_SYSCALL_BIT + 65, // common between x64 and x32
97 SEMCTL = X32_SYSCALL_BIT + 66, // common between x64 and x32
98 SHMDT = X32_SYSCALL_BIT + 67, // common between x64 and x32
99 MSGGET = X32_SYSCALL_BIT + 68, // common between x64 and x32
100 MSGSND = X32_SYSCALL_BIT + 69, // common between x64 and x32
101 MSGRCV = X32_SYSCALL_BIT + 70, // common between x64 and x32
102 MSGCTL = X32_SYSCALL_BIT + 71, // common between x64 and x32
103 FCNTL = X32_SYSCALL_BIT + 72, // common between x64 and x32
104 FLOCK = X32_SYSCALL_BIT + 73, // common between x64 and x32
105 FSYNC = X32_SYSCALL_BIT + 74, // common between x64 and x32
106 FDATASYNC = X32_SYSCALL_BIT + 75, // common between x64 and x32
107 TRUNCATE = X32_SYSCALL_BIT + 76, // common between x64 and x32
108 FTRUNCATE = X32_SYSCALL_BIT + 77, // common between x64 and x32
109 GETDENTS = X32_SYSCALL_BIT + 78, // common between x64 and x32
110 GETCWD = X32_SYSCALL_BIT + 79, // common between x64 and x32
111 CHDIR = X32_SYSCALL_BIT + 80, // common between x64 and x32
112 FCHDIR = X32_SYSCALL_BIT + 81, // common between x64 and x32
113 RENAME = X32_SYSCALL_BIT + 82, // common between x64 and x32
114 MKDIR = X32_SYSCALL_BIT + 83, // common between x64 and x32
115 RMDIR = X32_SYSCALL_BIT + 84, // common between x64 and x32
116 CREAT = X32_SYSCALL_BIT + 85, // common between x64 and x32
117 LINK = X32_SYSCALL_BIT + 86, // common between x64 and x32
118 UNLINK = X32_SYSCALL_BIT + 87, // common between x64 and x32
119 SYMLINK = X32_SYSCALL_BIT + 88, // common between x64 and x32
120 READLINK = X32_SYSCALL_BIT + 89, // common between x64 and x32
121 CHMOD = X32_SYSCALL_BIT + 90, // common between x64 and x32
122 FCHMOD = X32_SYSCALL_BIT + 91, // common between x64 and x32
123 CHOWN = X32_SYSCALL_BIT + 92, // common between x64 and x32
124 FCHOWN = X32_SYSCALL_BIT + 93, // common between x64 and x32
125 LCHOWN = X32_SYSCALL_BIT + 94, // common between x64 and x32
126 UMASK = X32_SYSCALL_BIT + 95, // common between x64 and x32
127 GETTIMEOFDAY = X32_SYSCALL_BIT + 96, // common between x64 and x32
128 GETRLIMIT = X32_SYSCALL_BIT + 97, // common between x64 and x32
129 GETRUSAGE = X32_SYSCALL_BIT + 98, // common between x64 and x32
130 SYSINFO = X32_SYSCALL_BIT + 99, // common between x64 and x32
131 TIMES = X32_SYSCALL_BIT + 100, // common between x64 and x32
132 GETUID = X32_SYSCALL_BIT + 102, // common between x64 and x32
133 SYSLOG = X32_SYSCALL_BIT + 103, // common between x64 and x32
134 GETGID = X32_SYSCALL_BIT + 104, // common between x64 and x32
135 SETUID = X32_SYSCALL_BIT + 105, // common between x64 and x32
136 SETGID = X32_SYSCALL_BIT + 106, // common between x64 and x32
137 GETEUID = X32_SYSCALL_BIT + 107, // common between x64 and x32
138 GETEGID = X32_SYSCALL_BIT + 108, // common between x64 and x32
139 SETPGID = X32_SYSCALL_BIT + 109, // common between x64 and x32
140 GETPPID = X32_SYSCALL_BIT + 110, // common between x64 and x32
141 GETPGRP = X32_SYSCALL_BIT + 111, // common between x64 and x32
142 SETSID = X32_SYSCALL_BIT + 112, // common between x64 and x32
143 SETREUID = X32_SYSCALL_BIT + 113, // common between x64 and x32
144 SETREGID = X32_SYSCALL_BIT + 114, // common between x64 and x32
145 GETGROUPS = X32_SYSCALL_BIT + 115, // common between x64 and x32
146 SETGROUPS = X32_SYSCALL_BIT + 116, // common between x64 and x32
147 SETRESUID = X32_SYSCALL_BIT + 117, // common between x64 and x32
148 GETRESUID = X32_SYSCALL_BIT + 118, // common between x64 and x32
149 SETRESGID = X32_SYSCALL_BIT + 119, // common between x64 and x32
150 GETRESGID = X32_SYSCALL_BIT + 120, // common between x64 and x32
151 GETPGID = X32_SYSCALL_BIT + 121, // common between x64 and x32
152 SETFSUID = X32_SYSCALL_BIT + 122, // common between x64 and x32
153 SETFSGID = X32_SYSCALL_BIT + 123, // common between x64 and x32
154 GETSID = X32_SYSCALL_BIT + 124, // common between x64 and x32
155 CAPGET = X32_SYSCALL_BIT + 125, // common between x64 and x32
156 CAPSET = X32_SYSCALL_BIT + 126, // common between x64 and x32
157 RT_SIGSUSPEND = X32_SYSCALL_BIT + 130, // common between x64 and x32
158 UTIME = X32_SYSCALL_BIT + 132, // common between x64 and x32
159 MKNOD = X32_SYSCALL_BIT + 133, // common between x64 and x32
160 PERSONALITY = X32_SYSCALL_BIT + 135, // common between x64 and x32
161 USTAT = X32_SYSCALL_BIT + 136, // common between x64 and x32
162 STATFS = X32_SYSCALL_BIT + 137, // common between x64 and x32
163 FSTATFS = X32_SYSCALL_BIT + 138, // common between x64 and x32
164 SYSFS = X32_SYSCALL_BIT + 139, // common between x64 and x32
165 GETPRIORITY = X32_SYSCALL_BIT + 140, // common between x64 and x32
166 SETPRIORITY = X32_SYSCALL_BIT + 141, // common between x64 and x32
167 SCHED_SETPARAM = X32_SYSCALL_BIT + 142, // common between x64 and x32
168 SCHED_GETPARAM = X32_SYSCALL_BIT + 143, // common between x64 and x32
169 SCHED_SETSCHEDULER = X32_SYSCALL_BIT + 144, // common between x64 and x32
170 SCHED_GETSCHEDULER = X32_SYSCALL_BIT + 145, // common between x64 and x32
171 SCHED_GET_PRIORITY_MAX = X32_SYSCALL_BIT + 146, // common between x64 and x32
172 SCHED_GET_PRIORITY_MIN = X32_SYSCALL_BIT + 147, // common between x64 and x32
173 SCHED_RR_GET_INTERVAL = X32_SYSCALL_BIT + 148, // common between x64 and x32
174 MLOCK = X32_SYSCALL_BIT + 149, // common between x64 and x32
175 MUNLOCK = X32_SYSCALL_BIT + 150, // common between x64 and x32
176 MLOCKALL = X32_SYSCALL_BIT + 151, // common between x64 and x32
177 MUNLOCKALL = X32_SYSCALL_BIT + 152, // common between x64 and x32
178 VHANGUP = X32_SYSCALL_BIT + 153, // common between x64 and x32
179 MODIFY_LDT = X32_SYSCALL_BIT + 154, // common between x64 and x32
180 PIVOT_ROOT = X32_SYSCALL_BIT + 155, // common between x64 and x32
181 PRCTL = X32_SYSCALL_BIT + 157, // common between x64 and x32
182 ARCH_PRCTL = X32_SYSCALL_BIT + 158, // common between x64 and x32
183 ADJTIMEX = X32_SYSCALL_BIT + 159, // common between x64 and x32
184 SETRLIMIT = X32_SYSCALL_BIT + 160, // common between x64 and x32
185 CHROOT = X32_SYSCALL_BIT + 161, // common between x64 and x32
186 SYNC = X32_SYSCALL_BIT + 162, // common between x64 and x32
187 ACCT = X32_SYSCALL_BIT + 163, // common between x64 and x32
188 SETTIMEOFDAY = X32_SYSCALL_BIT + 164, // common between x64 and x32
189 MOUNT = X32_SYSCALL_BIT + 165, // common between x64 and x32
190 UMOUNT2 = X32_SYSCALL_BIT + 166, // common between x64 and x32
191 SWAPON = X32_SYSCALL_BIT + 167, // common between x64 and x32
192 SWAPOFF = X32_SYSCALL_BIT + 168, // common between x64 and x32
193 REBOOT = X32_SYSCALL_BIT + 169, // common between x64 and x32
194 SETHOSTNAME = X32_SYSCALL_BIT + 170, // common between x64 and x32
195 SETDOMAINNAME = X32_SYSCALL_BIT + 171, // common between x64 and x32
196 IOPL = X32_SYSCALL_BIT + 172, // common between x64 and x32
197 IOPERM = X32_SYSCALL_BIT + 173, // common between x64 and x32
198 INIT_MODULE = X32_SYSCALL_BIT + 175, // common between x64 and x32
199 DELETE_MODULE = X32_SYSCALL_BIT + 176, // common between x64 and x32
200 QUOTACTL = X32_SYSCALL_BIT + 179, // common between x64 and x32
201 GETPMSG = X32_SYSCALL_BIT + 181, // common between x64 and x32
202 PUTPMSG = X32_SYSCALL_BIT + 182, // common between x64 and x32
203 AFS_SYSCALL = X32_SYSCALL_BIT + 183, // common between x64 and x32
204 TUXCALL = X32_SYSCALL_BIT + 184, // common between x64 and x32
205 SECURITY = X32_SYSCALL_BIT + 185, // common between x64 and x32
206 GETTID = X32_SYSCALL_BIT + 186, // common between x64 and x32
207 READAHEAD = X32_SYSCALL_BIT + 187, // common between x64 and x32
208 SETXATTR = X32_SYSCALL_BIT + 188, // common between x64 and x32
209 LSETXATTR = X32_SYSCALL_BIT + 189, // common between x64 and x32
210 FSETXATTR = X32_SYSCALL_BIT + 190, // common between x64 and x32
211 GETXATTR = X32_SYSCALL_BIT + 191, // common between x64 and x32
212 LGETXATTR = X32_SYSCALL_BIT + 192, // common between x64 and x32
213 FGETXATTR = X32_SYSCALL_BIT + 193, // common between x64 and x32
214 LISTXATTR = X32_SYSCALL_BIT + 194, // common between x64 and x32
215 LLISTXATTR = X32_SYSCALL_BIT + 195, // common between x64 and x32
216 FLISTXATTR = X32_SYSCALL_BIT + 196, // common between x64 and x32
217 REMOVEXATTR = X32_SYSCALL_BIT + 197, // common between x64 and x32
218 LREMOVEXATTR = X32_SYSCALL_BIT + 198, // common between x64 and x32
219 FREMOVEXATTR = X32_SYSCALL_BIT + 199, // common between x64 and x32
220 TKILL = X32_SYSCALL_BIT + 200, // common between x64 and x32
221 TIME = X32_SYSCALL_BIT + 201, // common between x64 and x32
222 FUTEX = X32_SYSCALL_BIT + 202, // common between x64 and x32
223 SCHED_SETAFFINITY = X32_SYSCALL_BIT + 203, // common between x64 and x32
224 SCHED_GETAFFINITY = X32_SYSCALL_BIT + 204, // common between x64 and x32
225 IO_DESTROY = X32_SYSCALL_BIT + 207, // common between x64 and x32
226 IO_GETEVENTS = X32_SYSCALL_BIT + 208, // common between x64 and x32
227 IO_CANCEL = X32_SYSCALL_BIT + 210, // common between x64 and x32
228 LOOKUP_DCOOKIE = X32_SYSCALL_BIT + 212, // common between x64 and x32
229 EPOLL_CREATE = X32_SYSCALL_BIT + 213, // common between x64 and x32
230 REMAP_FILE_PAGES = X32_SYSCALL_BIT + 216, // common between x64 and x32
231 GETDENTS64 = X32_SYSCALL_BIT + 217, // common between x64 and x32
232 SET_TID_ADDRESS = X32_SYSCALL_BIT + 218, // common between x64 and x32
233 RESTART_SYSCALL = X32_SYSCALL_BIT + 219, // common between x64 and x32
234 SEMTIMEDOP = X32_SYSCALL_BIT + 220, // common between x64 and x32
235 FADVISE64 = X32_SYSCALL_BIT + 221, // common between x64 and x32
236 TIMER_SETTIME = X32_SYSCALL_BIT + 223, // common between x64 and x32
237 TIMER_GETTIME = X32_SYSCALL_BIT + 224, // common between x64 and x32
238 TIMER_GETOVERRUN = X32_SYSCALL_BIT + 225, // common between x64 and x32
239 TIMER_DELETE = X32_SYSCALL_BIT + 226, // common between x64 and x32
240 CLOCK_SETTIME = X32_SYSCALL_BIT + 227, // common between x64 and x32
241 CLOCK_GETTIME = X32_SYSCALL_BIT + 228, // common between x64 and x32
242 CLOCK_GETRES = X32_SYSCALL_BIT + 229, // common between x64 and x32
243 CLOCK_NANOSLEEP = X32_SYSCALL_BIT + 230, // common between x64 and x32
244 EXIT_GROUP = X32_SYSCALL_BIT + 231, // common between x64 and x32
245 EPOLL_WAIT = X32_SYSCALL_BIT + 232, // common between x64 and x32
246 EPOLL_CTL = X32_SYSCALL_BIT + 233, // common between x64 and x32
247 TGKILL = X32_SYSCALL_BIT + 234, // common between x64 and x32
248 UTIMES = X32_SYSCALL_BIT + 235, // common between x64 and x32
249 MBIND = X32_SYSCALL_BIT + 237, // common between x64 and x32
250 SET_MEMPOLICY = X32_SYSCALL_BIT + 238, // common between x64 and x32
251 GET_MEMPOLICY = X32_SYSCALL_BIT + 239, // common between x64 and x32
252 MQ_OPEN = X32_SYSCALL_BIT + 240, // common between x64 and x32
253 MQ_UNLINK = X32_SYSCALL_BIT + 241, // common between x64 and x32
254 MQ_TIMEDSEND = X32_SYSCALL_BIT + 242, // common between x64 and x32
255 MQ_TIMEDRECEIVE = X32_SYSCALL_BIT + 243, // common between x64 and x32
256 MQ_GETSETATTR = X32_SYSCALL_BIT + 245, // common between x64 and x32
257 ADD_KEY = X32_SYSCALL_BIT + 248, // common between x64 and x32
258 REQUEST_KEY = X32_SYSCALL_BIT + 249, // common between x64 and x32
259 KEYCTL = X32_SYSCALL_BIT + 250, // common between x64 and x32
260 IOPRIO_SET = X32_SYSCALL_BIT + 251, // common between x64 and x32
261 IOPRIO_GET = X32_SYSCALL_BIT + 252, // common between x64 and x32
262 INOTIFY_INIT = X32_SYSCALL_BIT + 253, // common between x64 and x32
263 INOTIFY_ADD_WATCH = X32_SYSCALL_BIT + 254, // common between x64 and x32
264 INOTIFY_RM_WATCH = X32_SYSCALL_BIT + 255, // common between x64 and x32
265 MIGRATE_PAGES = X32_SYSCALL_BIT + 256, // common between x64 and x32
266 OPENAT = X32_SYSCALL_BIT + 257, // common between x64 and x32
267 MKDIRAT = X32_SYSCALL_BIT + 258, // common between x64 and x32
268 MKNODAT = X32_SYSCALL_BIT + 259, // common between x64 and x32
269 FCHOWNAT = X32_SYSCALL_BIT + 260, // common between x64 and x32
270 FUTIMESAT = X32_SYSCALL_BIT + 261, // common between x64 and x32
271 NEWFSTATAT = X32_SYSCALL_BIT + 262, // common between x64 and x32
272 UNLINKAT = X32_SYSCALL_BIT + 263, // common between x64 and x32
273 RENAMEAT = X32_SYSCALL_BIT + 264, // common between x64 and x32
274 LINKAT = X32_SYSCALL_BIT + 265, // common between x64 and x32
275 SYMLINKAT = X32_SYSCALL_BIT + 266, // common between x64 and x32
276 READLINKAT = X32_SYSCALL_BIT + 267, // common between x64 and x32
277 FCHMODAT = X32_SYSCALL_BIT + 268, // common between x64 and x32
278 FACCESSAT = X32_SYSCALL_BIT + 269, // common between x64 and x32
279 PSELECT6 = X32_SYSCALL_BIT + 270, // common between x64 and x32
280 PPOLL = X32_SYSCALL_BIT + 271, // common between x64 and x32
281 UNSHARE = X32_SYSCALL_BIT + 272, // common between x64 and x32
282 SPLICE = X32_SYSCALL_BIT + 275, // common between x64 and x32
283 TEE = X32_SYSCALL_BIT + 276, // common between x64 and x32
284 SYNC_FILE_RANGE = X32_SYSCALL_BIT + 277, // common between x64 and x32
285 UTIMENSAT = X32_SYSCALL_BIT + 280, // common between x64 and x32
286 EPOLL_PWAIT = X32_SYSCALL_BIT + 281, // common between x64 and x32
287 SIGNALFD = X32_SYSCALL_BIT + 282, // common between x64 and x32
288 TIMERFD_CREATE = X32_SYSCALL_BIT + 283, // common between x64 and x32
289 EVENTFD = X32_SYSCALL_BIT + 284, // common between x64 and x32
290 FALLOCATE = X32_SYSCALL_BIT + 285, // common between x64 and x32
291 TIMERFD_SETTIME = X32_SYSCALL_BIT + 286, // common between x64 and x32
292 TIMERFD_GETTIME = X32_SYSCALL_BIT + 287, // common between x64 and x32
293 ACCEPT4 = X32_SYSCALL_BIT + 288, // common between x64 and x32
294 SIGNALFD4 = X32_SYSCALL_BIT + 289, // common between x64 and x32
295 EVENTFD2 = X32_SYSCALL_BIT + 290, // common between x64 and x32
296 EPOLL_CREATE1 = X32_SYSCALL_BIT + 291, // common between x64 and x32
297 DUP3 = X32_SYSCALL_BIT + 292, // common between x64 and x32
298 PIPE2 = X32_SYSCALL_BIT + 293, // common between x64 and x32
299 INOTIFY_INIT1 = X32_SYSCALL_BIT + 294, // common between x64 and x32
300 PERF_EVENT_OPEN = X32_SYSCALL_BIT + 298, // common between x64 and x32
301 FANOTIFY_INIT = X32_SYSCALL_BIT + 300, // common between x64 and x32
302 FANOTIFY_MARK = X32_SYSCALL_BIT + 301, // common between x64 and x32
303 PRLIMIT64 = X32_SYSCALL_BIT + 302, // common between x64 and x32
304 NAME_TO_HANDLE_AT = X32_SYSCALL_BIT + 303, // common between x64 and x32
305 OPEN_BY_HANDLE_AT = X32_SYSCALL_BIT + 304, // common between x64 and x32
306 CLOCK_ADJTIME = X32_SYSCALL_BIT + 305, // common between x64 and x32
307 SYNCFS = X32_SYSCALL_BIT + 306, // common between x64 and x32
308 SETNS = X32_SYSCALL_BIT + 308, // common between x64 and x32
309 GETCPU = X32_SYSCALL_BIT + 309, // common between x64 and x32
310 KCMP = X32_SYSCALL_BIT + 312, // common between x64 and x32
311 FINIT_MODULE = X32_SYSCALL_BIT + 313, // common between x64 and x32
312 SCHED_SETATTR = X32_SYSCALL_BIT + 314, // common between x64 and x32
313 SCHED_GETATTR = X32_SYSCALL_BIT + 315, // common between x64 and x32
314 RENAMEAT2 = X32_SYSCALL_BIT + 316, // common between x64 and x32
315 SECCOMP = X32_SYSCALL_BIT + 317, // common between x64 and x32
316 GETRANDOM = X32_SYSCALL_BIT + 318, // common between x64 and x32
317 MEMFD_CREATE = X32_SYSCALL_BIT + 319, // common between x64 and x32
318 KEXEC_FILE_LOAD = X32_SYSCALL_BIT + 320, // common between x64 and x32
319 BPF = X32_SYSCALL_BIT + 321, // common between x64 and x32
320 USERFAULTFD = X32_SYSCALL_BIT + 323, // common between x64 and x32
321 MEMBARRIER = X32_SYSCALL_BIT + 324, // common between x64 and x32
322 MLOCK2 = X32_SYSCALL_BIT + 325, // common between x64 and x32
323 COPY_FILE_RANGE = X32_SYSCALL_BIT + 326, // common between x64 and x32
324 PKEY_MPROTECT = X32_SYSCALL_BIT + 329, // common between x64 and x32
325 PKEY_ALLOC = X32_SYSCALL_BIT + 330, // common between x64 and x32
326 PKEY_FREE = X32_SYSCALL_BIT + 331, // common between x64 and x32
327 STATX = X32_SYSCALL_BIT + 332, // common between x64 and x32
328 IO_PGETEVENTS = X32_SYSCALL_BIT + 333, // common between x64 and x32
329 RSEQ = X32_SYSCALL_BIT + 334, // common between x64 and x32
330 URETPROBE = X32_SYSCALL_BIT + 335, // common between x64 and x32
331 UPROBE = X32_SYSCALL_BIT + 336, // common between x64 and x32
332 PIDFD_SEND_SIGNAL = X32_SYSCALL_BIT + 424, // common between x64 and x32
333 IO_URING_SETUP = X32_SYSCALL_BIT + 425, // common between x64 and x32
334 IO_URING_ENTER = X32_SYSCALL_BIT + 426, // common between x64 and x32
335 IO_URING_REGISTER = X32_SYSCALL_BIT + 427, // common between x64 and x32
336 OPEN_TREE = X32_SYSCALL_BIT + 428, // common between x64 and x32
337 MOVE_MOUNT = X32_SYSCALL_BIT + 429, // common between x64 and x32
338 FSOPEN = X32_SYSCALL_BIT + 430, // common between x64 and x32
339 FSCONFIG = X32_SYSCALL_BIT + 431, // common between x64 and x32
340 FSMOUNT = X32_SYSCALL_BIT + 432, // common between x64 and x32
341 FSPICK = X32_SYSCALL_BIT + 433, // common between x64 and x32
342 PIDFD_OPEN = X32_SYSCALL_BIT + 434, // common between x64 and x32
343 CLONE3 = X32_SYSCALL_BIT + 435, // common between x64 and x32
344 CLOSE_RANGE = X32_SYSCALL_BIT + 436, // common between x64 and x32
345 OPENAT2 = X32_SYSCALL_BIT + 437, // common between x64 and x32
346 PIDFD_GETFD = X32_SYSCALL_BIT + 438, // common between x64 and x32
347 FACCESSAT2 = X32_SYSCALL_BIT + 439, // common between x64 and x32
348 PROCESS_MADVISE = X32_SYSCALL_BIT + 440, // common between x64 and x32
349 EPOLL_PWAIT2 = X32_SYSCALL_BIT + 441, // common between x64 and x32
350 MOUNT_SETATTR = X32_SYSCALL_BIT + 442, // common between x64 and x32
351 QUOTACTL_FD = X32_SYSCALL_BIT + 443, // common between x64 and x32
352 LANDLOCK_CREATE_RULESET = X32_SYSCALL_BIT + 444, // common between x64 and x32
353 LANDLOCK_ADD_RULE = X32_SYSCALL_BIT + 445, // common between x64 and x32
354 LANDLOCK_RESTRICT_SELF = X32_SYSCALL_BIT + 446, // common between x64 and x32
355 MEMFD_SECRET = X32_SYSCALL_BIT + 447, // common between x64 and x32
356 PROCESS_MRELEASE = X32_SYSCALL_BIT + 448, // common between x64 and x32
357 FUTEX_WAITV = X32_SYSCALL_BIT + 449, // common between x64 and x32
358 SET_MEMPOLICY_HOME_NODE = X32_SYSCALL_BIT + 450, // common between x64 and x32
359 CACHESTAT = X32_SYSCALL_BIT + 451, // common between x64 and x32
360 FCHMODAT2 = X32_SYSCALL_BIT + 452, // common between x64 and x32
361 MAP_SHADOW_STACK = X32_SYSCALL_BIT + 453, // common between x64 and x32
362 _FUTEX_WAKE = X32_SYSCALL_BIT + 454, // common between x64 and x32
363 _FUTEX_WAIT = X32_SYSCALL_BIT + 455, // common between x64 and x32
364 _FUTEX_REQUEUE = X32_SYSCALL_BIT + 456, // common between x64 and x32
365 STATMOUNT = X32_SYSCALL_BIT + 457, // common between x64 and x32
366 LISTMOUNT = X32_SYSCALL_BIT + 458, // common between x64 and x32
367 LSM_GET_SELF_ATTR = X32_SYSCALL_BIT + 459, // common between x64 and x32
368 LSM_SET_SELF_ATTR = X32_SYSCALL_BIT + 460, // common between x64 and x32
369 LSM_LIST_MODULES = X32_SYSCALL_BIT + 461, // common between x64 and x32
370 MSEAL = X32_SYSCALL_BIT + 462, // common between x64 and x32
371 SETXATTRAT = X32_SYSCALL_BIT + 463, // common between x64 and x32
372 GETXATTRAT = X32_SYSCALL_BIT + 464, // common between x64 and x32
373 LISTXATTRAT = X32_SYSCALL_BIT + 465, // common between x64 and x32
374 REMOVEXATTRAT = X32_SYSCALL_BIT + 466, // common between x64 and x32
375 OPEN_TREE_ATTR = X32_SYSCALL_BIT + 467, // common between x64 and x32
376 FILE_GETATTR = X32_SYSCALL_BIT + 468, // common between x64 and x32
377 FILE_SETATTR = X32_SYSCALL_BIT + 469, // common between x64 and x32
378 RT_SIGACTION = X32_SYSCALL_BIT + 512, // specific to x32
379 RT_SIGRETURN = X32_SYSCALL_BIT + 513, // specific to x32
380 IOCTL = X32_SYSCALL_BIT + 514, // specific to x32
381 READV = X32_SYSCALL_BIT + 515, // specific to x32
382 WRITEV = X32_SYSCALL_BIT + 516, // specific to x32
383 RECVFROM = X32_SYSCALL_BIT + 517, // specific to x32
384 SENDMSG = X32_SYSCALL_BIT + 518, // specific to x32
385 RECVMSG = X32_SYSCALL_BIT + 519, // specific to x32
386 EXECVE = X32_SYSCALL_BIT + 520, // specific to x32
387 PTRACE = X32_SYSCALL_BIT + 521, // specific to x32
388 RT_SIGPENDING = X32_SYSCALL_BIT + 522, // specific to x32
389 RT_SIGTIMEDWAIT = X32_SYSCALL_BIT + 523, // specific to x32
390 RT_SIGQUEUEINFO = X32_SYSCALL_BIT + 524, // specific to x32
391 SIGALTSTACK = X32_SYSCALL_BIT + 525, // specific to x32
392 TIMER_CREATE = X32_SYSCALL_BIT + 526, // specific to x32
393 MQ_NOTIFY = X32_SYSCALL_BIT + 527, // specific to x32
394 KEXEC_LOAD = X32_SYSCALL_BIT + 528, // specific to x32
395 WAITID = X32_SYSCALL_BIT + 529, // specific to x32
396 SET_ROBUST_LIST = X32_SYSCALL_BIT + 530, // specific to x32
397 GET_ROBUST_LIST = X32_SYSCALL_BIT + 531, // specific to x32
398 VMSPLICE = X32_SYSCALL_BIT + 532, // specific to x32
399 MOVE_PAGES = X32_SYSCALL_BIT + 533, // specific to x32
400 PREADV = X32_SYSCALL_BIT + 534, // specific to x32
401 PWRITEV = X32_SYSCALL_BIT + 535, // specific to x32
402 RT_TGSIGQUEUEINFO = X32_SYSCALL_BIT + 536, // specific to x32
403 RECVMMSG = X32_SYSCALL_BIT + 537, // specific to x32
404 SENDMMSG = X32_SYSCALL_BIT + 538, // specific to x32
405 PROCESS_VM_READV = X32_SYSCALL_BIT + 539, // specific to x32
406 PROCESS_VM_WRITEV = X32_SYSCALL_BIT + 540, // specific to x32
407 SETSOCKOPT = X32_SYSCALL_BIT + 541, // specific to x32
408 GETSOCKOPT = X32_SYSCALL_BIT + 542, // specific to x32
409 IO_SETUP = X32_SYSCALL_BIT + 543, // specific to x32
410 IO_SUBMIT = X32_SYSCALL_BIT + 544, // specific to x32
411 EXECVEAT = X32_SYSCALL_BIT + 545, // specific to x32
412 PREADV2 = X32_SYSCALL_BIT + 546, // specific to x32
413 PWRITEV2 = X32_SYSCALL_BIT + 547, // specific to x32
414 _LAST = X32_SYSCALL_BIT + 547, // last valid system call nr. (careful, could be used in the future by the kernel!)
415};
constexpr uint64_t X32_SYSCALL_BIT
Native system call numbers as used by Linux on the x32 ABI.
Definition x32.hxx:38

◆ SystemCallNrX64

enum class clues::SystemCallNrX64 : uint64_t
strong

Native system call numbers as used by Linux on the x64 ABI.

This strong enum type represents a system call number on the x64 ABI. The literal values correspond to the numbers used by the operating system and reported by the ptrace() API for this ABI.

The underlying data type corresponds to the type used in the PTRACE_GET_SYSCALL_INFO API and is the same for all ABIs.

Definition at line 31 of file x64.hxx.

31 : uint64_t {
32 _FIRST = 0, // first valid system call nr.
33 READ = 0, // common between x64 and x32
34 WRITE = 1, // common between x64 and x32
35 OPEN = 2, // common between x64 and x32
36 CLOSE = 3, // common between x64 and x32
37 STAT = 4, // common between x64 and x32
38 FSTAT = 5, // common between x64 and x32
39 LSTAT = 6, // common between x64 and x32
40 POLL = 7, // common between x64 and x32
41 LSEEK = 8, // common between x64 and x32
42 MMAP = 9, // common between x64 and x32
43 MPROTECT = 10, // common between x64 and x32
44 MUNMAP = 11, // common between x64 and x32
45 BRK = 12, // common between x64 and x32
46 RT_SIGACTION = 13, // specific to x64
47 RT_SIGPROCMASK = 14, // common between x64 and x32
48 RT_SIGRETURN = 15, // specific to x64
49 IOCTL = 16, // specific to x64
50 PREAD64 = 17, // common between x64 and x32
51 PWRITE64 = 18, // common between x64 and x32
52 READV = 19, // specific to x64
53 WRITEV = 20, // specific to x64
54 ACCESS = 21, // common between x64 and x32
55 PIPE = 22, // common between x64 and x32
56 SELECT = 23, // common between x64 and x32
57 SCHED_YIELD = 24, // common between x64 and x32
58 MREMAP = 25, // common between x64 and x32
59 MSYNC = 26, // common between x64 and x32
60 MINCORE = 27, // common between x64 and x32
61 MADVISE = 28, // common between x64 and x32
62 SHMGET = 29, // common between x64 and x32
63 SHMAT = 30, // common between x64 and x32
64 SHMCTL = 31, // common between x64 and x32
65 DUP = 32, // common between x64 and x32
66 DUP2 = 33, // common between x64 and x32
67 PAUSE = 34, // common between x64 and x32
68 NANOSLEEP = 35, // common between x64 and x32
69 GETITIMER = 36, // common between x64 and x32
70 ALARM = 37, // common between x64 and x32
71 SETITIMER = 38, // common between x64 and x32
72 GETPID = 39, // common between x64 and x32
73 SENDFILE = 40, // common between x64 and x32
74 SOCKET = 41, // common between x64 and x32
75 CONNECT = 42, // common between x64 and x32
76 ACCEPT = 43, // common between x64 and x32
77 SENDTO = 44, // common between x64 and x32
78 RECVFROM = 45, // specific to x64
79 SENDMSG = 46, // specific to x64
80 RECVMSG = 47, // specific to x64
81 SHUTDOWN = 48, // common between x64 and x32
82 BIND = 49, // common between x64 and x32
83 LISTEN = 50, // common between x64 and x32
84 GETSOCKNAME = 51, // common between x64 and x32
85 GETPEERNAME = 52, // common between x64 and x32
86 SOCKETPAIR = 53, // common between x64 and x32
87 SETSOCKOPT = 54, // specific to x64
88 GETSOCKOPT = 55, // specific to x64
89 CLONE = 56, // common between x64 and x32
90 FORK = 57, // common between x64 and x32
91 VFORK = 58, // common between x64 and x32
92 EXECVE = 59, // specific to x64
93 EXIT = 60, // common between x64 and x32
94 WAIT4 = 61, // common between x64 and x32
95 KILL = 62, // common between x64 and x32
96 UNAME = 63, // common between x64 and x32
97 SEMGET = 64, // common between x64 and x32
98 SEMOP = 65, // common between x64 and x32
99 SEMCTL = 66, // common between x64 and x32
100 SHMDT = 67, // common between x64 and x32
101 MSGGET = 68, // common between x64 and x32
102 MSGSND = 69, // common between x64 and x32
103 MSGRCV = 70, // common between x64 and x32
104 MSGCTL = 71, // common between x64 and x32
105 FCNTL = 72, // common between x64 and x32
106 FLOCK = 73, // common between x64 and x32
107 FSYNC = 74, // common between x64 and x32
108 FDATASYNC = 75, // common between x64 and x32
109 TRUNCATE = 76, // common between x64 and x32
110 FTRUNCATE = 77, // common between x64 and x32
111 GETDENTS = 78, // common between x64 and x32
112 GETCWD = 79, // common between x64 and x32
113 CHDIR = 80, // common between x64 and x32
114 FCHDIR = 81, // common between x64 and x32
115 RENAME = 82, // common between x64 and x32
116 MKDIR = 83, // common between x64 and x32
117 RMDIR = 84, // common between x64 and x32
118 CREAT = 85, // common between x64 and x32
119 LINK = 86, // common between x64 and x32
120 UNLINK = 87, // common between x64 and x32
121 SYMLINK = 88, // common between x64 and x32
122 READLINK = 89, // common between x64 and x32
123 CHMOD = 90, // common between x64 and x32
124 FCHMOD = 91, // common between x64 and x32
125 CHOWN = 92, // common between x64 and x32
126 FCHOWN = 93, // common between x64 and x32
127 LCHOWN = 94, // common between x64 and x32
128 UMASK = 95, // common between x64 and x32
129 GETTIMEOFDAY = 96, // common between x64 and x32
130 GETRLIMIT = 97, // common between x64 and x32
131 GETRUSAGE = 98, // common between x64 and x32
132 SYSINFO = 99, // common between x64 and x32
133 TIMES = 100, // common between x64 and x32
134 PTRACE = 101, // specific to x64
135 GETUID = 102, // common between x64 and x32
136 SYSLOG = 103, // common between x64 and x32
137 GETGID = 104, // common between x64 and x32
138 SETUID = 105, // common between x64 and x32
139 SETGID = 106, // common between x64 and x32
140 GETEUID = 107, // common between x64 and x32
141 GETEGID = 108, // common between x64 and x32
142 SETPGID = 109, // common between x64 and x32
143 GETPPID = 110, // common between x64 and x32
144 GETPGRP = 111, // common between x64 and x32
145 SETSID = 112, // common between x64 and x32
146 SETREUID = 113, // common between x64 and x32
147 SETREGID = 114, // common between x64 and x32
148 GETGROUPS = 115, // common between x64 and x32
149 SETGROUPS = 116, // common between x64 and x32
150 SETRESUID = 117, // common between x64 and x32
151 GETRESUID = 118, // common between x64 and x32
152 SETRESGID = 119, // common between x64 and x32
153 GETRESGID = 120, // common between x64 and x32
154 GETPGID = 121, // common between x64 and x32
155 SETFSUID = 122, // common between x64 and x32
156 SETFSGID = 123, // common between x64 and x32
157 GETSID = 124, // common between x64 and x32
158 CAPGET = 125, // common between x64 and x32
159 CAPSET = 126, // common between x64 and x32
160 RT_SIGPENDING = 127, // specific to x64
161 RT_SIGTIMEDWAIT = 128, // specific to x64
162 RT_SIGQUEUEINFO = 129, // specific to x64
163 RT_SIGSUSPEND = 130, // common between x64 and x32
164 SIGALTSTACK = 131, // specific to x64
165 UTIME = 132, // common between x64 and x32
166 MKNOD = 133, // common between x64 and x32
167 USELIB = 134, // specific to x64
168 PERSONALITY = 135, // common between x64 and x32
169 USTAT = 136, // common between x64 and x32
170 STATFS = 137, // common between x64 and x32
171 FSTATFS = 138, // common between x64 and x32
172 SYSFS = 139, // common between x64 and x32
173 GETPRIORITY = 140, // common between x64 and x32
174 SETPRIORITY = 141, // common between x64 and x32
175 SCHED_SETPARAM = 142, // common between x64 and x32
176 SCHED_GETPARAM = 143, // common between x64 and x32
177 SCHED_SETSCHEDULER = 144, // common between x64 and x32
178 SCHED_GETSCHEDULER = 145, // common between x64 and x32
179 SCHED_GET_PRIORITY_MAX = 146, // common between x64 and x32
180 SCHED_GET_PRIORITY_MIN = 147, // common between x64 and x32
181 SCHED_RR_GET_INTERVAL = 148, // common between x64 and x32
182 MLOCK = 149, // common between x64 and x32
183 MUNLOCK = 150, // common between x64 and x32
184 MLOCKALL = 151, // common between x64 and x32
185 MUNLOCKALL = 152, // common between x64 and x32
186 VHANGUP = 153, // common between x64 and x32
187 MODIFY_LDT = 154, // common between x64 and x32
188 PIVOT_ROOT = 155, // common between x64 and x32
189 SYSCTL = 156, // specific to x64
190 PRCTL = 157, // common between x64 and x32
191 ARCH_PRCTL = 158, // common between x64 and x32
192 ADJTIMEX = 159, // common between x64 and x32
193 SETRLIMIT = 160, // common between x64 and x32
194 CHROOT = 161, // common between x64 and x32
195 SYNC = 162, // common between x64 and x32
196 ACCT = 163, // common between x64 and x32
197 SETTIMEOFDAY = 164, // common between x64 and x32
198 MOUNT = 165, // common between x64 and x32
199 UMOUNT2 = 166, // common between x64 and x32
200 SWAPON = 167, // common between x64 and x32
201 SWAPOFF = 168, // common between x64 and x32
202 REBOOT = 169, // common between x64 and x32
203 SETHOSTNAME = 170, // common between x64 and x32
204 SETDOMAINNAME = 171, // common between x64 and x32
205 IOPL = 172, // common between x64 and x32
206 IOPERM = 173, // common between x64 and x32
207 CREATE_MODULE = 174, // specific to x64
208 INIT_MODULE = 175, // common between x64 and x32
209 DELETE_MODULE = 176, // common between x64 and x32
210 GET_KERNEL_SYMS = 177, // specific to x64
211 QUERY_MODULE = 178, // specific to x64
212 QUOTACTL = 179, // common between x64 and x32
213 NFSSERVCTL = 180, // specific to x64
214 GETPMSG = 181, // common between x64 and x32
215 PUTPMSG = 182, // common between x64 and x32
216 AFS_SYSCALL = 183, // common between x64 and x32
217 TUXCALL = 184, // common between x64 and x32
218 SECURITY = 185, // common between x64 and x32
219 GETTID = 186, // common between x64 and x32
220 READAHEAD = 187, // common between x64 and x32
221 SETXATTR = 188, // common between x64 and x32
222 LSETXATTR = 189, // common between x64 and x32
223 FSETXATTR = 190, // common between x64 and x32
224 GETXATTR = 191, // common between x64 and x32
225 LGETXATTR = 192, // common between x64 and x32
226 FGETXATTR = 193, // common between x64 and x32
227 LISTXATTR = 194, // common between x64 and x32
228 LLISTXATTR = 195, // common between x64 and x32
229 FLISTXATTR = 196, // common between x64 and x32
230 REMOVEXATTR = 197, // common between x64 and x32
231 LREMOVEXATTR = 198, // common between x64 and x32
232 FREMOVEXATTR = 199, // common between x64 and x32
233 TKILL = 200, // common between x64 and x32
234 TIME = 201, // common between x64 and x32
235 FUTEX = 202, // common between x64 and x32
236 SCHED_SETAFFINITY = 203, // common between x64 and x32
237 SCHED_GETAFFINITY = 204, // common between x64 and x32
238 SET_THREAD_AREA = 205, // specific to x64
239 IO_SETUP = 206, // specific to x64
240 IO_DESTROY = 207, // common between x64 and x32
241 IO_GETEVENTS = 208, // common between x64 and x32
242 IO_SUBMIT = 209, // specific to x64
243 IO_CANCEL = 210, // common between x64 and x32
244 GET_THREAD_AREA = 211, // specific to x64
245 LOOKUP_DCOOKIE = 212, // common between x64 and x32
246 EPOLL_CREATE = 213, // common between x64 and x32
247 EPOLL_CTL_OLD = 214, // specific to x64
248 EPOLL_WAIT_OLD = 215, // specific to x64
249 REMAP_FILE_PAGES = 216, // common between x64 and x32
250 GETDENTS64 = 217, // common between x64 and x32
251 SET_TID_ADDRESS = 218, // common between x64 and x32
252 RESTART_SYSCALL = 219, // common between x64 and x32
253 SEMTIMEDOP = 220, // common between x64 and x32
254 FADVISE64 = 221, // common between x64 and x32
255 TIMER_CREATE = 222, // specific to x64
256 TIMER_SETTIME = 223, // common between x64 and x32
257 TIMER_GETTIME = 224, // common between x64 and x32
258 TIMER_GETOVERRUN = 225, // common between x64 and x32
259 TIMER_DELETE = 226, // common between x64 and x32
260 CLOCK_SETTIME = 227, // common between x64 and x32
261 CLOCK_GETTIME = 228, // common between x64 and x32
262 CLOCK_GETRES = 229, // common between x64 and x32
263 CLOCK_NANOSLEEP = 230, // common between x64 and x32
264 EXIT_GROUP = 231, // common between x64 and x32
265 EPOLL_WAIT = 232, // common between x64 and x32
266 EPOLL_CTL = 233, // common between x64 and x32
267 TGKILL = 234, // common between x64 and x32
268 UTIMES = 235, // common between x64 and x32
269 VSERVER = 236, // specific to x64
270 MBIND = 237, // common between x64 and x32
271 SET_MEMPOLICY = 238, // common between x64 and x32
272 GET_MEMPOLICY = 239, // common between x64 and x32
273 MQ_OPEN = 240, // common between x64 and x32
274 MQ_UNLINK = 241, // common between x64 and x32
275 MQ_TIMEDSEND = 242, // common between x64 and x32
276 MQ_TIMEDRECEIVE = 243, // common between x64 and x32
277 MQ_NOTIFY = 244, // specific to x64
278 MQ_GETSETATTR = 245, // common between x64 and x32
279 KEXEC_LOAD = 246, // specific to x64
280 WAITID = 247, // specific to x64
281 ADD_KEY = 248, // common between x64 and x32
282 REQUEST_KEY = 249, // common between x64 and x32
283 KEYCTL = 250, // common between x64 and x32
284 IOPRIO_SET = 251, // common between x64 and x32
285 IOPRIO_GET = 252, // common between x64 and x32
286 INOTIFY_INIT = 253, // common between x64 and x32
287 INOTIFY_ADD_WATCH = 254, // common between x64 and x32
288 INOTIFY_RM_WATCH = 255, // common between x64 and x32
289 MIGRATE_PAGES = 256, // common between x64 and x32
290 OPENAT = 257, // common between x64 and x32
291 MKDIRAT = 258, // common between x64 and x32
292 MKNODAT = 259, // common between x64 and x32
293 FCHOWNAT = 260, // common between x64 and x32
294 FUTIMESAT = 261, // common between x64 and x32
295 NEWFSTATAT = 262, // common between x64 and x32
296 UNLINKAT = 263, // common between x64 and x32
297 RENAMEAT = 264, // common between x64 and x32
298 LINKAT = 265, // common between x64 and x32
299 SYMLINKAT = 266, // common between x64 and x32
300 READLINKAT = 267, // common between x64 and x32
301 FCHMODAT = 268, // common between x64 and x32
302 FACCESSAT = 269, // common between x64 and x32
303 PSELECT6 = 270, // common between x64 and x32
304 PPOLL = 271, // common between x64 and x32
305 UNSHARE = 272, // common between x64 and x32
306 SET_ROBUST_LIST = 273, // specific to x64
307 GET_ROBUST_LIST = 274, // specific to x64
308 SPLICE = 275, // common between x64 and x32
309 TEE = 276, // common between x64 and x32
310 SYNC_FILE_RANGE = 277, // common between x64 and x32
311 VMSPLICE = 278, // specific to x64
312 MOVE_PAGES = 279, // specific to x64
313 UTIMENSAT = 280, // common between x64 and x32
314 EPOLL_PWAIT = 281, // common between x64 and x32
315 SIGNALFD = 282, // common between x64 and x32
316 TIMERFD_CREATE = 283, // common between x64 and x32
317 EVENTFD = 284, // common between x64 and x32
318 FALLOCATE = 285, // common between x64 and x32
319 TIMERFD_SETTIME = 286, // common between x64 and x32
320 TIMERFD_GETTIME = 287, // common between x64 and x32
321 ACCEPT4 = 288, // common between x64 and x32
322 SIGNALFD4 = 289, // common between x64 and x32
323 EVENTFD2 = 290, // common between x64 and x32
324 EPOLL_CREATE1 = 291, // common between x64 and x32
325 DUP3 = 292, // common between x64 and x32
326 PIPE2 = 293, // common between x64 and x32
327 INOTIFY_INIT1 = 294, // common between x64 and x32
328 PREADV = 295, // specific to x64
329 PWRITEV = 296, // specific to x64
330 RT_TGSIGQUEUEINFO = 297, // specific to x64
331 PERF_EVENT_OPEN = 298, // common between x64 and x32
332 RECVMMSG = 299, // specific to x64
333 FANOTIFY_INIT = 300, // common between x64 and x32
334 FANOTIFY_MARK = 301, // common between x64 and x32
335 PRLIMIT64 = 302, // common between x64 and x32
336 NAME_TO_HANDLE_AT = 303, // common between x64 and x32
337 OPEN_BY_HANDLE_AT = 304, // common between x64 and x32
338 CLOCK_ADJTIME = 305, // common between x64 and x32
339 SYNCFS = 306, // common between x64 and x32
340 SENDMMSG = 307, // specific to x64
341 SETNS = 308, // common between x64 and x32
342 GETCPU = 309, // common between x64 and x32
343 PROCESS_VM_READV = 310, // specific to x64
344 PROCESS_VM_WRITEV = 311, // specific to x64
345 KCMP = 312, // common between x64 and x32
346 FINIT_MODULE = 313, // common between x64 and x32
347 SCHED_SETATTR = 314, // common between x64 and x32
348 SCHED_GETATTR = 315, // common between x64 and x32
349 RENAMEAT2 = 316, // common between x64 and x32
350 SECCOMP = 317, // common between x64 and x32
351 GETRANDOM = 318, // common between x64 and x32
352 MEMFD_CREATE = 319, // common between x64 and x32
353 KEXEC_FILE_LOAD = 320, // common between x64 and x32
354 BPF = 321, // common between x64 and x32
355 EXECVEAT = 322, // specific to x64
356 USERFAULTFD = 323, // common between x64 and x32
357 MEMBARRIER = 324, // common between x64 and x32
358 MLOCK2 = 325, // common between x64 and x32
359 COPY_FILE_RANGE = 326, // common between x64 and x32
360 PREADV2 = 327, // specific to x64
361 PWRITEV2 = 328, // specific to x64
362 PKEY_MPROTECT = 329, // common between x64 and x32
363 PKEY_ALLOC = 330, // common between x64 and x32
364 PKEY_FREE = 331, // common between x64 and x32
365 STATX = 332, // common between x64 and x32
366 IO_PGETEVENTS = 333, // common between x64 and x32
367 RSEQ = 334, // common between x64 and x32
368 URETPROBE = 335, // common between x64 and x32
369 UPROBE = 336, // common between x64 and x32
370 PIDFD_SEND_SIGNAL = 424, // common between x64 and x32
371 IO_URING_SETUP = 425, // common between x64 and x32
372 IO_URING_ENTER = 426, // common between x64 and x32
373 IO_URING_REGISTER = 427, // common between x64 and x32
374 OPEN_TREE = 428, // common between x64 and x32
375 MOVE_MOUNT = 429, // common between x64 and x32
376 FSOPEN = 430, // common between x64 and x32
377 FSCONFIG = 431, // common between x64 and x32
378 FSMOUNT = 432, // common between x64 and x32
379 FSPICK = 433, // common between x64 and x32
380 PIDFD_OPEN = 434, // common between x64 and x32
381 CLONE3 = 435, // common between x64 and x32
382 CLOSE_RANGE = 436, // common between x64 and x32
383 OPENAT2 = 437, // common between x64 and x32
384 PIDFD_GETFD = 438, // common between x64 and x32
385 FACCESSAT2 = 439, // common between x64 and x32
386 PROCESS_MADVISE = 440, // common between x64 and x32
387 EPOLL_PWAIT2 = 441, // common between x64 and x32
388 MOUNT_SETATTR = 442, // common between x64 and x32
389 QUOTACTL_FD = 443, // common between x64 and x32
390 LANDLOCK_CREATE_RULESET = 444, // common between x64 and x32
391 LANDLOCK_ADD_RULE = 445, // common between x64 and x32
392 LANDLOCK_RESTRICT_SELF = 446, // common between x64 and x32
393 MEMFD_SECRET = 447, // common between x64 and x32
394 PROCESS_MRELEASE = 448, // common between x64 and x32
395 FUTEX_WAITV = 449, // common between x64 and x32
396 SET_MEMPOLICY_HOME_NODE = 450, // common between x64 and x32
397 CACHESTAT = 451, // common between x64 and x32
398 FCHMODAT2 = 452, // common between x64 and x32
399 MAP_SHADOW_STACK = 453, // common between x64 and x32
400 _FUTEX_WAKE = 454, // common between x64 and x32
401 _FUTEX_WAIT = 455, // common between x64 and x32
402 _FUTEX_REQUEUE = 456, // common between x64 and x32
403 STATMOUNT = 457, // common between x64 and x32
404 LISTMOUNT = 458, // common between x64 and x32
405 LSM_GET_SELF_ATTR = 459, // common between x64 and x32
406 LSM_SET_SELF_ATTR = 460, // common between x64 and x32
407 LSM_LIST_MODULES = 461, // common between x64 and x32
408 MSEAL = 462, // common between x64 and x32
409 SETXATTRAT = 463, // common between x64 and x32
410 GETXATTRAT = 464, // common between x64 and x32
411 LISTXATTRAT = 465, // common between x64 and x32
412 REMOVEXATTRAT = 466, // common between x64 and x32
413 OPEN_TREE_ATTR = 467, // common between x64 and x32
414 FILE_GETATTR = 468, // common between x64 and x32
415 FILE_SETATTR = 469, // common between x64 and x32
416 _LAST = 469, // last valid system call nr. (careful, could be used in the future by the kernel!)
417};

◆ Word

enum class clues::Word : elf_greg_t
strong

An integer that is able to hold a word for the current architecture.

Definition at line 38 of file types.hxx.

38 : elf_greg_t {
39 ZERO = 0
40};

Function Documentation

◆ create_syscall()

CLUES_API SystemCallPtr clues::create_syscall ( const SystemCallNr nr)

Creates a dynamically allocated SystemCall instance for the given system call number.

Definition at line 119 of file SystemCall.cxx.

119 {
120 switch (nr) {
121 case SystemCallNr::ACCESS: return new_sys<AccessSystemCall>();
122 case SystemCallNr::FACCESSAT: return new_sys<FAccessAtSystemCall>();
123 case SystemCallNr::FACCESSAT2: return new_sys<FAccessAt2SystemCall>();
124 case SystemCallNr::ALARM: return new_sys<AlarmSystemCall>();
125#ifdef CLUES_HAVE_ARCH_PRCTL
126 case SystemCallNr::ARCH_PRCTL: return new_sys<ArchPrctlSystemCall>();
127#endif
128 case SystemCallNr::BRK: return new_sys<BreakSystemCall>();
129 case SystemCallNr::CLOCK_NANOSLEEP: return new_sys<ClockNanoSleepSystemCall>();
130 case SystemCallNr::CLONE: return new_sys<CloneSystemCall>();
131 case SystemCallNr::CLONE3: return new_sys<Clone3SystemCall>();
132 case SystemCallNr::CLOSE: return new_sys<CloseSystemCall>();
133 case SystemCallNr::EXECVE: return new_sys<ExecveSystemCall>();
134 case SystemCallNr::EXECVEAT: return new_sys<ExecveAtSystemCall>();
135 case SystemCallNr::EXIT_GROUP: return new_sys<ExitGroupSystemCall>();
136 case SystemCallNr::FCNTL: [[fallthrough]];
137 case SystemCallNr::FCNTL64: return new_sys<FcntlSystemCall>(nr);
138 case SystemCallNr::FORK: return new_sys<ForkSystemCall>();
139 case SystemCallNr::OLDFSTAT: [[fallthrough]];
140 case SystemCallNr::FSTAT: [[fallthrough]];
141 case SystemCallNr::FSTAT64: return new_sys<FstatSystemCall>(nr);
142 case SystemCallNr::FSTATAT64: [[fallthrough]];
143 case SystemCallNr::NEWFSTATAT: return new_sys<FstatAtSystemCall>(nr);
144 case SystemCallNr::FUTEX: return new_sys<FutexSystemCall>();
145 case SystemCallNr::GETDENTS: [[fallthrough]];
146 case SystemCallNr::GETDENTS64: return new_sys<GetDentsSystemCall>(nr);
147 case SystemCallNr::GETUID: [[fallthrough]];
148 case SystemCallNr::GETUID32: return new_sys<GetUidSystemCall>(nr);
149 case SystemCallNr::GETEGID32: [[fallthrough]];
150 case SystemCallNr::GETEGID: return new_sys<GetEgidSystemCall>(nr);
151 case SystemCallNr::GETEUID32: [[fallthrough]];
152 case SystemCallNr::GETEUID: return new_sys<GetEuidSystemCall>(nr);
153 case SystemCallNr::GETGID32: [[fallthrough]];
154 case SystemCallNr::GETGID: return new_sys<GetGidSystemCall>(nr);
155 case SystemCallNr::GETRLIMIT: return new_sys<GetRlimitSystemCall>();
156 case SystemCallNr::SETRLIMIT: return new_sys<SetRlimitSystemCall>();
157 case SystemCallNr::PRLIMIT64: return new_sys<Prlimit64SystemCall>();
158 case SystemCallNr::GET_ROBUST_LIST: return new_sys<GetRobustListSystemCall>();
159 case SystemCallNr::SET_ROBUST_LIST: return new_sys<SetRobustListSystemCall>();
160 case SystemCallNr::IOCTL: return new_sys<IoCtlSystemCall>();
161 case SystemCallNr::LSTAT: [[fallthrough]];
162 case SystemCallNr::LSTAT64: [[fallthrough]];
163 case SystemCallNr::OLDLSTAT: return new_sys<LstatSystemCall>(nr);
164 case SystemCallNr::MMAP: [[fallthrough]];
165 case SystemCallNr::MMAP2: return new_sys<MmapSystemCall>(nr);
166 case SystemCallNr::MPROTECT: return new_sys<MprotectSystemCall>();
167 case SystemCallNr::MUNMAP: return new_sys<MunmapSystemCall>();
168 case SystemCallNr::NANOSLEEP: return new_sys<NanoSleepSystemCall>();
169 case SystemCallNr::OPENAT: return new_sys<OpenAtSystemCall>();
170 case SystemCallNr::OPEN: return new_sys<OpenSystemCall>();
171 case SystemCallNr::READ: return new_sys<ReadSystemCall>();
172 case SystemCallNr::RESTART_SYSCALL: return new_sys<RestartSystemCall>();
173 case SystemCallNr::RT_SIGACTION: return new_sys<RtSigActionSystemCall>();
174 case SystemCallNr::SIGACTION: return new_sys<SigActionSystemCall>();
175 case SystemCallNr::RT_SIGPROCMASK: return new_sys<RtSigProcMaskSystemCall>();
176 case SystemCallNr::SIGPROCMASK: return new_sys<SigProcMaskSystemCall>();
177 case SystemCallNr::SET_TID_ADDRESS: return new_sys<SetTIDAddressSystemCall>();
178 case SystemCallNr::OLDSTAT: [[fallthrough]];
179 case SystemCallNr::STAT64: [[fallthrough]];
180 case SystemCallNr::STAT: return new_sys<StatSystemCall>(nr);
181 case SystemCallNr::TGKILL: return new_sys<TgKillSystemCall>();
182 case SystemCallNr::WAIT4: return new_sys<Wait4SystemCall>();
183 case SystemCallNr::WRITE: return new_sys<WriteSystemCall>();
184 case SystemCallNr::PIPE: return new_sys<PipeSystemCall>();
185 case SystemCallNr::PIPE2: return new_sys<Pipe2SystemCall>();
186 default: return new_sys<UnknownSystemCall>(nr);
187 }
188}

◆ get_abi_label()

CLUES_API const char * clues::get_abi_label ( const ABI abi)

Definition at line 289 of file utils.cxx.

289 {
290 switch (abi) {
291 case ABI::X86_64: return "x86_64";
292 case ABI::I386: return "i386";
293 case ABI::X32: return "x32";
294 case ABI::AARCH64: return "aarch64";
295 default: return "unknown";
296 }
297}

◆ get_currently_open_fds()

std::set< cosmos::FileNum > clues::get_currently_open_fds ( const cosmos::ProcessID pid)

Returns the currently open file descriptors according to /proc/<pid>/fd.

This function can throw a cosmos::ApiError in case the process is no longer accessible in /proc.

Definition at line 62 of file utils.cxx.

62 {
63 std::set<cosmos::FileNum> ret;
64
65 try {
66 cosmos::DirStream dir{
67 cosmos::sprintf("/proc/%d/fd", cosmos::to_integral(pid))};
68
69 for (const auto &entry: dir) {
70 if (entry.isDotEntry())
71 continue;
72
73 try {
74 auto fd = std::stoi(entry.name());
75 ret.insert(cosmos::FileNum{fd});
76 } catch (...) {
77 // not a number? shouldn't happen.
78 }
79 }
80 } catch (const cosmos::ApiError &ex) {
81 // process disappeared? let the caller handle that.
82 throw;
83 }
84
85 return ret;
86}

◆ get_default_abi()

ABI clues::get_default_abi ( )
constexpr

Returns the default ABI for this system.

Definition at line 59 of file utils.hxx.

59 {
60 if (cosmos::arch::X32)
61 return ABI::X32;
62 else if (cosmos::arch::X86_64)
63 return ABI::X86_64;
64 else if (cosmos::arch::I386)
65 return ABI::I386;
66 else if (cosmos::arch::AARCH64)
67 return ABI::AARCH64;
68
69 return ABI::UNKNOWN;
70}

◆ get_errno_label()

const char * clues::get_errno_label ( const cosmos::Errno err)

Returns a short errno label like ENOENT for the given errno integer.

Definition at line 29 of file utils.cxx.

29 {
30 const auto num = cosmos::to_integral(err);
31 if (num < 0 || static_cast<size_t>(num) >= ERRNO_NAMES.size())
32 return "E<INVALID>";
33
34 return ERRNO_NAMES[num];
35}

◆ get_fd_infos()

std::vector< FDInfo > clues::get_fd_infos ( const cosmos::ProcessID pid)

Obtain detailed information about currently open file descriptors according to /proc/<pid>/fd.

This function can throw a cosmos::ApiError in case the process is no longer accessible in /proc.

Definition at line 210 of file utils.cxx.

210 {
211 std::vector<FDInfo> ret;
212 cosmos::DirStream dir;
213 const auto proc_pid_fd = cosmos::sprintf("/proc/%d/fd",
214 cosmos::to_integral(pid));
215
216 try {
217 dir.open(proc_pid_fd);
218 } catch (const cosmos::ApiError &ex) {
219 // process disappeared? let caller handle this
220 throw;
221 }
222
223 for (const auto &entry: dir) {
224 if (entry.isDotEntry())
225 continue;
226
227 FDInfo info;
228
229 try {
230 auto fd = std::stoi(entry.name());
231 info.fd = cosmos::FileNum{fd};
232 } catch (...) {
233 // not a number? shouldn't happen.
234 LOG_WARN(__FUNCTION__ << ": " << proc_pid_fd
235 << " non-numerical entry "
236 << entry.name() << "?!");
237 continue;
238 }
239
240 try {
241 auto type_info = cosmos::fs::read_symlink_at(
242 dir.fd(),
243 entry.name());
244
245 if (!parse_type_info(type_info, info)) {
246 LOG_WARN(__FUNCTION__ << ": " << proc_pid_fd
247 << " failed to parse type info \""
248 << type_info << "\"");
249 continue;
250 }
251 } catch (const std::exception &ex) {
252 LOG_WARN(__FUNCTION__ << ": " << proc_pid_fd
253 << " failed to read symlink: "
254 << ex.what());
255 }
256
257 try {
258 parse_fd_info(pid, info);
259 } catch (const std::exception &ex) {
260 LOG_WARN(__FUNCTION__ << ": " << proc_pid_fd
261 << " failed to read fdinfo: "
262 << ex.what());
263 }
264
265 ret.push_back(info);
266 }
267
268 return ret;
269}
Contextual information about a file descriptor in a Tracee.
Definition types.hxx:75

◆ get_kernel_errno_label()

const char * clues::get_kernel_errno_label ( const KernelErrno err)

Returns a short errno label for extended KernelErrno codes.

Definition at line 37 of file utils.cxx.

37 {
38 switch (err) {
39 case KernelErrno::RESTART_SYS: return "RESTART_SYS";
40 case KernelErrno::RESTART_NOINTR: return "RESTART_NOINTR";
41 case KernelErrno::RESTART_NOHAND: return "RESTART_NOHAND";
42 case KernelErrno::RESTART_RESTARTBLOCK: return "RESTART_RESTARTBLOCK";
43 default: return "?INVALID?";
44 }
45}

◆ get_ptrace_event_str()

const char * clues::get_ptrace_event_str ( const cosmos::ptrace::Event event)

Returns a string label for the given event.

Definition at line 47 of file utils.cxx.

47 {
48 using Event = cosmos::ptrace::Event;
49 switch (event) {
50 case Event::VFORK: return "VFORK";
51 case Event::FORK: return "FORK";
52 case Event::CLONE: return "CLONE";
53 case Event::VFORK_DONE: return "VFORK_DONE";
54 case Event::EXEC: return "EXEC";
55 case Event::EXIT: return "EXIT";
56 case Event::STOP: return "STOP";
57 case Event::SECCOMP: return "SECCOMP";
58 default: return "??? unknown ???";
59 }
60}

◆ get_supported_abis()

CLUES_API std::array< ABI, SUPPORTED_ABIS > clues::get_supported_abis ( )

Returns a list of ABIs supported on the current platform.

Definition at line 299 of file utils.cxx.

299 {
300#ifdef COSMOS_X86_64
301 /*
302 * all three can be supported at once, although X32 has
303 * declined a lot in popularity, or never had it.
304 */
305 return {ABI::I386, ABI::X86_64, ABI::X32};
306#elif defined(COSMOS_I386)
307 return {ABI::I386};
308#elif defined(COSMOS_AARCH64)
309 /*
310 * In theory aarch64 also support running aarch32 emulation
311 * binaries. In practice this is hardly supported by any Linux
312 * distributions beyond some niche systems. Should this ever
313 * become relevant, we can extend accordingly, when there's
314 * been a chance to test it properly.
315 */
316 return {ABI::AARCH64};
317#else
318 throw cosmos::RuntimeError{"no ABIs supported on this platform?!"};
319#endif
320}

◆ is_default_abi()

CLUES_API bool clues::is_default_abi ( const ABI abi)

Returns whether the given ABI is default ABI for this system.

The abi is checked against the compile time architecture to determine whether this is the default native ABI, or not.

For example ABI::I386 in a tracer compiled tor X86_64 would not be the default ABI.

Definition at line 280 of file utils.cxx.

280 {
281 switch (abi) {
282 case ABI::X86_64: return cosmos::arch::X86_64;
283 case ABI::I386: return cosmos::arch::I386;
284 case ABI::AARCH64: return cosmos::arch::AARCH64;
285 default: return false;
286 }
287}

◆ is_supported_abi()

bool clues::is_supported_abi ( const ABI abi)
inline

Returns whether the given ABI is supported on the current platform.

Definition at line 88 of file utils.hxx.

88 {
89 for (const auto supported: get_supported_abis()) {
90 if (supported == abi)
91 return true;
92 }
93
94 return false;
95}
std::array< ABI, SUPPORTED_ABIS > get_supported_abis()
Returns a list of ABIs supported on the current platform.
Definition utils.cxx:299

◆ lookup_system_call()

CLUES_API std::optional< SystemCallNr > clues::lookup_system_call ( const std::string_view name)

Returns the SystemCallNr for the given system call name, if it exists.

Definition at line 271 of file utils.cxx.

271 {
272 auto it = SYSTEM_CALL_NAME_MAP.find(name);
273
274 if (it == SYSTEM_CALL_NAME_MAP.end())
275 return {};
276
277 return it->second;
278}

◆ new_sys()

template<typename T, typename... Args>
std::shared_ptr< T > clues::new_sys ( Args &&... args)

Definition at line 114 of file SystemCall.cxx.

115{
116 return std::make_shared<T>(std::forward<Args>(args)...);
117}

◆ parse_proc_file() [1/2]

void CLUES_API clues::parse_proc_file ( const cosmos::ProcessID pid,
const std::string_view subpath,
std::function< bool(const std::string &)> parser )

Parse a proc file of the given process using the given functor.

This function performs a line-wise read of the file found in /proc/<pid>/<subpath> and calls parser for each line. When the function returns true then parsing ends and the function call returns, otherwise further lines will be passed to parser until the end of file is encountered.

If opening or reading the file fails then a cosmos::RuntimeError is thrown.

Definition at line 322 of file utils.cxx.

323 {
324 const auto path = cosmos::proc::build_proc_path(pid, subpath);
325
326 std::ifstream fs{path};
327
328 if (!fs) {
329 throw cosmos::RuntimeError{"failed to open proc file"};
330 }
331
332 std::string line;
333
334 while (std::getline(fs, line).good()) {
335 if (parser(line)) {
336 break;
337 }
338 }
339
340 if (fs.fail()) {
341 throw cosmos::RuntimeError{"failed to read proc file"};
342 }
343}

◆ parse_proc_file() [2/2]

void CLUES_API clues::parse_proc_file ( const Tracee & tracee,
const std::string_view subpath,
std::function< bool(const std::string &)> parser )

Parse proc file of the given Tracee.

This is just a shorthand to parse a proc file of the given tracee.

Definition at line 345 of file utils.cxx.

345 {
346 return parse_proc_file(tracee.pid(), subpath, parser);
347}
void parse_proc_file(const cosmos::ProcessID pid, const std::string_view subpath, std::function< bool(const std::string &)> parser)
Parse a proc file of the given process using the given functor.
Definition utils.cxx:322

◆ set_logger()

void CLUES_API clues::set_logger ( cosmos::ILogger & )

Configure a cosmos ILogger instance to use in the Clues library.

The Clues library supports basic logging using the cosmos::ILogger interface. By default no logger is configured.

Definition at line 7 of file logger.cxx.

7 {
8 logger = &_logger;
9}
cosmos::ILogger * logger
Global logger instance to use for Clues library logging - if any.
Definition logger.cxx:5

◆ strip_back()

std::string clues::strip_back ( std::string && s,
const char ch = '|' )
inline

Definition at line 12 of file utils.hxx.

12 {
13 if (s.back() == ch)
14 s.pop_back();
15 return s;
16}

◆ to_generic() [1/4]

CLUES_API clues::SystemCallNr clues::to_generic ( const SystemCallNrAARCH64 nr)

Convert the native system call nr. into its generic representation.

If there is no generic representation (e.g. because the nr is invalid then SystemCallNr::UNKNOWN is returned.

Definition at line 21 of file aarch64.cxx.

21 {
22
23 switch (nr) {
24 default: return SystemCallNr::UNKNOWN;
25 case SystemCallNrAARCH64::IO_SETUP: return clues::SystemCallNr::IO_SETUP;
26 case SystemCallNrAARCH64::IO_DESTROY: return clues::SystemCallNr::IO_DESTROY;
27 case SystemCallNrAARCH64::IO_SUBMIT: return clues::SystemCallNr::IO_SUBMIT;
28 case SystemCallNrAARCH64::IO_CANCEL: return clues::SystemCallNr::IO_CANCEL;
29 case SystemCallNrAARCH64::IO_GETEVENTS: return clues::SystemCallNr::IO_GETEVENTS;
30 case SystemCallNrAARCH64::SETXATTR: return clues::SystemCallNr::SETXATTR;
31 case SystemCallNrAARCH64::LSETXATTR: return clues::SystemCallNr::LSETXATTR;
32 case SystemCallNrAARCH64::FSETXATTR: return clues::SystemCallNr::FSETXATTR;
33 case SystemCallNrAARCH64::GETXATTR: return clues::SystemCallNr::GETXATTR;
34 case SystemCallNrAARCH64::LGETXATTR: return clues::SystemCallNr::LGETXATTR;
35 case SystemCallNrAARCH64::FGETXATTR: return clues::SystemCallNr::FGETXATTR;
36 case SystemCallNrAARCH64::LISTXATTR: return clues::SystemCallNr::LISTXATTR;
37 case SystemCallNrAARCH64::LLISTXATTR: return clues::SystemCallNr::LLISTXATTR;
38 case SystemCallNrAARCH64::FLISTXATTR: return clues::SystemCallNr::FLISTXATTR;
39 case SystemCallNrAARCH64::REMOVEXATTR: return clues::SystemCallNr::REMOVEXATTR;
40 case SystemCallNrAARCH64::LREMOVEXATTR: return clues::SystemCallNr::LREMOVEXATTR;
41 case SystemCallNrAARCH64::FREMOVEXATTR: return clues::SystemCallNr::FREMOVEXATTR;
42 case SystemCallNrAARCH64::GETCWD: return clues::SystemCallNr::GETCWD;
43 case SystemCallNrAARCH64::LOOKUP_DCOOKIE: return clues::SystemCallNr::LOOKUP_DCOOKIE;
44 case SystemCallNrAARCH64::EVENTFD2: return clues::SystemCallNr::EVENTFD2;
45 case SystemCallNrAARCH64::EPOLL_CREATE1: return clues::SystemCallNr::EPOLL_CREATE1;
46 case SystemCallNrAARCH64::EPOLL_CTL: return clues::SystemCallNr::EPOLL_CTL;
47 case SystemCallNrAARCH64::EPOLL_PWAIT: return clues::SystemCallNr::EPOLL_PWAIT;
48 case SystemCallNrAARCH64::DUP: return clues::SystemCallNr::DUP;
49 case SystemCallNrAARCH64::DUP3: return clues::SystemCallNr::DUP3;
50 case SystemCallNrAARCH64::FCNTL: return clues::SystemCallNr::FCNTL;
51 case SystemCallNrAARCH64::INOTIFY_INIT1: return clues::SystemCallNr::INOTIFY_INIT1;
52 case SystemCallNrAARCH64::INOTIFY_ADD_WATCH: return clues::SystemCallNr::INOTIFY_ADD_WATCH;
53 case SystemCallNrAARCH64::INOTIFY_RM_WATCH: return clues::SystemCallNr::INOTIFY_RM_WATCH;
54 case SystemCallNrAARCH64::IOCTL: return clues::SystemCallNr::IOCTL;
55 case SystemCallNrAARCH64::IOPRIO_SET: return clues::SystemCallNr::IOPRIO_SET;
56 case SystemCallNrAARCH64::IOPRIO_GET: return clues::SystemCallNr::IOPRIO_GET;
57 case SystemCallNrAARCH64::FLOCK: return clues::SystemCallNr::FLOCK;
58 case SystemCallNrAARCH64::MKNODAT: return clues::SystemCallNr::MKNODAT;
59 case SystemCallNrAARCH64::MKDIRAT: return clues::SystemCallNr::MKDIRAT;
60 case SystemCallNrAARCH64::UNLINKAT: return clues::SystemCallNr::UNLINKAT;
61 case SystemCallNrAARCH64::SYMLINKAT: return clues::SystemCallNr::SYMLINKAT;
62 case SystemCallNrAARCH64::LINKAT: return clues::SystemCallNr::LINKAT;
63 case SystemCallNrAARCH64::RENAMEAT: return clues::SystemCallNr::RENAMEAT;
64 case SystemCallNrAARCH64::UMOUNT2: return clues::SystemCallNr::UMOUNT2;
65 case SystemCallNrAARCH64::MOUNT: return clues::SystemCallNr::MOUNT;
66 case SystemCallNrAARCH64::PIVOT_ROOT: return clues::SystemCallNr::PIVOT_ROOT;
67 case SystemCallNrAARCH64::NFSSERVCTL: return clues::SystemCallNr::NFSSERVCTL;
68 case SystemCallNrAARCH64::STATFS: return clues::SystemCallNr::STATFS;
69 case SystemCallNrAARCH64::FSTATFS: return clues::SystemCallNr::FSTATFS;
70 case SystemCallNrAARCH64::TRUNCATE: return clues::SystemCallNr::TRUNCATE;
71 case SystemCallNrAARCH64::FTRUNCATE: return clues::SystemCallNr::FTRUNCATE;
72 case SystemCallNrAARCH64::FALLOCATE: return clues::SystemCallNr::FALLOCATE;
73 case SystemCallNrAARCH64::FACCESSAT: return clues::SystemCallNr::FACCESSAT;
74 case SystemCallNrAARCH64::CHDIR: return clues::SystemCallNr::CHDIR;
75 case SystemCallNrAARCH64::FCHDIR: return clues::SystemCallNr::FCHDIR;
76 case SystemCallNrAARCH64::CHROOT: return clues::SystemCallNr::CHROOT;
77 case SystemCallNrAARCH64::FCHMOD: return clues::SystemCallNr::FCHMOD;
78 case SystemCallNrAARCH64::FCHMODAT: return clues::SystemCallNr::FCHMODAT;
79 case SystemCallNrAARCH64::FCHOWNAT: return clues::SystemCallNr::FCHOWNAT;
80 case SystemCallNrAARCH64::FCHOWN: return clues::SystemCallNr::FCHOWN;
81 case SystemCallNrAARCH64::OPENAT: return clues::SystemCallNr::OPENAT;
82 case SystemCallNrAARCH64::CLOSE: return clues::SystemCallNr::CLOSE;
83 case SystemCallNrAARCH64::VHANGUP: return clues::SystemCallNr::VHANGUP;
84 case SystemCallNrAARCH64::PIPE2: return clues::SystemCallNr::PIPE2;
85 case SystemCallNrAARCH64::QUOTACTL: return clues::SystemCallNr::QUOTACTL;
86 case SystemCallNrAARCH64::GETDENTS64: return clues::SystemCallNr::GETDENTS64;
87 case SystemCallNrAARCH64::LSEEK: return clues::SystemCallNr::LSEEK;
88 case SystemCallNrAARCH64::READ: return clues::SystemCallNr::READ;
89 case SystemCallNrAARCH64::WRITE: return clues::SystemCallNr::WRITE;
90 case SystemCallNrAARCH64::READV: return clues::SystemCallNr::READV;
91 case SystemCallNrAARCH64::WRITEV: return clues::SystemCallNr::WRITEV;
92 case SystemCallNrAARCH64::PREAD64: return clues::SystemCallNr::PREAD64;
93 case SystemCallNrAARCH64::PWRITE64: return clues::SystemCallNr::PWRITE64;
94 case SystemCallNrAARCH64::PREADV: return clues::SystemCallNr::PREADV;
95 case SystemCallNrAARCH64::PWRITEV: return clues::SystemCallNr::PWRITEV;
96 case SystemCallNrAARCH64::SENDFILE: return clues::SystemCallNr::SENDFILE;
97 case SystemCallNrAARCH64::PSELECT6: return clues::SystemCallNr::PSELECT6;
98 case SystemCallNrAARCH64::PPOLL: return clues::SystemCallNr::PPOLL;
99 case SystemCallNrAARCH64::SIGNALFD4: return clues::SystemCallNr::SIGNALFD4;
100 case SystemCallNrAARCH64::VMSPLICE: return clues::SystemCallNr::VMSPLICE;
101 case SystemCallNrAARCH64::SPLICE: return clues::SystemCallNr::SPLICE;
102 case SystemCallNrAARCH64::TEE: return clues::SystemCallNr::TEE;
103 case SystemCallNrAARCH64::READLINKAT: return clues::SystemCallNr::READLINKAT;
104 case SystemCallNrAARCH64::NEWFSTATAT: return clues::SystemCallNr::NEWFSTATAT;
105 case SystemCallNrAARCH64::FSTAT: return clues::SystemCallNr::FSTAT;
106 case SystemCallNrAARCH64::SYNC: return clues::SystemCallNr::SYNC;
107 case SystemCallNrAARCH64::FSYNC: return clues::SystemCallNr::FSYNC;
108 case SystemCallNrAARCH64::FDATASYNC: return clues::SystemCallNr::FDATASYNC;
109 case SystemCallNrAARCH64::SYNC_FILE_RANGE: return clues::SystemCallNr::SYNC_FILE_RANGE;
110 case SystemCallNrAARCH64::TIMERFD_CREATE: return clues::SystemCallNr::TIMERFD_CREATE;
111 case SystemCallNrAARCH64::TIMERFD_SETTIME: return clues::SystemCallNr::TIMERFD_SETTIME;
112 case SystemCallNrAARCH64::TIMERFD_GETTIME: return clues::SystemCallNr::TIMERFD_GETTIME;
113 case SystemCallNrAARCH64::UTIMENSAT: return clues::SystemCallNr::UTIMENSAT;
114 case SystemCallNrAARCH64::ACCT: return clues::SystemCallNr::ACCT;
115 case SystemCallNrAARCH64::CAPGET: return clues::SystemCallNr::CAPGET;
116 case SystemCallNrAARCH64::CAPSET: return clues::SystemCallNr::CAPSET;
117 case SystemCallNrAARCH64::PERSONALITY: return clues::SystemCallNr::PERSONALITY;
118 case SystemCallNrAARCH64::EXIT: return clues::SystemCallNr::EXIT;
119 case SystemCallNrAARCH64::EXIT_GROUP: return clues::SystemCallNr::EXIT_GROUP;
120 case SystemCallNrAARCH64::WAITID: return clues::SystemCallNr::WAITID;
121 case SystemCallNrAARCH64::SET_TID_ADDRESS: return clues::SystemCallNr::SET_TID_ADDRESS;
122 case SystemCallNrAARCH64::UNSHARE: return clues::SystemCallNr::UNSHARE;
123 case SystemCallNrAARCH64::FUTEX: return clues::SystemCallNr::FUTEX;
124 case SystemCallNrAARCH64::SET_ROBUST_LIST: return clues::SystemCallNr::SET_ROBUST_LIST;
125 case SystemCallNrAARCH64::GET_ROBUST_LIST: return clues::SystemCallNr::GET_ROBUST_LIST;
126 case SystemCallNrAARCH64::NANOSLEEP: return clues::SystemCallNr::NANOSLEEP;
127 case SystemCallNrAARCH64::GETITIMER: return clues::SystemCallNr::GETITIMER;
128 case SystemCallNrAARCH64::SETITIMER: return clues::SystemCallNr::SETITIMER;
129 case SystemCallNrAARCH64::KEXEC_LOAD: return clues::SystemCallNr::KEXEC_LOAD;
130 case SystemCallNrAARCH64::INIT_MODULE: return clues::SystemCallNr::INIT_MODULE;
131 case SystemCallNrAARCH64::DELETE_MODULE: return clues::SystemCallNr::DELETE_MODULE;
132 case SystemCallNrAARCH64::TIMER_CREATE: return clues::SystemCallNr::TIMER_CREATE;
133 case SystemCallNrAARCH64::TIMER_GETTIME: return clues::SystemCallNr::TIMER_GETTIME;
134 case SystemCallNrAARCH64::TIMER_GETOVERRUN: return clues::SystemCallNr::TIMER_GETOVERRUN;
135 case SystemCallNrAARCH64::TIMER_SETTIME: return clues::SystemCallNr::TIMER_SETTIME;
136 case SystemCallNrAARCH64::TIMER_DELETE: return clues::SystemCallNr::TIMER_DELETE;
137 case SystemCallNrAARCH64::CLOCK_SETTIME: return clues::SystemCallNr::CLOCK_SETTIME;
138 case SystemCallNrAARCH64::CLOCK_GETTIME: return clues::SystemCallNr::CLOCK_GETTIME;
139 case SystemCallNrAARCH64::CLOCK_GETRES: return clues::SystemCallNr::CLOCK_GETRES;
140 case SystemCallNrAARCH64::CLOCK_NANOSLEEP: return clues::SystemCallNr::CLOCK_NANOSLEEP;
141 case SystemCallNrAARCH64::SYSLOG: return clues::SystemCallNr::SYSLOG;
142 case SystemCallNrAARCH64::PTRACE: return clues::SystemCallNr::PTRACE;
143 case SystemCallNrAARCH64::SCHED_SETPARAM: return clues::SystemCallNr::SCHED_SETPARAM;
144 case SystemCallNrAARCH64::SCHED_SETSCHEDULER: return clues::SystemCallNr::SCHED_SETSCHEDULER;
145 case SystemCallNrAARCH64::SCHED_GETSCHEDULER: return clues::SystemCallNr::SCHED_GETSCHEDULER;
146 case SystemCallNrAARCH64::SCHED_GETPARAM: return clues::SystemCallNr::SCHED_GETPARAM;
147 case SystemCallNrAARCH64::SCHED_SETAFFINITY: return clues::SystemCallNr::SCHED_SETAFFINITY;
148 case SystemCallNrAARCH64::SCHED_GETAFFINITY: return clues::SystemCallNr::SCHED_GETAFFINITY;
149 case SystemCallNrAARCH64::SCHED_YIELD: return clues::SystemCallNr::SCHED_YIELD;
150 case SystemCallNrAARCH64::SCHED_GET_PRIORITY_MAX: return clues::SystemCallNr::SCHED_GET_PRIORITY_MAX;
151 case SystemCallNrAARCH64::SCHED_GET_PRIORITY_MIN: return clues::SystemCallNr::SCHED_GET_PRIORITY_MIN;
152 case SystemCallNrAARCH64::SCHED_RR_GET_INTERVAL: return clues::SystemCallNr::SCHED_RR_GET_INTERVAL;
153 case SystemCallNrAARCH64::RESTART_SYSCALL: return clues::SystemCallNr::RESTART_SYSCALL;
154 case SystemCallNrAARCH64::KILL: return clues::SystemCallNr::KILL;
155 case SystemCallNrAARCH64::TKILL: return clues::SystemCallNr::TKILL;
156 case SystemCallNrAARCH64::TGKILL: return clues::SystemCallNr::TGKILL;
157 case SystemCallNrAARCH64::SIGALTSTACK: return clues::SystemCallNr::SIGALTSTACK;
158 case SystemCallNrAARCH64::RT_SIGSUSPEND: return clues::SystemCallNr::RT_SIGSUSPEND;
159 case SystemCallNrAARCH64::RT_SIGACTION: return clues::SystemCallNr::RT_SIGACTION;
160 case SystemCallNrAARCH64::RT_SIGPROCMASK: return clues::SystemCallNr::RT_SIGPROCMASK;
161 case SystemCallNrAARCH64::RT_SIGPENDING: return clues::SystemCallNr::RT_SIGPENDING;
162 case SystemCallNrAARCH64::RT_SIGTIMEDWAIT: return clues::SystemCallNr::RT_SIGTIMEDWAIT;
163 case SystemCallNrAARCH64::RT_SIGQUEUEINFO: return clues::SystemCallNr::RT_SIGQUEUEINFO;
164 case SystemCallNrAARCH64::RT_SIGRETURN: return clues::SystemCallNr::RT_SIGRETURN;
165 case SystemCallNrAARCH64::SETPRIORITY: return clues::SystemCallNr::SETPRIORITY;
166 case SystemCallNrAARCH64::GETPRIORITY: return clues::SystemCallNr::GETPRIORITY;
167 case SystemCallNrAARCH64::REBOOT: return clues::SystemCallNr::REBOOT;
168 case SystemCallNrAARCH64::SETREGID: return clues::SystemCallNr::SETREGID;
169 case SystemCallNrAARCH64::SETGID: return clues::SystemCallNr::SETGID;
170 case SystemCallNrAARCH64::SETREUID: return clues::SystemCallNr::SETREUID;
171 case SystemCallNrAARCH64::SETUID: return clues::SystemCallNr::SETUID;
172 case SystemCallNrAARCH64::SETRESUID: return clues::SystemCallNr::SETRESUID;
173 case SystemCallNrAARCH64::GETRESUID: return clues::SystemCallNr::GETRESUID;
174 case SystemCallNrAARCH64::SETRESGID: return clues::SystemCallNr::SETRESGID;
175 case SystemCallNrAARCH64::GETRESGID: return clues::SystemCallNr::GETRESGID;
176 case SystemCallNrAARCH64::SETFSUID: return clues::SystemCallNr::SETFSUID;
177 case SystemCallNrAARCH64::SETFSGID: return clues::SystemCallNr::SETFSGID;
178 case SystemCallNrAARCH64::TIMES: return clues::SystemCallNr::TIMES;
179 case SystemCallNrAARCH64::SETPGID: return clues::SystemCallNr::SETPGID;
180 case SystemCallNrAARCH64::GETPGID: return clues::SystemCallNr::GETPGID;
181 case SystemCallNrAARCH64::GETSID: return clues::SystemCallNr::GETSID;
182 case SystemCallNrAARCH64::SETSID: return clues::SystemCallNr::SETSID;
183 case SystemCallNrAARCH64::GETGROUPS: return clues::SystemCallNr::GETGROUPS;
184 case SystemCallNrAARCH64::SETGROUPS: return clues::SystemCallNr::SETGROUPS;
185 case SystemCallNrAARCH64::UNAME: return clues::SystemCallNr::UNAME;
186 case SystemCallNrAARCH64::SETHOSTNAME: return clues::SystemCallNr::SETHOSTNAME;
187 case SystemCallNrAARCH64::SETDOMAINNAME: return clues::SystemCallNr::SETDOMAINNAME;
188 case SystemCallNrAARCH64::GETRLIMIT: return clues::SystemCallNr::GETRLIMIT;
189 case SystemCallNrAARCH64::SETRLIMIT: return clues::SystemCallNr::SETRLIMIT;
190 case SystemCallNrAARCH64::GETRUSAGE: return clues::SystemCallNr::GETRUSAGE;
191 case SystemCallNrAARCH64::UMASK: return clues::SystemCallNr::UMASK;
192 case SystemCallNrAARCH64::PRCTL: return clues::SystemCallNr::PRCTL;
193 case SystemCallNrAARCH64::GETCPU: return clues::SystemCallNr::GETCPU;
194 case SystemCallNrAARCH64::GETTIMEOFDAY: return clues::SystemCallNr::GETTIMEOFDAY;
195 case SystemCallNrAARCH64::SETTIMEOFDAY: return clues::SystemCallNr::SETTIMEOFDAY;
196 case SystemCallNrAARCH64::ADJTIMEX: return clues::SystemCallNr::ADJTIMEX;
197 case SystemCallNrAARCH64::GETPID: return clues::SystemCallNr::GETPID;
198 case SystemCallNrAARCH64::GETPPID: return clues::SystemCallNr::GETPPID;
199 case SystemCallNrAARCH64::GETUID: return clues::SystemCallNr::GETUID;
200 case SystemCallNrAARCH64::GETEUID: return clues::SystemCallNr::GETEUID;
201 case SystemCallNrAARCH64::GETGID: return clues::SystemCallNr::GETGID;
202 case SystemCallNrAARCH64::GETEGID: return clues::SystemCallNr::GETEGID;
203 case SystemCallNrAARCH64::GETTID: return clues::SystemCallNr::GETTID;
204 case SystemCallNrAARCH64::SYSINFO: return clues::SystemCallNr::SYSINFO;
205 case SystemCallNrAARCH64::MQ_OPEN: return clues::SystemCallNr::MQ_OPEN;
206 case SystemCallNrAARCH64::MQ_UNLINK: return clues::SystemCallNr::MQ_UNLINK;
207 case SystemCallNrAARCH64::MQ_TIMEDSEND: return clues::SystemCallNr::MQ_TIMEDSEND;
208 case SystemCallNrAARCH64::MQ_TIMEDRECEIVE: return clues::SystemCallNr::MQ_TIMEDRECEIVE;
209 case SystemCallNrAARCH64::MQ_NOTIFY: return clues::SystemCallNr::MQ_NOTIFY;
210 case SystemCallNrAARCH64::MQ_GETSETATTR: return clues::SystemCallNr::MQ_GETSETATTR;
211 case SystemCallNrAARCH64::MSGGET: return clues::SystemCallNr::MSGGET;
212 case SystemCallNrAARCH64::MSGCTL: return clues::SystemCallNr::MSGCTL;
213 case SystemCallNrAARCH64::MSGRCV: return clues::SystemCallNr::MSGRCV;
214 case SystemCallNrAARCH64::MSGSND: return clues::SystemCallNr::MSGSND;
215 case SystemCallNrAARCH64::SEMGET: return clues::SystemCallNr::SEMGET;
216 case SystemCallNrAARCH64::SEMCTL: return clues::SystemCallNr::SEMCTL;
217 case SystemCallNrAARCH64::SEMTIMEDOP: return clues::SystemCallNr::SEMTIMEDOP;
218 case SystemCallNrAARCH64::SEMOP: return clues::SystemCallNr::SEMOP;
219 case SystemCallNrAARCH64::SHMGET: return clues::SystemCallNr::SHMGET;
220 case SystemCallNrAARCH64::SHMCTL: return clues::SystemCallNr::SHMCTL;
221 case SystemCallNrAARCH64::SHMAT: return clues::SystemCallNr::SHMAT;
222 case SystemCallNrAARCH64::SHMDT: return clues::SystemCallNr::SHMDT;
223 case SystemCallNrAARCH64::SOCKET: return clues::SystemCallNr::SOCKET;
224 case SystemCallNrAARCH64::SOCKETPAIR: return clues::SystemCallNr::SOCKETPAIR;
225 case SystemCallNrAARCH64::BIND: return clues::SystemCallNr::BIND;
226 case SystemCallNrAARCH64::LISTEN: return clues::SystemCallNr::LISTEN;
227 case SystemCallNrAARCH64::ACCEPT: return clues::SystemCallNr::ACCEPT;
228 case SystemCallNrAARCH64::CONNECT: return clues::SystemCallNr::CONNECT;
229 case SystemCallNrAARCH64::GETSOCKNAME: return clues::SystemCallNr::GETSOCKNAME;
230 case SystemCallNrAARCH64::GETPEERNAME: return clues::SystemCallNr::GETPEERNAME;
231 case SystemCallNrAARCH64::SENDTO: return clues::SystemCallNr::SENDTO;
232 case SystemCallNrAARCH64::RECVFROM: return clues::SystemCallNr::RECVFROM;
233 case SystemCallNrAARCH64::SETSOCKOPT: return clues::SystemCallNr::SETSOCKOPT;
234 case SystemCallNrAARCH64::GETSOCKOPT: return clues::SystemCallNr::GETSOCKOPT;
235 case SystemCallNrAARCH64::SHUTDOWN: return clues::SystemCallNr::SHUTDOWN;
236 case SystemCallNrAARCH64::SENDMSG: return clues::SystemCallNr::SENDMSG;
237 case SystemCallNrAARCH64::RECVMSG: return clues::SystemCallNr::RECVMSG;
238 case SystemCallNrAARCH64::READAHEAD: return clues::SystemCallNr::READAHEAD;
239 case SystemCallNrAARCH64::BRK: return clues::SystemCallNr::BRK;
240 case SystemCallNrAARCH64::MUNMAP: return clues::SystemCallNr::MUNMAP;
241 case SystemCallNrAARCH64::MREMAP: return clues::SystemCallNr::MREMAP;
242 case SystemCallNrAARCH64::ADD_KEY: return clues::SystemCallNr::ADD_KEY;
243 case SystemCallNrAARCH64::REQUEST_KEY: return clues::SystemCallNr::REQUEST_KEY;
244 case SystemCallNrAARCH64::KEYCTL: return clues::SystemCallNr::KEYCTL;
245 case SystemCallNrAARCH64::CLONE: return clues::SystemCallNr::CLONE;
246 case SystemCallNrAARCH64::EXECVE: return clues::SystemCallNr::EXECVE;
247 case SystemCallNrAARCH64::MMAP: return clues::SystemCallNr::MMAP;
248 case SystemCallNrAARCH64::FADVISE64: return clues::SystemCallNr::FADVISE64;
249 case SystemCallNrAARCH64::SWAPON: return clues::SystemCallNr::SWAPON;
250 case SystemCallNrAARCH64::SWAPOFF: return clues::SystemCallNr::SWAPOFF;
251 case SystemCallNrAARCH64::MPROTECT: return clues::SystemCallNr::MPROTECT;
252 case SystemCallNrAARCH64::MSYNC: return clues::SystemCallNr::MSYNC;
253 case SystemCallNrAARCH64::MLOCK: return clues::SystemCallNr::MLOCK;
254 case SystemCallNrAARCH64::MUNLOCK: return clues::SystemCallNr::MUNLOCK;
255 case SystemCallNrAARCH64::MLOCKALL: return clues::SystemCallNr::MLOCKALL;
256 case SystemCallNrAARCH64::MUNLOCKALL: return clues::SystemCallNr::MUNLOCKALL;
257 case SystemCallNrAARCH64::MINCORE: return clues::SystemCallNr::MINCORE;
258 case SystemCallNrAARCH64::MADVISE: return clues::SystemCallNr::MADVISE;
259 case SystemCallNrAARCH64::REMAP_FILE_PAGES: return clues::SystemCallNr::REMAP_FILE_PAGES;
260 case SystemCallNrAARCH64::MBIND: return clues::SystemCallNr::MBIND;
261 case SystemCallNrAARCH64::GET_MEMPOLICY: return clues::SystemCallNr::GET_MEMPOLICY;
262 case SystemCallNrAARCH64::SET_MEMPOLICY: return clues::SystemCallNr::SET_MEMPOLICY;
263 case SystemCallNrAARCH64::MIGRATE_PAGES: return clues::SystemCallNr::MIGRATE_PAGES;
264 case SystemCallNrAARCH64::MOVE_PAGES: return clues::SystemCallNr::MOVE_PAGES;
265 case SystemCallNrAARCH64::RT_TGSIGQUEUEINFO: return clues::SystemCallNr::RT_TGSIGQUEUEINFO;
266 case SystemCallNrAARCH64::PERF_EVENT_OPEN: return clues::SystemCallNr::PERF_EVENT_OPEN;
267 case SystemCallNrAARCH64::ACCEPT4: return clues::SystemCallNr::ACCEPT4;
268 case SystemCallNrAARCH64::RECVMMSG: return clues::SystemCallNr::RECVMMSG;
269 case SystemCallNrAARCH64::WAIT4: return clues::SystemCallNr::WAIT4;
270 case SystemCallNrAARCH64::PRLIMIT64: return clues::SystemCallNr::PRLIMIT64;
271 case SystemCallNrAARCH64::FANOTIFY_INIT: return clues::SystemCallNr::FANOTIFY_INIT;
272 case SystemCallNrAARCH64::FANOTIFY_MARK: return clues::SystemCallNr::FANOTIFY_MARK;
273 case SystemCallNrAARCH64::NAME_TO_HANDLE_AT: return clues::SystemCallNr::NAME_TO_HANDLE_AT;
274 case SystemCallNrAARCH64::OPEN_BY_HANDLE_AT: return clues::SystemCallNr::OPEN_BY_HANDLE_AT;
275 case SystemCallNrAARCH64::CLOCK_ADJTIME: return clues::SystemCallNr::CLOCK_ADJTIME;
276 case SystemCallNrAARCH64::SYNCFS: return clues::SystemCallNr::SYNCFS;
277 case SystemCallNrAARCH64::SETNS: return clues::SystemCallNr::SETNS;
278 case SystemCallNrAARCH64::SENDMMSG: return clues::SystemCallNr::SENDMMSG;
279 case SystemCallNrAARCH64::PROCESS_VM_READV: return clues::SystemCallNr::PROCESS_VM_READV;
280 case SystemCallNrAARCH64::PROCESS_VM_WRITEV: return clues::SystemCallNr::PROCESS_VM_WRITEV;
281 case SystemCallNrAARCH64::KCMP: return clues::SystemCallNr::KCMP;
282 case SystemCallNrAARCH64::FINIT_MODULE: return clues::SystemCallNr::FINIT_MODULE;
283 case SystemCallNrAARCH64::SCHED_SETATTR: return clues::SystemCallNr::SCHED_SETATTR;
284 case SystemCallNrAARCH64::SCHED_GETATTR: return clues::SystemCallNr::SCHED_GETATTR;
285 case SystemCallNrAARCH64::RENAMEAT2: return clues::SystemCallNr::RENAMEAT2;
286 case SystemCallNrAARCH64::SECCOMP: return clues::SystemCallNr::SECCOMP;
287 case SystemCallNrAARCH64::GETRANDOM: return clues::SystemCallNr::GETRANDOM;
288 case SystemCallNrAARCH64::MEMFD_CREATE: return clues::SystemCallNr::MEMFD_CREATE;
289 case SystemCallNrAARCH64::BPF: return clues::SystemCallNr::BPF;
290 case SystemCallNrAARCH64::EXECVEAT: return clues::SystemCallNr::EXECVEAT;
291 case SystemCallNrAARCH64::USERFAULTFD: return clues::SystemCallNr::USERFAULTFD;
292 case SystemCallNrAARCH64::MEMBARRIER: return clues::SystemCallNr::MEMBARRIER;
293 case SystemCallNrAARCH64::MLOCK2: return clues::SystemCallNr::MLOCK2;
294 case SystemCallNrAARCH64::COPY_FILE_RANGE: return clues::SystemCallNr::COPY_FILE_RANGE;
295 case SystemCallNrAARCH64::PREADV2: return clues::SystemCallNr::PREADV2;
296 case SystemCallNrAARCH64::PWRITEV2: return clues::SystemCallNr::PWRITEV2;
297 case SystemCallNrAARCH64::PKEY_MPROTECT: return clues::SystemCallNr::PKEY_MPROTECT;
298 case SystemCallNrAARCH64::PKEY_ALLOC: return clues::SystemCallNr::PKEY_ALLOC;
299 case SystemCallNrAARCH64::PKEY_FREE: return clues::SystemCallNr::PKEY_FREE;
300 case SystemCallNrAARCH64::STATX: return clues::SystemCallNr::STATX;
301 case SystemCallNrAARCH64::IO_PGETEVENTS: return clues::SystemCallNr::IO_PGETEVENTS;
302 case SystemCallNrAARCH64::RSEQ: return clues::SystemCallNr::RSEQ;
303 case SystemCallNrAARCH64::KEXEC_FILE_LOAD: return clues::SystemCallNr::KEXEC_FILE_LOAD;
304 case SystemCallNrAARCH64::PIDFD_SEND_SIGNAL: return clues::SystemCallNr::PIDFD_SEND_SIGNAL;
305 case SystemCallNrAARCH64::IO_URING_SETUP: return clues::SystemCallNr::IO_URING_SETUP;
306 case SystemCallNrAARCH64::IO_URING_ENTER: return clues::SystemCallNr::IO_URING_ENTER;
307 case SystemCallNrAARCH64::IO_URING_REGISTER: return clues::SystemCallNr::IO_URING_REGISTER;
308 case SystemCallNrAARCH64::OPEN_TREE: return clues::SystemCallNr::OPEN_TREE;
309 case SystemCallNrAARCH64::MOVE_MOUNT: return clues::SystemCallNr::MOVE_MOUNT;
310 case SystemCallNrAARCH64::FSOPEN: return clues::SystemCallNr::FSOPEN;
311 case SystemCallNrAARCH64::FSCONFIG: return clues::SystemCallNr::FSCONFIG;
312 case SystemCallNrAARCH64::FSMOUNT: return clues::SystemCallNr::FSMOUNT;
313 case SystemCallNrAARCH64::FSPICK: return clues::SystemCallNr::FSPICK;
314 case SystemCallNrAARCH64::PIDFD_OPEN: return clues::SystemCallNr::PIDFD_OPEN;
315 case SystemCallNrAARCH64::CLONE3: return clues::SystemCallNr::CLONE3;
316 case SystemCallNrAARCH64::CLOSE_RANGE: return clues::SystemCallNr::CLOSE_RANGE;
317 case SystemCallNrAARCH64::OPENAT2: return clues::SystemCallNr::OPENAT2;
318 case SystemCallNrAARCH64::PIDFD_GETFD: return clues::SystemCallNr::PIDFD_GETFD;
319 case SystemCallNrAARCH64::FACCESSAT2: return clues::SystemCallNr::FACCESSAT2;
320 case SystemCallNrAARCH64::PROCESS_MADVISE: return clues::SystemCallNr::PROCESS_MADVISE;
321 case SystemCallNrAARCH64::EPOLL_PWAIT2: return clues::SystemCallNr::EPOLL_PWAIT2;
322 case SystemCallNrAARCH64::MOUNT_SETATTR: return clues::SystemCallNr::MOUNT_SETATTR;
323 case SystemCallNrAARCH64::QUOTACTL_FD: return clues::SystemCallNr::QUOTACTL_FD;
324 case SystemCallNrAARCH64::LANDLOCK_CREATE_RULESET: return clues::SystemCallNr::LANDLOCK_CREATE_RULESET;
325 case SystemCallNrAARCH64::LANDLOCK_ADD_RULE: return clues::SystemCallNr::LANDLOCK_ADD_RULE;
326 case SystemCallNrAARCH64::LANDLOCK_RESTRICT_SELF: return clues::SystemCallNr::LANDLOCK_RESTRICT_SELF;
327 case SystemCallNrAARCH64::MEMFD_SECRET: return clues::SystemCallNr::MEMFD_SECRET;
328 case SystemCallNrAARCH64::PROCESS_MRELEASE: return clues::SystemCallNr::PROCESS_MRELEASE;
329 case SystemCallNrAARCH64::FUTEX_WAITV: return clues::SystemCallNr::FUTEX_WAITV;
330 case SystemCallNrAARCH64::SET_MEMPOLICY_HOME_NODE: return clues::SystemCallNr::SET_MEMPOLICY_HOME_NODE;
331 case SystemCallNrAARCH64::CACHESTAT: return clues::SystemCallNr::CACHESTAT;
332 case SystemCallNrAARCH64::FCHMODAT2: return clues::SystemCallNr::FCHMODAT2;
333 case SystemCallNrAARCH64::MAP_SHADOW_STACK: return clues::SystemCallNr::MAP_SHADOW_STACK;
334 case SystemCallNrAARCH64::_FUTEX_WAKE: return clues::SystemCallNr::_FUTEX_WAKE;
335 case SystemCallNrAARCH64::_FUTEX_WAIT: return clues::SystemCallNr::_FUTEX_WAIT;
336 case SystemCallNrAARCH64::_FUTEX_REQUEUE: return clues::SystemCallNr::_FUTEX_REQUEUE;
337 case SystemCallNrAARCH64::STATMOUNT: return clues::SystemCallNr::STATMOUNT;
338 case SystemCallNrAARCH64::LISTMOUNT: return clues::SystemCallNr::LISTMOUNT;
339 case SystemCallNrAARCH64::LSM_GET_SELF_ATTR: return clues::SystemCallNr::LSM_GET_SELF_ATTR;
340 case SystemCallNrAARCH64::LSM_SET_SELF_ATTR: return clues::SystemCallNr::LSM_SET_SELF_ATTR;
341 case SystemCallNrAARCH64::LSM_LIST_MODULES: return clues::SystemCallNr::LSM_LIST_MODULES;
342 case SystemCallNrAARCH64::MSEAL: return clues::SystemCallNr::MSEAL;
343 case SystemCallNrAARCH64::SETXATTRAT: return clues::SystemCallNr::SETXATTRAT;
344 case SystemCallNrAARCH64::GETXATTRAT: return clues::SystemCallNr::GETXATTRAT;
345 case SystemCallNrAARCH64::LISTXATTRAT: return clues::SystemCallNr::LISTXATTRAT;
346 case SystemCallNrAARCH64::REMOVEXATTRAT: return clues::SystemCallNr::REMOVEXATTRAT;
347 case SystemCallNrAARCH64::OPEN_TREE_ATTR: return clues::SystemCallNr::OPEN_TREE_ATTR;
348 case SystemCallNrAARCH64::FILE_GETATTR: return clues::SystemCallNr::FILE_GETATTR;
349 case SystemCallNrAARCH64::FILE_SETATTR: return clues::SystemCallNr::FILE_SETATTR;
350 }
351}

◆ to_generic() [2/4]

CLUES_API clues::SystemCallNr clues::to_generic ( const SystemCallNrI386 nr)

Convert the native system call nr. into its generic representation.

If there is no generic representation (e.g. because the nr is invalid then SystemCallNr::UNKNOWN is returned.

Definition at line 21 of file i386.cxx.

21 {
22
23 switch (nr) {
24 default: return SystemCallNr::UNKNOWN;
25 case SystemCallNrI386::RESTART_SYSCALL: return clues::SystemCallNr::RESTART_SYSCALL;
26 case SystemCallNrI386::EXIT: return clues::SystemCallNr::EXIT;
27 case SystemCallNrI386::FORK: return clues::SystemCallNr::FORK;
28 case SystemCallNrI386::READ: return clues::SystemCallNr::READ;
29 case SystemCallNrI386::WRITE: return clues::SystemCallNr::WRITE;
30 case SystemCallNrI386::OPEN: return clues::SystemCallNr::OPEN;
31 case SystemCallNrI386::CLOSE: return clues::SystemCallNr::CLOSE;
32 case SystemCallNrI386::WAITPID: return clues::SystemCallNr::WAITPID;
33 case SystemCallNrI386::CREAT: return clues::SystemCallNr::CREAT;
34 case SystemCallNrI386::LINK: return clues::SystemCallNr::LINK;
35 case SystemCallNrI386::UNLINK: return clues::SystemCallNr::UNLINK;
36 case SystemCallNrI386::EXECVE: return clues::SystemCallNr::EXECVE;
37 case SystemCallNrI386::CHDIR: return clues::SystemCallNr::CHDIR;
38 case SystemCallNrI386::TIME: return clues::SystemCallNr::TIME;
39 case SystemCallNrI386::MKNOD: return clues::SystemCallNr::MKNOD;
40 case SystemCallNrI386::CHMOD: return clues::SystemCallNr::CHMOD;
41 case SystemCallNrI386::LCHOWN: return clues::SystemCallNr::LCHOWN;
42 case SystemCallNrI386::BREAK: return clues::SystemCallNr::BREAK;
43 case SystemCallNrI386::OLDSTAT: return clues::SystemCallNr::OLDSTAT;
44 case SystemCallNrI386::LSEEK: return clues::SystemCallNr::LSEEK;
45 case SystemCallNrI386::GETPID: return clues::SystemCallNr::GETPID;
46 case SystemCallNrI386::MOUNT: return clues::SystemCallNr::MOUNT;
47 case SystemCallNrI386::UMOUNT: return clues::SystemCallNr::UMOUNT;
48 case SystemCallNrI386::SETUID: return clues::SystemCallNr::SETUID;
49 case SystemCallNrI386::GETUID: return clues::SystemCallNr::GETUID;
50 case SystemCallNrI386::STIME: return clues::SystemCallNr::STIME;
51 case SystemCallNrI386::PTRACE: return clues::SystemCallNr::PTRACE;
52 case SystemCallNrI386::ALARM: return clues::SystemCallNr::ALARM;
53 case SystemCallNrI386::OLDFSTAT: return clues::SystemCallNr::OLDFSTAT;
54 case SystemCallNrI386::PAUSE: return clues::SystemCallNr::PAUSE;
55 case SystemCallNrI386::UTIME: return clues::SystemCallNr::UTIME;
56 case SystemCallNrI386::STTY: return clues::SystemCallNr::STTY;
57 case SystemCallNrI386::GTTY: return clues::SystemCallNr::GTTY;
58 case SystemCallNrI386::ACCESS: return clues::SystemCallNr::ACCESS;
59 case SystemCallNrI386::NICE: return clues::SystemCallNr::NICE;
60 case SystemCallNrI386::FTIME: return clues::SystemCallNr::FTIME;
61 case SystemCallNrI386::SYNC: return clues::SystemCallNr::SYNC;
62 case SystemCallNrI386::KILL: return clues::SystemCallNr::KILL;
63 case SystemCallNrI386::RENAME: return clues::SystemCallNr::RENAME;
64 case SystemCallNrI386::MKDIR: return clues::SystemCallNr::MKDIR;
65 case SystemCallNrI386::RMDIR: return clues::SystemCallNr::RMDIR;
66 case SystemCallNrI386::DUP: return clues::SystemCallNr::DUP;
67 case SystemCallNrI386::PIPE: return clues::SystemCallNr::PIPE;
68 case SystemCallNrI386::TIMES: return clues::SystemCallNr::TIMES;
69 case SystemCallNrI386::PROF: return clues::SystemCallNr::PROF;
70 case SystemCallNrI386::BRK: return clues::SystemCallNr::BRK;
71 case SystemCallNrI386::SETGID: return clues::SystemCallNr::SETGID;
72 case SystemCallNrI386::GETGID: return clues::SystemCallNr::GETGID;
73 case SystemCallNrI386::SIGNAL: return clues::SystemCallNr::SIGNAL;
74 case SystemCallNrI386::GETEUID: return clues::SystemCallNr::GETEUID;
75 case SystemCallNrI386::GETEGID: return clues::SystemCallNr::GETEGID;
76 case SystemCallNrI386::ACCT: return clues::SystemCallNr::ACCT;
77 case SystemCallNrI386::UMOUNT2: return clues::SystemCallNr::UMOUNT2;
78 case SystemCallNrI386::LOCK: return clues::SystemCallNr::LOCK;
79 case SystemCallNrI386::IOCTL: return clues::SystemCallNr::IOCTL;
80 case SystemCallNrI386::FCNTL: return clues::SystemCallNr::FCNTL;
81 case SystemCallNrI386::MPX: return clues::SystemCallNr::MPX;
82 case SystemCallNrI386::SETPGID: return clues::SystemCallNr::SETPGID;
83 case SystemCallNrI386::ULIMIT: return clues::SystemCallNr::ULIMIT;
84 case SystemCallNrI386::OLDOLDUNAME: return clues::SystemCallNr::OLDOLDUNAME;
85 case SystemCallNrI386::UMASK: return clues::SystemCallNr::UMASK;
86 case SystemCallNrI386::CHROOT: return clues::SystemCallNr::CHROOT;
87 case SystemCallNrI386::USTAT: return clues::SystemCallNr::USTAT;
88 case SystemCallNrI386::DUP2: return clues::SystemCallNr::DUP2;
89 case SystemCallNrI386::GETPPID: return clues::SystemCallNr::GETPPID;
90 case SystemCallNrI386::GETPGRP: return clues::SystemCallNr::GETPGRP;
91 case SystemCallNrI386::SETSID: return clues::SystemCallNr::SETSID;
92 case SystemCallNrI386::SIGACTION: return clues::SystemCallNr::SIGACTION;
93 case SystemCallNrI386::SGETMASK: return clues::SystemCallNr::SGETMASK;
94 case SystemCallNrI386::SSETMASK: return clues::SystemCallNr::SSETMASK;
95 case SystemCallNrI386::SETREUID: return clues::SystemCallNr::SETREUID;
96 case SystemCallNrI386::SETREGID: return clues::SystemCallNr::SETREGID;
97 case SystemCallNrI386::SIGSUSPEND: return clues::SystemCallNr::SIGSUSPEND;
98 case SystemCallNrI386::SIGPENDING: return clues::SystemCallNr::SIGPENDING;
99 case SystemCallNrI386::SETHOSTNAME: return clues::SystemCallNr::SETHOSTNAME;
100 case SystemCallNrI386::SETRLIMIT: return clues::SystemCallNr::SETRLIMIT;
101 case SystemCallNrI386::GETRLIMIT: return clues::SystemCallNr::GETRLIMIT;
102 case SystemCallNrI386::GETRUSAGE: return clues::SystemCallNr::GETRUSAGE;
103 case SystemCallNrI386::GETTIMEOFDAY: return clues::SystemCallNr::GETTIMEOFDAY;
104 case SystemCallNrI386::SETTIMEOFDAY: return clues::SystemCallNr::SETTIMEOFDAY;
105 case SystemCallNrI386::GETGROUPS: return clues::SystemCallNr::GETGROUPS;
106 case SystemCallNrI386::SETGROUPS: return clues::SystemCallNr::SETGROUPS;
107 case SystemCallNrI386::SELECT: return clues::SystemCallNr::SELECT;
108 case SystemCallNrI386::SYMLINK: return clues::SystemCallNr::SYMLINK;
109 case SystemCallNrI386::OLDLSTAT: return clues::SystemCallNr::OLDLSTAT;
110 case SystemCallNrI386::READLINK: return clues::SystemCallNr::READLINK;
111 case SystemCallNrI386::USELIB: return clues::SystemCallNr::USELIB;
112 case SystemCallNrI386::SWAPON: return clues::SystemCallNr::SWAPON;
113 case SystemCallNrI386::REBOOT: return clues::SystemCallNr::REBOOT;
114 case SystemCallNrI386::READDIR: return clues::SystemCallNr::READDIR;
115 case SystemCallNrI386::MMAP: return clues::SystemCallNr::MMAP;
116 case SystemCallNrI386::MUNMAP: return clues::SystemCallNr::MUNMAP;
117 case SystemCallNrI386::TRUNCATE: return clues::SystemCallNr::TRUNCATE;
118 case SystemCallNrI386::FTRUNCATE: return clues::SystemCallNr::FTRUNCATE;
119 case SystemCallNrI386::FCHMOD: return clues::SystemCallNr::FCHMOD;
120 case SystemCallNrI386::FCHOWN: return clues::SystemCallNr::FCHOWN;
121 case SystemCallNrI386::GETPRIORITY: return clues::SystemCallNr::GETPRIORITY;
122 case SystemCallNrI386::SETPRIORITY: return clues::SystemCallNr::SETPRIORITY;
123 case SystemCallNrI386::PROFIL: return clues::SystemCallNr::PROFIL;
124 case SystemCallNrI386::STATFS: return clues::SystemCallNr::STATFS;
125 case SystemCallNrI386::FSTATFS: return clues::SystemCallNr::FSTATFS;
126 case SystemCallNrI386::IOPERM: return clues::SystemCallNr::IOPERM;
127 case SystemCallNrI386::SOCKETCALL: return clues::SystemCallNr::SOCKETCALL;
128 case SystemCallNrI386::SYSLOG: return clues::SystemCallNr::SYSLOG;
129 case SystemCallNrI386::SETITIMER: return clues::SystemCallNr::SETITIMER;
130 case SystemCallNrI386::GETITIMER: return clues::SystemCallNr::GETITIMER;
131 case SystemCallNrI386::STAT: return clues::SystemCallNr::STAT;
132 case SystemCallNrI386::LSTAT: return clues::SystemCallNr::LSTAT;
133 case SystemCallNrI386::FSTAT: return clues::SystemCallNr::FSTAT;
134 case SystemCallNrI386::OLDUNAME: return clues::SystemCallNr::OLDUNAME;
135 case SystemCallNrI386::IOPL: return clues::SystemCallNr::IOPL;
136 case SystemCallNrI386::VHANGUP: return clues::SystemCallNr::VHANGUP;
137 case SystemCallNrI386::IDLE: return clues::SystemCallNr::IDLE;
138 case SystemCallNrI386::VM86OLD: return clues::SystemCallNr::VM86OLD;
139 case SystemCallNrI386::WAIT4: return clues::SystemCallNr::WAIT4;
140 case SystemCallNrI386::SWAPOFF: return clues::SystemCallNr::SWAPOFF;
141 case SystemCallNrI386::SYSINFO: return clues::SystemCallNr::SYSINFO;
142 case SystemCallNrI386::IPC: return clues::SystemCallNr::IPC;
143 case SystemCallNrI386::FSYNC: return clues::SystemCallNr::FSYNC;
144 case SystemCallNrI386::SIGRETURN: return clues::SystemCallNr::SIGRETURN;
145 case SystemCallNrI386::CLONE: return clues::SystemCallNr::CLONE;
146 case SystemCallNrI386::SETDOMAINNAME: return clues::SystemCallNr::SETDOMAINNAME;
147 case SystemCallNrI386::UNAME: return clues::SystemCallNr::UNAME;
148 case SystemCallNrI386::MODIFY_LDT: return clues::SystemCallNr::MODIFY_LDT;
149 case SystemCallNrI386::ADJTIMEX: return clues::SystemCallNr::ADJTIMEX;
150 case SystemCallNrI386::MPROTECT: return clues::SystemCallNr::MPROTECT;
151 case SystemCallNrI386::SIGPROCMASK: return clues::SystemCallNr::SIGPROCMASK;
152 case SystemCallNrI386::CREATE_MODULE: return clues::SystemCallNr::CREATE_MODULE;
153 case SystemCallNrI386::INIT_MODULE: return clues::SystemCallNr::INIT_MODULE;
154 case SystemCallNrI386::DELETE_MODULE: return clues::SystemCallNr::DELETE_MODULE;
155 case SystemCallNrI386::GET_KERNEL_SYMS: return clues::SystemCallNr::GET_KERNEL_SYMS;
156 case SystemCallNrI386::QUOTACTL: return clues::SystemCallNr::QUOTACTL;
157 case SystemCallNrI386::GETPGID: return clues::SystemCallNr::GETPGID;
158 case SystemCallNrI386::FCHDIR: return clues::SystemCallNr::FCHDIR;
159 case SystemCallNrI386::BDFLUSH: return clues::SystemCallNr::BDFLUSH;
160 case SystemCallNrI386::SYSFS: return clues::SystemCallNr::SYSFS;
161 case SystemCallNrI386::PERSONALITY: return clues::SystemCallNr::PERSONALITY;
162 case SystemCallNrI386::AFS_SYSCALL: return clues::SystemCallNr::AFS_SYSCALL;
163 case SystemCallNrI386::SETFSUID: return clues::SystemCallNr::SETFSUID;
164 case SystemCallNrI386::SETFSGID: return clues::SystemCallNr::SETFSGID;
165 case SystemCallNrI386::LLSEEK: return clues::SystemCallNr::LLSEEK;
166 case SystemCallNrI386::GETDENTS: return clues::SystemCallNr::GETDENTS;
167 case SystemCallNrI386::NEWSELECT: return clues::SystemCallNr::NEWSELECT;
168 case SystemCallNrI386::FLOCK: return clues::SystemCallNr::FLOCK;
169 case SystemCallNrI386::MSYNC: return clues::SystemCallNr::MSYNC;
170 case SystemCallNrI386::READV: return clues::SystemCallNr::READV;
171 case SystemCallNrI386::WRITEV: return clues::SystemCallNr::WRITEV;
172 case SystemCallNrI386::GETSID: return clues::SystemCallNr::GETSID;
173 case SystemCallNrI386::FDATASYNC: return clues::SystemCallNr::FDATASYNC;
174 case SystemCallNrI386::SYSCTL: return clues::SystemCallNr::SYSCTL;
175 case SystemCallNrI386::MLOCK: return clues::SystemCallNr::MLOCK;
176 case SystemCallNrI386::MUNLOCK: return clues::SystemCallNr::MUNLOCK;
177 case SystemCallNrI386::MLOCKALL: return clues::SystemCallNr::MLOCKALL;
178 case SystemCallNrI386::MUNLOCKALL: return clues::SystemCallNr::MUNLOCKALL;
179 case SystemCallNrI386::SCHED_SETPARAM: return clues::SystemCallNr::SCHED_SETPARAM;
180 case SystemCallNrI386::SCHED_GETPARAM: return clues::SystemCallNr::SCHED_GETPARAM;
181 case SystemCallNrI386::SCHED_SETSCHEDULER: return clues::SystemCallNr::SCHED_SETSCHEDULER;
182 case SystemCallNrI386::SCHED_GETSCHEDULER: return clues::SystemCallNr::SCHED_GETSCHEDULER;
183 case SystemCallNrI386::SCHED_YIELD: return clues::SystemCallNr::SCHED_YIELD;
184 case SystemCallNrI386::SCHED_GET_PRIORITY_MAX: return clues::SystemCallNr::SCHED_GET_PRIORITY_MAX;
185 case SystemCallNrI386::SCHED_GET_PRIORITY_MIN: return clues::SystemCallNr::SCHED_GET_PRIORITY_MIN;
186 case SystemCallNrI386::SCHED_RR_GET_INTERVAL: return clues::SystemCallNr::SCHED_RR_GET_INTERVAL;
187 case SystemCallNrI386::NANOSLEEP: return clues::SystemCallNr::NANOSLEEP;
188 case SystemCallNrI386::MREMAP: return clues::SystemCallNr::MREMAP;
189 case SystemCallNrI386::SETRESUID: return clues::SystemCallNr::SETRESUID;
190 case SystemCallNrI386::GETRESUID: return clues::SystemCallNr::GETRESUID;
191 case SystemCallNrI386::VM86: return clues::SystemCallNr::VM86;
192 case SystemCallNrI386::QUERY_MODULE: return clues::SystemCallNr::QUERY_MODULE;
193 case SystemCallNrI386::POLL: return clues::SystemCallNr::POLL;
194 case SystemCallNrI386::NFSSERVCTL: return clues::SystemCallNr::NFSSERVCTL;
195 case SystemCallNrI386::SETRESGID: return clues::SystemCallNr::SETRESGID;
196 case SystemCallNrI386::GETRESGID: return clues::SystemCallNr::GETRESGID;
197 case SystemCallNrI386::PRCTL: return clues::SystemCallNr::PRCTL;
198 case SystemCallNrI386::RT_SIGRETURN: return clues::SystemCallNr::RT_SIGRETURN;
199 case SystemCallNrI386::RT_SIGACTION: return clues::SystemCallNr::RT_SIGACTION;
200 case SystemCallNrI386::RT_SIGPROCMASK: return clues::SystemCallNr::RT_SIGPROCMASK;
201 case SystemCallNrI386::RT_SIGPENDING: return clues::SystemCallNr::RT_SIGPENDING;
202 case SystemCallNrI386::RT_SIGTIMEDWAIT: return clues::SystemCallNr::RT_SIGTIMEDWAIT;
203 case SystemCallNrI386::RT_SIGQUEUEINFO: return clues::SystemCallNr::RT_SIGQUEUEINFO;
204 case SystemCallNrI386::RT_SIGSUSPEND: return clues::SystemCallNr::RT_SIGSUSPEND;
205 case SystemCallNrI386::PREAD64: return clues::SystemCallNr::PREAD64;
206 case SystemCallNrI386::PWRITE64: return clues::SystemCallNr::PWRITE64;
207 case SystemCallNrI386::CHOWN: return clues::SystemCallNr::CHOWN;
208 case SystemCallNrI386::GETCWD: return clues::SystemCallNr::GETCWD;
209 case SystemCallNrI386::CAPGET: return clues::SystemCallNr::CAPGET;
210 case SystemCallNrI386::CAPSET: return clues::SystemCallNr::CAPSET;
211 case SystemCallNrI386::SIGALTSTACK: return clues::SystemCallNr::SIGALTSTACK;
212 case SystemCallNrI386::SENDFILE: return clues::SystemCallNr::SENDFILE;
213 case SystemCallNrI386::GETPMSG: return clues::SystemCallNr::GETPMSG;
214 case SystemCallNrI386::PUTPMSG: return clues::SystemCallNr::PUTPMSG;
215 case SystemCallNrI386::VFORK: return clues::SystemCallNr::VFORK;
216 case SystemCallNrI386::UGETRLIMIT: return clues::SystemCallNr::UGETRLIMIT;
217 case SystemCallNrI386::MMAP2: return clues::SystemCallNr::MMAP2;
218 case SystemCallNrI386::TRUNCATE64: return clues::SystemCallNr::TRUNCATE64;
219 case SystemCallNrI386::FTRUNCATE64: return clues::SystemCallNr::FTRUNCATE64;
220 case SystemCallNrI386::STAT64: return clues::SystemCallNr::STAT64;
221 case SystemCallNrI386::LSTAT64: return clues::SystemCallNr::LSTAT64;
222 case SystemCallNrI386::FSTAT64: return clues::SystemCallNr::FSTAT64;
223 case SystemCallNrI386::LCHOWN32: return clues::SystemCallNr::LCHOWN32;
224 case SystemCallNrI386::GETUID32: return clues::SystemCallNr::GETUID32;
225 case SystemCallNrI386::GETGID32: return clues::SystemCallNr::GETGID32;
226 case SystemCallNrI386::GETEUID32: return clues::SystemCallNr::GETEUID32;
227 case SystemCallNrI386::GETEGID32: return clues::SystemCallNr::GETEGID32;
228 case SystemCallNrI386::SETREUID32: return clues::SystemCallNr::SETREUID32;
229 case SystemCallNrI386::SETREGID32: return clues::SystemCallNr::SETREGID32;
230 case SystemCallNrI386::GETGROUPS32: return clues::SystemCallNr::GETGROUPS32;
231 case SystemCallNrI386::SETGROUPS32: return clues::SystemCallNr::SETGROUPS32;
232 case SystemCallNrI386::FCHOWN32: return clues::SystemCallNr::FCHOWN32;
233 case SystemCallNrI386::SETRESUID32: return clues::SystemCallNr::SETRESUID32;
234 case SystemCallNrI386::GETRESUID32: return clues::SystemCallNr::GETRESUID32;
235 case SystemCallNrI386::SETRESGID32: return clues::SystemCallNr::SETRESGID32;
236 case SystemCallNrI386::GETRESGID32: return clues::SystemCallNr::GETRESGID32;
237 case SystemCallNrI386::CHOWN32: return clues::SystemCallNr::CHOWN32;
238 case SystemCallNrI386::SETUID32: return clues::SystemCallNr::SETUID32;
239 case SystemCallNrI386::SETGID32: return clues::SystemCallNr::SETGID32;
240 case SystemCallNrI386::SETFSUID32: return clues::SystemCallNr::SETFSUID32;
241 case SystemCallNrI386::SETFSGID32: return clues::SystemCallNr::SETFSGID32;
242 case SystemCallNrI386::PIVOT_ROOT: return clues::SystemCallNr::PIVOT_ROOT;
243 case SystemCallNrI386::MINCORE: return clues::SystemCallNr::MINCORE;
244 case SystemCallNrI386::MADVISE: return clues::SystemCallNr::MADVISE;
245 case SystemCallNrI386::GETDENTS64: return clues::SystemCallNr::GETDENTS64;
246 case SystemCallNrI386::FCNTL64: return clues::SystemCallNr::FCNTL64;
247 case SystemCallNrI386::GETTID: return clues::SystemCallNr::GETTID;
248 case SystemCallNrI386::READAHEAD: return clues::SystemCallNr::READAHEAD;
249 case SystemCallNrI386::SETXATTR: return clues::SystemCallNr::SETXATTR;
250 case SystemCallNrI386::LSETXATTR: return clues::SystemCallNr::LSETXATTR;
251 case SystemCallNrI386::FSETXATTR: return clues::SystemCallNr::FSETXATTR;
252 case SystemCallNrI386::GETXATTR: return clues::SystemCallNr::GETXATTR;
253 case SystemCallNrI386::LGETXATTR: return clues::SystemCallNr::LGETXATTR;
254 case SystemCallNrI386::FGETXATTR: return clues::SystemCallNr::FGETXATTR;
255 case SystemCallNrI386::LISTXATTR: return clues::SystemCallNr::LISTXATTR;
256 case SystemCallNrI386::LLISTXATTR: return clues::SystemCallNr::LLISTXATTR;
257 case SystemCallNrI386::FLISTXATTR: return clues::SystemCallNr::FLISTXATTR;
258 case SystemCallNrI386::REMOVEXATTR: return clues::SystemCallNr::REMOVEXATTR;
259 case SystemCallNrI386::LREMOVEXATTR: return clues::SystemCallNr::LREMOVEXATTR;
260 case SystemCallNrI386::FREMOVEXATTR: return clues::SystemCallNr::FREMOVEXATTR;
261 case SystemCallNrI386::TKILL: return clues::SystemCallNr::TKILL;
262 case SystemCallNrI386::SENDFILE64: return clues::SystemCallNr::SENDFILE64;
263 case SystemCallNrI386::FUTEX: return clues::SystemCallNr::FUTEX;
264 case SystemCallNrI386::SCHED_SETAFFINITY: return clues::SystemCallNr::SCHED_SETAFFINITY;
265 case SystemCallNrI386::SCHED_GETAFFINITY: return clues::SystemCallNr::SCHED_GETAFFINITY;
266 case SystemCallNrI386::SET_THREAD_AREA: return clues::SystemCallNr::SET_THREAD_AREA;
267 case SystemCallNrI386::GET_THREAD_AREA: return clues::SystemCallNr::GET_THREAD_AREA;
268 case SystemCallNrI386::IO_SETUP: return clues::SystemCallNr::IO_SETUP;
269 case SystemCallNrI386::IO_DESTROY: return clues::SystemCallNr::IO_DESTROY;
270 case SystemCallNrI386::IO_GETEVENTS: return clues::SystemCallNr::IO_GETEVENTS;
271 case SystemCallNrI386::IO_SUBMIT: return clues::SystemCallNr::IO_SUBMIT;
272 case SystemCallNrI386::IO_CANCEL: return clues::SystemCallNr::IO_CANCEL;
273 case SystemCallNrI386::FADVISE64: return clues::SystemCallNr::FADVISE64;
274 case SystemCallNrI386::EXIT_GROUP: return clues::SystemCallNr::EXIT_GROUP;
275 case SystemCallNrI386::LOOKUP_DCOOKIE: return clues::SystemCallNr::LOOKUP_DCOOKIE;
276 case SystemCallNrI386::EPOLL_CREATE: return clues::SystemCallNr::EPOLL_CREATE;
277 case SystemCallNrI386::EPOLL_CTL: return clues::SystemCallNr::EPOLL_CTL;
278 case SystemCallNrI386::EPOLL_WAIT: return clues::SystemCallNr::EPOLL_WAIT;
279 case SystemCallNrI386::REMAP_FILE_PAGES: return clues::SystemCallNr::REMAP_FILE_PAGES;
280 case SystemCallNrI386::SET_TID_ADDRESS: return clues::SystemCallNr::SET_TID_ADDRESS;
281 case SystemCallNrI386::TIMER_CREATE: return clues::SystemCallNr::TIMER_CREATE;
282 case SystemCallNrI386::TIMER_SETTIME: return clues::SystemCallNr::TIMER_SETTIME;
283 case SystemCallNrI386::TIMER_GETTIME: return clues::SystemCallNr::TIMER_GETTIME;
284 case SystemCallNrI386::TIMER_GETOVERRUN: return clues::SystemCallNr::TIMER_GETOVERRUN;
285 case SystemCallNrI386::TIMER_DELETE: return clues::SystemCallNr::TIMER_DELETE;
286 case SystemCallNrI386::CLOCK_SETTIME: return clues::SystemCallNr::CLOCK_SETTIME;
287 case SystemCallNrI386::CLOCK_GETTIME: return clues::SystemCallNr::CLOCK_GETTIME;
288 case SystemCallNrI386::CLOCK_GETRES: return clues::SystemCallNr::CLOCK_GETRES;
289 case SystemCallNrI386::CLOCK_NANOSLEEP: return clues::SystemCallNr::CLOCK_NANOSLEEP;
290 case SystemCallNrI386::STATFS64: return clues::SystemCallNr::STATFS64;
291 case SystemCallNrI386::FSTATFS64: return clues::SystemCallNr::FSTATFS64;
292 case SystemCallNrI386::TGKILL: return clues::SystemCallNr::TGKILL;
293 case SystemCallNrI386::UTIMES: return clues::SystemCallNr::UTIMES;
294 case SystemCallNrI386::FADVISE64_64: return clues::SystemCallNr::FADVISE64_64;
295 case SystemCallNrI386::VSERVER: return clues::SystemCallNr::VSERVER;
296 case SystemCallNrI386::MBIND: return clues::SystemCallNr::MBIND;
297 case SystemCallNrI386::GET_MEMPOLICY: return clues::SystemCallNr::GET_MEMPOLICY;
298 case SystemCallNrI386::SET_MEMPOLICY: return clues::SystemCallNr::SET_MEMPOLICY;
299 case SystemCallNrI386::MQ_OPEN: return clues::SystemCallNr::MQ_OPEN;
300 case SystemCallNrI386::MQ_UNLINK: return clues::SystemCallNr::MQ_UNLINK;
301 case SystemCallNrI386::MQ_TIMEDSEND: return clues::SystemCallNr::MQ_TIMEDSEND;
302 case SystemCallNrI386::MQ_TIMEDRECEIVE: return clues::SystemCallNr::MQ_TIMEDRECEIVE;
303 case SystemCallNrI386::MQ_NOTIFY: return clues::SystemCallNr::MQ_NOTIFY;
304 case SystemCallNrI386::MQ_GETSETATTR: return clues::SystemCallNr::MQ_GETSETATTR;
305 case SystemCallNrI386::KEXEC_LOAD: return clues::SystemCallNr::KEXEC_LOAD;
306 case SystemCallNrI386::WAITID: return clues::SystemCallNr::WAITID;
307 case SystemCallNrI386::ADD_KEY: return clues::SystemCallNr::ADD_KEY;
308 case SystemCallNrI386::REQUEST_KEY: return clues::SystemCallNr::REQUEST_KEY;
309 case SystemCallNrI386::KEYCTL: return clues::SystemCallNr::KEYCTL;
310 case SystemCallNrI386::IOPRIO_SET: return clues::SystemCallNr::IOPRIO_SET;
311 case SystemCallNrI386::IOPRIO_GET: return clues::SystemCallNr::IOPRIO_GET;
312 case SystemCallNrI386::INOTIFY_INIT: return clues::SystemCallNr::INOTIFY_INIT;
313 case SystemCallNrI386::INOTIFY_ADD_WATCH: return clues::SystemCallNr::INOTIFY_ADD_WATCH;
314 case SystemCallNrI386::INOTIFY_RM_WATCH: return clues::SystemCallNr::INOTIFY_RM_WATCH;
315 case SystemCallNrI386::MIGRATE_PAGES: return clues::SystemCallNr::MIGRATE_PAGES;
316 case SystemCallNrI386::OPENAT: return clues::SystemCallNr::OPENAT;
317 case SystemCallNrI386::MKDIRAT: return clues::SystemCallNr::MKDIRAT;
318 case SystemCallNrI386::MKNODAT: return clues::SystemCallNr::MKNODAT;
319 case SystemCallNrI386::FCHOWNAT: return clues::SystemCallNr::FCHOWNAT;
320 case SystemCallNrI386::FUTIMESAT: return clues::SystemCallNr::FUTIMESAT;
321 case SystemCallNrI386::FSTATAT64: return clues::SystemCallNr::FSTATAT64;
322 case SystemCallNrI386::UNLINKAT: return clues::SystemCallNr::UNLINKAT;
323 case SystemCallNrI386::RENAMEAT: return clues::SystemCallNr::RENAMEAT;
324 case SystemCallNrI386::LINKAT: return clues::SystemCallNr::LINKAT;
325 case SystemCallNrI386::SYMLINKAT: return clues::SystemCallNr::SYMLINKAT;
326 case SystemCallNrI386::READLINKAT: return clues::SystemCallNr::READLINKAT;
327 case SystemCallNrI386::FCHMODAT: return clues::SystemCallNr::FCHMODAT;
328 case SystemCallNrI386::FACCESSAT: return clues::SystemCallNr::FACCESSAT;
329 case SystemCallNrI386::PSELECT6: return clues::SystemCallNr::PSELECT6;
330 case SystemCallNrI386::PPOLL: return clues::SystemCallNr::PPOLL;
331 case SystemCallNrI386::UNSHARE: return clues::SystemCallNr::UNSHARE;
332 case SystemCallNrI386::SET_ROBUST_LIST: return clues::SystemCallNr::SET_ROBUST_LIST;
333 case SystemCallNrI386::GET_ROBUST_LIST: return clues::SystemCallNr::GET_ROBUST_LIST;
334 case SystemCallNrI386::SPLICE: return clues::SystemCallNr::SPLICE;
335 case SystemCallNrI386::SYNC_FILE_RANGE: return clues::SystemCallNr::SYNC_FILE_RANGE;
336 case SystemCallNrI386::TEE: return clues::SystemCallNr::TEE;
337 case SystemCallNrI386::VMSPLICE: return clues::SystemCallNr::VMSPLICE;
338 case SystemCallNrI386::MOVE_PAGES: return clues::SystemCallNr::MOVE_PAGES;
339 case SystemCallNrI386::GETCPU: return clues::SystemCallNr::GETCPU;
340 case SystemCallNrI386::EPOLL_PWAIT: return clues::SystemCallNr::EPOLL_PWAIT;
341 case SystemCallNrI386::UTIMENSAT: return clues::SystemCallNr::UTIMENSAT;
342 case SystemCallNrI386::SIGNALFD: return clues::SystemCallNr::SIGNALFD;
343 case SystemCallNrI386::TIMERFD_CREATE: return clues::SystemCallNr::TIMERFD_CREATE;
344 case SystemCallNrI386::EVENTFD: return clues::SystemCallNr::EVENTFD;
345 case SystemCallNrI386::FALLOCATE: return clues::SystemCallNr::FALLOCATE;
346 case SystemCallNrI386::TIMERFD_SETTIME: return clues::SystemCallNr::TIMERFD_SETTIME;
347 case SystemCallNrI386::TIMERFD_GETTIME: return clues::SystemCallNr::TIMERFD_GETTIME;
348 case SystemCallNrI386::SIGNALFD4: return clues::SystemCallNr::SIGNALFD4;
349 case SystemCallNrI386::EVENTFD2: return clues::SystemCallNr::EVENTFD2;
350 case SystemCallNrI386::EPOLL_CREATE1: return clues::SystemCallNr::EPOLL_CREATE1;
351 case SystemCallNrI386::DUP3: return clues::SystemCallNr::DUP3;
352 case SystemCallNrI386::PIPE2: return clues::SystemCallNr::PIPE2;
353 case SystemCallNrI386::INOTIFY_INIT1: return clues::SystemCallNr::INOTIFY_INIT1;
354 case SystemCallNrI386::PREADV: return clues::SystemCallNr::PREADV;
355 case SystemCallNrI386::PWRITEV: return clues::SystemCallNr::PWRITEV;
356 case SystemCallNrI386::RT_TGSIGQUEUEINFO: return clues::SystemCallNr::RT_TGSIGQUEUEINFO;
357 case SystemCallNrI386::PERF_EVENT_OPEN: return clues::SystemCallNr::PERF_EVENT_OPEN;
358 case SystemCallNrI386::RECVMMSG: return clues::SystemCallNr::RECVMMSG;
359 case SystemCallNrI386::FANOTIFY_INIT: return clues::SystemCallNr::FANOTIFY_INIT;
360 case SystemCallNrI386::FANOTIFY_MARK: return clues::SystemCallNr::FANOTIFY_MARK;
361 case SystemCallNrI386::PRLIMIT64: return clues::SystemCallNr::PRLIMIT64;
362 case SystemCallNrI386::NAME_TO_HANDLE_AT: return clues::SystemCallNr::NAME_TO_HANDLE_AT;
363 case SystemCallNrI386::OPEN_BY_HANDLE_AT: return clues::SystemCallNr::OPEN_BY_HANDLE_AT;
364 case SystemCallNrI386::CLOCK_ADJTIME: return clues::SystemCallNr::CLOCK_ADJTIME;
365 case SystemCallNrI386::SYNCFS: return clues::SystemCallNr::SYNCFS;
366 case SystemCallNrI386::SENDMMSG: return clues::SystemCallNr::SENDMMSG;
367 case SystemCallNrI386::SETNS: return clues::SystemCallNr::SETNS;
368 case SystemCallNrI386::PROCESS_VM_READV: return clues::SystemCallNr::PROCESS_VM_READV;
369 case SystemCallNrI386::PROCESS_VM_WRITEV: return clues::SystemCallNr::PROCESS_VM_WRITEV;
370 case SystemCallNrI386::KCMP: return clues::SystemCallNr::KCMP;
371 case SystemCallNrI386::FINIT_MODULE: return clues::SystemCallNr::FINIT_MODULE;
372 case SystemCallNrI386::SCHED_SETATTR: return clues::SystemCallNr::SCHED_SETATTR;
373 case SystemCallNrI386::SCHED_GETATTR: return clues::SystemCallNr::SCHED_GETATTR;
374 case SystemCallNrI386::RENAMEAT2: return clues::SystemCallNr::RENAMEAT2;
375 case SystemCallNrI386::SECCOMP: return clues::SystemCallNr::SECCOMP;
376 case SystemCallNrI386::GETRANDOM: return clues::SystemCallNr::GETRANDOM;
377 case SystemCallNrI386::MEMFD_CREATE: return clues::SystemCallNr::MEMFD_CREATE;
378 case SystemCallNrI386::BPF: return clues::SystemCallNr::BPF;
379 case SystemCallNrI386::EXECVEAT: return clues::SystemCallNr::EXECVEAT;
380 case SystemCallNrI386::SOCKET: return clues::SystemCallNr::SOCKET;
381 case SystemCallNrI386::SOCKETPAIR: return clues::SystemCallNr::SOCKETPAIR;
382 case SystemCallNrI386::BIND: return clues::SystemCallNr::BIND;
383 case SystemCallNrI386::CONNECT: return clues::SystemCallNr::CONNECT;
384 case SystemCallNrI386::LISTEN: return clues::SystemCallNr::LISTEN;
385 case SystemCallNrI386::ACCEPT4: return clues::SystemCallNr::ACCEPT4;
386 case SystemCallNrI386::GETSOCKOPT: return clues::SystemCallNr::GETSOCKOPT;
387 case SystemCallNrI386::SETSOCKOPT: return clues::SystemCallNr::SETSOCKOPT;
388 case SystemCallNrI386::GETSOCKNAME: return clues::SystemCallNr::GETSOCKNAME;
389 case SystemCallNrI386::GETPEERNAME: return clues::SystemCallNr::GETPEERNAME;
390 case SystemCallNrI386::SENDTO: return clues::SystemCallNr::SENDTO;
391 case SystemCallNrI386::SENDMSG: return clues::SystemCallNr::SENDMSG;
392 case SystemCallNrI386::RECVFROM: return clues::SystemCallNr::RECVFROM;
393 case SystemCallNrI386::RECVMSG: return clues::SystemCallNr::RECVMSG;
394 case SystemCallNrI386::SHUTDOWN: return clues::SystemCallNr::SHUTDOWN;
395 case SystemCallNrI386::USERFAULTFD: return clues::SystemCallNr::USERFAULTFD;
396 case SystemCallNrI386::MEMBARRIER: return clues::SystemCallNr::MEMBARRIER;
397 case SystemCallNrI386::MLOCK2: return clues::SystemCallNr::MLOCK2;
398 case SystemCallNrI386::COPY_FILE_RANGE: return clues::SystemCallNr::COPY_FILE_RANGE;
399 case SystemCallNrI386::PREADV2: return clues::SystemCallNr::PREADV2;
400 case SystemCallNrI386::PWRITEV2: return clues::SystemCallNr::PWRITEV2;
401 case SystemCallNrI386::PKEY_MPROTECT: return clues::SystemCallNr::PKEY_MPROTECT;
402 case SystemCallNrI386::PKEY_ALLOC: return clues::SystemCallNr::PKEY_ALLOC;
403 case SystemCallNrI386::PKEY_FREE: return clues::SystemCallNr::PKEY_FREE;
404 case SystemCallNrI386::STATX: return clues::SystemCallNr::STATX;
405 case SystemCallNrI386::ARCH_PRCTL: return clues::SystemCallNr::ARCH_PRCTL;
406 case SystemCallNrI386::IO_PGETEVENTS: return clues::SystemCallNr::IO_PGETEVENTS;
407 case SystemCallNrI386::RSEQ: return clues::SystemCallNr::RSEQ;
408 case SystemCallNrI386::SEMGET: return clues::SystemCallNr::SEMGET;
409 case SystemCallNrI386::SEMCTL: return clues::SystemCallNr::SEMCTL;
410 case SystemCallNrI386::SHMGET: return clues::SystemCallNr::SHMGET;
411 case SystemCallNrI386::SHMCTL: return clues::SystemCallNr::SHMCTL;
412 case SystemCallNrI386::SHMAT: return clues::SystemCallNr::SHMAT;
413 case SystemCallNrI386::SHMDT: return clues::SystemCallNr::SHMDT;
414 case SystemCallNrI386::MSGGET: return clues::SystemCallNr::MSGGET;
415 case SystemCallNrI386::MSGSND: return clues::SystemCallNr::MSGSND;
416 case SystemCallNrI386::MSGRCV: return clues::SystemCallNr::MSGRCV;
417 case SystemCallNrI386::MSGCTL: return clues::SystemCallNr::MSGCTL;
418 case SystemCallNrI386::CLOCK_GETTIME64: return clues::SystemCallNr::CLOCK_GETTIME64;
419 case SystemCallNrI386::CLOCK_SETTIME64: return clues::SystemCallNr::CLOCK_SETTIME64;
420 case SystemCallNrI386::CLOCK_ADJTIME64: return clues::SystemCallNr::CLOCK_ADJTIME64;
421 case SystemCallNrI386::CLOCK_GETRES_TIME64: return clues::SystemCallNr::CLOCK_GETRES_TIME64;
422 case SystemCallNrI386::CLOCK_NANOSLEEP_TIME64: return clues::SystemCallNr::CLOCK_NANOSLEEP_TIME64;
423 case SystemCallNrI386::TIMER_GETTIME64: return clues::SystemCallNr::TIMER_GETTIME64;
424 case SystemCallNrI386::TIMER_SETTIME64: return clues::SystemCallNr::TIMER_SETTIME64;
425 case SystemCallNrI386::TIMERFD_GETTIME64: return clues::SystemCallNr::TIMERFD_GETTIME64;
426 case SystemCallNrI386::TIMERFD_SETTIME64: return clues::SystemCallNr::TIMERFD_SETTIME64;
427 case SystemCallNrI386::UTIMENSAT_TIME64: return clues::SystemCallNr::UTIMENSAT_TIME64;
428 case SystemCallNrI386::PSELECT6_TIME64: return clues::SystemCallNr::PSELECT6_TIME64;
429 case SystemCallNrI386::PPOLL_TIME64: return clues::SystemCallNr::PPOLL_TIME64;
430 case SystemCallNrI386::IO_PGETEVENTS_TIME64: return clues::SystemCallNr::IO_PGETEVENTS_TIME64;
431 case SystemCallNrI386::RECVMMSG_TIME64: return clues::SystemCallNr::RECVMMSG_TIME64;
432 case SystemCallNrI386::MQ_TIMEDSEND_TIME64: return clues::SystemCallNr::MQ_TIMEDSEND_TIME64;
433 case SystemCallNrI386::MQ_TIMEDRECEIVE_TIME64: return clues::SystemCallNr::MQ_TIMEDRECEIVE_TIME64;
434 case SystemCallNrI386::SEMTIMEDOP_TIME64: return clues::SystemCallNr::SEMTIMEDOP_TIME64;
435 case SystemCallNrI386::RT_SIGTIMEDWAIT_TIME64: return clues::SystemCallNr::RT_SIGTIMEDWAIT_TIME64;
436 case SystemCallNrI386::FUTEX_TIME64: return clues::SystemCallNr::FUTEX_TIME64;
437 case SystemCallNrI386::SCHED_RR_GET_INTERVAL_TIME64: return clues::SystemCallNr::SCHED_RR_GET_INTERVAL_TIME64;
438 case SystemCallNrI386::PIDFD_SEND_SIGNAL: return clues::SystemCallNr::PIDFD_SEND_SIGNAL;
439 case SystemCallNrI386::IO_URING_SETUP: return clues::SystemCallNr::IO_URING_SETUP;
440 case SystemCallNrI386::IO_URING_ENTER: return clues::SystemCallNr::IO_URING_ENTER;
441 case SystemCallNrI386::IO_URING_REGISTER: return clues::SystemCallNr::IO_URING_REGISTER;
442 case SystemCallNrI386::OPEN_TREE: return clues::SystemCallNr::OPEN_TREE;
443 case SystemCallNrI386::MOVE_MOUNT: return clues::SystemCallNr::MOVE_MOUNT;
444 case SystemCallNrI386::FSOPEN: return clues::SystemCallNr::FSOPEN;
445 case SystemCallNrI386::FSCONFIG: return clues::SystemCallNr::FSCONFIG;
446 case SystemCallNrI386::FSMOUNT: return clues::SystemCallNr::FSMOUNT;
447 case SystemCallNrI386::FSPICK: return clues::SystemCallNr::FSPICK;
448 case SystemCallNrI386::PIDFD_OPEN: return clues::SystemCallNr::PIDFD_OPEN;
449 case SystemCallNrI386::CLONE3: return clues::SystemCallNr::CLONE3;
450 case SystemCallNrI386::CLOSE_RANGE: return clues::SystemCallNr::CLOSE_RANGE;
451 case SystemCallNrI386::OPENAT2: return clues::SystemCallNr::OPENAT2;
452 case SystemCallNrI386::PIDFD_GETFD: return clues::SystemCallNr::PIDFD_GETFD;
453 case SystemCallNrI386::FACCESSAT2: return clues::SystemCallNr::FACCESSAT2;
454 case SystemCallNrI386::PROCESS_MADVISE: return clues::SystemCallNr::PROCESS_MADVISE;
455 case SystemCallNrI386::EPOLL_PWAIT2: return clues::SystemCallNr::EPOLL_PWAIT2;
456 case SystemCallNrI386::MOUNT_SETATTR: return clues::SystemCallNr::MOUNT_SETATTR;
457 case SystemCallNrI386::QUOTACTL_FD: return clues::SystemCallNr::QUOTACTL_FD;
458 case SystemCallNrI386::LANDLOCK_CREATE_RULESET: return clues::SystemCallNr::LANDLOCK_CREATE_RULESET;
459 case SystemCallNrI386::LANDLOCK_ADD_RULE: return clues::SystemCallNr::LANDLOCK_ADD_RULE;
460 case SystemCallNrI386::LANDLOCK_RESTRICT_SELF: return clues::SystemCallNr::LANDLOCK_RESTRICT_SELF;
461 case SystemCallNrI386::MEMFD_SECRET: return clues::SystemCallNr::MEMFD_SECRET;
462 case SystemCallNrI386::PROCESS_MRELEASE: return clues::SystemCallNr::PROCESS_MRELEASE;
463 case SystemCallNrI386::FUTEX_WAITV: return clues::SystemCallNr::FUTEX_WAITV;
464 case SystemCallNrI386::SET_MEMPOLICY_HOME_NODE: return clues::SystemCallNr::SET_MEMPOLICY_HOME_NODE;
465 case SystemCallNrI386::CACHESTAT: return clues::SystemCallNr::CACHESTAT;
466 case SystemCallNrI386::FCHMODAT2: return clues::SystemCallNr::FCHMODAT2;
467 case SystemCallNrI386::MAP_SHADOW_STACK: return clues::SystemCallNr::MAP_SHADOW_STACK;
468 case SystemCallNrI386::_FUTEX_WAKE: return clues::SystemCallNr::_FUTEX_WAKE;
469 case SystemCallNrI386::_FUTEX_WAIT: return clues::SystemCallNr::_FUTEX_WAIT;
470 case SystemCallNrI386::_FUTEX_REQUEUE: return clues::SystemCallNr::_FUTEX_REQUEUE;
471 case SystemCallNrI386::STATMOUNT: return clues::SystemCallNr::STATMOUNT;
472 case SystemCallNrI386::LISTMOUNT: return clues::SystemCallNr::LISTMOUNT;
473 case SystemCallNrI386::LSM_GET_SELF_ATTR: return clues::SystemCallNr::LSM_GET_SELF_ATTR;
474 case SystemCallNrI386::LSM_SET_SELF_ATTR: return clues::SystemCallNr::LSM_SET_SELF_ATTR;
475 case SystemCallNrI386::LSM_LIST_MODULES: return clues::SystemCallNr::LSM_LIST_MODULES;
476 case SystemCallNrI386::MSEAL: return clues::SystemCallNr::MSEAL;
477 case SystemCallNrI386::SETXATTRAT: return clues::SystemCallNr::SETXATTRAT;
478 case SystemCallNrI386::GETXATTRAT: return clues::SystemCallNr::GETXATTRAT;
479 case SystemCallNrI386::LISTXATTRAT: return clues::SystemCallNr::LISTXATTRAT;
480 case SystemCallNrI386::REMOVEXATTRAT: return clues::SystemCallNr::REMOVEXATTRAT;
481 case SystemCallNrI386::OPEN_TREE_ATTR: return clues::SystemCallNr::OPEN_TREE_ATTR;
482 case SystemCallNrI386::FILE_GETATTR: return clues::SystemCallNr::FILE_GETATTR;
483 case SystemCallNrI386::FILE_SETATTR: return clues::SystemCallNr::FILE_SETATTR;
484 }
485}

◆ to_generic() [3/4]

CLUES_API clues::SystemCallNr clues::to_generic ( const SystemCallNrX32 nr)

Convert the native system call nr. into its generic representation.

If there is no generic representation (e.g. because the nr is invalid then SystemCallNr::UNKNOWN is returned.

Definition at line 21 of file x32.cxx.

21 {
22
23 switch (nr) {
24 default: return SystemCallNr::UNKNOWN;
25 case SystemCallNrX32::READ: return clues::SystemCallNr::READ;
26 case SystemCallNrX32::WRITE: return clues::SystemCallNr::WRITE;
27 case SystemCallNrX32::OPEN: return clues::SystemCallNr::OPEN;
28 case SystemCallNrX32::CLOSE: return clues::SystemCallNr::CLOSE;
29 case SystemCallNrX32::STAT: return clues::SystemCallNr::STAT;
30 case SystemCallNrX32::FSTAT: return clues::SystemCallNr::FSTAT;
31 case SystemCallNrX32::LSTAT: return clues::SystemCallNr::LSTAT;
32 case SystemCallNrX32::POLL: return clues::SystemCallNr::POLL;
33 case SystemCallNrX32::LSEEK: return clues::SystemCallNr::LSEEK;
34 case SystemCallNrX32::MMAP: return clues::SystemCallNr::MMAP;
35 case SystemCallNrX32::MPROTECT: return clues::SystemCallNr::MPROTECT;
36 case SystemCallNrX32::MUNMAP: return clues::SystemCallNr::MUNMAP;
37 case SystemCallNrX32::BRK: return clues::SystemCallNr::BRK;
38 case SystemCallNrX32::RT_SIGPROCMASK: return clues::SystemCallNr::RT_SIGPROCMASK;
39 case SystemCallNrX32::PREAD64: return clues::SystemCallNr::PREAD64;
40 case SystemCallNrX32::PWRITE64: return clues::SystemCallNr::PWRITE64;
41 case SystemCallNrX32::ACCESS: return clues::SystemCallNr::ACCESS;
42 case SystemCallNrX32::PIPE: return clues::SystemCallNr::PIPE;
43 case SystemCallNrX32::SELECT: return clues::SystemCallNr::SELECT;
44 case SystemCallNrX32::SCHED_YIELD: return clues::SystemCallNr::SCHED_YIELD;
45 case SystemCallNrX32::MREMAP: return clues::SystemCallNr::MREMAP;
46 case SystemCallNrX32::MSYNC: return clues::SystemCallNr::MSYNC;
47 case SystemCallNrX32::MINCORE: return clues::SystemCallNr::MINCORE;
48 case SystemCallNrX32::MADVISE: return clues::SystemCallNr::MADVISE;
49 case SystemCallNrX32::SHMGET: return clues::SystemCallNr::SHMGET;
50 case SystemCallNrX32::SHMAT: return clues::SystemCallNr::SHMAT;
51 case SystemCallNrX32::SHMCTL: return clues::SystemCallNr::SHMCTL;
52 case SystemCallNrX32::DUP: return clues::SystemCallNr::DUP;
53 case SystemCallNrX32::DUP2: return clues::SystemCallNr::DUP2;
54 case SystemCallNrX32::PAUSE: return clues::SystemCallNr::PAUSE;
55 case SystemCallNrX32::NANOSLEEP: return clues::SystemCallNr::NANOSLEEP;
56 case SystemCallNrX32::GETITIMER: return clues::SystemCallNr::GETITIMER;
57 case SystemCallNrX32::ALARM: return clues::SystemCallNr::ALARM;
58 case SystemCallNrX32::SETITIMER: return clues::SystemCallNr::SETITIMER;
59 case SystemCallNrX32::GETPID: return clues::SystemCallNr::GETPID;
60 case SystemCallNrX32::SENDFILE: return clues::SystemCallNr::SENDFILE;
61 case SystemCallNrX32::SOCKET: return clues::SystemCallNr::SOCKET;
62 case SystemCallNrX32::CONNECT: return clues::SystemCallNr::CONNECT;
63 case SystemCallNrX32::ACCEPT: return clues::SystemCallNr::ACCEPT;
64 case SystemCallNrX32::SENDTO: return clues::SystemCallNr::SENDTO;
65 case SystemCallNrX32::SHUTDOWN: return clues::SystemCallNr::SHUTDOWN;
66 case SystemCallNrX32::BIND: return clues::SystemCallNr::BIND;
67 case SystemCallNrX32::LISTEN: return clues::SystemCallNr::LISTEN;
68 case SystemCallNrX32::GETSOCKNAME: return clues::SystemCallNr::GETSOCKNAME;
69 case SystemCallNrX32::GETPEERNAME: return clues::SystemCallNr::GETPEERNAME;
70 case SystemCallNrX32::SOCKETPAIR: return clues::SystemCallNr::SOCKETPAIR;
71 case SystemCallNrX32::CLONE: return clues::SystemCallNr::CLONE;
72 case SystemCallNrX32::FORK: return clues::SystemCallNr::FORK;
73 case SystemCallNrX32::VFORK: return clues::SystemCallNr::VFORK;
74 case SystemCallNrX32::EXIT: return clues::SystemCallNr::EXIT;
75 case SystemCallNrX32::WAIT4: return clues::SystemCallNr::WAIT4;
76 case SystemCallNrX32::KILL: return clues::SystemCallNr::KILL;
77 case SystemCallNrX32::UNAME: return clues::SystemCallNr::UNAME;
78 case SystemCallNrX32::SEMGET: return clues::SystemCallNr::SEMGET;
79 case SystemCallNrX32::SEMOP: return clues::SystemCallNr::SEMOP;
80 case SystemCallNrX32::SEMCTL: return clues::SystemCallNr::SEMCTL;
81 case SystemCallNrX32::SHMDT: return clues::SystemCallNr::SHMDT;
82 case SystemCallNrX32::MSGGET: return clues::SystemCallNr::MSGGET;
83 case SystemCallNrX32::MSGSND: return clues::SystemCallNr::MSGSND;
84 case SystemCallNrX32::MSGRCV: return clues::SystemCallNr::MSGRCV;
85 case SystemCallNrX32::MSGCTL: return clues::SystemCallNr::MSGCTL;
86 case SystemCallNrX32::FCNTL: return clues::SystemCallNr::FCNTL;
87 case SystemCallNrX32::FLOCK: return clues::SystemCallNr::FLOCK;
88 case SystemCallNrX32::FSYNC: return clues::SystemCallNr::FSYNC;
89 case SystemCallNrX32::FDATASYNC: return clues::SystemCallNr::FDATASYNC;
90 case SystemCallNrX32::TRUNCATE: return clues::SystemCallNr::TRUNCATE;
91 case SystemCallNrX32::FTRUNCATE: return clues::SystemCallNr::FTRUNCATE;
92 case SystemCallNrX32::GETDENTS: return clues::SystemCallNr::GETDENTS;
93 case SystemCallNrX32::GETCWD: return clues::SystemCallNr::GETCWD;
94 case SystemCallNrX32::CHDIR: return clues::SystemCallNr::CHDIR;
95 case SystemCallNrX32::FCHDIR: return clues::SystemCallNr::FCHDIR;
96 case SystemCallNrX32::RENAME: return clues::SystemCallNr::RENAME;
97 case SystemCallNrX32::MKDIR: return clues::SystemCallNr::MKDIR;
98 case SystemCallNrX32::RMDIR: return clues::SystemCallNr::RMDIR;
99 case SystemCallNrX32::CREAT: return clues::SystemCallNr::CREAT;
100 case SystemCallNrX32::LINK: return clues::SystemCallNr::LINK;
101 case SystemCallNrX32::UNLINK: return clues::SystemCallNr::UNLINK;
102 case SystemCallNrX32::SYMLINK: return clues::SystemCallNr::SYMLINK;
103 case SystemCallNrX32::READLINK: return clues::SystemCallNr::READLINK;
104 case SystemCallNrX32::CHMOD: return clues::SystemCallNr::CHMOD;
105 case SystemCallNrX32::FCHMOD: return clues::SystemCallNr::FCHMOD;
106 case SystemCallNrX32::CHOWN: return clues::SystemCallNr::CHOWN;
107 case SystemCallNrX32::FCHOWN: return clues::SystemCallNr::FCHOWN;
108 case SystemCallNrX32::LCHOWN: return clues::SystemCallNr::LCHOWN;
109 case SystemCallNrX32::UMASK: return clues::SystemCallNr::UMASK;
110 case SystemCallNrX32::GETTIMEOFDAY: return clues::SystemCallNr::GETTIMEOFDAY;
111 case SystemCallNrX32::GETRLIMIT: return clues::SystemCallNr::GETRLIMIT;
112 case SystemCallNrX32::GETRUSAGE: return clues::SystemCallNr::GETRUSAGE;
113 case SystemCallNrX32::SYSINFO: return clues::SystemCallNr::SYSINFO;
114 case SystemCallNrX32::TIMES: return clues::SystemCallNr::TIMES;
115 case SystemCallNrX32::GETUID: return clues::SystemCallNr::GETUID;
116 case SystemCallNrX32::SYSLOG: return clues::SystemCallNr::SYSLOG;
117 case SystemCallNrX32::GETGID: return clues::SystemCallNr::GETGID;
118 case SystemCallNrX32::SETUID: return clues::SystemCallNr::SETUID;
119 case SystemCallNrX32::SETGID: return clues::SystemCallNr::SETGID;
120 case SystemCallNrX32::GETEUID: return clues::SystemCallNr::GETEUID;
121 case SystemCallNrX32::GETEGID: return clues::SystemCallNr::GETEGID;
122 case SystemCallNrX32::SETPGID: return clues::SystemCallNr::SETPGID;
123 case SystemCallNrX32::GETPPID: return clues::SystemCallNr::GETPPID;
124 case SystemCallNrX32::GETPGRP: return clues::SystemCallNr::GETPGRP;
125 case SystemCallNrX32::SETSID: return clues::SystemCallNr::SETSID;
126 case SystemCallNrX32::SETREUID: return clues::SystemCallNr::SETREUID;
127 case SystemCallNrX32::SETREGID: return clues::SystemCallNr::SETREGID;
128 case SystemCallNrX32::GETGROUPS: return clues::SystemCallNr::GETGROUPS;
129 case SystemCallNrX32::SETGROUPS: return clues::SystemCallNr::SETGROUPS;
130 case SystemCallNrX32::SETRESUID: return clues::SystemCallNr::SETRESUID;
131 case SystemCallNrX32::GETRESUID: return clues::SystemCallNr::GETRESUID;
132 case SystemCallNrX32::SETRESGID: return clues::SystemCallNr::SETRESGID;
133 case SystemCallNrX32::GETRESGID: return clues::SystemCallNr::GETRESGID;
134 case SystemCallNrX32::GETPGID: return clues::SystemCallNr::GETPGID;
135 case SystemCallNrX32::SETFSUID: return clues::SystemCallNr::SETFSUID;
136 case SystemCallNrX32::SETFSGID: return clues::SystemCallNr::SETFSGID;
137 case SystemCallNrX32::GETSID: return clues::SystemCallNr::GETSID;
138 case SystemCallNrX32::CAPGET: return clues::SystemCallNr::CAPGET;
139 case SystemCallNrX32::CAPSET: return clues::SystemCallNr::CAPSET;
140 case SystemCallNrX32::RT_SIGSUSPEND: return clues::SystemCallNr::RT_SIGSUSPEND;
141 case SystemCallNrX32::UTIME: return clues::SystemCallNr::UTIME;
142 case SystemCallNrX32::MKNOD: return clues::SystemCallNr::MKNOD;
143 case SystemCallNrX32::PERSONALITY: return clues::SystemCallNr::PERSONALITY;
144 case SystemCallNrX32::USTAT: return clues::SystemCallNr::USTAT;
145 case SystemCallNrX32::STATFS: return clues::SystemCallNr::STATFS;
146 case SystemCallNrX32::FSTATFS: return clues::SystemCallNr::FSTATFS;
147 case SystemCallNrX32::SYSFS: return clues::SystemCallNr::SYSFS;
148 case SystemCallNrX32::GETPRIORITY: return clues::SystemCallNr::GETPRIORITY;
149 case SystemCallNrX32::SETPRIORITY: return clues::SystemCallNr::SETPRIORITY;
150 case SystemCallNrX32::SCHED_SETPARAM: return clues::SystemCallNr::SCHED_SETPARAM;
151 case SystemCallNrX32::SCHED_GETPARAM: return clues::SystemCallNr::SCHED_GETPARAM;
152 case SystemCallNrX32::SCHED_SETSCHEDULER: return clues::SystemCallNr::SCHED_SETSCHEDULER;
153 case SystemCallNrX32::SCHED_GETSCHEDULER: return clues::SystemCallNr::SCHED_GETSCHEDULER;
154 case SystemCallNrX32::SCHED_GET_PRIORITY_MAX: return clues::SystemCallNr::SCHED_GET_PRIORITY_MAX;
155 case SystemCallNrX32::SCHED_GET_PRIORITY_MIN: return clues::SystemCallNr::SCHED_GET_PRIORITY_MIN;
156 case SystemCallNrX32::SCHED_RR_GET_INTERVAL: return clues::SystemCallNr::SCHED_RR_GET_INTERVAL;
157 case SystemCallNrX32::MLOCK: return clues::SystemCallNr::MLOCK;
158 case SystemCallNrX32::MUNLOCK: return clues::SystemCallNr::MUNLOCK;
159 case SystemCallNrX32::MLOCKALL: return clues::SystemCallNr::MLOCKALL;
160 case SystemCallNrX32::MUNLOCKALL: return clues::SystemCallNr::MUNLOCKALL;
161 case SystemCallNrX32::VHANGUP: return clues::SystemCallNr::VHANGUP;
162 case SystemCallNrX32::MODIFY_LDT: return clues::SystemCallNr::MODIFY_LDT;
163 case SystemCallNrX32::PIVOT_ROOT: return clues::SystemCallNr::PIVOT_ROOT;
164 case SystemCallNrX32::PRCTL: return clues::SystemCallNr::PRCTL;
165 case SystemCallNrX32::ARCH_PRCTL: return clues::SystemCallNr::ARCH_PRCTL;
166 case SystemCallNrX32::ADJTIMEX: return clues::SystemCallNr::ADJTIMEX;
167 case SystemCallNrX32::SETRLIMIT: return clues::SystemCallNr::SETRLIMIT;
168 case SystemCallNrX32::CHROOT: return clues::SystemCallNr::CHROOT;
169 case SystemCallNrX32::SYNC: return clues::SystemCallNr::SYNC;
170 case SystemCallNrX32::ACCT: return clues::SystemCallNr::ACCT;
171 case SystemCallNrX32::SETTIMEOFDAY: return clues::SystemCallNr::SETTIMEOFDAY;
172 case SystemCallNrX32::MOUNT: return clues::SystemCallNr::MOUNT;
173 case SystemCallNrX32::UMOUNT2: return clues::SystemCallNr::UMOUNT2;
174 case SystemCallNrX32::SWAPON: return clues::SystemCallNr::SWAPON;
175 case SystemCallNrX32::SWAPOFF: return clues::SystemCallNr::SWAPOFF;
176 case SystemCallNrX32::REBOOT: return clues::SystemCallNr::REBOOT;
177 case SystemCallNrX32::SETHOSTNAME: return clues::SystemCallNr::SETHOSTNAME;
178 case SystemCallNrX32::SETDOMAINNAME: return clues::SystemCallNr::SETDOMAINNAME;
179 case SystemCallNrX32::IOPL: return clues::SystemCallNr::IOPL;
180 case SystemCallNrX32::IOPERM: return clues::SystemCallNr::IOPERM;
181 case SystemCallNrX32::INIT_MODULE: return clues::SystemCallNr::INIT_MODULE;
182 case SystemCallNrX32::DELETE_MODULE: return clues::SystemCallNr::DELETE_MODULE;
183 case SystemCallNrX32::QUOTACTL: return clues::SystemCallNr::QUOTACTL;
184 case SystemCallNrX32::GETPMSG: return clues::SystemCallNr::GETPMSG;
185 case SystemCallNrX32::PUTPMSG: return clues::SystemCallNr::PUTPMSG;
186 case SystemCallNrX32::AFS_SYSCALL: return clues::SystemCallNr::AFS_SYSCALL;
187 case SystemCallNrX32::TUXCALL: return clues::SystemCallNr::TUXCALL;
188 case SystemCallNrX32::SECURITY: return clues::SystemCallNr::SECURITY;
189 case SystemCallNrX32::GETTID: return clues::SystemCallNr::GETTID;
190 case SystemCallNrX32::READAHEAD: return clues::SystemCallNr::READAHEAD;
191 case SystemCallNrX32::SETXATTR: return clues::SystemCallNr::SETXATTR;
192 case SystemCallNrX32::LSETXATTR: return clues::SystemCallNr::LSETXATTR;
193 case SystemCallNrX32::FSETXATTR: return clues::SystemCallNr::FSETXATTR;
194 case SystemCallNrX32::GETXATTR: return clues::SystemCallNr::GETXATTR;
195 case SystemCallNrX32::LGETXATTR: return clues::SystemCallNr::LGETXATTR;
196 case SystemCallNrX32::FGETXATTR: return clues::SystemCallNr::FGETXATTR;
197 case SystemCallNrX32::LISTXATTR: return clues::SystemCallNr::LISTXATTR;
198 case SystemCallNrX32::LLISTXATTR: return clues::SystemCallNr::LLISTXATTR;
199 case SystemCallNrX32::FLISTXATTR: return clues::SystemCallNr::FLISTXATTR;
200 case SystemCallNrX32::REMOVEXATTR: return clues::SystemCallNr::REMOVEXATTR;
201 case SystemCallNrX32::LREMOVEXATTR: return clues::SystemCallNr::LREMOVEXATTR;
202 case SystemCallNrX32::FREMOVEXATTR: return clues::SystemCallNr::FREMOVEXATTR;
203 case SystemCallNrX32::TKILL: return clues::SystemCallNr::TKILL;
204 case SystemCallNrX32::TIME: return clues::SystemCallNr::TIME;
205 case SystemCallNrX32::FUTEX: return clues::SystemCallNr::FUTEX;
206 case SystemCallNrX32::SCHED_SETAFFINITY: return clues::SystemCallNr::SCHED_SETAFFINITY;
207 case SystemCallNrX32::SCHED_GETAFFINITY: return clues::SystemCallNr::SCHED_GETAFFINITY;
208 case SystemCallNrX32::IO_DESTROY: return clues::SystemCallNr::IO_DESTROY;
209 case SystemCallNrX32::IO_GETEVENTS: return clues::SystemCallNr::IO_GETEVENTS;
210 case SystemCallNrX32::IO_CANCEL: return clues::SystemCallNr::IO_CANCEL;
211 case SystemCallNrX32::LOOKUP_DCOOKIE: return clues::SystemCallNr::LOOKUP_DCOOKIE;
212 case SystemCallNrX32::EPOLL_CREATE: return clues::SystemCallNr::EPOLL_CREATE;
213 case SystemCallNrX32::REMAP_FILE_PAGES: return clues::SystemCallNr::REMAP_FILE_PAGES;
214 case SystemCallNrX32::GETDENTS64: return clues::SystemCallNr::GETDENTS64;
215 case SystemCallNrX32::SET_TID_ADDRESS: return clues::SystemCallNr::SET_TID_ADDRESS;
216 case SystemCallNrX32::RESTART_SYSCALL: return clues::SystemCallNr::RESTART_SYSCALL;
217 case SystemCallNrX32::SEMTIMEDOP: return clues::SystemCallNr::SEMTIMEDOP;
218 case SystemCallNrX32::FADVISE64: return clues::SystemCallNr::FADVISE64;
219 case SystemCallNrX32::TIMER_SETTIME: return clues::SystemCallNr::TIMER_SETTIME;
220 case SystemCallNrX32::TIMER_GETTIME: return clues::SystemCallNr::TIMER_GETTIME;
221 case SystemCallNrX32::TIMER_GETOVERRUN: return clues::SystemCallNr::TIMER_GETOVERRUN;
222 case SystemCallNrX32::TIMER_DELETE: return clues::SystemCallNr::TIMER_DELETE;
223 case SystemCallNrX32::CLOCK_SETTIME: return clues::SystemCallNr::CLOCK_SETTIME;
224 case SystemCallNrX32::CLOCK_GETTIME: return clues::SystemCallNr::CLOCK_GETTIME;
225 case SystemCallNrX32::CLOCK_GETRES: return clues::SystemCallNr::CLOCK_GETRES;
226 case SystemCallNrX32::CLOCK_NANOSLEEP: return clues::SystemCallNr::CLOCK_NANOSLEEP;
227 case SystemCallNrX32::EXIT_GROUP: return clues::SystemCallNr::EXIT_GROUP;
228 case SystemCallNrX32::EPOLL_WAIT: return clues::SystemCallNr::EPOLL_WAIT;
229 case SystemCallNrX32::EPOLL_CTL: return clues::SystemCallNr::EPOLL_CTL;
230 case SystemCallNrX32::TGKILL: return clues::SystemCallNr::TGKILL;
231 case SystemCallNrX32::UTIMES: return clues::SystemCallNr::UTIMES;
232 case SystemCallNrX32::MBIND: return clues::SystemCallNr::MBIND;
233 case SystemCallNrX32::SET_MEMPOLICY: return clues::SystemCallNr::SET_MEMPOLICY;
234 case SystemCallNrX32::GET_MEMPOLICY: return clues::SystemCallNr::GET_MEMPOLICY;
235 case SystemCallNrX32::MQ_OPEN: return clues::SystemCallNr::MQ_OPEN;
236 case SystemCallNrX32::MQ_UNLINK: return clues::SystemCallNr::MQ_UNLINK;
237 case SystemCallNrX32::MQ_TIMEDSEND: return clues::SystemCallNr::MQ_TIMEDSEND;
238 case SystemCallNrX32::MQ_TIMEDRECEIVE: return clues::SystemCallNr::MQ_TIMEDRECEIVE;
239 case SystemCallNrX32::MQ_GETSETATTR: return clues::SystemCallNr::MQ_GETSETATTR;
240 case SystemCallNrX32::ADD_KEY: return clues::SystemCallNr::ADD_KEY;
241 case SystemCallNrX32::REQUEST_KEY: return clues::SystemCallNr::REQUEST_KEY;
242 case SystemCallNrX32::KEYCTL: return clues::SystemCallNr::KEYCTL;
243 case SystemCallNrX32::IOPRIO_SET: return clues::SystemCallNr::IOPRIO_SET;
244 case SystemCallNrX32::IOPRIO_GET: return clues::SystemCallNr::IOPRIO_GET;
245 case SystemCallNrX32::INOTIFY_INIT: return clues::SystemCallNr::INOTIFY_INIT;
246 case SystemCallNrX32::INOTIFY_ADD_WATCH: return clues::SystemCallNr::INOTIFY_ADD_WATCH;
247 case SystemCallNrX32::INOTIFY_RM_WATCH: return clues::SystemCallNr::INOTIFY_RM_WATCH;
248 case SystemCallNrX32::MIGRATE_PAGES: return clues::SystemCallNr::MIGRATE_PAGES;
249 case SystemCallNrX32::OPENAT: return clues::SystemCallNr::OPENAT;
250 case SystemCallNrX32::MKDIRAT: return clues::SystemCallNr::MKDIRAT;
251 case SystemCallNrX32::MKNODAT: return clues::SystemCallNr::MKNODAT;
252 case SystemCallNrX32::FCHOWNAT: return clues::SystemCallNr::FCHOWNAT;
253 case SystemCallNrX32::FUTIMESAT: return clues::SystemCallNr::FUTIMESAT;
254 case SystemCallNrX32::NEWFSTATAT: return clues::SystemCallNr::NEWFSTATAT;
255 case SystemCallNrX32::UNLINKAT: return clues::SystemCallNr::UNLINKAT;
256 case SystemCallNrX32::RENAMEAT: return clues::SystemCallNr::RENAMEAT;
257 case SystemCallNrX32::LINKAT: return clues::SystemCallNr::LINKAT;
258 case SystemCallNrX32::SYMLINKAT: return clues::SystemCallNr::SYMLINKAT;
259 case SystemCallNrX32::READLINKAT: return clues::SystemCallNr::READLINKAT;
260 case SystemCallNrX32::FCHMODAT: return clues::SystemCallNr::FCHMODAT;
261 case SystemCallNrX32::FACCESSAT: return clues::SystemCallNr::FACCESSAT;
262 case SystemCallNrX32::PSELECT6: return clues::SystemCallNr::PSELECT6;
263 case SystemCallNrX32::PPOLL: return clues::SystemCallNr::PPOLL;
264 case SystemCallNrX32::UNSHARE: return clues::SystemCallNr::UNSHARE;
265 case SystemCallNrX32::SPLICE: return clues::SystemCallNr::SPLICE;
266 case SystemCallNrX32::TEE: return clues::SystemCallNr::TEE;
267 case SystemCallNrX32::SYNC_FILE_RANGE: return clues::SystemCallNr::SYNC_FILE_RANGE;
268 case SystemCallNrX32::UTIMENSAT: return clues::SystemCallNr::UTIMENSAT;
269 case SystemCallNrX32::EPOLL_PWAIT: return clues::SystemCallNr::EPOLL_PWAIT;
270 case SystemCallNrX32::SIGNALFD: return clues::SystemCallNr::SIGNALFD;
271 case SystemCallNrX32::TIMERFD_CREATE: return clues::SystemCallNr::TIMERFD_CREATE;
272 case SystemCallNrX32::EVENTFD: return clues::SystemCallNr::EVENTFD;
273 case SystemCallNrX32::FALLOCATE: return clues::SystemCallNr::FALLOCATE;
274 case SystemCallNrX32::TIMERFD_SETTIME: return clues::SystemCallNr::TIMERFD_SETTIME;
275 case SystemCallNrX32::TIMERFD_GETTIME: return clues::SystemCallNr::TIMERFD_GETTIME;
276 case SystemCallNrX32::ACCEPT4: return clues::SystemCallNr::ACCEPT4;
277 case SystemCallNrX32::SIGNALFD4: return clues::SystemCallNr::SIGNALFD4;
278 case SystemCallNrX32::EVENTFD2: return clues::SystemCallNr::EVENTFD2;
279 case SystemCallNrX32::EPOLL_CREATE1: return clues::SystemCallNr::EPOLL_CREATE1;
280 case SystemCallNrX32::DUP3: return clues::SystemCallNr::DUP3;
281 case SystemCallNrX32::PIPE2: return clues::SystemCallNr::PIPE2;
282 case SystemCallNrX32::INOTIFY_INIT1: return clues::SystemCallNr::INOTIFY_INIT1;
283 case SystemCallNrX32::PERF_EVENT_OPEN: return clues::SystemCallNr::PERF_EVENT_OPEN;
284 case SystemCallNrX32::FANOTIFY_INIT: return clues::SystemCallNr::FANOTIFY_INIT;
285 case SystemCallNrX32::FANOTIFY_MARK: return clues::SystemCallNr::FANOTIFY_MARK;
286 case SystemCallNrX32::PRLIMIT64: return clues::SystemCallNr::PRLIMIT64;
287 case SystemCallNrX32::NAME_TO_HANDLE_AT: return clues::SystemCallNr::NAME_TO_HANDLE_AT;
288 case SystemCallNrX32::OPEN_BY_HANDLE_AT: return clues::SystemCallNr::OPEN_BY_HANDLE_AT;
289 case SystemCallNrX32::CLOCK_ADJTIME: return clues::SystemCallNr::CLOCK_ADJTIME;
290 case SystemCallNrX32::SYNCFS: return clues::SystemCallNr::SYNCFS;
291 case SystemCallNrX32::SETNS: return clues::SystemCallNr::SETNS;
292 case SystemCallNrX32::GETCPU: return clues::SystemCallNr::GETCPU;
293 case SystemCallNrX32::KCMP: return clues::SystemCallNr::KCMP;
294 case SystemCallNrX32::FINIT_MODULE: return clues::SystemCallNr::FINIT_MODULE;
295 case SystemCallNrX32::SCHED_SETATTR: return clues::SystemCallNr::SCHED_SETATTR;
296 case SystemCallNrX32::SCHED_GETATTR: return clues::SystemCallNr::SCHED_GETATTR;
297 case SystemCallNrX32::RENAMEAT2: return clues::SystemCallNr::RENAMEAT2;
298 case SystemCallNrX32::SECCOMP: return clues::SystemCallNr::SECCOMP;
299 case SystemCallNrX32::GETRANDOM: return clues::SystemCallNr::GETRANDOM;
300 case SystemCallNrX32::MEMFD_CREATE: return clues::SystemCallNr::MEMFD_CREATE;
301 case SystemCallNrX32::KEXEC_FILE_LOAD: return clues::SystemCallNr::KEXEC_FILE_LOAD;
302 case SystemCallNrX32::BPF: return clues::SystemCallNr::BPF;
303 case SystemCallNrX32::USERFAULTFD: return clues::SystemCallNr::USERFAULTFD;
304 case SystemCallNrX32::MEMBARRIER: return clues::SystemCallNr::MEMBARRIER;
305 case SystemCallNrX32::MLOCK2: return clues::SystemCallNr::MLOCK2;
306 case SystemCallNrX32::COPY_FILE_RANGE: return clues::SystemCallNr::COPY_FILE_RANGE;
307 case SystemCallNrX32::PKEY_MPROTECT: return clues::SystemCallNr::PKEY_MPROTECT;
308 case SystemCallNrX32::PKEY_ALLOC: return clues::SystemCallNr::PKEY_ALLOC;
309 case SystemCallNrX32::PKEY_FREE: return clues::SystemCallNr::PKEY_FREE;
310 case SystemCallNrX32::STATX: return clues::SystemCallNr::STATX;
311 case SystemCallNrX32::IO_PGETEVENTS: return clues::SystemCallNr::IO_PGETEVENTS;
312 case SystemCallNrX32::RSEQ: return clues::SystemCallNr::RSEQ;
313 case SystemCallNrX32::URETPROBE: return clues::SystemCallNr::URETPROBE;
314 case SystemCallNrX32::UPROBE: return clues::SystemCallNr::UPROBE;
315 case SystemCallNrX32::PIDFD_SEND_SIGNAL: return clues::SystemCallNr::PIDFD_SEND_SIGNAL;
316 case SystemCallNrX32::IO_URING_SETUP: return clues::SystemCallNr::IO_URING_SETUP;
317 case SystemCallNrX32::IO_URING_ENTER: return clues::SystemCallNr::IO_URING_ENTER;
318 case SystemCallNrX32::IO_URING_REGISTER: return clues::SystemCallNr::IO_URING_REGISTER;
319 case SystemCallNrX32::OPEN_TREE: return clues::SystemCallNr::OPEN_TREE;
320 case SystemCallNrX32::MOVE_MOUNT: return clues::SystemCallNr::MOVE_MOUNT;
321 case SystemCallNrX32::FSOPEN: return clues::SystemCallNr::FSOPEN;
322 case SystemCallNrX32::FSCONFIG: return clues::SystemCallNr::FSCONFIG;
323 case SystemCallNrX32::FSMOUNT: return clues::SystemCallNr::FSMOUNT;
324 case SystemCallNrX32::FSPICK: return clues::SystemCallNr::FSPICK;
325 case SystemCallNrX32::PIDFD_OPEN: return clues::SystemCallNr::PIDFD_OPEN;
326 case SystemCallNrX32::CLONE3: return clues::SystemCallNr::CLONE3;
327 case SystemCallNrX32::CLOSE_RANGE: return clues::SystemCallNr::CLOSE_RANGE;
328 case SystemCallNrX32::OPENAT2: return clues::SystemCallNr::OPENAT2;
329 case SystemCallNrX32::PIDFD_GETFD: return clues::SystemCallNr::PIDFD_GETFD;
330 case SystemCallNrX32::FACCESSAT2: return clues::SystemCallNr::FACCESSAT2;
331 case SystemCallNrX32::PROCESS_MADVISE: return clues::SystemCallNr::PROCESS_MADVISE;
332 case SystemCallNrX32::EPOLL_PWAIT2: return clues::SystemCallNr::EPOLL_PWAIT2;
333 case SystemCallNrX32::MOUNT_SETATTR: return clues::SystemCallNr::MOUNT_SETATTR;
334 case SystemCallNrX32::QUOTACTL_FD: return clues::SystemCallNr::QUOTACTL_FD;
335 case SystemCallNrX32::LANDLOCK_CREATE_RULESET: return clues::SystemCallNr::LANDLOCK_CREATE_RULESET;
336 case SystemCallNrX32::LANDLOCK_ADD_RULE: return clues::SystemCallNr::LANDLOCK_ADD_RULE;
337 case SystemCallNrX32::LANDLOCK_RESTRICT_SELF: return clues::SystemCallNr::LANDLOCK_RESTRICT_SELF;
338 case SystemCallNrX32::MEMFD_SECRET: return clues::SystemCallNr::MEMFD_SECRET;
339 case SystemCallNrX32::PROCESS_MRELEASE: return clues::SystemCallNr::PROCESS_MRELEASE;
340 case SystemCallNrX32::FUTEX_WAITV: return clues::SystemCallNr::FUTEX_WAITV;
341 case SystemCallNrX32::SET_MEMPOLICY_HOME_NODE: return clues::SystemCallNr::SET_MEMPOLICY_HOME_NODE;
342 case SystemCallNrX32::CACHESTAT: return clues::SystemCallNr::CACHESTAT;
343 case SystemCallNrX32::FCHMODAT2: return clues::SystemCallNr::FCHMODAT2;
344 case SystemCallNrX32::MAP_SHADOW_STACK: return clues::SystemCallNr::MAP_SHADOW_STACK;
345 case SystemCallNrX32::_FUTEX_WAKE: return clues::SystemCallNr::_FUTEX_WAKE;
346 case SystemCallNrX32::_FUTEX_WAIT: return clues::SystemCallNr::_FUTEX_WAIT;
347 case SystemCallNrX32::_FUTEX_REQUEUE: return clues::SystemCallNr::_FUTEX_REQUEUE;
348 case SystemCallNrX32::STATMOUNT: return clues::SystemCallNr::STATMOUNT;
349 case SystemCallNrX32::LISTMOUNT: return clues::SystemCallNr::LISTMOUNT;
350 case SystemCallNrX32::LSM_GET_SELF_ATTR: return clues::SystemCallNr::LSM_GET_SELF_ATTR;
351 case SystemCallNrX32::LSM_SET_SELF_ATTR: return clues::SystemCallNr::LSM_SET_SELF_ATTR;
352 case SystemCallNrX32::LSM_LIST_MODULES: return clues::SystemCallNr::LSM_LIST_MODULES;
353 case SystemCallNrX32::MSEAL: return clues::SystemCallNr::MSEAL;
354 case SystemCallNrX32::SETXATTRAT: return clues::SystemCallNr::SETXATTRAT;
355 case SystemCallNrX32::GETXATTRAT: return clues::SystemCallNr::GETXATTRAT;
356 case SystemCallNrX32::LISTXATTRAT: return clues::SystemCallNr::LISTXATTRAT;
357 case SystemCallNrX32::REMOVEXATTRAT: return clues::SystemCallNr::REMOVEXATTRAT;
358 case SystemCallNrX32::OPEN_TREE_ATTR: return clues::SystemCallNr::OPEN_TREE_ATTR;
359 case SystemCallNrX32::FILE_GETATTR: return clues::SystemCallNr::FILE_GETATTR;
360 case SystemCallNrX32::FILE_SETATTR: return clues::SystemCallNr::FILE_SETATTR;
361 case SystemCallNrX32::RT_SIGACTION: return clues::SystemCallNr::RT_SIGACTION;
362 case SystemCallNrX32::RT_SIGRETURN: return clues::SystemCallNr::RT_SIGRETURN;
363 case SystemCallNrX32::IOCTL: return clues::SystemCallNr::IOCTL;
364 case SystemCallNrX32::READV: return clues::SystemCallNr::READV;
365 case SystemCallNrX32::WRITEV: return clues::SystemCallNr::WRITEV;
366 case SystemCallNrX32::RECVFROM: return clues::SystemCallNr::RECVFROM;
367 case SystemCallNrX32::SENDMSG: return clues::SystemCallNr::SENDMSG;
368 case SystemCallNrX32::RECVMSG: return clues::SystemCallNr::RECVMSG;
369 case SystemCallNrX32::EXECVE: return clues::SystemCallNr::EXECVE;
370 case SystemCallNrX32::PTRACE: return clues::SystemCallNr::PTRACE;
371 case SystemCallNrX32::RT_SIGPENDING: return clues::SystemCallNr::RT_SIGPENDING;
372 case SystemCallNrX32::RT_SIGTIMEDWAIT: return clues::SystemCallNr::RT_SIGTIMEDWAIT;
373 case SystemCallNrX32::RT_SIGQUEUEINFO: return clues::SystemCallNr::RT_SIGQUEUEINFO;
374 case SystemCallNrX32::SIGALTSTACK: return clues::SystemCallNr::SIGALTSTACK;
375 case SystemCallNrX32::TIMER_CREATE: return clues::SystemCallNr::TIMER_CREATE;
376 case SystemCallNrX32::MQ_NOTIFY: return clues::SystemCallNr::MQ_NOTIFY;
377 case SystemCallNrX32::KEXEC_LOAD: return clues::SystemCallNr::KEXEC_LOAD;
378 case SystemCallNrX32::WAITID: return clues::SystemCallNr::WAITID;
379 case SystemCallNrX32::SET_ROBUST_LIST: return clues::SystemCallNr::SET_ROBUST_LIST;
380 case SystemCallNrX32::GET_ROBUST_LIST: return clues::SystemCallNr::GET_ROBUST_LIST;
381 case SystemCallNrX32::VMSPLICE: return clues::SystemCallNr::VMSPLICE;
382 case SystemCallNrX32::MOVE_PAGES: return clues::SystemCallNr::MOVE_PAGES;
383 case SystemCallNrX32::PREADV: return clues::SystemCallNr::PREADV;
384 case SystemCallNrX32::PWRITEV: return clues::SystemCallNr::PWRITEV;
385 case SystemCallNrX32::RT_TGSIGQUEUEINFO: return clues::SystemCallNr::RT_TGSIGQUEUEINFO;
386 case SystemCallNrX32::RECVMMSG: return clues::SystemCallNr::RECVMMSG;
387 case SystemCallNrX32::SENDMMSG: return clues::SystemCallNr::SENDMMSG;
388 case SystemCallNrX32::PROCESS_VM_READV: return clues::SystemCallNr::PROCESS_VM_READV;
389 case SystemCallNrX32::PROCESS_VM_WRITEV: return clues::SystemCallNr::PROCESS_VM_WRITEV;
390 case SystemCallNrX32::SETSOCKOPT: return clues::SystemCallNr::SETSOCKOPT;
391 case SystemCallNrX32::GETSOCKOPT: return clues::SystemCallNr::GETSOCKOPT;
392 case SystemCallNrX32::IO_SETUP: return clues::SystemCallNr::IO_SETUP;
393 case SystemCallNrX32::IO_SUBMIT: return clues::SystemCallNr::IO_SUBMIT;
394 case SystemCallNrX32::EXECVEAT: return clues::SystemCallNr::EXECVEAT;
395 case SystemCallNrX32::PREADV2: return clues::SystemCallNr::PREADV2;
396 case SystemCallNrX32::PWRITEV2: return clues::SystemCallNr::PWRITEV2;
397 }
398}

◆ to_generic() [4/4]

CLUES_API clues::SystemCallNr clues::to_generic ( const SystemCallNrX64 nr)

Convert the native system call nr. into its generic representation.

If there is no generic representation (e.g. because the nr is invalid then SystemCallNr::UNKNOWN is returned.

Definition at line 21 of file x64.cxx.

21 {
22
23 switch (nr) {
24 default: return SystemCallNr::UNKNOWN;
25 case SystemCallNrX64::READ: return clues::SystemCallNr::READ;
26 case SystemCallNrX64::WRITE: return clues::SystemCallNr::WRITE;
27 case SystemCallNrX64::OPEN: return clues::SystemCallNr::OPEN;
28 case SystemCallNrX64::CLOSE: return clues::SystemCallNr::CLOSE;
29 case SystemCallNrX64::STAT: return clues::SystemCallNr::STAT;
30 case SystemCallNrX64::FSTAT: return clues::SystemCallNr::FSTAT;
31 case SystemCallNrX64::LSTAT: return clues::SystemCallNr::LSTAT;
32 case SystemCallNrX64::POLL: return clues::SystemCallNr::POLL;
33 case SystemCallNrX64::LSEEK: return clues::SystemCallNr::LSEEK;
34 case SystemCallNrX64::MMAP: return clues::SystemCallNr::MMAP;
35 case SystemCallNrX64::MPROTECT: return clues::SystemCallNr::MPROTECT;
36 case SystemCallNrX64::MUNMAP: return clues::SystemCallNr::MUNMAP;
37 case SystemCallNrX64::BRK: return clues::SystemCallNr::BRK;
38 case SystemCallNrX64::RT_SIGACTION: return clues::SystemCallNr::RT_SIGACTION;
39 case SystemCallNrX64::RT_SIGPROCMASK: return clues::SystemCallNr::RT_SIGPROCMASK;
40 case SystemCallNrX64::RT_SIGRETURN: return clues::SystemCallNr::RT_SIGRETURN;
41 case SystemCallNrX64::IOCTL: return clues::SystemCallNr::IOCTL;
42 case SystemCallNrX64::PREAD64: return clues::SystemCallNr::PREAD64;
43 case SystemCallNrX64::PWRITE64: return clues::SystemCallNr::PWRITE64;
44 case SystemCallNrX64::READV: return clues::SystemCallNr::READV;
45 case SystemCallNrX64::WRITEV: return clues::SystemCallNr::WRITEV;
46 case SystemCallNrX64::ACCESS: return clues::SystemCallNr::ACCESS;
47 case SystemCallNrX64::PIPE: return clues::SystemCallNr::PIPE;
48 case SystemCallNrX64::SELECT: return clues::SystemCallNr::SELECT;
49 case SystemCallNrX64::SCHED_YIELD: return clues::SystemCallNr::SCHED_YIELD;
50 case SystemCallNrX64::MREMAP: return clues::SystemCallNr::MREMAP;
51 case SystemCallNrX64::MSYNC: return clues::SystemCallNr::MSYNC;
52 case SystemCallNrX64::MINCORE: return clues::SystemCallNr::MINCORE;
53 case SystemCallNrX64::MADVISE: return clues::SystemCallNr::MADVISE;
54 case SystemCallNrX64::SHMGET: return clues::SystemCallNr::SHMGET;
55 case SystemCallNrX64::SHMAT: return clues::SystemCallNr::SHMAT;
56 case SystemCallNrX64::SHMCTL: return clues::SystemCallNr::SHMCTL;
57 case SystemCallNrX64::DUP: return clues::SystemCallNr::DUP;
58 case SystemCallNrX64::DUP2: return clues::SystemCallNr::DUP2;
59 case SystemCallNrX64::PAUSE: return clues::SystemCallNr::PAUSE;
60 case SystemCallNrX64::NANOSLEEP: return clues::SystemCallNr::NANOSLEEP;
61 case SystemCallNrX64::GETITIMER: return clues::SystemCallNr::GETITIMER;
62 case SystemCallNrX64::ALARM: return clues::SystemCallNr::ALARM;
63 case SystemCallNrX64::SETITIMER: return clues::SystemCallNr::SETITIMER;
64 case SystemCallNrX64::GETPID: return clues::SystemCallNr::GETPID;
65 case SystemCallNrX64::SENDFILE: return clues::SystemCallNr::SENDFILE;
66 case SystemCallNrX64::SOCKET: return clues::SystemCallNr::SOCKET;
67 case SystemCallNrX64::CONNECT: return clues::SystemCallNr::CONNECT;
68 case SystemCallNrX64::ACCEPT: return clues::SystemCallNr::ACCEPT;
69 case SystemCallNrX64::SENDTO: return clues::SystemCallNr::SENDTO;
70 case SystemCallNrX64::RECVFROM: return clues::SystemCallNr::RECVFROM;
71 case SystemCallNrX64::SENDMSG: return clues::SystemCallNr::SENDMSG;
72 case SystemCallNrX64::RECVMSG: return clues::SystemCallNr::RECVMSG;
73 case SystemCallNrX64::SHUTDOWN: return clues::SystemCallNr::SHUTDOWN;
74 case SystemCallNrX64::BIND: return clues::SystemCallNr::BIND;
75 case SystemCallNrX64::LISTEN: return clues::SystemCallNr::LISTEN;
76 case SystemCallNrX64::GETSOCKNAME: return clues::SystemCallNr::GETSOCKNAME;
77 case SystemCallNrX64::GETPEERNAME: return clues::SystemCallNr::GETPEERNAME;
78 case SystemCallNrX64::SOCKETPAIR: return clues::SystemCallNr::SOCKETPAIR;
79 case SystemCallNrX64::SETSOCKOPT: return clues::SystemCallNr::SETSOCKOPT;
80 case SystemCallNrX64::GETSOCKOPT: return clues::SystemCallNr::GETSOCKOPT;
81 case SystemCallNrX64::CLONE: return clues::SystemCallNr::CLONE;
82 case SystemCallNrX64::FORK: return clues::SystemCallNr::FORK;
83 case SystemCallNrX64::VFORK: return clues::SystemCallNr::VFORK;
84 case SystemCallNrX64::EXECVE: return clues::SystemCallNr::EXECVE;
85 case SystemCallNrX64::EXIT: return clues::SystemCallNr::EXIT;
86 case SystemCallNrX64::WAIT4: return clues::SystemCallNr::WAIT4;
87 case SystemCallNrX64::KILL: return clues::SystemCallNr::KILL;
88 case SystemCallNrX64::UNAME: return clues::SystemCallNr::UNAME;
89 case SystemCallNrX64::SEMGET: return clues::SystemCallNr::SEMGET;
90 case SystemCallNrX64::SEMOP: return clues::SystemCallNr::SEMOP;
91 case SystemCallNrX64::SEMCTL: return clues::SystemCallNr::SEMCTL;
92 case SystemCallNrX64::SHMDT: return clues::SystemCallNr::SHMDT;
93 case SystemCallNrX64::MSGGET: return clues::SystemCallNr::MSGGET;
94 case SystemCallNrX64::MSGSND: return clues::SystemCallNr::MSGSND;
95 case SystemCallNrX64::MSGRCV: return clues::SystemCallNr::MSGRCV;
96 case SystemCallNrX64::MSGCTL: return clues::SystemCallNr::MSGCTL;
97 case SystemCallNrX64::FCNTL: return clues::SystemCallNr::FCNTL;
98 case SystemCallNrX64::FLOCK: return clues::SystemCallNr::FLOCK;
99 case SystemCallNrX64::FSYNC: return clues::SystemCallNr::FSYNC;
100 case SystemCallNrX64::FDATASYNC: return clues::SystemCallNr::FDATASYNC;
101 case SystemCallNrX64::TRUNCATE: return clues::SystemCallNr::TRUNCATE;
102 case SystemCallNrX64::FTRUNCATE: return clues::SystemCallNr::FTRUNCATE;
103 case SystemCallNrX64::GETDENTS: return clues::SystemCallNr::GETDENTS;
104 case SystemCallNrX64::GETCWD: return clues::SystemCallNr::GETCWD;
105 case SystemCallNrX64::CHDIR: return clues::SystemCallNr::CHDIR;
106 case SystemCallNrX64::FCHDIR: return clues::SystemCallNr::FCHDIR;
107 case SystemCallNrX64::RENAME: return clues::SystemCallNr::RENAME;
108 case SystemCallNrX64::MKDIR: return clues::SystemCallNr::MKDIR;
109 case SystemCallNrX64::RMDIR: return clues::SystemCallNr::RMDIR;
110 case SystemCallNrX64::CREAT: return clues::SystemCallNr::CREAT;
111 case SystemCallNrX64::LINK: return clues::SystemCallNr::LINK;
112 case SystemCallNrX64::UNLINK: return clues::SystemCallNr::UNLINK;
113 case SystemCallNrX64::SYMLINK: return clues::SystemCallNr::SYMLINK;
114 case SystemCallNrX64::READLINK: return clues::SystemCallNr::READLINK;
115 case SystemCallNrX64::CHMOD: return clues::SystemCallNr::CHMOD;
116 case SystemCallNrX64::FCHMOD: return clues::SystemCallNr::FCHMOD;
117 case SystemCallNrX64::CHOWN: return clues::SystemCallNr::CHOWN;
118 case SystemCallNrX64::FCHOWN: return clues::SystemCallNr::FCHOWN;
119 case SystemCallNrX64::LCHOWN: return clues::SystemCallNr::LCHOWN;
120 case SystemCallNrX64::UMASK: return clues::SystemCallNr::UMASK;
121 case SystemCallNrX64::GETTIMEOFDAY: return clues::SystemCallNr::GETTIMEOFDAY;
122 case SystemCallNrX64::GETRLIMIT: return clues::SystemCallNr::GETRLIMIT;
123 case SystemCallNrX64::GETRUSAGE: return clues::SystemCallNr::GETRUSAGE;
124 case SystemCallNrX64::SYSINFO: return clues::SystemCallNr::SYSINFO;
125 case SystemCallNrX64::TIMES: return clues::SystemCallNr::TIMES;
126 case SystemCallNrX64::PTRACE: return clues::SystemCallNr::PTRACE;
127 case SystemCallNrX64::GETUID: return clues::SystemCallNr::GETUID;
128 case SystemCallNrX64::SYSLOG: return clues::SystemCallNr::SYSLOG;
129 case SystemCallNrX64::GETGID: return clues::SystemCallNr::GETGID;
130 case SystemCallNrX64::SETUID: return clues::SystemCallNr::SETUID;
131 case SystemCallNrX64::SETGID: return clues::SystemCallNr::SETGID;
132 case SystemCallNrX64::GETEUID: return clues::SystemCallNr::GETEUID;
133 case SystemCallNrX64::GETEGID: return clues::SystemCallNr::GETEGID;
134 case SystemCallNrX64::SETPGID: return clues::SystemCallNr::SETPGID;
135 case SystemCallNrX64::GETPPID: return clues::SystemCallNr::GETPPID;
136 case SystemCallNrX64::GETPGRP: return clues::SystemCallNr::GETPGRP;
137 case SystemCallNrX64::SETSID: return clues::SystemCallNr::SETSID;
138 case SystemCallNrX64::SETREUID: return clues::SystemCallNr::SETREUID;
139 case SystemCallNrX64::SETREGID: return clues::SystemCallNr::SETREGID;
140 case SystemCallNrX64::GETGROUPS: return clues::SystemCallNr::GETGROUPS;
141 case SystemCallNrX64::SETGROUPS: return clues::SystemCallNr::SETGROUPS;
142 case SystemCallNrX64::SETRESUID: return clues::SystemCallNr::SETRESUID;
143 case SystemCallNrX64::GETRESUID: return clues::SystemCallNr::GETRESUID;
144 case SystemCallNrX64::SETRESGID: return clues::SystemCallNr::SETRESGID;
145 case SystemCallNrX64::GETRESGID: return clues::SystemCallNr::GETRESGID;
146 case SystemCallNrX64::GETPGID: return clues::SystemCallNr::GETPGID;
147 case SystemCallNrX64::SETFSUID: return clues::SystemCallNr::SETFSUID;
148 case SystemCallNrX64::SETFSGID: return clues::SystemCallNr::SETFSGID;
149 case SystemCallNrX64::GETSID: return clues::SystemCallNr::GETSID;
150 case SystemCallNrX64::CAPGET: return clues::SystemCallNr::CAPGET;
151 case SystemCallNrX64::CAPSET: return clues::SystemCallNr::CAPSET;
152 case SystemCallNrX64::RT_SIGPENDING: return clues::SystemCallNr::RT_SIGPENDING;
153 case SystemCallNrX64::RT_SIGTIMEDWAIT: return clues::SystemCallNr::RT_SIGTIMEDWAIT;
154 case SystemCallNrX64::RT_SIGQUEUEINFO: return clues::SystemCallNr::RT_SIGQUEUEINFO;
155 case SystemCallNrX64::RT_SIGSUSPEND: return clues::SystemCallNr::RT_SIGSUSPEND;
156 case SystemCallNrX64::SIGALTSTACK: return clues::SystemCallNr::SIGALTSTACK;
157 case SystemCallNrX64::UTIME: return clues::SystemCallNr::UTIME;
158 case SystemCallNrX64::MKNOD: return clues::SystemCallNr::MKNOD;
159 case SystemCallNrX64::USELIB: return clues::SystemCallNr::USELIB;
160 case SystemCallNrX64::PERSONALITY: return clues::SystemCallNr::PERSONALITY;
161 case SystemCallNrX64::USTAT: return clues::SystemCallNr::USTAT;
162 case SystemCallNrX64::STATFS: return clues::SystemCallNr::STATFS;
163 case SystemCallNrX64::FSTATFS: return clues::SystemCallNr::FSTATFS;
164 case SystemCallNrX64::SYSFS: return clues::SystemCallNr::SYSFS;
165 case SystemCallNrX64::GETPRIORITY: return clues::SystemCallNr::GETPRIORITY;
166 case SystemCallNrX64::SETPRIORITY: return clues::SystemCallNr::SETPRIORITY;
167 case SystemCallNrX64::SCHED_SETPARAM: return clues::SystemCallNr::SCHED_SETPARAM;
168 case SystemCallNrX64::SCHED_GETPARAM: return clues::SystemCallNr::SCHED_GETPARAM;
169 case SystemCallNrX64::SCHED_SETSCHEDULER: return clues::SystemCallNr::SCHED_SETSCHEDULER;
170 case SystemCallNrX64::SCHED_GETSCHEDULER: return clues::SystemCallNr::SCHED_GETSCHEDULER;
171 case SystemCallNrX64::SCHED_GET_PRIORITY_MAX: return clues::SystemCallNr::SCHED_GET_PRIORITY_MAX;
172 case SystemCallNrX64::SCHED_GET_PRIORITY_MIN: return clues::SystemCallNr::SCHED_GET_PRIORITY_MIN;
173 case SystemCallNrX64::SCHED_RR_GET_INTERVAL: return clues::SystemCallNr::SCHED_RR_GET_INTERVAL;
174 case SystemCallNrX64::MLOCK: return clues::SystemCallNr::MLOCK;
175 case SystemCallNrX64::MUNLOCK: return clues::SystemCallNr::MUNLOCK;
176 case SystemCallNrX64::MLOCKALL: return clues::SystemCallNr::MLOCKALL;
177 case SystemCallNrX64::MUNLOCKALL: return clues::SystemCallNr::MUNLOCKALL;
178 case SystemCallNrX64::VHANGUP: return clues::SystemCallNr::VHANGUP;
179 case SystemCallNrX64::MODIFY_LDT: return clues::SystemCallNr::MODIFY_LDT;
180 case SystemCallNrX64::PIVOT_ROOT: return clues::SystemCallNr::PIVOT_ROOT;
181 case SystemCallNrX64::SYSCTL: return clues::SystemCallNr::SYSCTL;
182 case SystemCallNrX64::PRCTL: return clues::SystemCallNr::PRCTL;
183 case SystemCallNrX64::ARCH_PRCTL: return clues::SystemCallNr::ARCH_PRCTL;
184 case SystemCallNrX64::ADJTIMEX: return clues::SystemCallNr::ADJTIMEX;
185 case SystemCallNrX64::SETRLIMIT: return clues::SystemCallNr::SETRLIMIT;
186 case SystemCallNrX64::CHROOT: return clues::SystemCallNr::CHROOT;
187 case SystemCallNrX64::SYNC: return clues::SystemCallNr::SYNC;
188 case SystemCallNrX64::ACCT: return clues::SystemCallNr::ACCT;
189 case SystemCallNrX64::SETTIMEOFDAY: return clues::SystemCallNr::SETTIMEOFDAY;
190 case SystemCallNrX64::MOUNT: return clues::SystemCallNr::MOUNT;
191 case SystemCallNrX64::UMOUNT2: return clues::SystemCallNr::UMOUNT2;
192 case SystemCallNrX64::SWAPON: return clues::SystemCallNr::SWAPON;
193 case SystemCallNrX64::SWAPOFF: return clues::SystemCallNr::SWAPOFF;
194 case SystemCallNrX64::REBOOT: return clues::SystemCallNr::REBOOT;
195 case SystemCallNrX64::SETHOSTNAME: return clues::SystemCallNr::SETHOSTNAME;
196 case SystemCallNrX64::SETDOMAINNAME: return clues::SystemCallNr::SETDOMAINNAME;
197 case SystemCallNrX64::IOPL: return clues::SystemCallNr::IOPL;
198 case SystemCallNrX64::IOPERM: return clues::SystemCallNr::IOPERM;
199 case SystemCallNrX64::CREATE_MODULE: return clues::SystemCallNr::CREATE_MODULE;
200 case SystemCallNrX64::INIT_MODULE: return clues::SystemCallNr::INIT_MODULE;
201 case SystemCallNrX64::DELETE_MODULE: return clues::SystemCallNr::DELETE_MODULE;
202 case SystemCallNrX64::GET_KERNEL_SYMS: return clues::SystemCallNr::GET_KERNEL_SYMS;
203 case SystemCallNrX64::QUERY_MODULE: return clues::SystemCallNr::QUERY_MODULE;
204 case SystemCallNrX64::QUOTACTL: return clues::SystemCallNr::QUOTACTL;
205 case SystemCallNrX64::NFSSERVCTL: return clues::SystemCallNr::NFSSERVCTL;
206 case SystemCallNrX64::GETPMSG: return clues::SystemCallNr::GETPMSG;
207 case SystemCallNrX64::PUTPMSG: return clues::SystemCallNr::PUTPMSG;
208 case SystemCallNrX64::AFS_SYSCALL: return clues::SystemCallNr::AFS_SYSCALL;
209 case SystemCallNrX64::TUXCALL: return clues::SystemCallNr::TUXCALL;
210 case SystemCallNrX64::SECURITY: return clues::SystemCallNr::SECURITY;
211 case SystemCallNrX64::GETTID: return clues::SystemCallNr::GETTID;
212 case SystemCallNrX64::READAHEAD: return clues::SystemCallNr::READAHEAD;
213 case SystemCallNrX64::SETXATTR: return clues::SystemCallNr::SETXATTR;
214 case SystemCallNrX64::LSETXATTR: return clues::SystemCallNr::LSETXATTR;
215 case SystemCallNrX64::FSETXATTR: return clues::SystemCallNr::FSETXATTR;
216 case SystemCallNrX64::GETXATTR: return clues::SystemCallNr::GETXATTR;
217 case SystemCallNrX64::LGETXATTR: return clues::SystemCallNr::LGETXATTR;
218 case SystemCallNrX64::FGETXATTR: return clues::SystemCallNr::FGETXATTR;
219 case SystemCallNrX64::LISTXATTR: return clues::SystemCallNr::LISTXATTR;
220 case SystemCallNrX64::LLISTXATTR: return clues::SystemCallNr::LLISTXATTR;
221 case SystemCallNrX64::FLISTXATTR: return clues::SystemCallNr::FLISTXATTR;
222 case SystemCallNrX64::REMOVEXATTR: return clues::SystemCallNr::REMOVEXATTR;
223 case SystemCallNrX64::LREMOVEXATTR: return clues::SystemCallNr::LREMOVEXATTR;
224 case SystemCallNrX64::FREMOVEXATTR: return clues::SystemCallNr::FREMOVEXATTR;
225 case SystemCallNrX64::TKILL: return clues::SystemCallNr::TKILL;
226 case SystemCallNrX64::TIME: return clues::SystemCallNr::TIME;
227 case SystemCallNrX64::FUTEX: return clues::SystemCallNr::FUTEX;
228 case SystemCallNrX64::SCHED_SETAFFINITY: return clues::SystemCallNr::SCHED_SETAFFINITY;
229 case SystemCallNrX64::SCHED_GETAFFINITY: return clues::SystemCallNr::SCHED_GETAFFINITY;
230 case SystemCallNrX64::SET_THREAD_AREA: return clues::SystemCallNr::SET_THREAD_AREA;
231 case SystemCallNrX64::IO_SETUP: return clues::SystemCallNr::IO_SETUP;
232 case SystemCallNrX64::IO_DESTROY: return clues::SystemCallNr::IO_DESTROY;
233 case SystemCallNrX64::IO_GETEVENTS: return clues::SystemCallNr::IO_GETEVENTS;
234 case SystemCallNrX64::IO_SUBMIT: return clues::SystemCallNr::IO_SUBMIT;
235 case SystemCallNrX64::IO_CANCEL: return clues::SystemCallNr::IO_CANCEL;
236 case SystemCallNrX64::GET_THREAD_AREA: return clues::SystemCallNr::GET_THREAD_AREA;
237 case SystemCallNrX64::LOOKUP_DCOOKIE: return clues::SystemCallNr::LOOKUP_DCOOKIE;
238 case SystemCallNrX64::EPOLL_CREATE: return clues::SystemCallNr::EPOLL_CREATE;
239 case SystemCallNrX64::EPOLL_CTL_OLD: return clues::SystemCallNr::EPOLL_CTL_OLD;
240 case SystemCallNrX64::EPOLL_WAIT_OLD: return clues::SystemCallNr::EPOLL_WAIT_OLD;
241 case SystemCallNrX64::REMAP_FILE_PAGES: return clues::SystemCallNr::REMAP_FILE_PAGES;
242 case SystemCallNrX64::GETDENTS64: return clues::SystemCallNr::GETDENTS64;
243 case SystemCallNrX64::SET_TID_ADDRESS: return clues::SystemCallNr::SET_TID_ADDRESS;
244 case SystemCallNrX64::RESTART_SYSCALL: return clues::SystemCallNr::RESTART_SYSCALL;
245 case SystemCallNrX64::SEMTIMEDOP: return clues::SystemCallNr::SEMTIMEDOP;
246 case SystemCallNrX64::FADVISE64: return clues::SystemCallNr::FADVISE64;
247 case SystemCallNrX64::TIMER_CREATE: return clues::SystemCallNr::TIMER_CREATE;
248 case SystemCallNrX64::TIMER_SETTIME: return clues::SystemCallNr::TIMER_SETTIME;
249 case SystemCallNrX64::TIMER_GETTIME: return clues::SystemCallNr::TIMER_GETTIME;
250 case SystemCallNrX64::TIMER_GETOVERRUN: return clues::SystemCallNr::TIMER_GETOVERRUN;
251 case SystemCallNrX64::TIMER_DELETE: return clues::SystemCallNr::TIMER_DELETE;
252 case SystemCallNrX64::CLOCK_SETTIME: return clues::SystemCallNr::CLOCK_SETTIME;
253 case SystemCallNrX64::CLOCK_GETTIME: return clues::SystemCallNr::CLOCK_GETTIME;
254 case SystemCallNrX64::CLOCK_GETRES: return clues::SystemCallNr::CLOCK_GETRES;
255 case SystemCallNrX64::CLOCK_NANOSLEEP: return clues::SystemCallNr::CLOCK_NANOSLEEP;
256 case SystemCallNrX64::EXIT_GROUP: return clues::SystemCallNr::EXIT_GROUP;
257 case SystemCallNrX64::EPOLL_WAIT: return clues::SystemCallNr::EPOLL_WAIT;
258 case SystemCallNrX64::EPOLL_CTL: return clues::SystemCallNr::EPOLL_CTL;
259 case SystemCallNrX64::TGKILL: return clues::SystemCallNr::TGKILL;
260 case SystemCallNrX64::UTIMES: return clues::SystemCallNr::UTIMES;
261 case SystemCallNrX64::VSERVER: return clues::SystemCallNr::VSERVER;
262 case SystemCallNrX64::MBIND: return clues::SystemCallNr::MBIND;
263 case SystemCallNrX64::SET_MEMPOLICY: return clues::SystemCallNr::SET_MEMPOLICY;
264 case SystemCallNrX64::GET_MEMPOLICY: return clues::SystemCallNr::GET_MEMPOLICY;
265 case SystemCallNrX64::MQ_OPEN: return clues::SystemCallNr::MQ_OPEN;
266 case SystemCallNrX64::MQ_UNLINK: return clues::SystemCallNr::MQ_UNLINK;
267 case SystemCallNrX64::MQ_TIMEDSEND: return clues::SystemCallNr::MQ_TIMEDSEND;
268 case SystemCallNrX64::MQ_TIMEDRECEIVE: return clues::SystemCallNr::MQ_TIMEDRECEIVE;
269 case SystemCallNrX64::MQ_NOTIFY: return clues::SystemCallNr::MQ_NOTIFY;
270 case SystemCallNrX64::MQ_GETSETATTR: return clues::SystemCallNr::MQ_GETSETATTR;
271 case SystemCallNrX64::KEXEC_LOAD: return clues::SystemCallNr::KEXEC_LOAD;
272 case SystemCallNrX64::WAITID: return clues::SystemCallNr::WAITID;
273 case SystemCallNrX64::ADD_KEY: return clues::SystemCallNr::ADD_KEY;
274 case SystemCallNrX64::REQUEST_KEY: return clues::SystemCallNr::REQUEST_KEY;
275 case SystemCallNrX64::KEYCTL: return clues::SystemCallNr::KEYCTL;
276 case SystemCallNrX64::IOPRIO_SET: return clues::SystemCallNr::IOPRIO_SET;
277 case SystemCallNrX64::IOPRIO_GET: return clues::SystemCallNr::IOPRIO_GET;
278 case SystemCallNrX64::INOTIFY_INIT: return clues::SystemCallNr::INOTIFY_INIT;
279 case SystemCallNrX64::INOTIFY_ADD_WATCH: return clues::SystemCallNr::INOTIFY_ADD_WATCH;
280 case SystemCallNrX64::INOTIFY_RM_WATCH: return clues::SystemCallNr::INOTIFY_RM_WATCH;
281 case SystemCallNrX64::MIGRATE_PAGES: return clues::SystemCallNr::MIGRATE_PAGES;
282 case SystemCallNrX64::OPENAT: return clues::SystemCallNr::OPENAT;
283 case SystemCallNrX64::MKDIRAT: return clues::SystemCallNr::MKDIRAT;
284 case SystemCallNrX64::MKNODAT: return clues::SystemCallNr::MKNODAT;
285 case SystemCallNrX64::FCHOWNAT: return clues::SystemCallNr::FCHOWNAT;
286 case SystemCallNrX64::FUTIMESAT: return clues::SystemCallNr::FUTIMESAT;
287 case SystemCallNrX64::NEWFSTATAT: return clues::SystemCallNr::NEWFSTATAT;
288 case SystemCallNrX64::UNLINKAT: return clues::SystemCallNr::UNLINKAT;
289 case SystemCallNrX64::RENAMEAT: return clues::SystemCallNr::RENAMEAT;
290 case SystemCallNrX64::LINKAT: return clues::SystemCallNr::LINKAT;
291 case SystemCallNrX64::SYMLINKAT: return clues::SystemCallNr::SYMLINKAT;
292 case SystemCallNrX64::READLINKAT: return clues::SystemCallNr::READLINKAT;
293 case SystemCallNrX64::FCHMODAT: return clues::SystemCallNr::FCHMODAT;
294 case SystemCallNrX64::FACCESSAT: return clues::SystemCallNr::FACCESSAT;
295 case SystemCallNrX64::PSELECT6: return clues::SystemCallNr::PSELECT6;
296 case SystemCallNrX64::PPOLL: return clues::SystemCallNr::PPOLL;
297 case SystemCallNrX64::UNSHARE: return clues::SystemCallNr::UNSHARE;
298 case SystemCallNrX64::SET_ROBUST_LIST: return clues::SystemCallNr::SET_ROBUST_LIST;
299 case SystemCallNrX64::GET_ROBUST_LIST: return clues::SystemCallNr::GET_ROBUST_LIST;
300 case SystemCallNrX64::SPLICE: return clues::SystemCallNr::SPLICE;
301 case SystemCallNrX64::TEE: return clues::SystemCallNr::TEE;
302 case SystemCallNrX64::SYNC_FILE_RANGE: return clues::SystemCallNr::SYNC_FILE_RANGE;
303 case SystemCallNrX64::VMSPLICE: return clues::SystemCallNr::VMSPLICE;
304 case SystemCallNrX64::MOVE_PAGES: return clues::SystemCallNr::MOVE_PAGES;
305 case SystemCallNrX64::UTIMENSAT: return clues::SystemCallNr::UTIMENSAT;
306 case SystemCallNrX64::EPOLL_PWAIT: return clues::SystemCallNr::EPOLL_PWAIT;
307 case SystemCallNrX64::SIGNALFD: return clues::SystemCallNr::SIGNALFD;
308 case SystemCallNrX64::TIMERFD_CREATE: return clues::SystemCallNr::TIMERFD_CREATE;
309 case SystemCallNrX64::EVENTFD: return clues::SystemCallNr::EVENTFD;
310 case SystemCallNrX64::FALLOCATE: return clues::SystemCallNr::FALLOCATE;
311 case SystemCallNrX64::TIMERFD_SETTIME: return clues::SystemCallNr::TIMERFD_SETTIME;
312 case SystemCallNrX64::TIMERFD_GETTIME: return clues::SystemCallNr::TIMERFD_GETTIME;
313 case SystemCallNrX64::ACCEPT4: return clues::SystemCallNr::ACCEPT4;
314 case SystemCallNrX64::SIGNALFD4: return clues::SystemCallNr::SIGNALFD4;
315 case SystemCallNrX64::EVENTFD2: return clues::SystemCallNr::EVENTFD2;
316 case SystemCallNrX64::EPOLL_CREATE1: return clues::SystemCallNr::EPOLL_CREATE1;
317 case SystemCallNrX64::DUP3: return clues::SystemCallNr::DUP3;
318 case SystemCallNrX64::PIPE2: return clues::SystemCallNr::PIPE2;
319 case SystemCallNrX64::INOTIFY_INIT1: return clues::SystemCallNr::INOTIFY_INIT1;
320 case SystemCallNrX64::PREADV: return clues::SystemCallNr::PREADV;
321 case SystemCallNrX64::PWRITEV: return clues::SystemCallNr::PWRITEV;
322 case SystemCallNrX64::RT_TGSIGQUEUEINFO: return clues::SystemCallNr::RT_TGSIGQUEUEINFO;
323 case SystemCallNrX64::PERF_EVENT_OPEN: return clues::SystemCallNr::PERF_EVENT_OPEN;
324 case SystemCallNrX64::RECVMMSG: return clues::SystemCallNr::RECVMMSG;
325 case SystemCallNrX64::FANOTIFY_INIT: return clues::SystemCallNr::FANOTIFY_INIT;
326 case SystemCallNrX64::FANOTIFY_MARK: return clues::SystemCallNr::FANOTIFY_MARK;
327 case SystemCallNrX64::PRLIMIT64: return clues::SystemCallNr::PRLIMIT64;
328 case SystemCallNrX64::NAME_TO_HANDLE_AT: return clues::SystemCallNr::NAME_TO_HANDLE_AT;
329 case SystemCallNrX64::OPEN_BY_HANDLE_AT: return clues::SystemCallNr::OPEN_BY_HANDLE_AT;
330 case SystemCallNrX64::CLOCK_ADJTIME: return clues::SystemCallNr::CLOCK_ADJTIME;
331 case SystemCallNrX64::SYNCFS: return clues::SystemCallNr::SYNCFS;
332 case SystemCallNrX64::SENDMMSG: return clues::SystemCallNr::SENDMMSG;
333 case SystemCallNrX64::SETNS: return clues::SystemCallNr::SETNS;
334 case SystemCallNrX64::GETCPU: return clues::SystemCallNr::GETCPU;
335 case SystemCallNrX64::PROCESS_VM_READV: return clues::SystemCallNr::PROCESS_VM_READV;
336 case SystemCallNrX64::PROCESS_VM_WRITEV: return clues::SystemCallNr::PROCESS_VM_WRITEV;
337 case SystemCallNrX64::KCMP: return clues::SystemCallNr::KCMP;
338 case SystemCallNrX64::FINIT_MODULE: return clues::SystemCallNr::FINIT_MODULE;
339 case SystemCallNrX64::SCHED_SETATTR: return clues::SystemCallNr::SCHED_SETATTR;
340 case SystemCallNrX64::SCHED_GETATTR: return clues::SystemCallNr::SCHED_GETATTR;
341 case SystemCallNrX64::RENAMEAT2: return clues::SystemCallNr::RENAMEAT2;
342 case SystemCallNrX64::SECCOMP: return clues::SystemCallNr::SECCOMP;
343 case SystemCallNrX64::GETRANDOM: return clues::SystemCallNr::GETRANDOM;
344 case SystemCallNrX64::MEMFD_CREATE: return clues::SystemCallNr::MEMFD_CREATE;
345 case SystemCallNrX64::KEXEC_FILE_LOAD: return clues::SystemCallNr::KEXEC_FILE_LOAD;
346 case SystemCallNrX64::BPF: return clues::SystemCallNr::BPF;
347 case SystemCallNrX64::EXECVEAT: return clues::SystemCallNr::EXECVEAT;
348 case SystemCallNrX64::USERFAULTFD: return clues::SystemCallNr::USERFAULTFD;
349 case SystemCallNrX64::MEMBARRIER: return clues::SystemCallNr::MEMBARRIER;
350 case SystemCallNrX64::MLOCK2: return clues::SystemCallNr::MLOCK2;
351 case SystemCallNrX64::COPY_FILE_RANGE: return clues::SystemCallNr::COPY_FILE_RANGE;
352 case SystemCallNrX64::PREADV2: return clues::SystemCallNr::PREADV2;
353 case SystemCallNrX64::PWRITEV2: return clues::SystemCallNr::PWRITEV2;
354 case SystemCallNrX64::PKEY_MPROTECT: return clues::SystemCallNr::PKEY_MPROTECT;
355 case SystemCallNrX64::PKEY_ALLOC: return clues::SystemCallNr::PKEY_ALLOC;
356 case SystemCallNrX64::PKEY_FREE: return clues::SystemCallNr::PKEY_FREE;
357 case SystemCallNrX64::STATX: return clues::SystemCallNr::STATX;
358 case SystemCallNrX64::IO_PGETEVENTS: return clues::SystemCallNr::IO_PGETEVENTS;
359 case SystemCallNrX64::RSEQ: return clues::SystemCallNr::RSEQ;
360 case SystemCallNrX64::URETPROBE: return clues::SystemCallNr::URETPROBE;
361 case SystemCallNrX64::UPROBE: return clues::SystemCallNr::UPROBE;
362 case SystemCallNrX64::PIDFD_SEND_SIGNAL: return clues::SystemCallNr::PIDFD_SEND_SIGNAL;
363 case SystemCallNrX64::IO_URING_SETUP: return clues::SystemCallNr::IO_URING_SETUP;
364 case SystemCallNrX64::IO_URING_ENTER: return clues::SystemCallNr::IO_URING_ENTER;
365 case SystemCallNrX64::IO_URING_REGISTER: return clues::SystemCallNr::IO_URING_REGISTER;
366 case SystemCallNrX64::OPEN_TREE: return clues::SystemCallNr::OPEN_TREE;
367 case SystemCallNrX64::MOVE_MOUNT: return clues::SystemCallNr::MOVE_MOUNT;
368 case SystemCallNrX64::FSOPEN: return clues::SystemCallNr::FSOPEN;
369 case SystemCallNrX64::FSCONFIG: return clues::SystemCallNr::FSCONFIG;
370 case SystemCallNrX64::FSMOUNT: return clues::SystemCallNr::FSMOUNT;
371 case SystemCallNrX64::FSPICK: return clues::SystemCallNr::FSPICK;
372 case SystemCallNrX64::PIDFD_OPEN: return clues::SystemCallNr::PIDFD_OPEN;
373 case SystemCallNrX64::CLONE3: return clues::SystemCallNr::CLONE3;
374 case SystemCallNrX64::CLOSE_RANGE: return clues::SystemCallNr::CLOSE_RANGE;
375 case SystemCallNrX64::OPENAT2: return clues::SystemCallNr::OPENAT2;
376 case SystemCallNrX64::PIDFD_GETFD: return clues::SystemCallNr::PIDFD_GETFD;
377 case SystemCallNrX64::FACCESSAT2: return clues::SystemCallNr::FACCESSAT2;
378 case SystemCallNrX64::PROCESS_MADVISE: return clues::SystemCallNr::PROCESS_MADVISE;
379 case SystemCallNrX64::EPOLL_PWAIT2: return clues::SystemCallNr::EPOLL_PWAIT2;
380 case SystemCallNrX64::MOUNT_SETATTR: return clues::SystemCallNr::MOUNT_SETATTR;
381 case SystemCallNrX64::QUOTACTL_FD: return clues::SystemCallNr::QUOTACTL_FD;
382 case SystemCallNrX64::LANDLOCK_CREATE_RULESET: return clues::SystemCallNr::LANDLOCK_CREATE_RULESET;
383 case SystemCallNrX64::LANDLOCK_ADD_RULE: return clues::SystemCallNr::LANDLOCK_ADD_RULE;
384 case SystemCallNrX64::LANDLOCK_RESTRICT_SELF: return clues::SystemCallNr::LANDLOCK_RESTRICT_SELF;
385 case SystemCallNrX64::MEMFD_SECRET: return clues::SystemCallNr::MEMFD_SECRET;
386 case SystemCallNrX64::PROCESS_MRELEASE: return clues::SystemCallNr::PROCESS_MRELEASE;
387 case SystemCallNrX64::FUTEX_WAITV: return clues::SystemCallNr::FUTEX_WAITV;
388 case SystemCallNrX64::SET_MEMPOLICY_HOME_NODE: return clues::SystemCallNr::SET_MEMPOLICY_HOME_NODE;
389 case SystemCallNrX64::CACHESTAT: return clues::SystemCallNr::CACHESTAT;
390 case SystemCallNrX64::FCHMODAT2: return clues::SystemCallNr::FCHMODAT2;
391 case SystemCallNrX64::MAP_SHADOW_STACK: return clues::SystemCallNr::MAP_SHADOW_STACK;
392 case SystemCallNrX64::_FUTEX_WAKE: return clues::SystemCallNr::_FUTEX_WAKE;
393 case SystemCallNrX64::_FUTEX_WAIT: return clues::SystemCallNr::_FUTEX_WAIT;
394 case SystemCallNrX64::_FUTEX_REQUEUE: return clues::SystemCallNr::_FUTEX_REQUEUE;
395 case SystemCallNrX64::STATMOUNT: return clues::SystemCallNr::STATMOUNT;
396 case SystemCallNrX64::LISTMOUNT: return clues::SystemCallNr::LISTMOUNT;
397 case SystemCallNrX64::LSM_GET_SELF_ATTR: return clues::SystemCallNr::LSM_GET_SELF_ATTR;
398 case SystemCallNrX64::LSM_SET_SELF_ATTR: return clues::SystemCallNr::LSM_SET_SELF_ATTR;
399 case SystemCallNrX64::LSM_LIST_MODULES: return clues::SystemCallNr::LSM_LIST_MODULES;
400 case SystemCallNrX64::MSEAL: return clues::SystemCallNr::MSEAL;
401 case SystemCallNrX64::SETXATTRAT: return clues::SystemCallNr::SETXATTRAT;
402 case SystemCallNrX64::GETXATTRAT: return clues::SystemCallNr::GETXATTRAT;
403 case SystemCallNrX64::LISTXATTRAT: return clues::SystemCallNr::LISTXATTRAT;
404 case SystemCallNrX64::REMOVEXATTRAT: return clues::SystemCallNr::REMOVEXATTRAT;
405 case SystemCallNrX64::OPEN_TREE_ATTR: return clues::SystemCallNr::OPEN_TREE_ATTR;
406 case SystemCallNrX64::FILE_GETATTR: return clues::SystemCallNr::FILE_GETATTR;
407 case SystemCallNrX64::FILE_SETATTR: return clues::SystemCallNr::FILE_SETATTR;
408 }
409}

Variable Documentation

◆ logger

cosmos::ILogger * clues::logger = nullptr

Global logger instance to use for Clues library logging - if any.

Definition at line 5 of file logger.cxx.

◆ SYSTEM_CALL_COUNT

size_t clues::SYSTEM_CALL_COUNT = 471
constexpr

Definition at line 503 of file generic.hxx.

◆ SYSTEM_CALL_NAME_MAP

CLUES_API const std::map< std::string_view, SystemCallNr > clues::SYSTEM_CALL_NAME_MAP

Definition at line 485 of file generic.cxx.

485 {
486 {std::string_view{"accept"}, SystemCallNr::ACCEPT},
487 {std::string_view{"accept4"}, SystemCallNr::ACCEPT4},
488 {std::string_view{"access"}, SystemCallNr::ACCESS},
489 {std::string_view{"acct"}, SystemCallNr::ACCT},
490 {std::string_view{"add_key"}, SystemCallNr::ADD_KEY},
491 {std::string_view{"adjtimex"}, SystemCallNr::ADJTIMEX},
492 {std::string_view{"afs_syscall"}, SystemCallNr::AFS_SYSCALL},
493 {std::string_view{"alarm"}, SystemCallNr::ALARM},
494 {std::string_view{"arch_prctl"}, SystemCallNr::ARCH_PRCTL},
495 {std::string_view{"bdflush"}, SystemCallNr::BDFLUSH},
496 {std::string_view{"bind"}, SystemCallNr::BIND},
497 {std::string_view{"bpf"}, SystemCallNr::BPF},
498 {std::string_view{"break"}, SystemCallNr::BREAK},
499 {std::string_view{"brk"}, SystemCallNr::BRK},
500 {std::string_view{"cachestat"}, SystemCallNr::CACHESTAT},
501 {std::string_view{"capget"}, SystemCallNr::CAPGET},
502 {std::string_view{"capset"}, SystemCallNr::CAPSET},
503 {std::string_view{"chdir"}, SystemCallNr::CHDIR},
504 {std::string_view{"chmod"}, SystemCallNr::CHMOD},
505 {std::string_view{"chown"}, SystemCallNr::CHOWN},
506 {std::string_view{"chown32"}, SystemCallNr::CHOWN32},
507 {std::string_view{"chroot"}, SystemCallNr::CHROOT},
508 {std::string_view{"clock_adjtime"}, SystemCallNr::CLOCK_ADJTIME},
509 {std::string_view{"clock_adjtime64"}, SystemCallNr::CLOCK_ADJTIME64},
510 {std::string_view{"clock_getres"}, SystemCallNr::CLOCK_GETRES},
511 {std::string_view{"clock_getres_time64"}, SystemCallNr::CLOCK_GETRES_TIME64},
512 {std::string_view{"clock_gettime"}, SystemCallNr::CLOCK_GETTIME},
513 {std::string_view{"clock_gettime64"}, SystemCallNr::CLOCK_GETTIME64},
514 {std::string_view{"clock_nanosleep"}, SystemCallNr::CLOCK_NANOSLEEP},
515 {std::string_view{"clock_nanosleep_time64"}, SystemCallNr::CLOCK_NANOSLEEP_TIME64},
516 {std::string_view{"clock_settime"}, SystemCallNr::CLOCK_SETTIME},
517 {std::string_view{"clock_settime64"}, SystemCallNr::CLOCK_SETTIME64},
518 {std::string_view{"clone"}, SystemCallNr::CLONE},
519 {std::string_view{"clone3"}, SystemCallNr::CLONE3},
520 {std::string_view{"close"}, SystemCallNr::CLOSE},
521 {std::string_view{"close_range"}, SystemCallNr::CLOSE_RANGE},
522 {std::string_view{"connect"}, SystemCallNr::CONNECT},
523 {std::string_view{"copy_file_range"}, SystemCallNr::COPY_FILE_RANGE},
524 {std::string_view{"creat"}, SystemCallNr::CREAT},
525 {std::string_view{"create_module"}, SystemCallNr::CREATE_MODULE},
526 {std::string_view{"delete_module"}, SystemCallNr::DELETE_MODULE},
527 {std::string_view{"dup"}, SystemCallNr::DUP},
528 {std::string_view{"dup2"}, SystemCallNr::DUP2},
529 {std::string_view{"dup3"}, SystemCallNr::DUP3},
530 {std::string_view{"epoll_create"}, SystemCallNr::EPOLL_CREATE},
531 {std::string_view{"epoll_create1"}, SystemCallNr::EPOLL_CREATE1},
532 {std::string_view{"epoll_ctl"}, SystemCallNr::EPOLL_CTL},
533 {std::string_view{"epoll_ctl_old"}, SystemCallNr::EPOLL_CTL_OLD},
534 {std::string_view{"epoll_pwait"}, SystemCallNr::EPOLL_PWAIT},
535 {std::string_view{"epoll_pwait2"}, SystemCallNr::EPOLL_PWAIT2},
536 {std::string_view{"epoll_wait"}, SystemCallNr::EPOLL_WAIT},
537 {std::string_view{"epoll_wait_old"}, SystemCallNr::EPOLL_WAIT_OLD},
538 {std::string_view{"eventfd"}, SystemCallNr::EVENTFD},
539 {std::string_view{"eventfd2"}, SystemCallNr::EVENTFD2},
540 {std::string_view{"execve"}, SystemCallNr::EXECVE},
541 {std::string_view{"execveat"}, SystemCallNr::EXECVEAT},
542 {std::string_view{"exit"}, SystemCallNr::EXIT},
543 {std::string_view{"exit_group"}, SystemCallNr::EXIT_GROUP},
544 {std::string_view{"faccessat"}, SystemCallNr::FACCESSAT},
545 {std::string_view{"faccessat2"}, SystemCallNr::FACCESSAT2},
546 {std::string_view{"fadvise64"}, SystemCallNr::FADVISE64},
547 {std::string_view{"fadvise64_64"}, SystemCallNr::FADVISE64_64},
548 {std::string_view{"fallocate"}, SystemCallNr::FALLOCATE},
549 {std::string_view{"fanotify_init"}, SystemCallNr::FANOTIFY_INIT},
550 {std::string_view{"fanotify_mark"}, SystemCallNr::FANOTIFY_MARK},
551 {std::string_view{"fchdir"}, SystemCallNr::FCHDIR},
552 {std::string_view{"fchmod"}, SystemCallNr::FCHMOD},
553 {std::string_view{"fchmodat"}, SystemCallNr::FCHMODAT},
554 {std::string_view{"fchmodat2"}, SystemCallNr::FCHMODAT2},
555 {std::string_view{"fchown"}, SystemCallNr::FCHOWN},
556 {std::string_view{"fchown32"}, SystemCallNr::FCHOWN32},
557 {std::string_view{"fchownat"}, SystemCallNr::FCHOWNAT},
558 {std::string_view{"fcntl"}, SystemCallNr::FCNTL},
559 {std::string_view{"fcntl64"}, SystemCallNr::FCNTL64},
560 {std::string_view{"fdatasync"}, SystemCallNr::FDATASYNC},
561 {std::string_view{"fgetxattr"}, SystemCallNr::FGETXATTR},
562 {std::string_view{"file_getattr"}, SystemCallNr::FILE_GETATTR},
563 {std::string_view{"file_setattr"}, SystemCallNr::FILE_SETATTR},
564 {std::string_view{"finit_module"}, SystemCallNr::FINIT_MODULE},
565 {std::string_view{"flistxattr"}, SystemCallNr::FLISTXATTR},
566 {std::string_view{"flock"}, SystemCallNr::FLOCK},
567 {std::string_view{"fork"}, SystemCallNr::FORK},
568 {std::string_view{"fremovexattr"}, SystemCallNr::FREMOVEXATTR},
569 {std::string_view{"fsconfig"}, SystemCallNr::FSCONFIG},
570 {std::string_view{"fsetxattr"}, SystemCallNr::FSETXATTR},
571 {std::string_view{"fsmount"}, SystemCallNr::FSMOUNT},
572 {std::string_view{"fsopen"}, SystemCallNr::FSOPEN},
573 {std::string_view{"fspick"}, SystemCallNr::FSPICK},
574 {std::string_view{"fstat"}, SystemCallNr::FSTAT},
575 {std::string_view{"fstat64"}, SystemCallNr::FSTAT64},
576 {std::string_view{"fstatat64"}, SystemCallNr::FSTATAT64},
577 {std::string_view{"fstatfs"}, SystemCallNr::FSTATFS},
578 {std::string_view{"fstatfs64"}, SystemCallNr::FSTATFS64},
579 {std::string_view{"fsync"}, SystemCallNr::FSYNC},
580 {std::string_view{"ftime"}, SystemCallNr::FTIME},
581 {std::string_view{"ftruncate"}, SystemCallNr::FTRUNCATE},
582 {std::string_view{"ftruncate64"}, SystemCallNr::FTRUNCATE64},
583 {std::string_view{"futex"}, SystemCallNr::FUTEX},
584 {std::string_view{"futex_requeue"}, SystemCallNr::_FUTEX_REQUEUE},
585 {std::string_view{"futex_time64"}, SystemCallNr::FUTEX_TIME64},
586 {std::string_view{"futex_wait"}, SystemCallNr::_FUTEX_WAIT},
587 {std::string_view{"futex_waitv"}, SystemCallNr::FUTEX_WAITV},
588 {std::string_view{"futex_wake"}, SystemCallNr::_FUTEX_WAKE},
589 {std::string_view{"futimesat"}, SystemCallNr::FUTIMESAT},
590 {std::string_view{"get_kernel_syms"}, SystemCallNr::GET_KERNEL_SYMS},
591 {std::string_view{"get_mempolicy"}, SystemCallNr::GET_MEMPOLICY},
592 {std::string_view{"get_robust_list"}, SystemCallNr::GET_ROBUST_LIST},
593 {std::string_view{"get_thread_area"}, SystemCallNr::GET_THREAD_AREA},
594 {std::string_view{"getcpu"}, SystemCallNr::GETCPU},
595 {std::string_view{"getcwd"}, SystemCallNr::GETCWD},
596 {std::string_view{"getdents"}, SystemCallNr::GETDENTS},
597 {std::string_view{"getdents64"}, SystemCallNr::GETDENTS64},
598 {std::string_view{"getegid"}, SystemCallNr::GETEGID},
599 {std::string_view{"getegid32"}, SystemCallNr::GETEGID32},
600 {std::string_view{"geteuid"}, SystemCallNr::GETEUID},
601 {std::string_view{"geteuid32"}, SystemCallNr::GETEUID32},
602 {std::string_view{"getgid"}, SystemCallNr::GETGID},
603 {std::string_view{"getgid32"}, SystemCallNr::GETGID32},
604 {std::string_view{"getgroups"}, SystemCallNr::GETGROUPS},
605 {std::string_view{"getgroups32"}, SystemCallNr::GETGROUPS32},
606 {std::string_view{"getitimer"}, SystemCallNr::GETITIMER},
607 {std::string_view{"getpeername"}, SystemCallNr::GETPEERNAME},
608 {std::string_view{"getpgid"}, SystemCallNr::GETPGID},
609 {std::string_view{"getpgrp"}, SystemCallNr::GETPGRP},
610 {std::string_view{"getpid"}, SystemCallNr::GETPID},
611 {std::string_view{"getpmsg"}, SystemCallNr::GETPMSG},
612 {std::string_view{"getppid"}, SystemCallNr::GETPPID},
613 {std::string_view{"getpriority"}, SystemCallNr::GETPRIORITY},
614 {std::string_view{"getrandom"}, SystemCallNr::GETRANDOM},
615 {std::string_view{"getresgid"}, SystemCallNr::GETRESGID},
616 {std::string_view{"getresgid32"}, SystemCallNr::GETRESGID32},
617 {std::string_view{"getresuid"}, SystemCallNr::GETRESUID},
618 {std::string_view{"getresuid32"}, SystemCallNr::GETRESUID32},
619 {std::string_view{"getrlimit"}, SystemCallNr::GETRLIMIT},
620 {std::string_view{"getrusage"}, SystemCallNr::GETRUSAGE},
621 {std::string_view{"getsid"}, SystemCallNr::GETSID},
622 {std::string_view{"getsockname"}, SystemCallNr::GETSOCKNAME},
623 {std::string_view{"getsockopt"}, SystemCallNr::GETSOCKOPT},
624 {std::string_view{"gettid"}, SystemCallNr::GETTID},
625 {std::string_view{"gettimeofday"}, SystemCallNr::GETTIMEOFDAY},
626 {std::string_view{"getuid"}, SystemCallNr::GETUID},
627 {std::string_view{"getuid32"}, SystemCallNr::GETUID32},
628 {std::string_view{"getxattr"}, SystemCallNr::GETXATTR},
629 {std::string_view{"getxattrat"}, SystemCallNr::GETXATTRAT},
630 {std::string_view{"gtty"}, SystemCallNr::GTTY},
631 {std::string_view{"idle"}, SystemCallNr::IDLE},
632 {std::string_view{"init_module"}, SystemCallNr::INIT_MODULE},
633 {std::string_view{"inotify_add_watch"}, SystemCallNr::INOTIFY_ADD_WATCH},
634 {std::string_view{"inotify_init"}, SystemCallNr::INOTIFY_INIT},
635 {std::string_view{"inotify_init1"}, SystemCallNr::INOTIFY_INIT1},
636 {std::string_view{"inotify_rm_watch"}, SystemCallNr::INOTIFY_RM_WATCH},
637 {std::string_view{"io_cancel"}, SystemCallNr::IO_CANCEL},
638 {std::string_view{"io_destroy"}, SystemCallNr::IO_DESTROY},
639 {std::string_view{"io_getevents"}, SystemCallNr::IO_GETEVENTS},
640 {std::string_view{"io_pgetevents"}, SystemCallNr::IO_PGETEVENTS},
641 {std::string_view{"io_pgetevents_time64"}, SystemCallNr::IO_PGETEVENTS_TIME64},
642 {std::string_view{"io_setup"}, SystemCallNr::IO_SETUP},
643 {std::string_view{"io_submit"}, SystemCallNr::IO_SUBMIT},
644 {std::string_view{"io_uring_enter"}, SystemCallNr::IO_URING_ENTER},
645 {std::string_view{"io_uring_register"}, SystemCallNr::IO_URING_REGISTER},
646 {std::string_view{"io_uring_setup"}, SystemCallNr::IO_URING_SETUP},
647 {std::string_view{"ioctl"}, SystemCallNr::IOCTL},
648 {std::string_view{"ioperm"}, SystemCallNr::IOPERM},
649 {std::string_view{"iopl"}, SystemCallNr::IOPL},
650 {std::string_view{"ioprio_get"}, SystemCallNr::IOPRIO_GET},
651 {std::string_view{"ioprio_set"}, SystemCallNr::IOPRIO_SET},
652 {std::string_view{"ipc"}, SystemCallNr::IPC},
653 {std::string_view{"kcmp"}, SystemCallNr::KCMP},
654 {std::string_view{"kexec_file_load"}, SystemCallNr::KEXEC_FILE_LOAD},
655 {std::string_view{"kexec_load"}, SystemCallNr::KEXEC_LOAD},
656 {std::string_view{"keyctl"}, SystemCallNr::KEYCTL},
657 {std::string_view{"kill"}, SystemCallNr::KILL},
658 {std::string_view{"landlock_add_rule"}, SystemCallNr::LANDLOCK_ADD_RULE},
659 {std::string_view{"landlock_create_ruleset"}, SystemCallNr::LANDLOCK_CREATE_RULESET},
660 {std::string_view{"landlock_restrict_self"}, SystemCallNr::LANDLOCK_RESTRICT_SELF},
661 {std::string_view{"lchown"}, SystemCallNr::LCHOWN},
662 {std::string_view{"lchown32"}, SystemCallNr::LCHOWN32},
663 {std::string_view{"lgetxattr"}, SystemCallNr::LGETXATTR},
664 {std::string_view{"link"}, SystemCallNr::LINK},
665 {std::string_view{"linkat"}, SystemCallNr::LINKAT},
666 {std::string_view{"listen"}, SystemCallNr::LISTEN},
667 {std::string_view{"listmount"}, SystemCallNr::LISTMOUNT},
668 {std::string_view{"listxattr"}, SystemCallNr::LISTXATTR},
669 {std::string_view{"listxattrat"}, SystemCallNr::LISTXATTRAT},
670 {std::string_view{"llistxattr"}, SystemCallNr::LLISTXATTR},
671 {std::string_view{"llseek"}, SystemCallNr::LLSEEK},
672 {std::string_view{"lock"}, SystemCallNr::LOCK},
673 {std::string_view{"lookup_dcookie"}, SystemCallNr::LOOKUP_DCOOKIE},
674 {std::string_view{"lremovexattr"}, SystemCallNr::LREMOVEXATTR},
675 {std::string_view{"lseek"}, SystemCallNr::LSEEK},
676 {std::string_view{"lsetxattr"}, SystemCallNr::LSETXATTR},
677 {std::string_view{"lsm_get_self_attr"}, SystemCallNr::LSM_GET_SELF_ATTR},
678 {std::string_view{"lsm_list_modules"}, SystemCallNr::LSM_LIST_MODULES},
679 {std::string_view{"lsm_set_self_attr"}, SystemCallNr::LSM_SET_SELF_ATTR},
680 {std::string_view{"lstat"}, SystemCallNr::LSTAT},
681 {std::string_view{"lstat64"}, SystemCallNr::LSTAT64},
682 {std::string_view{"madvise"}, SystemCallNr::MADVISE},
683 {std::string_view{"map_shadow_stack"}, SystemCallNr::MAP_SHADOW_STACK},
684 {std::string_view{"mbind"}, SystemCallNr::MBIND},
685 {std::string_view{"membarrier"}, SystemCallNr::MEMBARRIER},
686 {std::string_view{"memfd_create"}, SystemCallNr::MEMFD_CREATE},
687 {std::string_view{"memfd_secret"}, SystemCallNr::MEMFD_SECRET},
688 {std::string_view{"migrate_pages"}, SystemCallNr::MIGRATE_PAGES},
689 {std::string_view{"mincore"}, SystemCallNr::MINCORE},
690 {std::string_view{"mkdir"}, SystemCallNr::MKDIR},
691 {std::string_view{"mkdirat"}, SystemCallNr::MKDIRAT},
692 {std::string_view{"mknod"}, SystemCallNr::MKNOD},
693 {std::string_view{"mknodat"}, SystemCallNr::MKNODAT},
694 {std::string_view{"mlock"}, SystemCallNr::MLOCK},
695 {std::string_view{"mlock2"}, SystemCallNr::MLOCK2},
696 {std::string_view{"mlockall"}, SystemCallNr::MLOCKALL},
697 {std::string_view{"mmap"}, SystemCallNr::MMAP},
698 {std::string_view{"mmap2"}, SystemCallNr::MMAP2},
699 {std::string_view{"modify_ldt"}, SystemCallNr::MODIFY_LDT},
700 {std::string_view{"mount"}, SystemCallNr::MOUNT},
701 {std::string_view{"mount_setattr"}, SystemCallNr::MOUNT_SETATTR},
702 {std::string_view{"move_mount"}, SystemCallNr::MOVE_MOUNT},
703 {std::string_view{"move_pages"}, SystemCallNr::MOVE_PAGES},
704 {std::string_view{"mprotect"}, SystemCallNr::MPROTECT},
705 {std::string_view{"mpx"}, SystemCallNr::MPX},
706 {std::string_view{"mq_getsetattr"}, SystemCallNr::MQ_GETSETATTR},
707 {std::string_view{"mq_notify"}, SystemCallNr::MQ_NOTIFY},
708 {std::string_view{"mq_open"}, SystemCallNr::MQ_OPEN},
709 {std::string_view{"mq_timedreceive"}, SystemCallNr::MQ_TIMEDRECEIVE},
710 {std::string_view{"mq_timedreceive_time64"}, SystemCallNr::MQ_TIMEDRECEIVE_TIME64},
711 {std::string_view{"mq_timedsend"}, SystemCallNr::MQ_TIMEDSEND},
712 {std::string_view{"mq_timedsend_time64"}, SystemCallNr::MQ_TIMEDSEND_TIME64},
713 {std::string_view{"mq_unlink"}, SystemCallNr::MQ_UNLINK},
714 {std::string_view{"mremap"}, SystemCallNr::MREMAP},
715 {std::string_view{"mseal"}, SystemCallNr::MSEAL},
716 {std::string_view{"msgctl"}, SystemCallNr::MSGCTL},
717 {std::string_view{"msgget"}, SystemCallNr::MSGGET},
718 {std::string_view{"msgrcv"}, SystemCallNr::MSGRCV},
719 {std::string_view{"msgsnd"}, SystemCallNr::MSGSND},
720 {std::string_view{"msync"}, SystemCallNr::MSYNC},
721 {std::string_view{"munlock"}, SystemCallNr::MUNLOCK},
722 {std::string_view{"munlockall"}, SystemCallNr::MUNLOCKALL},
723 {std::string_view{"munmap"}, SystemCallNr::MUNMAP},
724 {std::string_view{"name_to_handle_at"}, SystemCallNr::NAME_TO_HANDLE_AT},
725 {std::string_view{"nanosleep"}, SystemCallNr::NANOSLEEP},
726 {std::string_view{"newfstatat"}, SystemCallNr::NEWFSTATAT},
727 {std::string_view{"newselect"}, SystemCallNr::NEWSELECT},
728 {std::string_view{"nfsservctl"}, SystemCallNr::NFSSERVCTL},
729 {std::string_view{"nice"}, SystemCallNr::NICE},
730 {std::string_view{"oldfstat"}, SystemCallNr::OLDFSTAT},
731 {std::string_view{"oldlstat"}, SystemCallNr::OLDLSTAT},
732 {std::string_view{"oldolduname"}, SystemCallNr::OLDOLDUNAME},
733 {std::string_view{"oldstat"}, SystemCallNr::OLDSTAT},
734 {std::string_view{"olduname"}, SystemCallNr::OLDUNAME},
735 {std::string_view{"open"}, SystemCallNr::OPEN},
736 {std::string_view{"open_by_handle_at"}, SystemCallNr::OPEN_BY_HANDLE_AT},
737 {std::string_view{"open_tree"}, SystemCallNr::OPEN_TREE},
738 {std::string_view{"open_tree_attr"}, SystemCallNr::OPEN_TREE_ATTR},
739 {std::string_view{"openat"}, SystemCallNr::OPENAT},
740 {std::string_view{"openat2"}, SystemCallNr::OPENAT2},
741 {std::string_view{"pause"}, SystemCallNr::PAUSE},
742 {std::string_view{"perf_event_open"}, SystemCallNr::PERF_EVENT_OPEN},
743 {std::string_view{"personality"}, SystemCallNr::PERSONALITY},
744 {std::string_view{"pidfd_getfd"}, SystemCallNr::PIDFD_GETFD},
745 {std::string_view{"pidfd_open"}, SystemCallNr::PIDFD_OPEN},
746 {std::string_view{"pidfd_send_signal"}, SystemCallNr::PIDFD_SEND_SIGNAL},
747 {std::string_view{"pipe"}, SystemCallNr::PIPE},
748 {std::string_view{"pipe2"}, SystemCallNr::PIPE2},
749 {std::string_view{"pivot_root"}, SystemCallNr::PIVOT_ROOT},
750 {std::string_view{"pkey_alloc"}, SystemCallNr::PKEY_ALLOC},
751 {std::string_view{"pkey_free"}, SystemCallNr::PKEY_FREE},
752 {std::string_view{"pkey_mprotect"}, SystemCallNr::PKEY_MPROTECT},
753 {std::string_view{"poll"}, SystemCallNr::POLL},
754 {std::string_view{"ppoll"}, SystemCallNr::PPOLL},
755 {std::string_view{"ppoll_time64"}, SystemCallNr::PPOLL_TIME64},
756 {std::string_view{"prctl"}, SystemCallNr::PRCTL},
757 {std::string_view{"pread64"}, SystemCallNr::PREAD64},
758 {std::string_view{"preadv"}, SystemCallNr::PREADV},
759 {std::string_view{"preadv2"}, SystemCallNr::PREADV2},
760 {std::string_view{"prlimit64"}, SystemCallNr::PRLIMIT64},
761 {std::string_view{"process_madvise"}, SystemCallNr::PROCESS_MADVISE},
762 {std::string_view{"process_mrelease"}, SystemCallNr::PROCESS_MRELEASE},
763 {std::string_view{"process_vm_readv"}, SystemCallNr::PROCESS_VM_READV},
764 {std::string_view{"process_vm_writev"}, SystemCallNr::PROCESS_VM_WRITEV},
765 {std::string_view{"prof"}, SystemCallNr::PROF},
766 {std::string_view{"profil"}, SystemCallNr::PROFIL},
767 {std::string_view{"pselect6"}, SystemCallNr::PSELECT6},
768 {std::string_view{"pselect6_time64"}, SystemCallNr::PSELECT6_TIME64},
769 {std::string_view{"ptrace"}, SystemCallNr::PTRACE},
770 {std::string_view{"putpmsg"}, SystemCallNr::PUTPMSG},
771 {std::string_view{"pwrite64"}, SystemCallNr::PWRITE64},
772 {std::string_view{"pwritev"}, SystemCallNr::PWRITEV},
773 {std::string_view{"pwritev2"}, SystemCallNr::PWRITEV2},
774 {std::string_view{"query_module"}, SystemCallNr::QUERY_MODULE},
775 {std::string_view{"quotactl"}, SystemCallNr::QUOTACTL},
776 {std::string_view{"quotactl_fd"}, SystemCallNr::QUOTACTL_FD},
777 {std::string_view{"read"}, SystemCallNr::READ},
778 {std::string_view{"readahead"}, SystemCallNr::READAHEAD},
779 {std::string_view{"readdir"}, SystemCallNr::READDIR},
780 {std::string_view{"readlink"}, SystemCallNr::READLINK},
781 {std::string_view{"readlinkat"}, SystemCallNr::READLINKAT},
782 {std::string_view{"readv"}, SystemCallNr::READV},
783 {std::string_view{"reboot"}, SystemCallNr::REBOOT},
784 {std::string_view{"recvfrom"}, SystemCallNr::RECVFROM},
785 {std::string_view{"recvmmsg"}, SystemCallNr::RECVMMSG},
786 {std::string_view{"recvmmsg_time64"}, SystemCallNr::RECVMMSG_TIME64},
787 {std::string_view{"recvmsg"}, SystemCallNr::RECVMSG},
788 {std::string_view{"remap_file_pages"}, SystemCallNr::REMAP_FILE_PAGES},
789 {std::string_view{"removexattr"}, SystemCallNr::REMOVEXATTR},
790 {std::string_view{"removexattrat"}, SystemCallNr::REMOVEXATTRAT},
791 {std::string_view{"rename"}, SystemCallNr::RENAME},
792 {std::string_view{"renameat"}, SystemCallNr::RENAMEAT},
793 {std::string_view{"renameat2"}, SystemCallNr::RENAMEAT2},
794 {std::string_view{"request_key"}, SystemCallNr::REQUEST_KEY},
795 {std::string_view{"restart_syscall"}, SystemCallNr::RESTART_SYSCALL},
796 {std::string_view{"rmdir"}, SystemCallNr::RMDIR},
797 {std::string_view{"rseq"}, SystemCallNr::RSEQ},
798 {std::string_view{"rt_sigaction"}, SystemCallNr::RT_SIGACTION},
799 {std::string_view{"rt_sigpending"}, SystemCallNr::RT_SIGPENDING},
800 {std::string_view{"rt_sigprocmask"}, SystemCallNr::RT_SIGPROCMASK},
801 {std::string_view{"rt_sigqueueinfo"}, SystemCallNr::RT_SIGQUEUEINFO},
802 {std::string_view{"rt_sigreturn"}, SystemCallNr::RT_SIGRETURN},
803 {std::string_view{"rt_sigsuspend"}, SystemCallNr::RT_SIGSUSPEND},
804 {std::string_view{"rt_sigtimedwait"}, SystemCallNr::RT_SIGTIMEDWAIT},
805 {std::string_view{"rt_sigtimedwait_time64"}, SystemCallNr::RT_SIGTIMEDWAIT_TIME64},
806 {std::string_view{"rt_tgsigqueueinfo"}, SystemCallNr::RT_TGSIGQUEUEINFO},
807 {std::string_view{"sched_get_priority_max"}, SystemCallNr::SCHED_GET_PRIORITY_MAX},
808 {std::string_view{"sched_get_priority_min"}, SystemCallNr::SCHED_GET_PRIORITY_MIN},
809 {std::string_view{"sched_getaffinity"}, SystemCallNr::SCHED_GETAFFINITY},
810 {std::string_view{"sched_getattr"}, SystemCallNr::SCHED_GETATTR},
811 {std::string_view{"sched_getparam"}, SystemCallNr::SCHED_GETPARAM},
812 {std::string_view{"sched_getscheduler"}, SystemCallNr::SCHED_GETSCHEDULER},
813 {std::string_view{"sched_rr_get_interval"}, SystemCallNr::SCHED_RR_GET_INTERVAL},
814 {std::string_view{"sched_rr_get_interval_time64"}, SystemCallNr::SCHED_RR_GET_INTERVAL_TIME64},
815 {std::string_view{"sched_setaffinity"}, SystemCallNr::SCHED_SETAFFINITY},
816 {std::string_view{"sched_setattr"}, SystemCallNr::SCHED_SETATTR},
817 {std::string_view{"sched_setparam"}, SystemCallNr::SCHED_SETPARAM},
818 {std::string_view{"sched_setscheduler"}, SystemCallNr::SCHED_SETSCHEDULER},
819 {std::string_view{"sched_yield"}, SystemCallNr::SCHED_YIELD},
820 {std::string_view{"seccomp"}, SystemCallNr::SECCOMP},
821 {std::string_view{"security"}, SystemCallNr::SECURITY},
822 {std::string_view{"select"}, SystemCallNr::SELECT},
823 {std::string_view{"semctl"}, SystemCallNr::SEMCTL},
824 {std::string_view{"semget"}, SystemCallNr::SEMGET},
825 {std::string_view{"semop"}, SystemCallNr::SEMOP},
826 {std::string_view{"semtimedop"}, SystemCallNr::SEMTIMEDOP},
827 {std::string_view{"semtimedop_time64"}, SystemCallNr::SEMTIMEDOP_TIME64},
828 {std::string_view{"sendfile"}, SystemCallNr::SENDFILE},
829 {std::string_view{"sendfile64"}, SystemCallNr::SENDFILE64},
830 {std::string_view{"sendmmsg"}, SystemCallNr::SENDMMSG},
831 {std::string_view{"sendmsg"}, SystemCallNr::SENDMSG},
832 {std::string_view{"sendto"}, SystemCallNr::SENDTO},
833 {std::string_view{"set_mempolicy"}, SystemCallNr::SET_MEMPOLICY},
834 {std::string_view{"set_mempolicy_home_node"}, SystemCallNr::SET_MEMPOLICY_HOME_NODE},
835 {std::string_view{"set_robust_list"}, SystemCallNr::SET_ROBUST_LIST},
836 {std::string_view{"set_thread_area"}, SystemCallNr::SET_THREAD_AREA},
837 {std::string_view{"set_tid_address"}, SystemCallNr::SET_TID_ADDRESS},
838 {std::string_view{"setdomainname"}, SystemCallNr::SETDOMAINNAME},
839 {std::string_view{"setfsgid"}, SystemCallNr::SETFSGID},
840 {std::string_view{"setfsgid32"}, SystemCallNr::SETFSGID32},
841 {std::string_view{"setfsuid"}, SystemCallNr::SETFSUID},
842 {std::string_view{"setfsuid32"}, SystemCallNr::SETFSUID32},
843 {std::string_view{"setgid"}, SystemCallNr::SETGID},
844 {std::string_view{"setgid32"}, SystemCallNr::SETGID32},
845 {std::string_view{"setgroups"}, SystemCallNr::SETGROUPS},
846 {std::string_view{"setgroups32"}, SystemCallNr::SETGROUPS32},
847 {std::string_view{"sethostname"}, SystemCallNr::SETHOSTNAME},
848 {std::string_view{"setitimer"}, SystemCallNr::SETITIMER},
849 {std::string_view{"setns"}, SystemCallNr::SETNS},
850 {std::string_view{"setpgid"}, SystemCallNr::SETPGID},
851 {std::string_view{"setpriority"}, SystemCallNr::SETPRIORITY},
852 {std::string_view{"setregid"}, SystemCallNr::SETREGID},
853 {std::string_view{"setregid32"}, SystemCallNr::SETREGID32},
854 {std::string_view{"setresgid"}, SystemCallNr::SETRESGID},
855 {std::string_view{"setresgid32"}, SystemCallNr::SETRESGID32},
856 {std::string_view{"setresuid"}, SystemCallNr::SETRESUID},
857 {std::string_view{"setresuid32"}, SystemCallNr::SETRESUID32},
858 {std::string_view{"setreuid"}, SystemCallNr::SETREUID},
859 {std::string_view{"setreuid32"}, SystemCallNr::SETREUID32},
860 {std::string_view{"setrlimit"}, SystemCallNr::SETRLIMIT},
861 {std::string_view{"setsid"}, SystemCallNr::SETSID},
862 {std::string_view{"setsockopt"}, SystemCallNr::SETSOCKOPT},
863 {std::string_view{"settimeofday"}, SystemCallNr::SETTIMEOFDAY},
864 {std::string_view{"setuid"}, SystemCallNr::SETUID},
865 {std::string_view{"setuid32"}, SystemCallNr::SETUID32},
866 {std::string_view{"setxattr"}, SystemCallNr::SETXATTR},
867 {std::string_view{"setxattrat"}, SystemCallNr::SETXATTRAT},
868 {std::string_view{"sgetmask"}, SystemCallNr::SGETMASK},
869 {std::string_view{"shmat"}, SystemCallNr::SHMAT},
870 {std::string_view{"shmctl"}, SystemCallNr::SHMCTL},
871 {std::string_view{"shmdt"}, SystemCallNr::SHMDT},
872 {std::string_view{"shmget"}, SystemCallNr::SHMGET},
873 {std::string_view{"shutdown"}, SystemCallNr::SHUTDOWN},
874 {std::string_view{"sigaction"}, SystemCallNr::SIGACTION},
875 {std::string_view{"sigaltstack"}, SystemCallNr::SIGALTSTACK},
876 {std::string_view{"signal"}, SystemCallNr::SIGNAL},
877 {std::string_view{"signalfd"}, SystemCallNr::SIGNALFD},
878 {std::string_view{"signalfd4"}, SystemCallNr::SIGNALFD4},
879 {std::string_view{"sigpending"}, SystemCallNr::SIGPENDING},
880 {std::string_view{"sigprocmask"}, SystemCallNr::SIGPROCMASK},
881 {std::string_view{"sigreturn"}, SystemCallNr::SIGRETURN},
882 {std::string_view{"sigsuspend"}, SystemCallNr::SIGSUSPEND},
883 {std::string_view{"socket"}, SystemCallNr::SOCKET},
884 {std::string_view{"socketcall"}, SystemCallNr::SOCKETCALL},
885 {std::string_view{"socketpair"}, SystemCallNr::SOCKETPAIR},
886 {std::string_view{"splice"}, SystemCallNr::SPLICE},
887 {std::string_view{"ssetmask"}, SystemCallNr::SSETMASK},
888 {std::string_view{"stat"}, SystemCallNr::STAT},
889 {std::string_view{"stat64"}, SystemCallNr::STAT64},
890 {std::string_view{"statfs"}, SystemCallNr::STATFS},
891 {std::string_view{"statfs64"}, SystemCallNr::STATFS64},
892 {std::string_view{"statmount"}, SystemCallNr::STATMOUNT},
893 {std::string_view{"statx"}, SystemCallNr::STATX},
894 {std::string_view{"stime"}, SystemCallNr::STIME},
895 {std::string_view{"stty"}, SystemCallNr::STTY},
896 {std::string_view{"swapoff"}, SystemCallNr::SWAPOFF},
897 {std::string_view{"swapon"}, SystemCallNr::SWAPON},
898 {std::string_view{"symlink"}, SystemCallNr::SYMLINK},
899 {std::string_view{"symlinkat"}, SystemCallNr::SYMLINKAT},
900 {std::string_view{"sync"}, SystemCallNr::SYNC},
901 {std::string_view{"sync_file_range"}, SystemCallNr::SYNC_FILE_RANGE},
902 {std::string_view{"syncfs"}, SystemCallNr::SYNCFS},
903 {std::string_view{"sysctl"}, SystemCallNr::SYSCTL},
904 {std::string_view{"sysfs"}, SystemCallNr::SYSFS},
905 {std::string_view{"sysinfo"}, SystemCallNr::SYSINFO},
906 {std::string_view{"syslog"}, SystemCallNr::SYSLOG},
907 {std::string_view{"tee"}, SystemCallNr::TEE},
908 {std::string_view{"tgkill"}, SystemCallNr::TGKILL},
909 {std::string_view{"time"}, SystemCallNr::TIME},
910 {std::string_view{"timer_create"}, SystemCallNr::TIMER_CREATE},
911 {std::string_view{"timer_delete"}, SystemCallNr::TIMER_DELETE},
912 {std::string_view{"timer_getoverrun"}, SystemCallNr::TIMER_GETOVERRUN},
913 {std::string_view{"timer_gettime"}, SystemCallNr::TIMER_GETTIME},
914 {std::string_view{"timer_gettime64"}, SystemCallNr::TIMER_GETTIME64},
915 {std::string_view{"timer_settime"}, SystemCallNr::TIMER_SETTIME},
916 {std::string_view{"timer_settime64"}, SystemCallNr::TIMER_SETTIME64},
917 {std::string_view{"timerfd_create"}, SystemCallNr::TIMERFD_CREATE},
918 {std::string_view{"timerfd_gettime"}, SystemCallNr::TIMERFD_GETTIME},
919 {std::string_view{"timerfd_gettime64"}, SystemCallNr::TIMERFD_GETTIME64},
920 {std::string_view{"timerfd_settime"}, SystemCallNr::TIMERFD_SETTIME},
921 {std::string_view{"timerfd_settime64"}, SystemCallNr::TIMERFD_SETTIME64},
922 {std::string_view{"times"}, SystemCallNr::TIMES},
923 {std::string_view{"tkill"}, SystemCallNr::TKILL},
924 {std::string_view{"truncate"}, SystemCallNr::TRUNCATE},
925 {std::string_view{"truncate64"}, SystemCallNr::TRUNCATE64},
926 {std::string_view{"tuxcall"}, SystemCallNr::TUXCALL},
927 {std::string_view{"ugetrlimit"}, SystemCallNr::UGETRLIMIT},
928 {std::string_view{"ulimit"}, SystemCallNr::ULIMIT},
929 {std::string_view{"umask"}, SystemCallNr::UMASK},
930 {std::string_view{"umount"}, SystemCallNr::UMOUNT},
931 {std::string_view{"umount2"}, SystemCallNr::UMOUNT2},
932 {std::string_view{"uname"}, SystemCallNr::UNAME},
933 {std::string_view{"unlink"}, SystemCallNr::UNLINK},
934 {std::string_view{"unlinkat"}, SystemCallNr::UNLINKAT},
935 {std::string_view{"unshare"}, SystemCallNr::UNSHARE},
936 {std::string_view{"uprobe"}, SystemCallNr::UPROBE},
937 {std::string_view{"uretprobe"}, SystemCallNr::URETPROBE},
938 {std::string_view{"uselib"}, SystemCallNr::USELIB},
939 {std::string_view{"userfaultfd"}, SystemCallNr::USERFAULTFD},
940 {std::string_view{"ustat"}, SystemCallNr::USTAT},
941 {std::string_view{"utime"}, SystemCallNr::UTIME},
942 {std::string_view{"utimensat"}, SystemCallNr::UTIMENSAT},
943 {std::string_view{"utimensat_time64"}, SystemCallNr::UTIMENSAT_TIME64},
944 {std::string_view{"utimes"}, SystemCallNr::UTIMES},
945 {std::string_view{"vfork"}, SystemCallNr::VFORK},
946 {std::string_view{"vhangup"}, SystemCallNr::VHANGUP},
947 {std::string_view{"vm86"}, SystemCallNr::VM86},
948 {std::string_view{"vm86old"}, SystemCallNr::VM86OLD},
949 {std::string_view{"vmsplice"}, SystemCallNr::VMSPLICE},
950 {std::string_view{"vserver"}, SystemCallNr::VSERVER},
951 {std::string_view{"wait4"}, SystemCallNr::WAIT4},
952 {std::string_view{"waitid"}, SystemCallNr::WAITID},
953 {std::string_view{"waitpid"}, SystemCallNr::WAITPID},
954 {std::string_view{"write"}, SystemCallNr::WRITE},
955 {std::string_view{"writev"}, SystemCallNr::WRITEV},
956};

◆ SYSTEM_CALL_NAMES

CLUES_API const std::array< std::string_view, SYSTEM_CALL_COUNT > clues::SYSTEM_CALL_NAMES

Definition at line 11 of file generic.cxx.

11 {
12 "unknown",
13 "accept",
14 "accept4",
15 "access",
16 "acct",
17 "add_key",
18 "adjtimex",
19 "afs_syscall",
20 "alarm",
21 "arch_prctl",
22 "bdflush",
23 "bind",
24 "bpf",
25 "break",
26 "brk",
27 "cachestat",
28 "capget",
29 "capset",
30 "chdir",
31 "chmod",
32 "chown",
33 "chown32",
34 "chroot",
35 "clock_adjtime",
36 "clock_adjtime64",
37 "clock_getres",
38 "clock_getres_time64",
39 "clock_gettime",
40 "clock_gettime64",
41 "clock_nanosleep",
42 "clock_nanosleep_time64",
43 "clock_settime",
44 "clock_settime64",
45 "clone",
46 "clone3",
47 "close",
48 "close_range",
49 "connect",
50 "copy_file_range",
51 "creat",
52 "create_module",
53 "delete_module",
54 "dup",
55 "dup2",
56 "dup3",
57 "epoll_create",
58 "epoll_create1",
59 "epoll_ctl",
60 "epoll_ctl_old",
61 "epoll_pwait",
62 "epoll_pwait2",
63 "epoll_wait",
64 "epoll_wait_old",
65 "eventfd",
66 "eventfd2",
67 "execve",
68 "execveat",
69 "exit",
70 "exit_group",
71 "faccessat",
72 "faccessat2",
73 "fadvise64",
74 "fadvise64_64",
75 "fallocate",
76 "fanotify_init",
77 "fanotify_mark",
78 "fchdir",
79 "fchmod",
80 "fchmodat",
81 "fchmodat2",
82 "fchown",
83 "fchown32",
84 "fchownat",
85 "fcntl",
86 "fcntl64",
87 "fdatasync",
88 "fgetxattr",
89 "file_getattr",
90 "file_setattr",
91 "finit_module",
92 "flistxattr",
93 "flock",
94 "fork",
95 "fremovexattr",
96 "fsconfig",
97 "fsetxattr",
98 "fsmount",
99 "fsopen",
100 "fspick",
101 "fstat",
102 "fstat64",
103 "fstatat64",
104 "fstatfs",
105 "fstatfs64",
106 "fsync",
107 "ftime",
108 "ftruncate",
109 "ftruncate64",
110 "futex",
111 "futex_requeue",
112 "futex_time64",
113 "futex_wait",
114 "futex_waitv",
115 "futex_wake",
116 "futimesat",
117 "get_kernel_syms",
118 "get_mempolicy",
119 "get_robust_list",
120 "get_thread_area",
121 "getcpu",
122 "getcwd",
123 "getdents",
124 "getdents64",
125 "getegid",
126 "getegid32",
127 "geteuid",
128 "geteuid32",
129 "getgid",
130 "getgid32",
131 "getgroups",
132 "getgroups32",
133 "getitimer",
134 "getpeername",
135 "getpgid",
136 "getpgrp",
137 "getpid",
138 "getpmsg",
139 "getppid",
140 "getpriority",
141 "getrandom",
142 "getresgid",
143 "getresgid32",
144 "getresuid",
145 "getresuid32",
146 "getrlimit",
147 "getrusage",
148 "getsid",
149 "getsockname",
150 "getsockopt",
151 "gettid",
152 "gettimeofday",
153 "getuid",
154 "getuid32",
155 "getxattr",
156 "getxattrat",
157 "gtty",
158 "idle",
159 "init_module",
160 "inotify_add_watch",
161 "inotify_init",
162 "inotify_init1",
163 "inotify_rm_watch",
164 "io_cancel",
165 "io_destroy",
166 "io_getevents",
167 "io_pgetevents",
168 "io_pgetevents_time64",
169 "io_setup",
170 "io_submit",
171 "io_uring_enter",
172 "io_uring_register",
173 "io_uring_setup",
174 "ioctl",
175 "ioperm",
176 "iopl",
177 "ioprio_get",
178 "ioprio_set",
179 "ipc",
180 "kcmp",
181 "kexec_file_load",
182 "kexec_load",
183 "keyctl",
184 "kill",
185 "landlock_add_rule",
186 "landlock_create_ruleset",
187 "landlock_restrict_self",
188 "lchown",
189 "lchown32",
190 "lgetxattr",
191 "link",
192 "linkat",
193 "listen",
194 "listmount",
195 "listxattr",
196 "listxattrat",
197 "llistxattr",
198 "llseek",
199 "lock",
200 "lookup_dcookie",
201 "lremovexattr",
202 "lseek",
203 "lsetxattr",
204 "lsm_get_self_attr",
205 "lsm_list_modules",
206 "lsm_set_self_attr",
207 "lstat",
208 "lstat64",
209 "madvise",
210 "map_shadow_stack",
211 "mbind",
212 "membarrier",
213 "memfd_create",
214 "memfd_secret",
215 "migrate_pages",
216 "mincore",
217 "mkdir",
218 "mkdirat",
219 "mknod",
220 "mknodat",
221 "mlock",
222 "mlock2",
223 "mlockall",
224 "mmap",
225 "mmap2",
226 "modify_ldt",
227 "mount",
228 "mount_setattr",
229 "move_mount",
230 "move_pages",
231 "mprotect",
232 "mpx",
233 "mq_getsetattr",
234 "mq_notify",
235 "mq_open",
236 "mq_timedreceive",
237 "mq_timedreceive_time64",
238 "mq_timedsend",
239 "mq_timedsend_time64",
240 "mq_unlink",
241 "mremap",
242 "mseal",
243 "msgctl",
244 "msgget",
245 "msgrcv",
246 "msgsnd",
247 "msync",
248 "munlock",
249 "munlockall",
250 "munmap",
251 "name_to_handle_at",
252 "nanosleep",
253 "newfstatat",
254 "newselect",
255 "nfsservctl",
256 "nice",
257 "oldfstat",
258 "oldlstat",
259 "oldolduname",
260 "oldstat",
261 "olduname",
262 "open",
263 "open_by_handle_at",
264 "open_tree",
265 "open_tree_attr",
266 "openat",
267 "openat2",
268 "pause",
269 "perf_event_open",
270 "personality",
271 "pidfd_getfd",
272 "pidfd_open",
273 "pidfd_send_signal",
274 "pipe",
275 "pipe2",
276 "pivot_root",
277 "pkey_alloc",
278 "pkey_free",
279 "pkey_mprotect",
280 "poll",
281 "ppoll",
282 "ppoll_time64",
283 "prctl",
284 "pread64",
285 "preadv",
286 "preadv2",
287 "prlimit64",
288 "process_madvise",
289 "process_mrelease",
290 "process_vm_readv",
291 "process_vm_writev",
292 "prof",
293 "profil",
294 "pselect6",
295 "pselect6_time64",
296 "ptrace",
297 "putpmsg",
298 "pwrite64",
299 "pwritev",
300 "pwritev2",
301 "query_module",
302 "quotactl",
303 "quotactl_fd",
304 "read",
305 "readahead",
306 "readdir",
307 "readlink",
308 "readlinkat",
309 "readv",
310 "reboot",
311 "recvfrom",
312 "recvmmsg",
313 "recvmmsg_time64",
314 "recvmsg",
315 "remap_file_pages",
316 "removexattr",
317 "removexattrat",
318 "rename",
319 "renameat",
320 "renameat2",
321 "request_key",
322 "restart_syscall",
323 "rmdir",
324 "rseq",
325 "rt_sigaction",
326 "rt_sigpending",
327 "rt_sigprocmask",
328 "rt_sigqueueinfo",
329 "rt_sigreturn",
330 "rt_sigsuspend",
331 "rt_sigtimedwait",
332 "rt_sigtimedwait_time64",
333 "rt_tgsigqueueinfo",
334 "sched_get_priority_max",
335 "sched_get_priority_min",
336 "sched_getaffinity",
337 "sched_getattr",
338 "sched_getparam",
339 "sched_getscheduler",
340 "sched_rr_get_interval",
341 "sched_rr_get_interval_time64",
342 "sched_setaffinity",
343 "sched_setattr",
344 "sched_setparam",
345 "sched_setscheduler",
346 "sched_yield",
347 "seccomp",
348 "security",
349 "select",
350 "semctl",
351 "semget",
352 "semop",
353 "semtimedop",
354 "semtimedop_time64",
355 "sendfile",
356 "sendfile64",
357 "sendmmsg",
358 "sendmsg",
359 "sendto",
360 "set_mempolicy",
361 "set_mempolicy_home_node",
362 "set_robust_list",
363 "set_thread_area",
364 "set_tid_address",
365 "setdomainname",
366 "setfsgid",
367 "setfsgid32",
368 "setfsuid",
369 "setfsuid32",
370 "setgid",
371 "setgid32",
372 "setgroups",
373 "setgroups32",
374 "sethostname",
375 "setitimer",
376 "setns",
377 "setpgid",
378 "setpriority",
379 "setregid",
380 "setregid32",
381 "setresgid",
382 "setresgid32",
383 "setresuid",
384 "setresuid32",
385 "setreuid",
386 "setreuid32",
387 "setrlimit",
388 "setsid",
389 "setsockopt",
390 "settimeofday",
391 "setuid",
392 "setuid32",
393 "setxattr",
394 "setxattrat",
395 "sgetmask",
396 "shmat",
397 "shmctl",
398 "shmdt",
399 "shmget",
400 "shutdown",
401 "sigaction",
402 "sigaltstack",
403 "signal",
404 "signalfd",
405 "signalfd4",
406 "sigpending",
407 "sigprocmask",
408 "sigreturn",
409 "sigsuspend",
410 "socket",
411 "socketcall",
412 "socketpair",
413 "splice",
414 "ssetmask",
415 "stat",
416 "stat64",
417 "statfs",
418 "statfs64",
419 "statmount",
420 "statx",
421 "stime",
422 "stty",
423 "swapoff",
424 "swapon",
425 "symlink",
426 "symlinkat",
427 "sync",
428 "sync_file_range",
429 "syncfs",
430 "sysctl",
431 "sysfs",
432 "sysinfo",
433 "syslog",
434 "tee",
435 "tgkill",
436 "time",
437 "timer_create",
438 "timer_delete",
439 "timer_getoverrun",
440 "timer_gettime",
441 "timer_gettime64",
442 "timer_settime",
443 "timer_settime64",
444 "timerfd_create",
445 "timerfd_gettime",
446 "timerfd_gettime64",
447 "timerfd_settime",
448 "timerfd_settime64",
449 "times",
450 "tkill",
451 "truncate",
452 "truncate64",
453 "tuxcall",
454 "ugetrlimit",
455 "ulimit",
456 "umask",
457 "umount",
458 "umount2",
459 "uname",
460 "unlink",
461 "unlinkat",
462 "unshare",
463 "uprobe",
464 "uretprobe",
465 "uselib",
466 "userfaultfd",
467 "ustat",
468 "utime",
469 "utimensat",
470 "utimensat_time64",
471 "utimes",
472 "vfork",
473 "vhangup",
474 "vm86",
475 "vm86old",
476 "vmsplice",
477 "vserver",
478 "wait4",
479 "waitid",
480 "waitpid",
481 "write",
482 "writev",
483};

◆ X32_SYSCALL_BIT

uint64_t clues::X32_SYSCALL_BIT = 0x40000000
constexpr

Native system call numbers as used by Linux on the x32 ABI.

This strong enum type represents a system call number on the x32 ABI. The literal values correspond to the numbers used by the operating system and reported by the ptrace() API for this ABI.

The underlying data type corresponds to the type used in the PTRACE_GET_SYSCALL_INFO API and is the same for all ABIs. This bit is set for all X32 system call to identify this ABI

Definition at line 38 of file x32.hxx.