libnx
v4.7.0
|
Just-in-time compilation support. More...
Go to the source code of this file.
Data Structures | |
struct | Jit |
JIT buffer object. More... | |
Enumerations | |
enum | JitType { JitType_SetProcessMemoryPermission , JitType_CodeMemory } |
JIT implementation type. More... | |
Functions | |
Result | jitCreate (Jit *j, size_t size) |
Creates a JIT buffer. More... | |
Result | jitTransitionToWritable (Jit *j) |
Transition a JIT buffer to have writable permission. More... | |
Result | jitTransitionToExecutable (Jit *j) |
Transition a JIT buffer to have executable permission. More... | |
Result | jitClose (Jit *j) |
Destroys a JIT buffer. More... | |
static void * | jitGetRwAddr (Jit *j) |
Gets the address of the writable memory alias of a JIT buffer. More... | |
static void * | jitGetRxAddr (Jit *j) |
Gets the address of the executable memory alias of a JIT buffer. More... | |
Just-in-time compilation support.
enum JitType |
Creates a JIT buffer.
j | JIT buffer. |
size | Size of the JIT buffer. |
|
inlinestatic |
Gets the address of the writable memory alias of a JIT buffer.
j | JIT buffer. |
|
inlinestatic |
Gets the address of the executable memory alias of a JIT buffer.
j | JIT buffer. |
Transition a JIT buffer to have executable permission.
j | JIT buffer. |