public interface

IDTryData

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

Class Overview

dexdec exception handling information, optionally provided by an IR method context.

Summary

Public Methods
abstract boolean copyProtectionFromBlock(int blkOffset, int srcBlkOffset)
abstract List<IDExceptionHandler> getHandlersForBlock(int blkOffset)
abstract List<Integer> getProtectedBlocks()
abstract boolean hasProtectedBlocks()
abstract boolean moveProtectedBlock(int blkOffset, int newBlkOffset)
abstract boolean protectBlock(int blkOffset, int exTypeIndex, int handlerOffset, Integer position)
Add a handler to the list of exception handlers protecting the provided block.
abstract boolean sameExceptionHandlers(int offsetBlk1, int offsetBlk2)
abstract boolean unprotectBlock(int blkOffset, int handlerOffset, int exTypeIndex)
abstract boolean unprotectBlock(int blkOffset)
abstract boolean unprotectBlock(int blkOffset, int handlerOffset)
abstract void updateOffsets(Map<Integer, Integer> oldToNewOffsets)

Public Methods

public abstract boolean copyProtectionFromBlock (int blkOffset, int srcBlkOffset)

public abstract List<IDExceptionHandler> getHandlersForBlock (int blkOffset)

public abstract List<Integer> getProtectedBlocks ()

public abstract boolean hasProtectedBlocks ()

public abstract boolean moveProtectedBlock (int blkOffset, int newBlkOffset)

public abstract boolean protectBlock (int blkOffset, int exTypeIndex, int handlerOffset, Integer position)

Add a handler to the list of exception handlers protecting the provided block. If no handler protects the block, a new list is created.

Parameters
position if null, a new handler will be appended iff no same handler exists; else, a new handler will always be inserted and inserted at the provided position

public abstract boolean sameExceptionHandlers (int offsetBlk1, int offsetBlk2)

public abstract boolean unprotectBlock (int blkOffset, int handlerOffset, int exTypeIndex)

public abstract boolean unprotectBlock (int blkOffset)

public abstract boolean unprotectBlock (int blkOffset, int handlerOffset)

public abstract void updateOffsets (Map<Integer, Integer> oldToNewOffsets)