[lldb-dev] how to get all memory maps of debugged process?
jingham at apple.com
jingham at apple.com
Mon Feb 3 10:40:39 PST 2014
SBProcess::GetProcessID
Jim
On Feb 1, 2014, at 2:17 AM, Jun Koi <junkoi2004 at gmail.com> wrote:
>
>
>
> 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 hint?
>
> thanks.
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list