1#![allow(dead_code)]
3pub const LIBS32_MIN: u64 = 0x70000000;
11pub const LIBS32_MAX: u64 = 0x7FFFFFFF;
12pub const LIBS64_MIN: u64 = 0x7FF000000000;
13pub const LIBS64_MAX: u64 = 0x7FFFFFFFFFFF;
14
15pub const STATUS_SUCCESS: u64 = 0x00000000;
16pub const STATUS_ACCESS_DENIED: u64 = 0xC0000022;
17pub const STATUS_INVALID_HANDLE: u64 = 0xC0000008;
18pub const STATUS_NO_MEMORY: u64 = 0xC0000017;
19pub const STATUS_ACCESS_VIOLATION: u64 = 0xC0000005;
20pub const STATUS_INVALID_PARAMETER: u64 = 0xC000000D;
21
22pub const ERROR_SUCCESS: u64 = 0;
23
24pub const NUM_BYTES_TRACE: usize = 16;
25pub const VERSION: u64 = 0x1db10106;
26
27pub const WAIT_TIMEOUT: u64 = 0x00000102;
28pub const WAIT_FAILED: u64 = 0xFFFFFFFF;
29
30pub const CALL_FIRST: u32 = 1;
32pub const CALL_LAST: u32 = 0;
33
34pub const GENERIC_READ: u32 = 0x80000000;
35pub const GENERIC_WRITE: u32 = 0x40000000;
36
37pub const INVALID_HANDLE_VALUE_64: u64 = 0xFFFFFFFFFFFFFFFF;
38pub const INVALID_HANDLE_VALUE_32: u64 = 0xFFFFFFFF;
39
40pub const RETURN_THREAD: u32 = 0x11223344;
41pub const LIBS_BARRIER: u64 = 0x60000000;
42pub const LIBS_BARRIER64: u64 = 0x60000000;
43pub const INTERNET_OPTION_ALTER_IDENTITY: u32 = 80;
46pub const INTERNET_OPTION_ASYNC: u32 = 30;
47pub const INTERNET_OPTION_ASYNC_ID: u32 = 15;
48pub const INTERNET_OPTION_ASYNC_PRIORITY: u32 = 16;
49pub const INTERNET_OPTION_BYPASS_EDITED_ENTRY: u32 = 64;
50pub const INTERNET_OPTION_CACHE_STREAM_HANDLE: u32 = 27;
51pub const INTERNET_OPTION_CACHE_TIMESTAMPS: u32 = 69;
52pub const INTERNET_OPTION_CALLBACK: u32 = 1;
53pub const INTERNET_OPTION_CALLBACK_FILTER: u32 = 54;
54pub const INTERNET_OPTION_CLIENT_CERT_CONTEXT: u32 = 84;
55pub const INTERNET_OPTION_CODEPAGE: u32 = 68;
56pub const INTERNET_OPTION_CODEPAGE_PATH: u32 = 100;
57pub const INTERNET_OPTION_CODEPAGE_EXTRA: u32 = 101;
58pub const INTERNET_OPTION_COMPRESSED_CONTENT_LENGTH: u32 = 147;
59pub const INTERNET_OPTION_CONNECT_BACKOFF: u32 = 4;
60pub const INTERNET_OPTION_CONNECT_RETRIES: u32 = 3;
61pub const INTERNET_OPTION_CONNECT_TIME: u32 = 55;
62pub const INTERNET_OPTION_CONNECT_TIMEOUT: u32 = 2;
63pub const INTERNET_OPTION_CONNECTED_STATE: u32 = 50;
64pub const INTERNET_OPTION_CONTEXT_VALUE: u32 = 45;
65pub const INTERNET_OPTION_CONTROL_RECEIVE_TIMEOUT: u32 = 6;
66pub const INTERNET_OPTION_CONTROL_SEND_TIMEOUT: u32 = 5;
67pub const INTERNET_OPTION_DATA_RECEIVE_TIMEOUT: u32 = 8;
68pub const INTERNET_OPTION_DATA_SEND_TIMEOUT: u32 = 7;
69
70pub const INTERNET_FLAG_SECURE: u64 = 0x00800000;
72
73pub const ERROR_NO_MORE_FILES: u64 = 18;
74pub const CREATE_SUSPENDED: u64 = 0x00000004;
75pub const EXCEPTION_EXECUTE_HANDLER: u64 = 1;
76
77pub const PAGE_NOACCESS: u32 = 0x01;
78pub const PAGE_EXECUTE: u32 = 0x00;
79pub const PAGE_READONLY: u32 = 0x02;
80pub const PAGE_READWRITE: u32 = 0x04;
81pub const PAGE_GUARD: u32 = 0x100;
82pub const PAGE_NOCACHE: u32 = 0x200;
83pub const PAGE_WRITECOMBINE: u32 = 0x400;
84pub const MEM_COMMIT: u32 = 0x1000;
85pub const MEM_FREE: u32 = 0x10000;
86pub const MEM_RESERVE: u32 = 0x2000;
87pub const MEM_IMAGE: u32 = 0x1000000;
88pub const MEM_MAPPED: u32 = 0x40000;
89pub const MEM_PRIVATE: u32 = 0x20000;
90
91pub const CRYPT_VERIFYCONTEXT: u32 = 0xF0000000;
93pub const CRYPT_NEWKEYSET: u32 = 0x00000008;
94pub const CRYPT_DELETEKEYSET: u32 = 0x00000010;
95pub const CRYPT_MACHINE_KEYSET: u32 = 0x00000020;
96pub const CRYPT_SILENT: u32 = 0x00000040;
97pub const CRYPT_DEFAULT_CONTAINER_OPTIONAL: u32 = 0x00000080;
98
99
100pub const DLL_PROCESS_ATTACH: u32 = 1;
102pub const DLL_PROCESS_DETACH: u32 = 0;
103pub const DLL_THREAD_ATTACH: u32 = 2;
104pub const DLL_THREAD_DETACH: u32 = 3;
105
106pub const PF_ARM_64BIT_LOADSTORE_ATOMIC: u32 = 25;
108pub const PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE: u32 = 24;
109pub const PF_ARM_EXTERNAL_CACHE_AVAILABLE: u32 = 26;
110pub const PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE: u32 = 27;
111pub const PF_ARM_VFP_32_REGISTERS_AVAILABLE: u32 = 18;
112pub const PF_3DNOW_INSTRUCTIONS_AVAILABLE: u32 = 7;
113pub const PF_CHANNELS_ENABLED: u32 = 16;
114pub const PF_COMPARE_EXCHANGE_DOUBLE: u32 = 2;
115pub const PF_COMPARE_EXCHANGE128: u32 = 14;
116pub const PF_COMPARE64_EXCHANGE128: u32 = 15;
117pub const PF_FASTFAIL_AVAILABLE: u32 = 23;
118pub const PF_FLOATING_POINT_EMULATED: u32 = 1;
119pub const PF_FLOATING_POINT_PRECISION_ERRATA: u32 = 0;
120pub const PF_MMX_INSTRUCTIONS_AVAILABLE: u32 = 3;
121pub const PF_NX_ENABLED: u32 = 12;
122pub const PF_PAE_ENABLED: u32 = 9;
123pub const PF_RDTSC_INSTRUCTION_AVAILABLE: u32 = 8;
124pub const PF_RDWRFSGSBASE_AVAILABLE: u32 = 22;
125pub const PF_SECOND_LEVEL_ADDRESS_TRANSLATION: u32 = 20;
126pub const PF_SSE3_INSTRUCTIONS_AVAILABLE: u32 = 13;
127pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE: u32 = 36;
128pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE: u32 = 37;
129pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE: u32 = 38;
130pub const PF_AVX_INSTRUCTIONS_AVAILABLE: u32 = 39;
131pub const PF_AVX2_INSTRUCTIONS_AVAILABLE: u32 = 40;
132pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE: u32 = 41;
133pub const PF_VIRT_FIRMWARE_ENABLED: u32 = 21;
134pub const PF_XMMI_INSTRUCTIONS_AVAILABLE: u32 = 6;
135pub const PF_XMMI64_INSTRUCTIONS_AVAILABLE: u32 = 10;
136pub const PF_XSAVE_ENABLED: u32 = 17;
137pub const PF_ARM_V8_INSTRUCTIONS_AVAILABLE: u32 = 29;
138pub const PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE: u32 = 30;
139pub const PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE: u32 = 31;
140pub const PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE: u32 = 34;
141
142pub const EN_US_LOCALE: u32 = 0x0409;
143
144pub const CALG_3DES: u32 = 0x00006603;
146pub const CALG_3DES_112: u32 = 0x00006609;
147pub const CALG_AES: u32 = 0x00006611;
148pub const CALG_AES_128: u32 = 0x0000660e;
149pub const CALG_AES_192: u32 = 0x0000660f;
150pub const CALG_AES_256: u32 = 0x00006610;
151pub const CALG_AGREEDKEY_ANY: u32 = 0x0000aa03;
152pub const CALG_CYLINK_MEK: u32 = 0x0000660c;
153pub const CALG_DES: u32 = 0x00006601;
154pub const CALG_DESX: u32 = 0x00006604;
155pub const CALG_DH_EPHEM: u32 = 0x0000aa02;
156pub const CALG_DH_SF: u32 = 0x0000aa01;
157pub const CALG_DSS_SIGN: u32 = 0x00002200;
158pub const CALG_ECDH: u32 = 0x0000aa05;
159pub const CALG_ECDH_EPHEM: u32 = 0x0000ae06;
160pub const CALG_ECDSA: u32 = 0x00002203;
161pub const CALG_ECMQV: u32 = 0x0000a001;
162pub const CALG_HASH_REPLACE_OWF: u32 = 0x0000800b;
163pub const CALG_HUGHES_MD5: u32 = 0x0000a003;
164pub const CALG_HMAC: u32 = 0x00008009;
165pub const CALG_KEA_KEYX: u32 = 0x0000aa04;
166pub const CALG_MAC: u32 = 0x00008005;
167pub const CALG_MD2: u32 = 0x00008001;
168pub const CALG_MD4: u32 = 0x00008002;
169pub const CALG_MD5: u32 = 0x00008003;
170pub const CALG_NO_SIGN: u32 = 0x00002000;
171pub const CALG_OID_INFO_CNG_ONLY: u32 = 0xffffffff;
172pub const CALG_OID_INFO_PARAMETERS: u32 = 0xfffffffe;
173pub const CALG_PCT1_MASTER: u32 = 0x00004c04;
174pub const CALG_RC2: u32 = 0x00006602;
175pub const CALG_RC4: u32 = 0x00006801;
176pub const CALG_RC5: u32 = 0x0000660d;
177pub const CALG_RSA_KEYX: u32 = 0x0000a400;
178pub const CALG_RSA_SIGN: u32 = 0x00002400;
179pub const CALG_SCHANNEL_ENC_KEY: u32 = 0x00004c07;
180pub const CALG_SCHANNEL_MAC_KEY: u32 = 0x00004c03;
181pub const CALG_SCHANNEL_MASTER_HASH: u32 = 0x00004c02;
182pub const CALG_SEAL: u32 = 0x00006802;
183pub const CALG_SHA: u32 = 0x00008004;
184pub const CALG_SHA1: u32 = 0x00008004;
185pub const CALG_SHA_256: u32 = 0x0000800c;
186pub const CALG_SHA_384: u32 = 0x0000800d;
187pub const CALG_SHA_512: u32 = 0x0000800e;
188pub const CALG_SKIPJACK: u32 = 0x0000660a;
189pub const CALG_SSL2_MASTER: u32 = 0x00004c05;
190pub const CALG_SSL3_MASTER: u32 = 0x00004c01;
191pub const CALG_SSL3_SHAMD5: u32 = 0x00008008;
192pub const CALG_TEK: u32 = 0x0000660b;
193pub const CALG_TLS1_MASTER: u32 = 0x00004c06;
194pub const CALG_TLS1PRF: u32 = 0x0000800a;
195
196pub fn get_cryptoalgorithm_name(value: u32) -> &'static str {
197 match value {
198 0x00006603 => "CALG_3DES",
199 0x00006609 => "CALG_3DES_112",
200 0x00006611 => "CALG_AES",
201 0x0000660e => "CALG_AES_128",
202 0x0000660f => "CALG_AES_192",
203 0x00006610 => "CALG_AES_256",
204 0x0000aa03 => "CALG_AGREEDKEY_ANY",
205 0x0000660c => "CALG_CYLINK_MEK",
206 0x00006601 => "CALG_DES",
207 0x00006604 => "CALG_DESX",
208 0x0000aa02 => "CALG_DH_EPHEM",
209 0x0000aa01 => "CALG_DH_SF",
210 0x00002200 => "CALG_DSS_SIGN",
211 0x0000aa05 => "CALG_ECDH",
212 0x0000ae06 => "CALG_ECDH_EPHEM",
213 0x00002203 => "CALG_ECDSA",
214 0x0000a001 => "CALG_ECMQV",
215 0x0000800b => "CALG_HASH_REPLACE_OWF",
216 0x0000a003 => "CALG_HUGHES_MD5",
217 0x00008009 => "CALG_HMAC",
218 0x0000aa04 => "CALG_KEA_KEYX",
219 0x00008005 => "CALG_MAC",
220 0x00008001 => "CALG_MD2",
221 0x00008002 => "CALG_MD4",
222 0x00008003 => "CALG_MD5",
223 0x00002000 => "CALG_NO_SIGN",
224 0xffffffff => "CALG_OID_INFO_CNG_ONLY",
225 0xfffffffe => "CALG_OID_INFO_PARAMETERS",
226 0x00004c04 => "CALG_PCT1_MASTER",
227 0x00006602 => "CALG_RC2",
228 0x00006801 => "CALG_RC4",
229 0x0000660d => "CALG_RC5",
230 0x0000a400 => "CALG_RSA_KEYX",
231 0x00002400 => "CALG_RSA_SIGN",
232 0x00004c07 => "CALG_SCHANNEL_ENC_KEY",
233 0x00004c03 => "CALG_SCHANNEL_MAC_KEY",
234 0x00004c02 => "CALG_SCHANNEL_MASTER_HASH",
235 0x00006802 => "CALG_SEAL",
236 0x00008004 => "CALG_SHA",
237 0x0000800c => "CALG_SHA_256",
238 0x0000800d => "CALG_SHA_384",
239 0x0000800e => "CALG_SHA_512",
240 0x0000660a => "CALG_SKIPJACK",
241 0x00004c05 => "CALG_SSL2_MASTER",
242 0x00004c01 => "CALG_SSL3_MASTER",
243 0x00008008 => "CALG_SSL3_SHAMD5",
244 0x0000660b => "CALG_TEK",
245 0x00004c06 => "CALG_TLS1_MASTER",
246 0x0000800a => "CALG_TLS1PRF",
247 _ => "Unknown Algorithm",
248 }
249}
250
251pub fn get_crypto_key_len(value: u32) -> usize {
252 match value {
253 0x00006603 => 24, 0x00006609 => 14, 0x00006611 => 0, 0x0000660e => 16, 0x0000660f => 24, 0x00006610 => 32, 0x0000aa03 => 0, 0x0000660c => 0, 0x00006601 => 8, 0x00006604 => 8, 0x0000aa02 => 0, 0x0000aa01 => 0, 0x00002200 => 0, 0x0000aa05 => 0, 0x0000ae06 => 0, 0x00002203 => 0, 0x0000a001 => 0, 0x0000800b => 0, 0x0000a003 => 0, 0x00008009 => 0, 0x0000aa04 => 0, 0x00008005 => 0, 0x00008001 => 0, 0x00008002 => 0, 0x00008003 => 0, 0x00002000 => 0, 0xffffffff => 0, 0xfffffffe => 0, 0x00004c04 => 0, 0x00006602 => 8, 0x00006801 => 0, 0x0000660d => 0, 0x0000a400 => 0, 0x00002400 => 0, 0x00004c07 => 0, 0x00004c03 => 0, 0x00004c02 => 0, 0x00006802 => 0, 0x00008004 => 0, 0x0000800c => 0, 0x0000800d => 0, 0x0000800e => 0, 0x0000660a => 0, 0x00004c05 => 0, 0x00004c01 => 0, 0x00008008 => 0, 0x0000660b => 0, 0x00004c06 => 0, 0x0000800a => 0, _ => 0, }
304}
305
306
307
308pub const PT_LOAD: u32 = 1;
312
313pub const ENOTSOCK: u64 = -1i64 as u64; pub const EPERM: u64 = -1i64 as u64; pub const ENOENT: u64 = -2i64 as u64; pub const ESRCH: u64 = -3i64 as u64; pub const EINTR: u64 = -4i64 as u64; pub const EIO: u64 = -5i64 as u64; pub const ENXIO: u64 = -6i64 as u64; pub const E2BIG: u64 = -7i64 as u64; pub const ENOEXEC: u64 = -8i64 as u64; pub const EBADF: u64 = -9i64 as u64; pub const ECHILD: u64 = -10i64 as u64; pub const EAGAIN: u64 = -11i64 as u64; pub const ENOMEM: u64 = -12i64 as u64; pub const EACCES: u64 = -13i64 as u64; pub const EFAULT: u64 = -14i64 as u64; pub const ENOTBLK: u64 = -15i64 as u64; pub const EBUSY: u64 = -16i64 as u64; pub const EEXIST: u64 = -17i64 as u64; pub const EXDEV: u64 = -18i64 as u64; pub const ENODEV: u64 = -19i64 as u64; pub const ENOTDIR: u64 = -20i64 as u64; pub const EISDIR: u64 = -21i64 as u64; pub const EINVAL: u64 = -22i64 as u64; pub const ENFILE: u64 = -23i64 as u64; pub const EMFILE: u64 = -24i64 as u64; pub const ENOTTY: u64 = -25i64 as u64; pub const ETXTBSY: u64 = -26i64 as u64; pub const EFBIG: u64 = -27i64 as u64; pub const ENOSPC: u64 = -28i64 as u64; pub const ESPIPE: u64 = -29i64 as u64; pub const EROFS: u64 = -30i64 as u64; pub const EMLINK: u64 = -31i64 as u64; pub const EPIPE: u64 = -32i64 as u64; pub const EDOM: u64 = -33i64 as u64; pub const ERANGE: u64 = -34i64 as u64; pub const SYS_SOCKET: u32 = 1;
352pub const SYS_BIND: u32 = 2;
353pub const SYS_CONNECT: u32 = 3;
354pub const SYS_LISTEN: u32 = 4;
355pub const SYS_ACCEPT: u32 = 5;
356pub const SYS_GETSOCKNAME: u32 = 6;
357pub const SYS_GETPEERNAME: u32 = 7;
358pub const SYS_SOCKETPAIR: u32 = 8;
359pub const SYS_SEND: u32 = 9;
360pub const SYS_RECV: u32 = 10;
361pub const SYS_SENDTO: u32 = 11;
362pub const SYS_RECVFROM: u32 = 12;
363pub const SYS_SHUTDOWN: u32 = 13;
364pub const SYS_SETSOCKOPT: u32 = 14;
365pub const SYS_GETSOCKOPT: u32 = 15;
366pub const SYS_SENDMSG: u32 = 16;
367pub const SYS_RECVMSG: u32 = 17;
368pub const SYS_ACCEPT4: u32 = 18;
369pub const SYS_RECVMMSG: u32 = 19;
370pub const SYS_SENDMMSG: u32 = 20;
371
372pub const NR64_READ: u64 = 0;
374pub const NR64_WRITE: u64 = 1;
375pub const NR64_OPEN: u64 = 2;
376pub const NR64_CLOSE: u64 = 3;
377pub const NR64_STAT: u64 = 4;
378pub const NR64_FSTAT: u64 = 5;
379pub const NR64_LSTAT: u64 = 6;
380pub const NR64_POLL: u64 = 7;
381pub const NR64_LSEEK: u64 = 8;
382pub const NR64_MMAP: u64 = 9;
383pub const NR64_MPROTECT: u64 = 10;
384pub const NR64_MUNMAP: u64 = 11;
385pub const NR64_BRK: u64 = 12;
386pub const NR64_RT_SIGACTION: u64 = 13;
387pub const NR64_RT_SIGPROCMASK: u64 = 14;
388pub const NR64_RT_SIGRETURN: u64 = 15;
389pub const NR64_IOCTL: u64 = 16;
390pub const NR64_PREAD64: u64 = 17;
391pub const NR64_PWRITE64: u64 = 18;
392pub const NR64_READV: u64 = 19;
393pub const NR64_WRITEV: u64 = 20;
394pub const NR64_ACCESS: u64 = 21;
395pub const NR64_PIPE: u64 = 22;
396pub const NR64_SELECT: u64 = 23;
397pub const NR64_SCHED_YIELD: u64 = 24;
398pub const NR64_MREMAP: u64 = 25;
399pub const NR64_MSYNC: u64 = 26;
400pub const NR64_MINCORE: u64 = 27;
401pub const NR64_MADVISE: u64 = 28;
402pub const NR64_SHMGET: u64 = 29;
403pub const NR64_SHMAT: u64 = 30;
404pub const NR64_SHMCTL: u64 = 31;
405pub const NR64_DUP: u64 = 32;
406pub const NR64_DUP2: u64 = 33;
407pub const NR64_PAUSE: u64 = 34;
408pub const NR64_NANOSLEEP: u64 = 35;
409pub const NR64_GETITIMER: u64 = 36;
410pub const NR64_ALARM: u64 = 37;
411pub const NR64_SETITIMER: u64 = 38;
412pub const NR64_GETPID: u64 = 39;
413pub const NR64_SENDFILE: u64 = 40;
414pub const NR64_SOCKET: u64 = 41;
415pub const NR64_CONNECT: u64 = 42;
416pub const NR64_ACCEPT: u64 = 43;
417pub const NR64_SENDTO: u64 = 44;
418pub const NR64_RECVFROM: u64 = 45;
419pub const NR64_SENDMSG: u64 = 46;
420pub const NR64_RECVMSG: u64 = 47;
421pub const NR64_SHUTDOWN: u64 = 48;
422pub const NR64_BIND: u64 = 49;
423pub const NR64_LISTEN: u64 = 50;
424pub const NR64_GETSOCKNAME: u64 = 51;
425pub const NR64_GETPEERNAME: u64 = 52;
426pub const NR64_SOCKETPAIR: u64 = 53;
427pub const NR64_SETSOCKOPT: u64 = 54;
428pub const NR64_GETSOCKOPT: u64 = 55;
429pub const NR64_CLONE: u64 = 56;
430pub const NR64_FORK: u64 = 57;
431pub const NR64_VFORK: u64 = 58;
432pub const NR64_EXECVE: u64 = 59;
433pub const NR64_EXIT: u64 = 60;
434pub const NR64_WAIT4: u64 = 61;
435pub const NR64_KILL: u64 = 62;
436pub const NR64_UNAME: u64 = 63;
437pub const NR64_SEMGET: u64 = 64;
438pub const NR64_SEMOP: u64 = 65;
439pub const NR64_SEMCTL: u64 = 66;
440pub const NR64_SHMDT: u64 = 67;
441pub const NR64_MSGGET: u64 = 68;
442pub const NR64_MSGSND: u64 = 69;
443pub const NR64_MSGRCV: u64 = 70;
444pub const NR64_MSGCTL: u64 = 71;
445pub const NR64_FCNTL: u64 = 72;
446pub const NR64_FLOCK: u64 = 73;
447pub const NR64_FSYNC: u64 = 74;
448pub const NR64_FDATASYNC: u64 = 75;
449pub const NR64_TRUNCATE: u64 = 76;
450pub const NR64_FTRUNCATE: u64 = 77;
451pub const NR64_GETDENTS: u64 = 78;
452pub const NR64_GETCWD: u64 = 79;
453pub const NR64_CHDIR: u64 = 80;
454pub const NR64_FCHDIR: u64 = 81;
455pub const NR64_RENAME: u64 = 82;
456pub const NR64_MKDIR: u64 = 83;
457pub const NR64_RMDIR: u64 = 84;
458pub const NR64_CREAT: u64 = 85;
459pub const NR64_LINK: u64 = 86;
460pub const NR64_UNLINK: u64 = 87;
461pub const NR64_SYMLINK: u64 = 88;
462pub const NR64_READLINK: u64 = 89;
463pub const NR64_CHMOD: u64 = 90;
464pub const NR64_FCHMOD: u64 = 91;
465pub const NR64_CHOWN: u64 = 92;
466pub const NR64_FCHOWN: u64 = 93;
467pub const NR64_LCHOWN: u64 = 94;
468pub const NR64_UMASK: u64 = 95;
469pub const NR64_GETTIMEOFDAY: u64 = 96;
470pub const NR64_GETRLIMIT: u64 = 97;
471pub const NR64_GETRUSAGE: u64 = 98;
472pub const NR64_SYSINFO: u64 = 99;
473pub const NR64_TIMES: u64 = 100;
474pub const NR64_PTRACE: u64 = 101;
475pub const NR64_GETUID: u64 = 102;
476pub const NR64_SYSLOG: u64 = 103;
477pub const NR64_GETGID: u64 = 104;
478pub const NR64_SETUID: u64 = 105;
479pub const NR64_SETGID: u64 = 106;
480pub const NR64_GETEUID: u64 = 107;
481pub const NR64_GETEGID: u64 = 108;
482pub const NR64_SETPGID: u64 = 109;
483pub const NR64_GETPPID: u64 = 110;
484pub const NR64_GETPGRP: u64 = 111;
485pub const NR64_SETSID: u64 = 112;
486pub const NR64_SETREUID: u64 = 113;
487pub const NR64_SETREGID: u64 = 114;
488pub const NR64_GETGROUPS: u64 = 115;
489pub const NR64_SETGROUPS: u64 = 116;
490pub const NR64_SETRESUID: u64 = 117;
491pub const NR64_GETRESUID: u64 = 118;
492pub const NR64_SETRESGID: u64 = 119;
493pub const NR64_GETRESGID: u64 = 120;
494pub const NR64_GETPGID: u64 = 121;
495pub const NR64_SETFSUID: u64 = 122;
496pub const NR64_SETFSGID: u64 = 123;
497pub const NR64_GETSID: u64 = 124;
498pub const NR64_CAPGET: u64 = 125;
499pub const NR64_CAPSET: u64 = 126;
500pub const NR64_RT_SIGPENDING: u64 = 127;
501pub const NR64_RT_SIGTIMEDWAIT: u64 = 128;
502pub const NR64_RT_SIGQUEUEINFO: u64 = 129;
503pub const NR64_RT_SIGSUSPEND: u64 = 130;
504pub const NR64_SIGALTSTACK: u64 = 131;
505pub const NR64_UTIME: u64 = 132;
506pub const NR64_MKNOD: u64 = 133;
507pub const NR64_USELIB: u64 = 134;
508pub const NR64_PERSONALITY: u64 = 135;
509pub const NR64_USTAT: u64 = 136;
510pub const NR64_STATFS: u64 = 137;
511pub const NR64_FSTATFS: u64 = 138;
512pub const NR64_SYSFS: u64 = 139;
513pub const NR64_GETPRIORITY: u64 = 140;
514pub const NR64_SETPRIORITY: u64 = 141;
515pub const NR64_SCHED_SETPARAM: u64 = 142;
516pub const NR64_SCHED_GETPARAM: u64 = 143;
517pub const NR64_SCHED_SETSCHEDULER: u64 = 144;
518pub const NR64_SCHED_GETSCHEDULER: u64 = 145;
519pub const NR64_SCHED_GET_PRIORITY_MAX: u64 = 146;
520pub const NR64_SCHED_GET_PRIORITY_MIN: u64 = 147;
521pub const NR64_SCHED_RR_GET_INTERVAL: u64 = 148;
522pub const NR64_MLOCK: u64 = 149;
523pub const NR64_MUNLOCK: u64 = 150;
524pub const NR64_MLOCKALL: u64 = 151;
525pub const NR64_MUNLOCKALL: u64 = 152;
526pub const NR64_VHANGUP: u64 = 153;
527pub const NR64_MODIFY_LDT: u64 = 154;
528pub const NR64_PIVOT_ROOT: u64 = 155;
529pub const NR64_SYSCTL: u64 = 156;
530pub const NR64_PRCTL: u64 = 157;
531pub const NR64_ARCH_PRCTL: u64 = 158;
532pub const NR64_ADJTIMEX: u64 = 159;
533pub const NR64_SETRLIMIT: u64 = 160;
534pub const NR64_CHROOT: u64 = 161;
535pub const NR64_SYNC: u64 = 162;
536pub const NR64_ACCT: u64 = 163;
537pub const NR64_SETTIMEOFDAY: u64 = 164;
538pub const NR64_MOUNT: u64 = 165;
539pub const NR64_UMOUNT2: u64 = 166;
540pub const NR64_SWAPON: u64 = 167;
541pub const NR64_SWAPOFF: u64 = 168;
542pub const NR64_REBOOT: u64 = 169;
543pub const NR64_SETHOSTNAME: u64 = 170;
544pub const NR64_SETDOMAINNAME: u64 = 171;
545pub const NR64_IOPL: u64 = 172;
546pub const NR64_IOPERM: u64 = 173;
547pub const NR64_CREATE_MODULE: u64 = 174;
548pub const NR64_INIT_MODULE: u64 = 175;
549pub const NR64_DELETE_MODULE: u64 = 176;
550pub const NR64_GET_KERNEL_SYMS: u64 = 177;
551pub const NR64_QUERY_MODULE: u64 = 178;
552pub const NR64_QUOTACTL: u64 = 179;
553pub const NR64_NFSSERVCTL: u64 = 180;
554pub const NR64_GETPMSG: u64 = 181;
555pub const NR64_PUTPMSG: u64 = 182;
556pub const NR64_AFS_SYSCALL: u64 = 183;
557pub const NR64_TUXCALL: u64 = 184;
558pub const NR64_SECURITY: u64 = 185;
559pub const NR64_GETTID: u64 = 186;
560pub const NR64_READAHEAD: u64 = 187;
561pub const NR64_SETXATTR: u64 = 188;
562pub const NR64_LSETXATTR: u64 = 189;
563pub const NR64_FSETXATTR: u64 = 190;
564pub const NR64_GETXATTR: u64 = 191;
565pub const NR64_LGETXATTR: u64 = 192;
566pub const NR64_FGETXATTR: u64 = 193;
567pub const NR64_LISTXATTR: u64 = 194;
568pub const NR64_LLISTXATTR: u64 = 195;
569pub const NR64_FLISTXATTR: u64 = 196;
570pub const NR64_REMOVEXATTR: u64 = 197;
571pub const NR64_LREMOVEXATTR: u64 = 198;
572pub const NR64_FREMOVEXATTR: u64 = 199;
573pub const NR64_TKILL: u64 = 200;
574pub const NR64_TIME: u64 = 201;
575pub const NR64_FUTEX: u64 = 202;
576pub const NR64_SCHED_SETAFFINITY: u64 = 203;
577pub const NR64_SCHED_GETAFFINITY: u64 = 204;
578pub const NR64_SET_THREAD_AREA: u64 = 205;
579pub const NR64_IO_SETUP: u64 = 206;
580pub const NR64_IO_DESTROY: u64 = 207;
581pub const NR64_IO_GETEVENTS: u64 = 208;
582pub const NR64_IO_SUBMIT: u64 = 209;
583pub const NR64_IO_CANCEL: u64 = 210;
584pub const NR64_GET_THREAD_AREA: u64 = 211;
585pub const NR64_LOOKUP_DCOOKIE: u64 = 212;
586pub const NR64_EPOLL_CREATE: u64 = 213;
587pub const NR64_EPOLL_CTL_OLD: u64 = 214;
588pub const NR64_EPOLL_WAIT_OLD: u64 = 215;
589pub const NR64_REMAP_FILE_PAGES: u64 = 216;
590pub const NR64_GETDENTS64: u64 = 217;
591pub const NR64_SET_TID_ADDRESS: u64 = 218;
592pub const NR64_RESTART_SYSCALL: u64 = 219;
593pub const NR64_SEMTIMEDOP: u64 = 220;
594pub const NR64_FADVISE64: u64 = 221;
595pub const NR64_TIMER_CREATE: u64 = 222;
596pub const NR64_TIMER_SETTIME: u64 = 223;
597pub const NR64_TIMER_GETTIME: u64 = 224;
598pub const NR64_TIMER_GETOVERRUN: u64 = 225;
599pub const NR64_TIMER_DELETE: u64 = 226;
600pub const NR64_CLOCK_SETTIME: u64 = 227;
601pub const NR64_CLOCK_GETTIME: u64 = 228;
602pub const NR64_CLOCK_GETRES: u64 = 229;
603pub const NR64_CLOCK_NANOSLEEP: u64 = 230;
604pub const NR64_EXIT_GROUP: u64 = 231;
605pub const NR64_EPOLL_WAIT: u64 = 232;
606pub const NR64_EPOLL_CTL: u64 = 233;
607pub const NR64_TGKILL: u64 = 234;
608pub const NR64_UTIMES: u64 = 235;
609pub const NR64_VSERVER: u64 = 236;
610pub const NR64_MBIND: u64 = 237;
611pub const NR64_SET_MEMPOLICY: u64 = 238;
612pub const NR64_GET_MEMPOLICY: u64 = 239;
613pub const NR64_MQ_OPEN: u64 = 240;
614pub const NR64_MQ_UNLINK: u64 = 241;
615pub const NR64_MQ_TIMEDSEND: u64 = 242;
616pub const NR64_MQ_TIMEDRECEIVE: u64 = 243;
617pub const NR64_MQ_NOTIFY: u64 = 244;
618pub const NR64_MQ_GETSETATTR: u64 = 245;
619pub const NR64_KEXEC_LOAD: u64 = 246;
620pub const NR64_WAITID: u64 = 247;
621pub const NR64_ADD_KEY: u64 = 248;
622pub const NR64_REQUEST_KEY: u64 = 249;
623pub const NR64_KEYCTL: u64 = 250;
624pub const NR64_IOPRIO_SET: u64 = 251;
625pub const NR64_IOPRIO_GET: u64 = 252;
626pub const NR64_INOTIFY_INIT: u64 = 253;
627pub const NR64_INOTIFY_ADD_WATCH: u64 = 254;
628pub const NR64_INOTIFY_RM_WATCH: u64 = 255;
629pub const NR64_MIGRATE_PAGES: u64 = 256;
630pub const NR64_OPENAT: u64 = 257;
631pub const NR64_MKDIRAT: u64 = 258;
632pub const NR64_MKNODAT: u64 = 259;
633pub const NR64_FCHOWNAT: u64 = 260;
634pub const NR64_FUTIMESAT: u64 = 261;
635pub const NR64_NEWFSTATAT: u64 = 262;
636pub const NR64_UNLINKAT: u64 = 263;
637pub const NR64_RENAMEAT: u64 = 264;
638pub const NR64_LINKAT: u64 = 265;
639pub const NR64_SYMLINKAT: u64 = 266;
640pub const NR64_READLINKAT: u64 = 267;
641pub const NR64_FCHMODAT: u64 = 268;
642pub const NR64_FACCESSAT: u64 = 269;
643pub const NR64_PSELECT6: u64 = 270;
644pub const NR64_PPOLL: u64 = 271;
645pub const NR64_UNSHARE: u64 = 272;
646pub const NR64_SET_ROBUST_LIST: u64 = 273;
647pub const NR64_GET_ROBUST_LIST: u64 = 274;
648pub const NR64_SPLICE: u64 = 275;
649pub const NR64_TEE: u64 = 276;
650pub const NR64_SYNC_FILE_RANGE: u64 = 277;
651pub const NR64_VMSPLICE: u64 = 278;
652pub const NR64_MOVE_PAGES: u64 = 279;
653pub const NR64_UTIMENSAT: u64 = 280;
654pub const NR64_EPOLL_PWAIT: u64 = 281;
655pub const NR64_SIGNALFD: u64 = 282;
656pub const NR64_TIMERFD_CREATE: u64 = 283;
657pub const NR64_EVENTFD: u64 = 284;
658pub const NR64_FALLOCATE: u64 = 285;
659pub const NR64_TIMERFD_SETTIME: u64 = 286;
660pub const NR64_TIMERFD_GETTIME: u64 = 287;
661pub const NR64_ACCEPT4: u64 = 288;
662pub const NR64_SIGNALFD4: u64 = 289;
663pub const NR64_EVENTFD2: u64 = 290;
664pub const NR64_EPOLL_CREATE1: u64 = 291;
665pub const NR64_DUP3: u64 = 292;
666pub const NR64_PIPE2: u64 = 293;
667pub const NR64_INOTIFY_INIT1: u64 = 294;
668pub const NR64_PREADV: u64 = 295;
669pub const NR64_PWRITEV: u64 = 296;
670pub const NR64_RT_TGSIGQUEUEINFO: u64 = 297;
671pub const NR64_PERF_EVENT_OPEN: u64 = 298;
672pub const NR64_RECVMMSG: u64 = 299;
673pub const NR64_FANOTIFY_INIT: u64 = 300;
674pub const NR64_FANOTIFY_MARK: u64 = 301;
675pub const NR64_PRLIMIT64: u64 = 302;
676pub const NR64_NAME_TO_HANDLE_AT: u64 = 303;
677pub const NR64_OPEN_BY_HANDLE_AT: u64 = 304;
678pub const NR64_CLOCK_ADJTIME: u64 = 305;
679pub const NR64_SYNCFS: u64 = 306;
680pub const NR64_SENDMMSG: u64 = 307;
681pub const NR64_SETNS: u64 = 308;
682pub const NR64_GETCPU: u64 = 309;
683pub const NR64_PROCESS_VM_READV: u64 = 310;
684pub const NR64_PROCESS_VM_WRITEV: u64 = 311;
685pub const NR64_KCMP: u64 = 312;
686pub const NR64_FINIT_MODULE: u64 = 313;
687pub const NR64_SCHED_SETATTR: u64 = 314;
688pub const NR64_SCHED_GETATTR: u64 = 315;
689pub const NR64_RENAMEAT2: u64 = 316;
690pub const NR64_SECCOMP: u64 = 317;
691pub const NR64_GETRANDOM: u64 = 318;
692pub const NR64_MEMFD_CREATE: u64 = 319;
693pub const NR64_KEXEC_FILE_LOAD: u64 = 320;
694pub const NR64_BPF: u64 = 321;
695pub const NR64_EXECVEAT: u64 = 322;
696pub const NR64_USERFAULTFD: u64 = 323;
697pub const NR64_MEMBARRIER: u64 = 324;
698pub const NR64_MLOCK2: u64 = 325;
699pub const NR64_COPY_FILE_RANGE: u64 = 326;
700pub const NR64_PREADV2: u64 = 327;
701pub const NR64_PWRITEV2: u64 = 328;
702pub const NR64_PKEY_MPROTECT: u64 = 329;
703pub const NR64_PKEY_ALLOC: u64 = 330;
704pub const NR64_PKEY_FREE: u64 = 331;
705pub const NR64_STATX: u64 = 332;
706pub const NR64_IO_PGETEVENTS: u64 = 333;
707pub const NR64_RSEQ: u64 = 334;
708pub const NR64_PIDFD_SEND_SIGNAL: u64 = 424;
709pub const NR64_IO_URING_SETUP: u64 = 425;
710pub const NR64_IO_URING_ENTER: u64 = 426;
711pub const NR64_IO_URING_REGISTER: u64 = 427;
712pub const NR64_OPEN_TREE: u64 = 428;
713pub const NR64_MOVE_MOUNT: u64 = 429;
714pub const NR64_FSOPEN: u64 = 430;
715pub const NR64_FSCONFIG: u64 = 431;
716pub const NR64_FSMOUNT: u64 = 432;
717pub const NR64_FSPICK: u64 = 433;
718pub const NR64_PIDFD_OPEN: u64 = 434;
719pub const NR64_CLONE3: u64 = 435;
720pub const NR64_CLOSE_RANGE: u64 = 436;
721pub const NR64_OPENAT2: u64 = 437;
722pub const NR64_PIDFD_GETFD: u64 = 438;
723pub const NR64_FACCESSAT2: u64 = 439;
724pub const NR64_PROCESS_MADVISE: u64 = 440;
725pub const NR64_EPOLL_PWAIT2: u64 = 441;
726pub const NR64_MOUNT_SETATTR: u64 = 442;
727pub const NR64_QUOTACTL_FD: u64 = 443;
728pub const NR64_LANDLOCK_CREATE_RULESET: u64 = 444;
729pub const NR64_LANDLOCK_ADD_RULE: u64 = 445;
730pub const NR64_LANDLOCK_RESTRICT_SELF: u64 = 446;
731pub const NR64_MEMFD_SECRET: u64 = 447;
732pub const NR64_PROCESS_MRELEASE: u64 = 448;
733
734
735pub const ARCH_SET_GS: u64 = 0x1001;
736pub const ARCH_SET_FS: u64 = 0x1002;
737pub const ARCH_GET_FS: u64 = 0x1003;
738pub const ARCH_GET_GS: u64 = 0x1004;
739
740
741pub const UTSNAME: [u8;390] = [
7420x4c,0x69,0x6e,0x75,0x78,0x00,0x00,0x00
743,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
744,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
745,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
746,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
747,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
748,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
749,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
750,0x00,0x73,0x61,0x74,0x75,0x72,0x6e,0x00
751,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
752,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
753,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
754,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
755,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
756,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
757,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
758,0x00,0x00,0x35,0x2e,0x31,0x30,0x2e,0x30
759,0x2d,0x32,0x33,0x2d,0x61,0x6d,0x64,0x36
760,0x34,0x00,0x00,0x00,0x00,0x00,0x00,0x00
761,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
762,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
763,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
764,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
765,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
766,0x00,0x00,0x00,0x23,0x31,0x20,0x53,0x4d
767,0x50,0x20,0x44,0x65,0x62,0x69,0x61,0x6e
768,0x20,0x35,0x2e,0x31,0x30,0x2e,0x31,0x37
769,0x39,0x2d,0x31,0x20,0x28,0x32,0x30,0x32
770,0x33,0x2d,0x30,0x35,0x2d,0x31,0x32,0x29
771,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
772,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
773,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
774,0x00,0x00,0x00,0x00,0x78,0x38,0x36,0x5f
775,0x36,0x34,0x00,0x00,0x00,0x00,0x00,0x00
776,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
777,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
778,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
779,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
780,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
781,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
782,0x00,0x00,0x00,0x00,0x00,0x28,0x6e,0x6f
783,0x6e,0x65,0x29,0x00,0x00,0x00,0x00,0x00
784,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
785,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
786,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
787,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
788,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
789,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
790,0x00,0x00,0x00,0x00,0x00,0x00
791];
792