反翻译JAVA代码,安卓dex反编译为java代码神器

本文介绍了安卓反编译工具JADX,它是一个开源项目,提供命令行和GUI界面。用户可以直接将APK文件拖入GUI界面进行反编译,或者通过命令行使用各种参数进行操作,如设置输出目录、禁用资源解码等。JADX对于开发者分析APK内部代码非常有用。
摘要由CSDN通过智能技术生成

今天小编给大家推荐一款非常好用的安卓dex反编译为java代码的工具,他就是JADX。先上一张JADX的界面图。

9848318b25388070ec44c9a1a67ad28f.png

JADX是一款开源的安卓反编译工具,项目代码托管再github上。

JADX提供命令行和GUI界面,GUI界面的使用方法比较简单,直接将apk文件拖入即可,下面介绍一下命令行使用的一些参数

jadx[-gui] [options] < input file > (.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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值