ptrace(PTRACE_PEEKUSER, pid,sizeof(long)*ORIG_EAX,0); 或者把sizeof(long)换成8或4,那这里参数选取的依据是什么呢? 打开内核头文件/usr/include/x86_64-linux-gnu/sys/reg.h, ...#ifdef__x86_64__/* Index into an array of 8 byte longs returned from ptrace for location of the users' stor...
Linux kernel for powerpc 32-bit, buffer overflow in ptrace PEEKUSER/POKEUSER The Linux kernel for powerpc 32-bit has a buffer overflow in the handling of ptrace PEEKUSER/POKEUSER when accessing floating point registers. The fix for mainline is:https://git.kernel.org/pub/scm/linux/kernel/git...