From 285025ee086b7631cb102c20300c8da7f2d9a52e Mon Sep 17 00:00:00 2001 From: the lemons Date: Tue, 7 Feb 2023 15:15:00 -0600 Subject: change behavior of jumping between maps --- procfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'procfs.h') diff --git a/procfs.h b/procfs.h index b36c242..28ef784 100644 --- a/procfs.h +++ b/procfs.h @@ -4,6 +4,7 @@ #include #include #include +#include #ifndef PAGE_SIZE #define PAGE_SIZE (4096) @@ -15,6 +16,7 @@ int read_page(int fd, uintptr_t index, uint8_t *data); struct procfs_map { uintptr_t base; uintptr_t max; + int prot; }; ssize_t procfs_maps(pid_t pid, struct procfs_map **maps); -- cgit v1.2.3