public interface

ICLabelFactory

com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabelFactory

Summary

Public Methods
abstract ICLabel create(long offset, String name)
Create a named label.
abstract ICLabel create(long offset)
Create a named label.
abstract ICLabel create()
Create a label.
abstract List<ICLabel> getLabels()
Get the list of labels defined by the factory.

Public Methods

public abstract ICLabel create (long 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 ICLabel create (long offset)

Create a named label. The label will be auto-generated from the provided address.

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.

public abstract ICLabel create ()

Create a label.

public abstract List<ICLabel> getLabels ()

Get the list of labels defined by the factory.