Konloch / bytecode-viewer

A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
https://bytecodeviewer.com
GNU General Public License v3.0
14.63k stars 1.14k forks source link

ProGuard Deobfuscation #110

Open Manouchehri opened 8 years ago

Manouchehri commented 8 years ago

Would be useful to have ProGuard support to allow loading a mapping.txt. This can be done with -applymapping mapping.txt.

In theory, a tool like Diaphora could be used to create a mapping.txt by comparing an older unobfuscated jar with a new release protected by ProGuard.

Related: #22

Konloch commented 8 years ago

I've been planning on supporting something like this, or an internal obfuscator/de-obfuscator.

Manouchehri commented 8 years ago

Adding basic ProGuard support shouldn't be too difficult, I can probably do it.

What do you think about using a diffing plugin?

Konloch commented 8 years ago

That would be awesome, I would really love it to be an official feature.

I'll be inactive due to holidays starting today till January 4th-ish, so if I'm not replying that's why. When I get back I'm planning on cleaning up the repo/merging Samczsun's changes.

Manouchehri commented 8 years ago

Sounds good. I'll send PRs whenever I have something done.

Konloch commented 8 years ago

Awesome, cheers!

Janmm14 commented 8 years ago

This cli tool might be useful: https://github.com/md-5/SpecialSource

AkshayJainG commented 8 years ago

Is it still in progress?

Manouchehri commented 8 years ago

@AkshayJainG Not actively, but I still hope to implement it.

The exporter for BinDiff/BinNavi is open source, so that's likely what I'll be using.

ghost commented 6 years ago

Any updates, guys?