728x90
반응형
ROP 시 참고할 자료로 system call number와 인자 참조 순서.
Chromium OS Docs - Linux System Call Table (googlesource.com)
Chromium OS Docs - Linux System Call Table
Linux System Call Table These are the system call numbers (NR) and their corresponding symbolic names. These vary significantly across architectures/ABIs, both in mappings and in actual name. This is a quick reference for people debugging things (e.g. secc
chromium.googlesource.com
| arch | syscall NR | return | arg0 | arg1 | arg2 | arg3 | arg4 | arg5 |
| arm | r7 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| arm64 | x8 | x0 | x0 | x1 | x2 | x3 | x4 | x5 |
| x86 | eax | eax | ebx | ecx | edx | esi | edi | ebp |
| x86_64 | rax | rax | rdi | rsi | rdx | r10 | r8 | r9 |
728x90
반응형
'Tips & theory' 카테고리의 다른 글
| rtld_global (0) | 2022.08.15 |
|---|---|
| seccomp 요약 (0) | 2022.08.05 |
| bss 영역 찾기 (0) | 2022.08.05 |
| 유용한 사이트 (0) | 2022.08.03 |
| patchelf 사용법. (0) | 2022.08.03 |