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.
  • 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 interface ParamList
      Overrides:
      assignMap in class ParamListStandard
      Parameters:
      prog - is the active program
      proto - is the list of datatypes
      res - is the vector for holding the VariableStorage corresponding to datatypes
      addAutoParams - if true add/process auto-parameters