ptrace
Multithreading, Multiprocessing with STOP and Continue Signals
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.[详细]
2023-01-14 18:33 分类:问答PTRACE Programming on HP-UX
Can anyone please give me any good link where i can get some info on how to program with ptrace for HP-UX.[详细]
2023-01-11 13:57 分类:问答Stack Walk on linux using ptrace
Following is my requirement. while process A is running. attach Process A from B with PTRACE_ATTACH. Start a Loop[详细]
2023-01-06 06:03 分类:问答Address of instruction causing SIGSEGV in external program
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[详细]
2023-01-03 09:16 分类:问答How can we get Function name from Spack Pointer(reg/SP) on Linux?
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.[详细]
2022-12-27 05:11 分类:问答How to use Ptrace on Linux to print Call Stack of Other Processes of C++
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[详细]
2022-12-25 14:18 分类:问答calling ptrace inside a ptraced Linux process
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[详细]
2022-12-21 10:29 分类:问答ptrace'ing of parent process
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[详细]
2022-12-19 16:20 分类:问答