summaryrefslogtreecommitdiff
path: root/procfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'procfs.h')
-rw-r--r--procfs.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/procfs.h b/procfs.h
deleted file mode 100644
index 70a652e..0000000
--- a/procfs.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef CORE_PROCFS_H
-#define CORE_PROCFS_H
-
-#include <stdlib.h>
-#include <stddef.h>
-#include <sys/types.h>
-#include <sys/mman.h>
-
-#ifndef PAGE_SIZE
-#define PAGE_SIZE (4096)
-#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 {
- uintptr_t base;
- uintptr_t max;
- int prot;
-};
-
-ssize_t procfs_maps(pid_t pid, struct procfs_map **maps);
-char procfs_state(pid_t pid);
-
-#endif