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 booleanequals(java.lang.Object obj)PrototypeModelgetModel(int i)inthashCode()booleanisMerged()intnumModels()voidrestoreXml(XmlPullParser parser, java.util.List<PrototypeModel> modelList)voidsaveXml(java.lang.StringBuilder buffer, PcodeInjectLibrary injectLibrary)PrototypeModelselectModel(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:
isMergedin classPrototypeModel
-
numModels
public int numModels()
-
getModel
public PrototypeModel getModel(int i)
-
saveXml
public void saveXml(java.lang.StringBuilder buffer, PcodeInjectLibrary injectLibrary)- Overrides:
saveXmlin 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:
equalsin classPrototypeModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPrototypeModel
-
-