libclues
Linux C++ Tracing Library
Loading...
Searching...
No Matches
aarch64.cxx
1#include <clues/sysnrs/aarch64.hxx>
2#include <clues/sysnrs/generic.hxx>
3
4
5/********************************************************************************
6 * this file was generated by parse_syscall_tables.py
7 * based on Linux kernel sources 6.18.18-gentoo
8 ********************************************************************************/
9
10namespace clues {
11
12/*
13 * TODO: this is a very big switch statement which will need to be
14 * invoked for every new system call entry.
15 * for now we trust the compiler to generate efficient code here, but
16 * it could hurt tracing performance if this is not as good as we hope
17 * it to be. Using an alternative data structure like std::map could
18 * help here in this case.
19 * This needs a closer investigation at a later time.
20 */
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}
352
353} // end ns
SystemCallNrAARCH64
Native system call numbers as used by Linux on the aarch64 ABI.
Definition aarch64.hxx:31
SystemCallNr
Abstract system call number usable across architectures and ABIs.
Definition generic.hxx:29
clues::SystemCallNr to_generic(const SystemCallNrAARCH64 nr)
Convert the native system call nr. into its generic representation.
Definition aarch64.cxx:21