From 7e8bd04389875d8569463f42923792557edc2908 Mon Sep 17 00:00:00 2001 From: Orfeas <38209077+0xfea5@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:14:29 +0300 Subject: Write other process' memory --- src/vm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vm.h') diff --git a/src/vm.h b/src/vm.h index 4a994f9..3f3cc09 100644 --- a/src/vm.h +++ b/src/vm.h @@ -1,6 +1,7 @@ #ifndef _VM_H_ #define _VM_H_ #include +#include typedef struct VMMapping { void *begin; @@ -24,4 +25,5 @@ VMMapping* parse_vmmap (int pid); MemscanResult* memscan(int pid, uint8_t *byte_seq, uint64_t byte_seq_len); +void memwrite(int pid, void *address, uint8_t *data, size_t data_len); #endif // _VM_H_ -- cgit v1.2.3