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
name, UNKNOWN_EXTRAPOP
-
-
Constructor Summary
Constructors Constructor Description PrototypeModelMerged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrototypeModel
getModel(int i)
boolean
isMerged()
int
numModels()
void
restoreXml(XmlPullParser parser, java.util.List<PrototypeModel> modelList, boolean normalstack)
PrototypeModel
selectModel(Parameter[] params)
-
Methods inherited from class ghidra.program.model.lang.PrototypeModel
getArgLocation, getExtrapop, getGenericCallingConvention, getInputListType, getName, getNextArgLocation, getPotentialInputRegisterStorage, getReturnLocation, getStackParameterAlignment, getStackParameterOffset, getStackshift, getStorageLocations, hasThisPointer, isConstructor, possibleInputParamWithSlot, possibleOutputParamWithSlot, restoreXml, toString
-
-
-
-
Method Detail
-
isMerged
public boolean isMerged()
- Overrides:
isMerged
in classPrototypeModel
-
numModels
public int numModels()
-
getModel
public PrototypeModel getModel(int i)
-
restoreXml
public void restoreXml(XmlPullParser parser, java.util.List<PrototypeModel> modelList, boolean normalstack) throws XmlParseException
- Throws:
XmlParseException
-
selectModel
public PrototypeModel selectModel(Parameter[] params) throws SleighException
- Throws:
SleighException
-
-