com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabelFactory |
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 ICLabel |
get(long offset)
Retrieve an existing label by offset.
| ||||||||||
abstract ICLabel |
get(String name)
Retrieve an existing label by name.
| ||||||||||
abstract Collection<ICLabel> |
getLabels()
Retrieve a read-only collection of labels defined by the factory.
|
Create a named label.
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. |
Create a named label. The label will be auto-generated from the provided address.
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. |
---|
Retrieve an existing label by offset.
offset | label offset |
---|
Retrieve an existing label by name.
name | label name |
---|
Retrieve a read-only collection of labels defined by the factory.