Giter Site home page Giter Site logo

wux1an / fernflowers Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 368 KB

Java ☕ reverse engineering tool - Batch decompile the jar package.

Java 100.00%
fernflower multi-threads freeze code-review compiler decompiler java reverse reverse-engineering bytecode

fernflowers's Introduction

fernflowers

Why do I write this?

When decompiling with Jetbrains' fernflower, the program freezes for a particular file or directory and cannot continue. In addition, the CPU usage is not high enough during decompiling, which makes decompilation slow.

So I developed this program based on fernflower to optimize these problems, with the following features

  • multi-thread,
  • progress bar
  • breakpoint continue
  • failure record

Usage

java 17 is required

usage: java -jar fernflowers.jar [args]
 -h,--help           help
 -i,--input <arg>    input, the directory to be scanned or a single file path.
 -k,--backup         don't delete the jar file in the output path when '--unzip' is specified
 -n,--thread <arg>   thread, default: 20
 -o,--output <arg>   output, the directory to saved result, default: current path.
 -r,--resume         skip the decompiled files (record in 'decompiled.txt') and continue
 -u,--unzip          unzip the jar file

After running for a period of time, almost all files are decomcompiled successfully, and the progress bar remains stuck, indicating that some jar packages have been decomcompiled incorrectly. You only need to terminate the program by Ctrl + C, and the program will automatically print out the wrong jar package path.

Reference

  1. JetBrains/intellij-community/plugins/java-decompiler/engine

fernflowers's People

Contributors

wux1an avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.