Package ghidra.program.model.pcode
Interface PcodeOverride
-
- All Known Implementing Classes:
InstructionPcodeOverride
public interface PcodeOverride
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Change 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()NEW AddressgetOverridingReference(RefType type)Get the primary overriding reference address ofRefTypetypefrom the current instructionAddressgetPrimaryCallReference()Deprecated.booleanhasCallFixup(Address callDestAddr)Returns the call-fixup for a specified call destination.NEW booleanhasPotentialOverride()Returns a boolean indicating whether there are any primary overriding references at the current instructionNEW booleanisCallOtherCallOverrideRefApplied()Returns a boolean indicating whether a callother call override has been applied at the current instructionNEW booleanisCallOtherJumpOverrideApplied()Returns a boolean indicating whether a callother jump override has been applied at the current instructionNEW booleanisCallOverrideRefApplied()Returns a boolean indicating whether a call override has been applied at the current instructionNEW booleanisJumpOverrideRefApplied()Returns a boolean indicating whether a jump override has been applied at the current instructionNEW voidsetCallOtherCallOverrideRefApplied()Register that a callother call override has been applied at the current instructionNEW voidsetCallOtherJumpOverrideRefApplied()Register that a callother jump override has been applied at the current instructionNEW voidsetCallOverrideRefApplied()Register that a call override has been applied at the current instruction.NEW voidsetJumpOverrideRefApplied()Register that a jump override has been applied at the current instruction
-
-
-
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
-
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
-
setCallOverrideRefApplied NEW
void setCallOverrideRefApplied()
Register that a call override has been applied at the current instruction.
-
isCallOverrideRefApplied NEW
boolean isCallOverrideRefApplied()
Returns a boolean indicating whether a call override has been applied at the current instruction- Returns:
- has call override been applied
-
setJumpOverrideRefApplied NEW
void setJumpOverrideRefApplied()
Register that a jump override has been applied at the current instruction
-
isJumpOverrideRefApplied NEW
boolean isJumpOverrideRefApplied()
Returns a boolean indicating whether a jump override has been applied at the current instruction- Returns:
- has jump override been applied
-
setCallOtherCallOverrideRefApplied NEW
void setCallOtherCallOverrideRefApplied()
Register that a callother call override has been applied at the current instruction
-
isCallOtherCallOverrideRefApplied NEW
boolean isCallOtherCallOverrideRefApplied()
Returns a boolean indicating whether a callother call override has been applied at the current instruction- Returns:
- has callother call override been applied
-
setCallOtherJumpOverrideRefApplied NEW
void setCallOtherJumpOverrideRefApplied()
Register that a callother jump override has been applied at the current instruction
-
isCallOtherJumpOverrideApplied NEW
boolean isCallOtherJumpOverrideApplied()
Returns a boolean indicating whether a callother jump override has been applied at the current instruction- Returns:
- has callother jump override been applied
-
hasPotentialOverride NEW
boolean hasPotentialOverride()
Returns a boolean indicating whether there are any primary overriding references at the current instruction- Returns:
- are there primary overriding references
-
getPrimaryCallReference
@Deprecated Address getPrimaryCallReference()
Deprecated.Get the primary call reference address from the current instruction- Returns:
- call reference address or null
-
-