diff options
| author | the lemons <citrons@mondecitronne.com> | 2023-02-06 13:58:46 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2023-02-06 13:58:46 -0600 |
| commit | 5b53f34340bff793106af3c475e5bb3315589e53 (patch) | |
| tree | 010638870d206c3284192348d67487e749c5f054 /procfs.h | |
| parent | 3af50b956b8887b64c3c29b30a0008be866b24c4 (diff) | |
parse /proc/<pid>/maps
Diffstat (limited to 'procfs.h')
| -rw-r--r-- | procfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -12,4 +12,11 @@ int procfs_open(pid_t pid); int read_page(int fd, uintptr_t index, uint8_t *data); +struct procfs_map { + uintptr_t base; + uintptr_t max; +}; + +ssize_t procfs_maps(pid_t pid, struct procfs_map **maps); + #endif |
