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
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, typeFields inherited from interface ghidra.program.model.lang.InjectPayload
CALLFIXUP_TYPE, CALLMECHANISM_TYPE, CALLOTHERFIXUP_TYPE, EXECUTABLEPCODE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionInjectPayloadCallotherError(AddressFactory addrFactory, InjectPayloadCallother failedPayload) Constructor for use if the p-code template did not parseInjectPayloadCallotherError(AddressFactory addrFactory, String nm) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf 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
encode, restoreXmlMethods inherited from class ghidra.program.model.lang.InjectPayloadSleigh
getDummyPcode, getInput, getName, getOutput, getParamShift, getPcode, getSource, getType, inject, isEquivalent, isFallThru, isIncidentalCopy, orderParameters, setInputParameters, setOutputParameters, setTemplate
-
Constructor Details
-
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
-
-
Method Details
-
isErrorPlaceholder
public boolean isErrorPlaceholder()Description copied from interface:InjectPayloadIf 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:
isErrorPlaceholderin interfaceInjectPayload- Overrides:
isErrorPlaceholderin classInjectPayloadSleigh- Returns:
- true if this is a placeholder for a payload with parse errors.
-