public interface

IDExceptionHandler

com.pnfsoftware.jeb.core.units.code.android.ir.IDExceptionHandler

Class Overview

dexdec exception handler definition.

Summary

Public Methods
abstract int getAddress()
Get the handler's code address.
abstract int getTypeIndex()
Get the type of exceptions checked by this catch handler.
abstract boolean isCatchAll(IDMethodContext ctx, boolean onlyTrueCatchAll)
Determine whether this handler is a catch-all.
abstract boolean isCatchAll(IDMethodContext ctx)
Determine whether this handler is a catch-all.
abstract boolean isTyped()
Determine whether the handler is typed or not.
abstract void setAddress(int address)
abstract void setTypeIndex(int typeIndex)
Update the type index.

Public Methods

public abstract int getAddress ()

Get the handler's code address.

Returns
  • the address in bytes

public abstract int getTypeIndex ()

Get the type of exceptions checked by this catch handler.

Returns
  • underlying dex type index, of -1 if the catch handler is untyped

public abstract boolean isCatchAll (IDMethodContext ctx, boolean onlyTrueCatchAll)

Determine whether this handler is a catch-all. Untyped handlers or handlers typed to catch java.lang.Throwable may be considered catch-all.

Parameters
onlyTrueCatchAll if true, only untyped handlers are considered catch-all

public abstract boolean isCatchAll (IDMethodContext ctx)

Determine whether this handler is a catch-all. Untyped handlers or handlers typed to catch java.lang.Throwable are considered catch-all.

public abstract boolean isTyped ()

Determine whether the handler is typed or not.

public abstract void setAddress (int address)

public abstract void setTypeIndex (int typeIndex)

Update the type index.

Parameters
typeIndex underlying dex type index