diff options
| author | the lemons <citrons@mondecitronne.com> | 2023-02-07 18:07:48 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2023-02-07 18:07:48 -0600 |
| commit | c651762762dd9463aacecd703b31d81042a42473 (patch) | |
| tree | 0418a376172a0d5c3688ec2b1f6308e1d5b9c3b8 /procfs.h | |
| parent | 4300520103c7196764561cdf7d34734495d708c0 (diff) | |
add drawing
Diffstat (limited to 'procfs.h')
| -rw-r--r-- | procfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,8 @@ #endif int procfs_open(pid_t pid); +int read_mem(int fd, uintptr_t addr, uint8_t *data, size_t size); +int write_mem(int fd, uintptr_t addr, uint8_t *data, size_t size); int read_page(int fd, uintptr_t index, uint8_t *data); struct procfs_map { @@ -20,5 +22,6 @@ struct procfs_map { }; ssize_t procfs_maps(pid_t pid, struct procfs_map **maps); +char procfs_state(pid_t pid); #endif |
