github.com/criyle/go-sandbox@v0.10.3/pkg/forkexec/zsyscall_darwin.s (about) 1 #include "textflag.h" 2 3 TEXT libc_sandbox_init_trampoline<>(SB),NOSPLIT,$0-0 4 JMP libc_sandbox_init(SB) 5 6 GLOBL ·libc_sandbox_init_trampoline_addr(SB), RODATA, $8 7 DATA ·libc_sandbox_init_trampoline_addr(SB)/8, $libc_sandbox_init_trampoline<>(SB) 8 9 TEXT libc_sandbox_free_error_trampoline<>(SB),NOSPLIT,$0-0 10 JMP libc_sandbox_free_error(SB) 11 12 GLOBL ·libc_sandbox_free_error_trampoline_addr(SB), RODATA, $8 13 DATA ·libc_sandbox_free_error_trampoline_addr(SB)/8, $libc_sandbox_free_error_trampoline<>(SB) 14 15 TEXT libc_fork_trampoline<>(SB),NOSPLIT,$0-0 16 JMP libc_fork(SB) 17 18 GLOBL ·libc_fork_trampoline_addr(SB), RODATA, $8 19 DATA ·libc_fork_trampoline_addr(SB)/8, $libc_fork_trampoline<>(SB) 20 21 TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 22 JMP libc_close(SB) 23 24 GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8 25 DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) 26 27 TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 28 JMP libc_read(SB) 29 30 GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8 31 DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) 32 33 TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 34 JMP libc_write(SB) 35 36 GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8 37 DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) 38 39 TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0 40 JMP libc_fcntl(SB) 41 42 GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8 43 DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB) 44 45 TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 46 JMP libc_dup2(SB) 47 48 GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8 49 DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) 50 51 TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 52 JMP libc_chdir(SB) 53 54 GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8 55 DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) 56 57 TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 58 JMP libc_setrlimit(SB) 59 60 GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8 61 DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) 62 63 TEXT libc_execve_trampoline<>(SB),NOSPLIT,$0-0 64 JMP libc_execve(SB) 65 66 GLOBL ·libc_execve_trampoline_addr(SB), RODATA, $8 67 DATA ·libc_execve_trampoline_addr(SB)/8, $libc_execve_trampoline<>(SB) 68 69 TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 70 JMP libc_exit(SB) 71 72 GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8 73 DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) 74 75 TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 76 JMP libc_setpgid(SB) 77 78 GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8 79 DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)