Safely modifies size bytes at address. The supplied function apply gets called with a writable pointer
where you must write the desired modifications before returning. Do not make any assumptions about this being
the same location as address, as some systems require modifications to be written to a temporary location before
being mapped into memory on top of the original memory page (e.g. on iOS, where directly modifying in-memory
code may result in the process losing its CS_VALID status).
Safely modifies
size
bytes ataddress
. The supplied functionapply
gets called with a writable pointer where you must write the desired modifications before returning. Do not make any assumptions about this being the same location as address, as some systems require modifications to be written to a temporary location before being mapped into memory on top of the original memory page (e.g. on iOS, where directly modifying in-memory code may result in the process losing its CS_VALID status).