博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
工欲善其事,必先利其器之—Android 反编译利器-jadx
阅读量:4030 次
发布时间:2019-05-24

本文共 1852 字,大约阅读时间需要 6 分钟。

介绍

jadx 优点:

* 图形化的界面(代码的全局搜索,引用跳转)。
* 拖拽式的操作。
* 反编译输出 Java 代码。
* 导出 Gradle 工程。

安装

官网解缩包后,指定访问配置即可

# .bash_profile中新加如下代码后,在终端source .bash_profile后可以愉快的工作了^-^alias jadx='${HOME}/dev_tool/jadx-0.7.1/bin/jadx'alias jadx-gui='${HOME}/dev_tool/jadx-0.7.1/bin/jadx-gui'

使用

命令行环境

cmd下使用jadx

luogw@luogw-MacBook-Pro ~$ jadx -hjadx - dex to java decompiler, version: 0.7.1usage: jadx [options]  (.apk, .dex, .jar or .class)options:  -d, --output-dir      - output directory  -ds, --output-dir-src - output directory for sources  -dr, --output-dir-res - output directory for resources  -r, --no-res          - do not decode resources  -s, --no-src          - do not decompile source code  -e, --export-gradle   - save as android gradle project  -j, --threads-count   - processing threads count  --show-bad-code       - show inconsistent code (incorrectly decompiled)  --no-imports          - disable use of imports, always write entire package name  --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  --version             - print jadx version  -h, --help            - print this helpExample:  jadx -d out classes.dex

图形界面

GUI环境,通过jadx-gui启动jadx的图形界面,当然可以跟参数直接打开某个dex文件

luogw@luogw-MacBook-Pro temp$ jadx-gui classes.dex

这里写图片描述

参考资料

你可能感兴趣的文章
微信小程序开发全线记录
查看>>
Centos import torchvision 出现 No module named ‘_lzma‘
查看>>
Maximum Subsequence Sum
查看>>
PTA:一元多项式的加乘运算
查看>>
CCF 分蛋糕
查看>>
解决python2.7中UnicodeEncodeError
查看>>
小谈python 输出
查看>>
Django objects.all()、objects.get()与objects.filter()之间的区别介绍
查看>>
python:如何将excel文件转化成CSV格式
查看>>
Django 的Error: [Errno 10013]错误
查看>>
机器学习实战之决策树(一)
查看>>
[LeetCode By Python] 2 Add Two Number
查看>>
python 中的 if __name__=='__main__' 作用
查看>>
机器学习实战之决策树二
查看>>
[LeetCode By Python]7 Reverse Integer
查看>>
[LeetCode By Python]9. Palindrome Number
查看>>
[leetCode By Python] 14. Longest Common Prefix
查看>>
[LeetCode By Python]107. Binary Tree Level Order Traversal II
查看>>
[LeetCode By Python]108. Convert Sorted Array to Binary Search Tree
查看>>
[leetCode By Python]111. Minimum Depth of Binary Tree
查看>>