u64 allocExe(u64 size)
Allocates executable memory within the 32-bit address space, always aligned to the nearest 16 bytes.
Returns the starting address to the allocated memory, or 0 if allocation fails.
0
The amount of memory to allocate, in bytes.
The maximum amount of memory that can be allocated is 128 MB.
Always deallocate memory that is no longer used to avoid memory leaks.
Last updated 1 year ago