Interface IDexReferenceManager


public interface IDexReferenceManager
Manager of cross-references for Dex units.
  • Method Details

    • getReferences

      Collection<IDexAddress> getReferences(DexPoolType poolType, int index)
      Retrieve cross-references to an item.
      Parameters:
      poolType - type of item
      index - item index
      Returns:
    • getReferences

      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)
      Returns:
    • addStringReference

      boolean addStringReference(String value, String sourceAddress, DexReferenceType refType)
      Record a cross-reference to a string.
      Parameters:
      value -
      sourceAddress -
      refType -
      Returns:
    • addMethodReference

      boolean addMethodReference(String msig, String sourceAddress, DexReferenceType refType)
      Record a cross-reference to a method.
      Parameters:
      msig -
      sourceAddress -
      refType -
      Returns:
    • addFieldReference

      boolean addFieldReference(String fsig, String sourceAddress, DexReferenceType refType)
      Record a cross-reference to a field.
      Parameters:
      fsig -
      sourceAddress -
      refType -
      Returns: