public interface

ICStatement

implements ICElement
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement
Known Indirect Subclasses

Class Overview

Base interface for C AST elements that represent statements in a code block.

Summary

Public Methods
abstract ICStatement duplicate()
Deep duplication of the element.
abstract long getIntermediateOffset()
abstract void setIntermediateOffset(long irOffset)
Called by the code that converts the IR instructions to AST statements
Optional for "artificial" AST elements.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement

Public Methods

public abstract ICStatement duplicate ()

Deep duplication of the element. Sub-elements are duplicated.

Note: ICClass, ICMethod, ICField, ICIdentifier, ICConstant, ICType and ICLabel are not duplicated.

public abstract long getIntermediateOffset ()

public abstract void setIntermediateOffset (long irOffset)

Called by the code that converts the IR instructions to AST statements
Optional for "artificial" AST elements.
The goal is to maintain a relationship between AST elements and the IR instructions that generated them. Ideally, the same relationship is maintained between IR instructions and machine code. This allows clients to establish correspondence between AST (source) and opcodes (assembly).

Parameters
irOffset IR code first instruction offset for the statement