| com.pnfsoftware.jeb.core.units.code.java.IJavaLabelFactory |
A manager of IJavaLabel. Each IJavaMethod has its own label factory.
| 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) | ||||||||||
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. |