常用java反编译器

网上有很多安卓相关的java反编译器,大致整理如下:

  • 比较老旧的
  • 相对新的工具
    • JD-GUI
      • 官网地址:
      • is an Decompiler, which comes with its own GUI. All is licensed under GPLv3. Like CFR the source for the decompiler itself, is not published, but you have the right to decompile the bionaries. And the binaries are under an OpenSource-License (CFR is under the MIT-license and JD Core is under the GPLv3 license)
      • 转换效果:经常会报错
        • 更准确的说是:对于LINQ/DLR的树编译器产生的代码,会不支持,会报错
          • -》解析后的代码中,包含/ Error / // Byte code 这种代码
    • CFR
      • 官网
      • 特点
        • 支持java 9/10/12等
      • by Lee Benfield is well on its way to becoming the premier Java Decompiler. Lee and I actually work for the same company and share regression tests. We're engaged in a friendly competition to see who can deliver a better decompiler. Based on his progress thus far, there's a very good chance he will win--at least on decompiling obfuscated code
    • Krakatau
      • https://github.com/Storyyeller/Krakatau
      • by Robert Grosse, written in Python, includes a robust verifier. It focuses on translating arbitrary bytecode into valid Java code, as opposed to reconstructing the original code.
    • Fernflower
    • Cavaj
    • Procyon
    • Jadx
      • 也支持从jar查看java代码
        • 和导出全部代码
          • 导出方式还有2种
            • 保存全部代码
            • 和以Gradle的方式导出源码
              • 如果打开的是apk文件
              • 则导出了dex对应的java源码外,还有assets等资源和其他文件
              • -》更加利于你得到更接近apk的原始代码的项目结构
        • 同时还支持直接打开apk
          • 查看apk中的各种文件
            • 包括java源代码

results matching ""

    No results matching ""