@FunctionalInterface
public interface LLVMSymbolLookupCallbackI
extends org.lwjgl.system.CallbackI.P
CreateDisasm, CreateDisasmCPU and CreateDisasmCPUFeatures methods.
char const * (*) (
void *DisInfo,
uint64_t ReferenceValue,
uint64_t *ReferenceType,
uint64_t ReferencePC,
char const **ReferenceName
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default long |
callback(long args) |
default java.lang.String |
getSignature() |
long |
invoke(long DisInfo,
long ReferenceValue,
long ReferenceType,
long ReferencePC,
long ReferenceName)
The type for the symbol lookup function.
|
static final java.lang.String SIGNATURE
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault long callback(long args)
callback in interface org.lwjgl.system.CallbackI.Plong invoke(long DisInfo,
long ReferenceValue,
long ReferenceType,
long ReferencePC,
long ReferenceName)
This may be called by the disassembler for things like adding a comment for a PC plus a constant offset load instruction to use a symbol name instead
of a load address value. It is passed the block information is saved when the disassembler context is created and the ReferenceValue to look up
as a symbol. If no symbol is found for the ReferenceValue NULL is returned. The ReferenceType of the instruction is passed indirectly
as is the PC of the instruction in ReferencePC. If the output reference can be determined its type is returned indirectly in
ReferenceType along with ReferenceName if any, or that is set to NULL.
Copyright LWJGL. All Rights Reserved. License terms.