public interface

IEOperation

implements IEGeneric
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEOperation

Class Overview

An IR operation. Built-in operations have their operators defined in OperationType. Custom operations (functions) may be created as well.

See Also

Summary

Public Methods
abstract int getCountOfOperands()
abstract FunctionOptype getCustomOperationType()
Retrieve the custom operation type, if the operation is custom.
abstract IEGeneric getOperand(int index)
Retrieve an operand by index.
abstract IEGeneric getOperand1()
Retrieve the first operand.
abstract IEGeneric getOperand2()
Retrieve the second operand.
abstract List<IEGeneric> getOperands()
Retrieve the list of operands.
abstract String getOperationName()
Retrieve the actual operation name.
abstract OperationType getOperationType()
Retrieve the operation type.
abstract boolean isCustomOperation(String opname)
Determine whether this IR is a custom operation with the provided name.
abstract boolean isCustomOperation()
Determine whether this IR is a custom operation.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.IInstructionOperand
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEGeneric

Public Methods

public abstract int getCountOfOperands ()

Returns
  • the count of operands

public abstract FunctionOptype getCustomOperationType ()

Retrieve the custom operation type, if the operation is custom.

public abstract IEGeneric getOperand (int index)

Retrieve an operand by index.

Parameters
index 0-based index
Returns
  • null if the index is out-of-range

public abstract IEGeneric getOperand1 ()

Retrieve the first operand.

Returns
  • may be null

public abstract IEGeneric getOperand2 ()

Retrieve the second operand.

Returns
  • may be null

public abstract List<IEGeneric> getOperands ()

Retrieve the list of operands.

public abstract String getOperationName ()

Retrieve the actual operation name.

public abstract OperationType getOperationType ()

Retrieve the operation type. If the operation is custom, use getCustomOperationType() to retrieve the actual function.

public abstract boolean isCustomOperation (String opname)

Determine whether this IR is a custom operation with the provided name.

public abstract boolean isCustomOperation ()

Determine whether this IR is a custom operation.