Skip to main content

Module dex

Module dex 

Source
Expand description

Minimal ZIP + DEX parser for reading TRANSACTION_* static int field values from framework.jar without any subprocess or external tool.

Only handles STORED (uncompressed) DEX entries. Android framework JARs store DEX uncompressed so ART can mmap directly from the ZIP.

Functionsยง

find_transaction_code
Search framework.jar for the value of a static int field.
resolve_tx_codes_from_dex
Resolve all four tx codes needed for binder observer mode.