Storyyeller / Krakatau

Java decompiler, assembler, and disassembler
GNU General Public License v3.0
1.97k stars 220 forks source link

Add -rename-classes option #59

Closed gaelmuller closed 8 years ago

gaelmuller commented 8 years ago

Add an option to decompile.py that will rename classes with a name length inferior to the number specified. Renamed classes will be prefixed with 'Class_'.

This is useful is certain cases where obfuscation renames classes and packages with similar names, in order to confuse analysts and editors.

Storyyeller commented 8 years ago

This doesn't seem useful to me. Most of the time, the issue is telling different classes apart, and this doesn't help in that case. Also, there are a lot of different styles of obfuscation naming and a lot of possible desired renaming schemes, so I think it needs to be a more configurable mechanism.