#ifndef _ASM_X86_PTRACE_ABI_H #define _ASM_X86_PTRACE_ABI_H #ifdef __i386__ #define EBX 0 #define ECX 1 #define EDX 2 #define ESI 3 #define EDI 4 #define EBP 5 #define EAX 6 #define DS 7 #define ES 8 #define FS 9 #define GS 10 #define ORIG_EAX 11 #define EIP 12 #define CS 13 #define EFL 14 #define UESP 15 #define SS 16 #define FRAME_SIZE 17 #else /* __i386__ */ #if defined(__ASSEMBLY__) || defined(__FRAME_OFFSETS) #define R15 0 #define R14 8 #define R13 16 #define R12 24 #define RBP 32 #define RBX 40 /* arguments: interrupts/non tracing syscalls only save up to here*/ #define R11 48 #define R10 56 #define R9 64 #define R8 72 #define RAX 80 #define RCX 88 #define RDX 96 #define RSI 104 #define RDI 112 #define ORIG_RAX 120 /* = ERROR */ /* end of arguments */ /* cpu exception frame or undefined in case of fast syscall. */ #define RIP 128 #define CS 136 #define EFLAGS 144 #define RSP 152 #define SS 160 #define ARGOFFSET R11 #endif /* __ASSEMBLY__ */ /* top of stack page */ #define FRAME_SIZE 168 #endif /* !__i386__ */ /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ #define PTRACE_GETREGS 12 #define PTRACE_SETREGS 13 #define PTRACE_GETFPREGS 14 #define PTRACE_SETFPREGS 15 #define PTRACE_GETFPXREGS 18 #define PTRACE_SETFPXREGS 19 #define PTRACE_OLDSETOPTIONS 21 /* only useful for access 32bit programs / kernels */ #define PTRACE_GET_THREAD_AREA 25 #define PTRACE_SET_THREAD_AREA 26 #ifdef __x86_64__ # define PTRACE_ARCH_PRCTL 30 #endif #define PTRACE_SYSEMU 31 #define PTRACE_SYSEMU_SINGLESTEP 32 #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */ #ifndef __ASSEMBLY__ #include <linux/types.h> #endif #endif /* _ASM_X86_PTRACE_ABI_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
a.out.h | File | 693 B | 0644 |
|
auxvec.h | File | 483 B | 0644 |
|
bitsperlong.h | File | 229 B | 0644 |
|
boot.h | File | 260 B | 0644 |
|
bootparam.h | File | 4.39 KB | 0644 |
|
bpf_perf_event.h | File | 40 B | 0644 |
|
byteorder.h | File | 137 B | 0644 |
|
debugreg.h | File | 3.15 KB | 0644 |
|
e820.h | File | 2.63 KB | 0644 |
|
errno.h | File | 31 B | 0644 |
|
fcntl.h | File | 31 B | 0644 |
|
hw_breakpoint.h | File | 6 B | 0644 |
|
hyperv.h | File | 12.98 KB | 0644 |
|
ioctl.h | File | 31 B | 0644 |
|
ioctls.h | File | 32 B | 0644 |
|
ipcbuf.h | File | 32 B | 0644 |
|
ist.h | File | 790 B | 0644 |
|
kvm.h | File | 6.81 KB | 0644 |
|
kvm_para.h | File | 2.8 KB | 0644 |
|
kvm_perf.h | File | 325 B | 0644 |
|
ldt.h | File | 963 B | 0644 |
|
mce.h | File | 1.22 KB | 0644 |
|
mman.h | File | 1.01 KB | 0644 |
|
msgbuf.h | File | 32 B | 0644 |
|
msr-index.h | File | 29.04 KB | 0644 |
|
msr.h | File | 283 B | 0644 |
|
mtrr.h | File | 4.06 KB | 0644 |
|
param.h | File | 31 B | 0644 |
|
perf_regs.h | File | 1.24 KB | 0644 |
|
poll.h | File | 30 B | 0644 |
|
posix_types.h | File | 161 B | 0644 |
|
posix_types_32.h | File | 702 B | 0644 |
|
posix_types_64.h | File | 546 B | 0644 |
|
posix_types_x32.h | File | 518 B | 0644 |
|
prctl.h | File | 190 B | 0644 |
|
processor-flags.h | File | 6.32 KB | 0644 |
|
ptrace-abi.h | File | 1.76 KB | 0644 |
|
ptrace.h | File | 1.17 KB | 0644 |
|
resource.h | File | 34 B | 0644 |
|
sembuf.h | File | 699 B | 0644 |
|
setup.h | File | 6 B | 0644 |
|
shmbuf.h | File | 32 B | 0644 |
|
sigcontext.h | File | 5.11 KB | 0644 |
|
sigcontext32.h | File | 1.64 KB | 0644 |
|
siginfo.h | File | 431 B | 0644 |
|
signal.h | File | 2.77 KB | 0644 |
|
socket.h | File | 32 B | 0644 |
|
sockios.h | File | 33 B | 0644 |
|
stat.h | File | 2.89 KB | 0644 |
|
statfs.h | File | 353 B | 0644 |
|
svm.h | File | 5.09 KB | 0644 |
|
swab.h | File | 661 B | 0644 |
|
termbits.h | File | 34 B | 0644 |
|
termios.h | File | 33 B | 0644 |
|
types.h | File | 113 B | 0644 |
|
ucontext.h | File | 339 B | 0644 |
|
unistd.h | File | 296 B | 0644 |
|
unistd_32.h | File | 9.37 KB | 0644 |
|
unistd_64.h | File | 8.59 KB | 0644 |
|
unistd_x32.h | File | 15.12 KB | 0644 |
|
vm86.h | File | 2.98 KB | 0644 |
|
vmx.h | File | 6.53 KB | 0644 |
|
vsyscall.h | File | 375 B | 0644 |
|