PTRACE Programming on HP-UX
Hi, Can anyone please give me any good link where i can get some info on how to program with ptrace for HP-UX. Please don't post links for linux ptrace. ...
Hi, Can anyone please give me any good link where i can get some info on how to program with ptrace for HP-UX. Please don't post links for linux ptrace. ...
Hello I have a "debugger"-like application, named hyper-ptrace. It starts user_appl3 which is multithreaded with NPTL. Main loop of hyper-ptrace is: wait3(&status, FLAGS, &u); // find a pid of child, which has a signal switch (signal = WSTOPSIG(status)) { case SIGTRAP: do_some_analysis_of_the_child(pid, &status) // up to several...
Hi, I have a ptrace code for a AIX machine, but want to port it to PPC-linux machine. I was able to figure out the respective ptrace requests on ppc-linux (like for reading registers PTRACE_PPC_GETREGS). However, I am unable to write to the registers, using the SETREGS call. Can there be any particular reason for this? Also, I found ...
Hello ALL, I am working on a project, where i need to get native stack of the Java Application. i am able to achieve this partially. thanks to ptrace/multiprocessing and signals. on Linux normal java application has minimum 14 number of threads. out of these 14 i am interested in only main thread of which i have to get native stack. co...
I'll looking for advice/resources to write a program that can intercept system calls from a programm to supervise it's filesystem, network, etc access. The aim of this is to write an online judge, so that untrusted code can be run safely on a server. This is on linux, and I would prefer to write C++ or a scripting langauge (ruby, pytho...
I have a debugger that I am porting over to *bsd from linux. Currently, I am working on the OpenBSD version. Under certain conditions I would like to know the details of the signal that was delivered. For example, suppose a SIGSEGV was delivered, I'd like to know what the faulting address was, and if possible, if it was a read or write....