Package ghidra.program.model.lang
Class InjectPayloadSegment
- java.lang.Object
 - 
- ghidra.program.model.lang.InjectPayloadSleigh
 - 
- ghidra.program.model.lang.InjectPayloadSegment
 
 
 
- 
- All Implemented Interfaces:
 InjectPayload
public class InjectPayloadSegment extends InjectPayloadSleigh
 
- 
- 
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 InjectPayloadSegment(java.lang.String source) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()voidrestoreXml(XmlPullParser parser, SleighLanguage language)Restore the payload from an XML stream.voidsaveXml(java.lang.StringBuilder buffer)Write out configuration parameters as a \XML tag - 
Methods inherited from class ghidra.program.model.lang.InjectPayloadSleigh
getDummyPcode, getInput, getName, getOutput, getParamShift, getPcode, getSource, getType, inject, isErrorPlaceholder, isFallThru, isIncidentalCopy, orderParameters, setInputParameters, setOutputParameters, setTemplate 
 - 
 
 - 
 
- 
- 
Method Detail
- 
saveXml
public void saveXml(java.lang.StringBuilder buffer)
Description copied from interface:InjectPayloadWrite out configuration parameters as a \XML tag - Specified by:
 saveXmlin interfaceInjectPayload- Overrides:
 saveXmlin classInjectPayloadSleigh- Parameters:
 buffer- is the stream to write to
 
- 
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage language) throws XmlParseException
Description copied from interface:InjectPayloadRestore the payload from an XML stream. The root expected document is the \tag, which may be wrapped with another tag by the derived class. - Specified by:
 restoreXmlin interfaceInjectPayload- Overrides:
 restoreXmlin classInjectPayloadSleigh- Parameters:
 parser- is the XML streamlanguage- is used to resolve registers and address spaces- Throws:
 XmlParseException- for badly formed XML
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classInjectPayloadSleigh
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classInjectPayloadSleigh
 
 - 
 
 -