public interface

IDexDebugVariable

com.pnfsoftware.jeb.core.units.code.android.dex.IDexDebugVariable

Class Overview

This interface represents information about a local variable at a specific location.

Summary

Public Methods
abstract String format(IDexUnit dex)
Pretty-print this debug variable.
abstract int getAddress()
Get the variable definition address in 16-bit units.
abstract int getNameIndex()
Get the name index for the variable.
abstract int getRegister()
Get the register index that holds this variable.
abstract int getSignatureIndex()
Get the signature index.
abstract int getTypeIndex()
Get the type index for the variable.

Public Methods

public abstract String format (IDexUnit dex)

Pretty-print this debug variable.

public abstract int getAddress ()

Get the variable definition address in 16-bit units.

Returns
  • the address, in 16-bit units; -1 if the variable was defined as a parameter to the method

public abstract int getNameIndex ()

Get the name index for the variable.

Returns
  • the name index, -1 if unknown

public abstract int getRegister ()

Get the register index that holds this variable. In the case of a double-slot variable (long, double), the first register of the pair is returned.

Returns
  • the register index

public abstract int getSignatureIndex ()

Get the signature index. In this context, the term 'signature' refers to additional type information, such as type specialization data.

Returns
  • the index, or -1 if unknown or none

public abstract int getTypeIndex ()

Get the type index for the variable.

Returns
  • the type index, -1 if unknown