public interface

IBasicBlock

com.pnfsoftware.jeb.core.units.code.IBasicBlock<InsnType extends com.pnfsoftware.jeb.core.units.code.IInstruction>
Known Indirect Subclasses

Class Overview

Generic interface for basic block objects.

Summary

Public Methods
abstract InsnType get(int index)
Get the instruction at the specified index.
abstract long getEndAddress()
Address following the last instruction of the block (ie, last exclusive address).
abstract long getFirstAddress()
Address of first instruction in the block.
abstract List<? extends IBasicBlock<InsnType>> getInputBlocks()
Get the regular input blocks.
abstract List<InsnType> getInstructions()
Get a copy of the list of instructions that make up this basic block.
abstract long getLastAddress()
Address of last instruction in the block.
abstract List<? extends IBasicBlock<InsnType>> getOutputBlocks()
Get the regular output blocks.
abstract int size()
Get the number of instructions in the block.

Public Methods

public abstract InsnType get (int index)

Get the instruction at the specified index.

public abstract long getEndAddress ()

Address following the last instruction of the block (ie, last exclusive address).

public abstract long getFirstAddress ()

Address of first instruction in the block.

public abstract List<? extends IBasicBlock<InsnType>> getInputBlocks ()

Get the regular input blocks.

Returns
  • a copy of the list of regular input blocks

public abstract List<InsnType> getInstructions ()

Get a copy of the list of instructions that make up this basic block.

public abstract long getLastAddress ()

Address of last instruction in the block.

public abstract List<? extends IBasicBlock<InsnType>> getOutputBlocks ()

Get the regular output blocks.

Returns
  • a copy of the list of regular output blocks

public abstract int size ()

Get the number of instructions in the block.