日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

java生成dex_Java反编译Dex – jadx

發(fā)布時間:2025/3/20 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 java生成dex_Java反编译Dex – jadx 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

JADX

jadx- Dex to Java decompiler

命令行和GUI工具,用于從Dex和Apk文件中生產(chǎn)Java源代碼。

從路徑創(chuàng)建

git clone https://github.com/skylot/jadx.git

cd jadx

./gradlew dist

運行

運行jadx?f:

cd build/jadx/

bin/jadx -d out lib/jadx-core-*.jar

#or

bin/jadx-gui lib/jadx-core-*.jar

使用方法

jadx[-gui] [options] (.dex, .apk, .jar or .class)

options:

-d, --output-dir - output directory

-j, --threads-count - processing threads count

-r, --no-res - do not decode resources

-s, --no-src - do not decompile source code

-e, --export-gradle - save as android gradle project

--show-bad-code - show inconsistent code (incorrectly decompiled)

--no-replace-consts - don't replace constant value with matching constant field

--escape-unicode - escape non latin characters in strings (with \u)

--deobf - activate deobfuscation

--deobf-min - min length of name

--deobf-max - max length of name

--deobf-rewrite-cfg - force to save deobfuscation map

--deobf-use-sourcename - use source file name as class name alias

--cfg - save methods control flow graph to dot file

--raw-cfg - save methods control flow graph (use raw instructions)

-f, --fallback - make simple dump (using goto instead of 'if', 'for', etc)

-v, --verbose - verbose output

-h, --help - print this help

示例:

jadx -d out classes.dex

總結(jié)

以上是生活随笔為你收集整理的java生成dex_Java反编译Dex – jadx的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。