[lldb-dev] how to get all memory maps of debugged process?

Jun Koi junkoi2004 at gmail.com
Sat Feb 1 02:17:00 PST 2014

On Sat, Feb 1, 2014 at 4:45 PM, Jun Koi <junkoi2004 at gmail.com> wrote:

> hi,
> does LLDB provide any facilities to retrieve all the memory maps of
> debugged process from Python script?
> on Linux, we can get this from /proc/<debugged-id>/map, but this is rather
> mechanical, so if LLDB can get that for me, it would save me from doing
> that myself.

in case there is no such a facility, how can i get the pid of debugged
process? (so i can use pid to get all the memory maps afterwards)

i looked around, and couldnt find any API that can tell me the pid. any

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140201/d5dbc9f5/attachment.html>

More information about the lldb-dev mailing list