Package ghidra.program.model.lang
Class ParamListRegisterOut
java.lang.Object
ghidra.program.model.lang.ParamListStandard
ghidra.program.model.lang.ParamListRegisterOut
- All Implemented Interfaces:
ParamList
- Direct Known Subclasses:
ParamListStandardOut
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
entry, numgroup, pointermax, resourceTwoStart, spacebase, thisbeforeret
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignMap
(Program prog, DataType[] proto, ArrayList<VariableStorage> res, boolean addAutoParams) Given a list of datatypes, calculate the storage locations used for passing those datatypesMethods inherited from class ghidra.program.model.lang.ParamListStandard
assignAddress, encode, getPotentialRegisterStorage, getStackParameterAlignment, getStackParameterOffset, isEquivalent, isThisBeforeRetPointer, possibleParamWithSlot, restoreXml
-
Constructor Details
-
ParamListRegisterOut
public ParamListRegisterOut()
-
-
Method Details
-
assignMap
public void assignMap(Program prog, DataType[] proto, ArrayList<VariableStorage> res, boolean addAutoParams) Description copied from interface:ParamList
Given a list of datatypes, calculate the storage locations used for passing those datatypes- Specified by:
assignMap
in interfaceParamList
- Overrides:
assignMap
in classParamListStandard
- Parameters:
prog
- is the active prograproto
- is the list of datatypesres
- is the vector for holding the VariableStorage corresponding to datatypesaddAutoParams
- if true add/process auto-parameters
-