|
infix
A JIT-Powered FFI Library for C
|
Internal representation of a memory block that will be made read-only. More...
#include <infix_internals.h>
Public Attributes | |
| void * | rw_ptr |
| size_t | size |
Internal representation of a memory block that will be made read-only.
This is used to harden the infix_reverse_t context against runtime memory corruption. The context is allocated in a standard read-write memory region, fully populated, and then its permissions are changed to read-only using this handle.
| void* infix_protected_t::rw_ptr |
The read-write pointer before being made read-only.
| size_t infix_protected_t::size |
The size of the allocated memory region in bytes.