public interface NativeImagePatcher
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
The length of the value to patch in bytes, e.g., the size of an operand.
|
int |
getOffset()
The position from the beginning of the method where the patch is applied.
|
void |
patchCode(long methodStartAddress,
int relative,
byte[] code)
Patch directly in the code buffer with an offset relative to the start of this instruction.
|
void patchCode(long methodStartAddress,
int relative,
byte[] code)
methodStartAddress - address of method start within runtime installed coderelative - pc-relative offsetcode - machine code generated for this methodint getOffset()
int getLength()