-
-
Save LemonBoy/32031835ec07ca340046baf3de74cea1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <stub name> <architecture> <bitness> <syscall name> <parameters> <return type> | |
mmap2 all 32 mmap2 (address: ?[*]u8, length: usize, prot: usize, flags: u32, fd: i32, offset: isize) usize | |
mmap all 64 mmap (address: ?[*]u8, length: usize, prot: usize, flags: u32, fd: i32, offset: isize) usize | |
mprotect all any mprotect (address: usize, length: usize, protection: usize) usize | |
munmap all any munmap (address: usize, length: usize) usize | |
openat all any openat (dirfd: i32, path: [*]const u8, flags: u32, mode: usize) usize | |
creat all any creat (path: [*]const u8, perm: usize) usize | |
read all any read (fd: i32, buf: [*]u8, count: usize) usize | |
write all any write (fd: i32, buf: [*]const u8, count: usize) usize | |
close all any close (fd: i32) usize | |
ioctl all any ioctl (fd: i32, ctl: i32, arg: usize) usize | |
readlinkat all any readlinkat (dirfd: i32, path: [*]const u8, buf_ptr: [*]u8, buf_len: usize) usize | |
mkdirat all any mkdirat (dirfd: i32, path: [*]const u8, mode: u32) usize | |
symlinkat all any symlinkat (existing: [*]const u8, newfd: i32, newpath: [*]const u8) usize | |
faccessat all any faccessat (dirfd: i32, path: [*]const u8, mode: u32) usize | |
renameat all any renameat (oldfd: i32, oldpath: [*]const u8, newfd: i32, newpath: [*]const u8) usize | |
unlinkat all any unlinkat (dirfd: i32, path: [*]const u8, flags: u32) usize | |
fstatat all 64 fstatat (dirfd: i32, path: [*]const u8, stat_buf: *Stat, flags: u32) usize | |
fstatat64 all 32 fstatat64 (dirfd: i32, path: [*]const u8, stat_buf: *Stat, flags: u32) usize | |
llseek all 32 _llseek (fd: i32, offset_high: u32, offset_low: u32, result: *i64, whence: usize) usize | |
lseek all 32 lseek (fd: i32, offset: i32, whence: usize) usize | |
lseek all 64 lseek (fd: i32, offset: i64, whence: usize) usize | |
pread64 all 32 pread64 (fd: i32, buf: [*]u8, count: usize, offset: i64) usize | |
pread all 64 pread (fd: i32, buf: [*]u8, count: usize, offset: i64) usize | |
readv all any readv (fd: i32, iov: [*]const iovec, count: usize) usize | |
writev all any writev (fd: i32, iov: [*]const iovec_const, count: usize) usize | |
preadv all 32 preadv (fd: i32, iov: [*]const iovec, count: usize, offset_low: u32, offset_hi: u32) usize | |
preadv all 64 preadv (fd: i32, iov: [*]const iovec, count: usize, offset: u64) usize | |
pwritev all 32 pwritev (fd: i32, iov: [*]const iovec_const, count: usize, offset_low: u32, offset_hi: u32) usize | |
pwritev all 64 pwritev (fd: i32, iov: [*]const iovec_const, count: usize, offset: u64) usize | |
chdir all any chdir (path: [*]const u8) usize | |
chroot all any chroot (path: [*]const u8) usize | |
getcwd all any getcwd (path: [*]const u8, size: usize) usize | |
getdents64 all any getdents64 (fd: i32, dirp: [*]u8, count: usize) usize | |
futex4 all any futex (uaddr: *const i32, futex_op: i32, val: i32, timeout: ?*timespec) usize | |
getrandom all any getrandom (buf: [*]u8, count: usize, flags: u32) usize | |
clock_getres all any clock_getres (clk_id: i32, tp: *timespec) usize | |
clock_settime all any clock_settime (clk_id: i32, tp: *const timespec) usize | |
rt_sigprocmask all any rt_sigprocmask (how: i32, set: *const sigset_t, oldset: ?*sigset_t, sigsetsize: usize) usize | |
getgid all 32 getgid32 () u32 | |
getgid all 64 getgid () u32 | |
dup3 all any dup3 (oldfd: i32, newfd: i32, flags: i32) usize | |
pipe2 all any pipe2 (fd: *[2]i32, flags: u32) usize | |
clone5 all any clone (flags: usize, child_stack_ptr: usize, parent_tid: *i32, child_tid: *i32, newtls: usize) usize | |
clone2 all any clone (flags: u32, child_stack_ptr: usize) usize | |
execve all any execve (path: [*]const u8, argv: [*]const ?[*]const u8, envp: [*]const ?[*]const u8) usize | |
kill all any kill (pid: i32, sig: i32) usize | |
wait4 all any wait (pid: i32, status: *i32, options: i32, rusage: usize) usize | |
exit all any exit (status: i32) noreturn | |
exit_group all any exit_group (status: i32) noreturn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment