625ac095d3
#include <sys/types.h> #include <stdio.h> #include <sys/ptrace.h> int main(void) { ptrace(18, getpid(), NULL, 0xabcd); } The -lpthread cases pases 0 instead of 0xabcd |
||
---|---|---|
.. | ||
aarch64 | ||
alpha | ||
arm | ||
hppa | ||
i386 | ||
ia64 | ||
m68k | ||
mips | ||
or1k | ||
powerpc | ||
powerpc64 | ||
riscv | ||
sh3 | ||
sparc | ||
sparc64 | ||
vax | ||
x86_64 |