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 还原语法糖那些事 #45

Open
ichengzi opened this issue Jul 7, 2021 · 2 comments
Open

jad 还原语法糖那些事 #45

ichengzi opened this issue Jul 7, 2021 · 2 comments

Comments

@ichengzi
Copy link
Owner

ichengzi commented Jul 7, 2021

jad 移除语法糖

javac 编译时, 大量的语法糖是要移除的, com.sun.tools.javac.main.JavaCompiler.desugar() 专门去除语法糖


0x00 首先来看finally

finally with no throw code
finally with no throw code

作为对比, 看下边这个

finally with throw code
finally with throw code

@ichengzi
Copy link
Owner Author

ichengzi commented Aug 31, 2022

过时, 不再使用

mac-os 兼容: https://github.com/java-decompiler/jd-gui

java-decompiler/jd-gui#332 (comment)

image

@ichengzi
Copy link
Owner Author

https://github.com/skylot/jadx

使用这个 jadx; 界面版: jadx-gui
brew install jadx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant