diff options
author | comex | 2015-01-25 01:26:43 -0500 |
---|---|---|
committer | comex | 2015-01-25 01:26:43 -0500 |
commit | d3ea2155062131724c01d7f6727fdf90a4063b4d (patch) | |
tree | 6b3d4989b4f7ff9df464c8c18fffce488673274f /lib/execmem.h | |
parent | fixes (diff) | |
download | substitute-d3ea2155062131724c01d7f6727fdf90a4063b4d.tar.gz |
fixes
Diffstat (limited to 'lib/execmem.h')
-rw-r--r-- | lib/execmem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/execmem.h b/lib/execmem.h index a1cd47e..b4860e9 100644 --- a/lib/execmem.h +++ b/lib/execmem.h @@ -1,9 +1,9 @@ #pragma once #include <stdlib.h> -/* write to a foreign page which is already RX / with unknown permissions */ +/* Write to a foreign page which is already RX / with unknown permissions. */ int execmem_write(void *dest, const void *src, size_t len); -/* for allocating trampolines */ +/* For allocating trampolines - this is just a mmap wrapper. */ int execmem_alloc_unsealed(uintptr_t hint, void **page_p, size_t *size_p); int execmem_seal(void *page); void execmem_free(void *page); |