public interface

IJavaLabelFactory

com.pnfsoftware.jeb.core.units.code.java.IJavaLabelFactory

Class Overview

A manager of IJavaLabel. Each IJavaMethod has its own label factory.

Summary

Public Methods
abstract boolean checkEquivalence(IJavaLabel label1, IJavaLabel label2)
abstract IJavaLabel create(int offset, String name)
Create a named label.
abstract IJavaLabel create()
abstract IJavaLabel create(int offset)
abstract List<IJavaLabel> getLabels()
Get the list of labels defined by the factory.
abstract void recordTrampoline(int trampoAddr, int targetAddr)

Public Methods

public abstract boolean checkEquivalence (IJavaLabel label1, IJavaLabel label2)

public abstract IJavaLabel create (int offset, String name)

Create a named label.

Parameters
offset a client-defined offset, that may or may not represent a valid location within the instruction sequence used to build this AST. In practice, this offset should be an IR instruction one.
name mandatory label name, should be unique, or the method will throw an exception.
Returns
  • the newly created label

public abstract IJavaLabel create ()

public abstract IJavaLabel create (int offset)

public abstract List<IJavaLabel> getLabels ()

Get the list of labels defined by the factory.

public abstract void recordTrampoline (int trampoAddr, int targetAddr)