public interface

IDexItemToAnchor

com.pnfsoftware.jeb.core.units.code.android.render.IDexItemToAnchor

Class Overview

Convert an ICodeItem to its related IAnchor id.

Summary

Public Methods
abstract Long from(ICodeCoordinates itemCoordinates)
Convert an ICodeCoordinates to its anchor id.
abstract Long fromClass(IDexClass c)
Convert an IDexClass to its anchor id.
abstract Long fromField(IDexField f)
Convert an IDexField to its anchor id.
abstract Long fromInstruction(IDexMethod m, BasicBlock<IDalvikInstruction> b)
Convert the first instruction of a BasicBlock of an IDexMethod to its anchor id.
abstract Long fromMethod(IDexMethod m)
Convert an IDexMethod to its anchor id.
abstract ICodeCoordinates get(long anchorId)
abstract int size()

Public Methods

public abstract Long from (ICodeCoordinates itemCoordinates)

Convert an ICodeCoordinates to its anchor id.

Parameters
itemCoordinates item ICodeCoordinates.
Returns
  • anchor id. See IAnchor for more details.

public abstract Long fromClass (IDexClass c)

Convert an IDexClass to its anchor id.

Parameters
c dex class.
Returns
  • anchor id. See IAnchor for more details.

public abstract Long fromField (IDexField f)

Convert an IDexField to its anchor id.

Parameters
f dex field.
Returns
  • anchor id. See IAnchor for more details.

public abstract Long fromInstruction (IDexMethod m, BasicBlock<IDalvikInstruction> b)

Convert the first instruction of a BasicBlock of an IDexMethod to its anchor id.

Parameters
m dex method.
Returns
  • anchor id. See IAnchor for more details.

public abstract Long fromMethod (IDexMethod m)

Convert an IDexMethod to its anchor id.

Parameters
m dex method.
Returns
  • anchor id. See IAnchor for more details.

public abstract ICodeCoordinates get (long anchorId)

public abstract int size ()

Returns
  • the anchor count