diff options
Diffstat (limited to 'src/vm.h')
| -rw-r--r-- | src/vm.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef _VM_H_ | 1 | #ifndef _VM_H_ |
| 2 | #define _VM_H_ | 2 | #define _VM_H_ |
| 3 | #include <stdint.h> | 3 | #include <stdint.h> |
| 4 | #include <sys/types.h> | ||
| 4 | 5 | ||
| 5 | typedef struct VMMapping { | 6 | typedef struct VMMapping { |
| 6 | void *begin; | 7 | void *begin; |
| @@ -24,4 +25,5 @@ VMMapping* parse_vmmap (int pid); | |||
| 24 | 25 | ||
| 25 | MemscanResult* memscan(int pid, uint8_t *byte_seq, uint64_t byte_seq_len); | 26 | MemscanResult* memscan(int pid, uint8_t *byte_seq, uint64_t byte_seq_len); |
| 26 | 27 | ||
| 28 | void memwrite(int pid, void *address, uint8_t *data, size_t data_len); | ||
| 27 | #endif // _VM_H_ | 29 | #endif // _VM_H_ |
