Class DalvikCallgraphBuilder
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.DalvikCallgraphBuilder
- All Implemented Interfaces:
IAddressableDigraphBuilder
Specialized builder for Dalvik Dex call-graphs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild the directed graph model.getAddressForVertexId(int vertexId) Get the address associated with a vertex id.Get the package filter.getVertexIdForAddress(String address) Get the vertex id associated with an address.voidSet the package filter.
-
Constructor Details
-
DalvikCallgraphBuilder
Create a Dalvik call-graph builder.- Parameters:
unit- Dex unit
-
-
Method Details
-
buildModel
Description copied from interface:IAddressableDigraphBuilderBuild the directed graph model.- Specified by:
buildModelin interfaceIAddressableDigraphBuilder- Returns:
- the built graph
-
getAddressForVertexId
Description copied from interface:IAddressableDigraphBuilderGet the address associated with a vertex id.- Specified by:
getAddressForVertexIdin interfaceIAddressableDigraphBuilder- Parameters:
vertexId- vertex id- Returns:
- the associated address, or null if none exists
-
getVertexIdForAddress
Description copied from interface:IAddressableDigraphBuilderGet the vertex id associated with an address.- Specified by:
getVertexIdForAddressin interfaceIAddressableDigraphBuilder- Parameters:
address- vertex address- Returns:
- the associated vertex id, or null if none exists
-
getFilter
Get the package filter.- Returns:
- the raw filter text
-
setFilter
Set the package filter.- Parameters:
filter- raw filter text
-