public interface

IDElement

implements IInstructionOperand
com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
Known Indirect Subclasses

Class Overview

Base interface for all dexdec IR elements.

Currently includes:

Summary

Constants
boolean DEFAULT_COMPARE_WITH_FULL_EQUALITY Determine whether hashCode and equals use all the IR expression elements, including metadata like:
- physical offset
- data map

This value is set to false and should not be modified.

Public Methods
abstract IDElement copy(DCopyOptions opt)
Copy this element.
abstract IDElement duplicate()
Duplicate this element.
abstract boolean equalsEx(Object o, boolean fullEquality)
A specialized version of equals.
abstract void format(DFormattingContext fctx)
Format this IR using the provided formatting context.
abstract String toString()
Generate a string representation of this IR using a standard formatting context.
abstract String toString(IDMethodContext ctx)
Generate a string representation of this IR using a standard formatting context.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.IInstructionOperand

Constants

public static final boolean DEFAULT_COMPARE_WITH_FULL_EQUALITY

Determine whether hashCode and equals use all the IR expression elements, including metadata like:
- physical offset
- data map

This value is set to false and should not be modified.

Constant Value: false

Public Methods

public abstract IDElement copy (DCopyOptions opt)

Copy this element. This operation can be seen as a custom duplication; the resulting element may not be of the same type as this element.

Parameters
opt optional; if one is provided, onDup(IDExpression) will be tried first to create a copy
Returns
  • the copied element

public abstract IDElement duplicate ()

Duplicate this element.

Returns
  • a deep copy of this element; the type of the duplicated element should be the same as this element's type

public abstract boolean equalsEx (Object o, boolean fullEquality)

A specialized version of equals.

Parameters
o other object
fullEquality if false, metadata elements will not be included in the equality operations

public abstract void format (DFormattingContext fctx)

Format this IR using the provided formatting context.

Parameters
fctx mandatory formatting context

public abstract String toString ()

Generate a string representation of this IR using a standard formatting context. Same as calling toString(null).

This is a convenience method. For more formatting controls, use format(DFormattingContext).

public abstract String toString (IDMethodContext ctx)

Generate a string representation of this IR using a standard formatting context.

This is a convenience method. For more formatting controls, use format(DFormattingContext).

Returns
  • optional method context