Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jad命令优化 #2646

Merged
merged 2 commits into from
Sep 7, 2023
Merged

jad命令优化 #2646

merged 2 commits into from
Sep 7, 2023

Conversation

Allan-QLB
Copy link
Contributor

jad命令需要dump class到文件,默认dump目录为logback指定的日志文件所在目录,当目标进程没有该目录写权限时,反编译失败,控制台输出"jad: fail to decompile class: XXXX",由于没有权限,日志文件也看不到什么信息,用户很难定位该问题,因此做了2点优化

  1. 增加-d/--directory选项用来指定dump文件目录,这样用户可以指定一个有写权限的目录dump文件
  2. 当dump文件失败时提示用户确认默认dump目录的权限或者指定dump目录

@hengyunabc hengyunabc added this to the 4.0.0 milestone Sep 7, 2023
@hengyunabc hengyunabc merged commit 7442fba into alibaba:master Sep 7, 2023
11 checks passed
@Allan-QLB Allan-QLB deleted the jad-enhance branch September 8, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants