Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions lldb/bindings/interface/SBProcessDocstrings.i
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,14 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
Deallocates the block of memory (previously allocated using
AllocateMemory) given in the argument."
) lldb::SBProcess::DeallocateMemory;

%feature("docstring", "
Get a list of all the memory regions associated with this process.
```
readable_regions = []
for region in process.GetMemoryRegions():
if region.IsReadable():
readable_regions.append(region)
```
"
) lldb::SBProcess::GetMemoryRegions;