HomeSort by relevance Sort by last modified time
    Searched refs:PTRACE (Results 1 - 3 of 3) sorted by null

  /external/lldb/source/Plugins/Process/FreeBSD/
ProcessMonitor.cpp 17 #include <sys/ptrace.h>
45 // We disable the tracing of ptrace calls for integration builds to
48 // Wrapper for ptrace to catch errors and log calls.
62 // Wrapper for ptrace to catch errors and log calls.
63 // Note that ptrace sets errno on error because -1 is reserved as a valid result.
73 log->Printf("ptrace(%s, %lu, %p, %x) called from file %s line %d",
86 result = ptrace(req, pid, (caddr_t) addr, data);
101 log->Printf("ptrace() failed; errno=%d (%s)", errno, str);
120 // Wrapper for ptrace when logging is not required.
121 // Sets errno to 0 prior to calling ptrace
    [all...]
  /external/lldb/source/Plugins/Process/Linux/
ProcessMonitor.cpp 18 #include <sys/ptrace.h>
43 // Support ptrace extensions even when compiled without required kernel support
64 // hard-coded to uint64_t, but on a 32-bit Linux host, ptrace requires
68 // We disable the tracing of ptrace calls for integration builds to
144 // Wrapper for ptrace to catch errors and log calls.
145 // Note that ptrace sets errno on error because -1 can be a valid result (i.e. for PTRACE_PEEK*)
155 log->Printf("ptrace(%s, %lu, %p, %p, %zu) called from file %s line %d",
162 result = ptrace(static_cast<__ptrace_request>(req), pid, *(unsigned int *)addr, data);
164 result = ptrace(static_cast<__ptrace_request>(req), pid, addr, data);
179 log->Printf("ptrace() failed; errno=%d (%s)", errno, str)
    [all...]
  /external/libunwind/doc/
libunwind-ptrace.tex 8 \begin{Name}{3}{libunwind-ptrace}{David Mosberger-Tang}{Programming Library}{ptrace() support in libunwind}libunwind-ptrace -- ptrace() support in libunwind
13 \File{\#include $<$libunwind-ptrace.h$>$}\\
41 The \Func{ptrace}(2) system-call makes it possible for a process to
45 \Func{ptrace}(2). While it's not very difficult to do so directly,
49 stands for ``unwind-via-ptrace''.
68 Next, the application can turn on ptrace-mode on the target process,
69 either by forking a new process, invoking \Const{PTRACE\_TRACEME}, an
    [all...]

Completed in 68 milliseconds