Package ghidra.program.model.lang
Class ParamListRegisterOut
java.lang.Object
ghidra.program.model.lang.ParamListStandard
ghidra.program.model.lang.ParamListStandardOut
ghidra.program.model.lang.ParamListRegisterOut
- All Implemented Interfaces:
ParamList
A list of resources describing possible storage locations for a function's return value,
and a strategy for selecting a storage location based on data-types in a function signature.
The assignment strategy for this class is to take the first storage location in the list
that fits for the given function signature's return data-type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.program.model.lang.ParamList
ParamList.WithSlotRec -
Field Summary
Fields inherited from class ghidra.program.model.lang.ParamListStandard
autoKilledByCall, entry, language, modelRules, numgroup, spacebase, splitMetatype, thisbeforeret -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignMap(PrototypePieces proto, DataTypeManager dtManager, ArrayList<ParameterPieces> res, boolean addAutoParams) Given a list of datatypes, calculate the storage locations used for passing those data-typesMethods inherited from class ghidra.program.model.lang.ParamListStandard
assignAddress, assignAddressFallback, encode, extractStack, extractTiles, getEntry, getLanguage, getNumParamEntry, getPotentialRegisterStorage, getSpacebase, getStackParameterAlignment, getStackParameterOffset, isEquivalent, isThisBeforeRetPointer, possibleParamWithSlot, restoreXml
-
Constructor Details
-
ParamListRegisterOut
public ParamListRegisterOut()
-
-
Method Details
-
assignMap
public void assignMap(PrototypePieces proto, DataTypeManager dtManager, ArrayList<ParameterPieces> res, boolean addAutoParams) Description copied from interface:ParamListGiven a list of datatypes, calculate the storage locations used for passing those data-types- Specified by:
assignMapin interfaceParamList- Overrides:
assignMapin classParamListStandardOut- Parameters:
proto- is the list of datatypesdtManager- is the data-type managerres- is the vector for holding the storage locations and other parameter propertiesaddAutoParams- if true add/process auto-parameters
-