public interface

IDexReferenceManager

com.pnfsoftware.jeb.core.units.code.android.IDexReferenceManager

Class Overview

Manager of cross-references for Dex units.

Summary

Public Methods
abstract boolean addFieldReference(String fsig, String sourceAddress, DexReferenceType refType)
Record a cross-reference to a field.
abstract boolean addMethodReference(String msig, String sourceAddress, DexReferenceType refType)
Record a cross-reference to a method.
abstract boolean addStringReference(String value, String sourceAddress, DexReferenceType refType)
Record a cross-reference to a string.
abstract Collection<IDexAddress> getReferences(DexPoolType poolType, int index, int cap)
Retrieve cross-references to an item.
abstract Collection<IDexAddress> getReferences(DexPoolType poolType, int index)
Retrieve cross-references to an item.

Public Methods

public abstract boolean addFieldReference (String fsig, String sourceAddress, DexReferenceType refType)

Record a cross-reference to a field.

public abstract boolean addMethodReference (String msig, String sourceAddress, DexReferenceType refType)

Record a cross-reference to a method.

public abstract boolean addStringReference (String value, String sourceAddress, DexReferenceType refType)

Record a cross-reference to a string.

public abstract Collection<IDexAddress> getReferences (DexPoolType poolType, int index, int cap)

Retrieve cross-references to an item.

Parameters
poolType type of item
index item index
cap max number of references to return (leave to 0 to mean return everything possible)

public abstract Collection<IDexAddress> getReferences (DexPoolType poolType, int index)

Retrieve cross-references to an item.

Parameters
poolType type of item
index item index