Interface IDexReferenceManager
public interface IDexReferenceManager
Manager of cross-references for Dex units.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addFieldReference
(String fsig, String sourceAddress, DexReferenceType refType) Record a cross-reference to a field.boolean
addMethodReference
(String msig, String sourceAddress, DexReferenceType refType) Record a cross-reference to a method.boolean
addStringReference
(String value, String sourceAddress, DexReferenceType refType) Record a cross-reference to a string.getReferences
(DexPoolType poolType, int index) Retrieve cross-references to an item.getReferences
(DexPoolType poolType, int index, int cap) Retrieve cross-references to an item.
-
Method Details
-
getReferences
Retrieve cross-references to an item.- Parameters:
poolType
- type of itemindex
- item index- Returns:
-
getReferences
Retrieve cross-references to an item.- Parameters:
poolType
- type of itemindex
- item indexcap
- max number of references to return (leave to 0 to mean return everything possible)- Returns:
-
addStringReference
Record a cross-reference to a string.- Parameters:
value
-sourceAddress
-refType
-- Returns:
-
addMethodReference
Record a cross-reference to a method.- Parameters:
msig
-sourceAddress
-refType
-- Returns:
-
addFieldReference
Record a cross-reference to a field.- Parameters:
fsig
-sourceAddress
-refType
-- Returns:
-