Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanExtreme002 authored Nov 16, 2023
1 parent 86beab5 commit 2dbbdb9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,13 @@ for address, info process.search_by_value(..., progress_information = True):

print(template.format(address, progress))
```

# Getting memory regions:
Use the method `get_memory_regions()` to get the base address, size and more information of all memory regions used by the process.

```py
for memory_region in process.get_memory_regions():
base_address = memory_region["address"]
size = memory_region["size"]
information = memory_region["struct"]
```

0 comments on commit 2dbbdb9

Please sign in to comment.