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
public class ParamListRegisterOut extends ParamListStandard
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 Constructor Description ParamListRegisterOut()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assignMap(Program prog, DataType[] proto, java.util.ArrayList<VariableStorage> res, boolean addAutoParams)
Given a list of datatypes, calculate the storage locations used for passing those datatypes-
Methods inherited from class ghidra.program.model.lang.ParamListStandard
assignAddress, equals, getPotentialRegisterStorage, getStackParameterAlignment, getStackParameterOffset, hashCode, isThisBeforeRetPointer, possibleParamWithSlot, restoreXml, saveXml
-
-
-
-
Method Detail
-
assignMap
public void assignMap(Program prog, DataType[] proto, java.util.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
-
-