From d89af8f6d5f3b971dda663081c03d790437c2f03 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 24 Jan 2015 20:04:20 -0500 Subject: Add function to deal with mprotecting RW and back. A bit more complex than the minimum would be... (and minor build fixes) --- lib/execmem.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/execmem.h (limited to 'lib/execmem.h') diff --git a/lib/execmem.h b/lib/execmem.h new file mode 100644 index 0000000..f46b7d6 --- /dev/null +++ b/lib/execmem.h @@ -0,0 +1,3 @@ +#pragma once +#include +int execmem_write(void *dest, const void *src, size_t len); -- cgit v1.2.3