Is there any way to catch all syscalls on Linux? The only solution I know of is using LD_PRELOAD à la fakeroot, but that only works for dynamically linked applications. Furthermore, this approach requires enumerating all syscalls which is something I'd like to avoid.
From stackoverflow
-
You can trace a program. Think about how
straceworks. Hint: it doesn't useLD_PRELOADtricks. -
I think you are looking for
ptrace(2).
0 comments:
Post a Comment