Interface ThunkFunction

All Superinterfaces:
Function, Namespace

public interface ThunkFunction extends Function
ThunkFunction corresponds to a fragment of code which simply passes control to a destination function. All Function behaviors are mapped through to the current destination function.
  • Method Details

    • 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