psyscall
psyscall copied to clipboard
PTRACE_POKETEXT instead of syscall from libc?
I want to adapt your code to a static linked executable.
I see why you want to use libc for your project (portability).
However I was wondering if there is any major issue you see with just using
PTRACE_POKETEXT to write the syscall instruction to the current instruction?