Package ghidra.program.model.listing
Interface ThunkFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ghidra.program.model.listing.Function
Function.FunctionUpdateType
-
-
Field Summary
-
Fields inherited from interface ghidra.program.model.listing.Function
DEFAULT_CALLING_CONVENTION_STRING, DEFAULT_LOCAL_PREFIX, DEFAULT_LOCAL_PREFIX_LEN, DEFAULT_LOCAL_RESERVED_PREFIX, DEFAULT_LOCAL_TEMP_PREFIX, DEFAULT_PARAM_PREFIX, DEFAULT_PARAM_PREFIX_LEN, INLINE, INVALID_STACK_DEPTH_CHANGE, NORETURN, RETURN_PTR_PARAM_NAME, THIS_PARAM_NAME, THUNK, UNKNOWN_CALLING_CONVENTION_STRING, UNKNOWN_STACK_DEPTH_CHANGE
-
Fields inherited from interface ghidra.program.model.symbol.Namespace
GLOBAL_NAMESPACE_ID, NAMESPACE_DELIMITER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
getDestinationFunctionEntryPoint()
Returns the current destination function entry point address.void
setDestinationFunction(Function function)
Set the destination function which corresponds to this thunk.-
Methods inherited from interface ghidra.program.model.listing.Function
addLocalVariable, addParameter, addTag, getAllVariables, getAutoParameterCount, getCalledFunctions, getCallFixup, getCallingConvention, getCallingConventionName, getCallingFunctions, getComment, getCommentAsArray, getDefaultCallingConventionName, getEntryPoint, getExternalLocation, getFunctionThunkAddresses, getLocalVariables, getLocalVariables, getName, getParameter, getParameterCount, getParameters, getParameters, getProgram, getPrototypeString, getRepeatableComment, getRepeatableCommentAsArray, getReturn, getReturnType, getSignature, getSignature, getSignatureSource, getStackFrame, getStackPurgeSize, getTags, getThunkedFunction, getVariables, hasCustomVariableStorage, hasNoReturn, hasVarArgs, insertParameter, isExternal, isInline, isStackPurgeSizeValid, isThunk, moveParameter, promoteLocalUserLabelsToGlobal, removeParameter, removeTag, removeVariable, replaceParameters, replaceParameters, setBody, setCallFixup, setCallingConvention, setComment, setCustomVariableStorage, setInline, setName, setNoReturn, setRepeatableComment, setReturn, setReturnType, setSignatureSource, setStackPurgeSize, setThunkedFunction, setVarArgs, updateFunction, updateFunction
-
Methods inherited from interface ghidra.program.model.symbol.Namespace
getBody, getID, getName, getParentNamespace, getSymbol, isGlobal, setParentNamespace
-
-
-
-
Method Detail
-
setDestinationFunction
void setDestinationFunction(Function function)
Set the destination function which corresponds to this thunk.- Parameters:
function
- destination function
-
getDestinationFunctionEntryPoint
Address getDestinationFunctionEntryPoint()
Returns the current destination function entry point address. A function should exist at the specified address although there is no guarantee. If the address is within the EXTERNAL space, this a place-holder for a an external library function.- Returns:
- destination function entry point address
-
-