强大的DEX/ODEX/ART/OAT工具dextra

Dextra

morpheus@Zephyr (~)$ dextra
Usage: ./dextra [...] _file_
Where: _file_ = DEX or ART/OAT file to open
And [...] can be any combination of:
       -l List contents of file (classes is in dex, oat, or ART)
       -c: Only process this class
       -m: show methods for processed classes (implies -c *)
       -f: show fields for processed classes (implies -c *)
       -p: Only process classes in this package

Disassembly/Decompilation:
       -d: Disassemble DEX code sections (like dexdump does - implies -m)
       -D: Decompile to Java (new feature, still working on it. Implies -j -m)
       -noindent: Disable indentation of code

DEX specific options:
       -h: Just dump file header
       -M [_index_]: Dump Method at _index_, or dump all methods
       -F [_index_]: Dump Field at _index_, or dump all fields
       -S [_index_]: Dump String at _index_, or dump all strings
       -T [_index_]: Dump Type  at _index_, or dump all types

OAT specific options:
       -h: Just dump file header
       -dextract     Extract embedded DEX content from an OAT files
       -o            Display addresses as offsets (useful for file editing/fuzzing)
       -delta 0x...   Apply Patch delta
       -begin 0x...   Set image beginning to value (auto-delta)

ART specific options:
       -delta 0x...   Apply Patch delta
       -begin 0x...   Set image beginning to value (auto-delta)
       -deep         Deep dump (go into object arrays)

And you can always use any of these output Modifiers:
       -j: Java style output (default is JNI, but this is much better)
       -v: verbose output
       -color: Color output (can also set JCOLOR=1 environment variable)

This is DEXTRA, version 1.29.79 (N,PR3), compiled on May 24 2016.

For more details and the latest version of this tool: http://NewAndroidBook.com/tools/dextra.html
Please let me know you're using it- by visiting http://NewAndroidBook.com/tools/counter?dextra once

评论

暂无

添加新评论