Package ghidra.program.model.lang
Class PrototypeModelMerged
- java.lang.Object
-
- ghidra.program.model.lang.PrototypeModel
-
- ghidra.program.model.lang.PrototypeModelMerged
-
public class PrototypeModelMerged extends PrototypeModel
This model serves as a placeholder for multiple model Currently all the models being selected between must share the same output model
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.lang.PrototypeModel
isExtension, name, UNKNOWN_EXTRAPOP
-
-
Constructor Summary
Constructors Constructor Description PrototypeModelMerged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
PrototypeModel
getModel(int i)
int
hashCode()
boolean
isMerged()
int
numModels()
void
restoreXml(XmlPullParser parser, java.util.List<PrototypeModel> modelList)
void
saveXml(java.lang.StringBuilder buffer, PcodeInjectLibrary injectLibrary)
PrototypeModel
selectModel(Parameter[] params)
-
Methods inherited from class ghidra.program.model.lang.PrototypeModel
getArgLocation, getExtrapop, getGenericCallingConvention, getInjectName, getInputListType, getKilledByCallList, getLikelyTrash, getName, getNextArgLocation, getPotentialInputRegisterStorage, getReturnAddress, getReturnLocation, getStackParameterAlignment, getStackParameterOffset, getStackshift, getStorageLocations, getUnaffectedList, hasInjection, hasThisPointer, isConstructor, isErrorPlaceholder, isProgramExtension, possibleInputParamWithSlot, possibleOutputParamWithSlot, restoreXml, toString
-
-
-
-
Method Detail
-
isMerged
public boolean isMerged()
- Overrides:
isMerged
in classPrototypeModel
-
numModels
public int numModels()
-
getModel
public PrototypeModel getModel(int i)
-
saveXml
public void saveXml(java.lang.StringBuilder buffer, PcodeInjectLibrary injectLibrary)
- Overrides:
saveXml
in classPrototypeModel
-
restoreXml
public void restoreXml(XmlPullParser parser, java.util.List<PrototypeModel> modelList) throws XmlParseException
- Throws:
XmlParseException
-
selectModel
public PrototypeModel selectModel(Parameter[] params) throws SleighException
- Throws:
SleighException
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classPrototypeModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPrototypeModel
-
-