DexKitBridge

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

DexKit is valid only when token is not 0

----------------

Functions

Link copied to clipboard

Batch search of classes using strings.

----------------

Link copied to clipboard

Batch search of methods using strings.

----------------

Link copied to clipboard
open override fun close()

release native resource

----------------

Link copied to clipboard
fun exportDexFile(outPath: String)

write all dex file to outPath

----------------

Link copied to clipboard
inline fun findClass(init: FindClass.() -> Unit): ClassDataList

Multi-condition class search.

----------------

Link copied to clipboard
inline fun findField(init: FindField.() -> Unit): FieldDataList

Multi-condition field search.

----------------

Link copied to clipboard
inline fun findMethod(init: FindMethod.() -> Unit): MethodDataList

Multi-condition method search.

----------------

Link copied to clipboard
fun getClassData(clazz: Class<*>): ClassData?

Convert Class to ClassData (if exists).

----------------

fun getClassData(identifier: String): ClassData?

Convert class name or descriptor to ClassData (if exists).

----------------

Link copied to clipboard
fun getDexNum(): Int

Get all parsed dex counts.

----------------

Link copied to clipboard

Convert Field to FieldData (if exists).

----------------

fun getFieldData(descriptor: String): FieldData?

Convert field descriptor to FieldData (if exists).

----------------

Link copied to clipboard
fun getMethodData(constructor: Constructor<*>): MethodData?

Convert Constructor to MethodData (if exists).

----------------

Convert Method to MethodData (if exists).

----------------

fun getMethodData(descriptor: String): MethodData?

Convert method descriptor to MethodData (if exists).

----------------

Link copied to clipboard

Initialize full cache, note: this will take up a lot of memory and time. Only recommended for performance testing.

Link copied to clipboard
fun setThreadNum(num: Int)

set DexKit work thread number

----------------