Package ghidra.program.model.pcode
Interface PcodeOverride
-
- All Known Implementing Classes:
InstructionPcodeOverride
public interface PcodeOverride
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectPayloadgetCallFixup(Address callDestAddr)Returns the call-fixup for a specified call destination.AddressgetFallThroughOverride()Get the fall-through override address which may have been applied to the current instruction.FlowOverridegetFlowOverride()Get the flow override which may have been applied to the current instruction.AddressgetInstructionStart()AddressgetPrimaryCallReference()Get the primary call reference address from the current instructionbooleanhasCallFixup(Address callDestAddr)Returns the call-fixup for a specified call destination.
-
-
-
Method Detail
-
getInstructionStart
Address getInstructionStart()
- Returns:
- current instruction address
-
getFlowOverride
FlowOverride getFlowOverride()
Get the flow override which may have been applied to the current instruction.- Returns:
- flow override or null
-
getPrimaryCallReference
Address getPrimaryCallReference()
Get the primary call reference address from the current instruction- Returns:
- call reference address or null
-
getFallThroughOverride
Address getFallThroughOverride()
Get the fall-through override address which may have been applied to the current instruction.- Returns:
- fall-through override address or null
-
hasCallFixup
boolean hasCallFixup(Address callDestAddr)
Returns the call-fixup for a specified call destination.- Parameters:
callDestAddr- call destination address. This address is used to identify a function which may have been tagged with a CallFixup.- Returns:
- true if call destination function has been tagged with a call-fixup
-
getCallFixup
InjectPayload getCallFixup(Address callDestAddr)
Returns the call-fixup for a specified call destination. If the destination function has not be tagged or was tagged with an unknown CallFixup name this method will return null.- Parameters:
callDestAddr- call destination address. This address is used to identify a function which may have been tagged with a CallFixup.- Returns:
- call fixup object or null
-
-