I am working on a project where I need to get the native stack of the Java application. I am able to achieve this partially thanks to ptrace, multiprocessing, and signals.
Can anyone please give me any good link where i can get some info on how to program with ptrace for HP-UX.
Following is my requirement. while process A is running. attach Process A from B with PTRACE_ATTACH. Start a Loop
I want to get address of instruction that causes external program to SIGSEGV. I tried using ptrace for this, but I\'m getting EIP from kernel space (probably default signal handler?). How GDB is able
i am using ptrace to get information related to Callstack on Linux. i can retrieve Spack Pointer to my stack using register returned by ptarces.
i am working on an application which needs call stack of all executing processes on Linux. i am trying to use ptrace but not able to go ahead with it because the steps i need to follow in my code are
Someone added to the Wikipedia \"ptrace\" article claiming that, on Linux, a ptraced process couldn\'t itself ptrace another process.I\'m trying to determine if (and if so why) that\'s the case.Below
Can child process use the ptrace system call to trace its parent? Os is linux 2.6 Thanks. upd1: I want to trace process1 from \"itself\". It is impossible, so I do fork and try to do ptrace(process