Class ParametersInfo

java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ParametersInfo

public class ParametersInfo extends Object
Dalvik method parameters-to-registers mapping information.
  • Constructor Details

    • ParametersInfo

      public ParametersInfo(int regcnt, List<Integer> paramindexes)
      Parameters:
      regcnt - number of registers used to hold all method parameters (including `this` if the method is not static).
      paramindexes - indices of registers holding parameter values (the register index for `this` should not be included)
  • Method Details

    • getRegisterCount

      public int getRegisterCount()
      Number of registers used to hold all method parameters (including `this` if the method is not static).
      Returns:
    • getParameterIndices

      public List<Integer> getParameterIndices()
      Indices of registers holding parameter values. The register index for `this` is not included!
      Returns:
    • getParameterIndex

      public int getParameterIndex(int index)
    • getParameterCount

      public int getParameterCount()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object