Package ghidra.program.model.lang
Class InjectPayloadCallotherError
- java.lang.Object
-
- ghidra.program.model.lang.InjectPayloadSleigh
-
- ghidra.program.model.lang.InjectPayloadCallother
-
- ghidra.program.model.lang.InjectPayloadCallotherError
-
- All Implemented Interfaces:
InjectPayload
public class InjectPayloadCallotherError extends InjectPayloadCallother
A substitute for a callother fixup that did not fully parse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ghidra.program.model.lang.InjectPayload
InjectPayload.InjectParameter
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.lang.InjectPayloadSleigh
name, source, type
-
Fields inherited from interface ghidra.program.model.lang.InjectPayload
CALLFIXUP_TYPE, CALLMECHANISM_TYPE, CALLOTHERFIXUP_TYPE, EXECUTABLEPCODE_TYPE
-
-
Constructor Summary
Constructors Constructor Description InjectPayloadCallotherError(AddressFactory addrFactory, InjectPayloadCallother failedPayload)
Constructor for use if the p-code template did not parseInjectPayloadCallotherError(AddressFactory addrFactory, java.lang.String nm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isErrorPlaceholder()
If parsing a payload (from XML) fails, a placeholder payload may be substituted and this method returns true for the substitute.-
Methods inherited from class ghidra.program.model.lang.InjectPayloadCallother
restoreXml, saveXml
-
Methods inherited from class ghidra.program.model.lang.InjectPayloadSleigh
equals, getDummyPcode, getInput, getName, getOutput, getParamShift, getPcode, getSource, getType, hashCode, inject, isFallThru, isIncidentalCopy, orderParameters, setInputParameters, setOutputParameters, setTemplate
-
-
-
-
Constructor Detail
-
InjectPayloadCallotherError
public InjectPayloadCallotherError(AddressFactory addrFactory, InjectPayloadCallother failedPayload)
Constructor for use if the p-code template did not parse- Parameters:
addrFactory
- is the address factory to use constructing dummy p-codefailedPayload
- is the object with the failed template
-
InjectPayloadCallotherError
public InjectPayloadCallotherError(AddressFactory addrFactory, java.lang.String nm)
-
-
Method Detail
-
isErrorPlaceholder
public boolean isErrorPlaceholder()
Description copied from interface:InjectPayload
If parsing a payload (from XML) fails, a placeholder payload may be substituted and this method returns true for the substitute. In all other cases, this returns false.- Specified by:
isErrorPlaceholder
in interfaceInjectPayload
- Overrides:
isErrorPlaceholder
in classInjectPayloadSleigh
- Returns:
- true if this is a placeholder for a payload with parse errors.
-
-