ptrace question
Hi, I wrote a small debugger using ptrace() (fork() child and parent is
tracing). And now i've a small problem. I limit memory for traced
process using setrlimit() (X MB) and then call execl(). But if traced
program use e.g global array of size bigger than X then linux kills it
with signal 127(???). So my debugger faults after first wait() call
(ptrace(PTRACE_PEEKUSER, child_pid, 4*ORIG_EAX) returns -1). How can i
check what happend (memory limit, smth. else) ?
.
Relevant Pages
- Re: [PATCH 2/4] security: filesystem capabilities bugfix2
... I guess that means that if you're tracing a binary that has ... CAP_SETPCAP already, and whose filecaps say that it wants CAP_SETPCAP, ... even if the debugger doesn't. ... additional capabilities, apart from what's available under CAP_SETPCAP. ... (Linux-Kernel) - Re: [PATCH 2/4] security: filesystem capabilities bugfix2
... I guess that means that if you're tracing a binary that has ... CAP_SETPCAP already, and whose filecaps say that it wants CAP_SETPCAP, ... even if the debugger doesn't. ... additional capabilities, apart from what's available under CAP_SETPCAP. ... (Linux-Kernel) - RE: combo box misbehavin
... Have you tried tracing the code with the Debugger to see what code or PEM ... is executing when the active table changes? ... (microsoft.public.fox.vfp.forms) - Re: NUnit Test
... the private function. ... There are people who swear by tracing through the code line by line ... I only use the debugger when something isn't working as I expect it to, ... Apart from when I'm investigating ... (microsoft.public.dotnet.languages.csharp) - Re: Best practise: Kommunikation modeless Dialog und View
... GetParent ist eben nicht der View. ... Der echte Parent ist das Main Wnd! ... Schau Dir den Zeiger im Debugger an! ... (microsoft.public.de.vc) |
|