reverse engineering - Java deobfuscator supporting variable renaming? -
i'm trying reverse engineering .jar
file (basically group of .class
files). however, there 2 difficulties:
some of variables, methods , classes named unicode characters, cannot displayed. makes source editing inconvenient.
some of classes named java keywords (such
if
). therefore java compiler complain when recompiling reverse-engineered source files.
are there java deobfuscators can overcome these difficulties?
there several tools can rename java identifers. example, can run proguard on rename everything.
that being said, suggest reconsidering approach. java compilation , decompilation both lossy processes. decompilation useful reverse engineering, cannot expect able recompile decompiled code. if has been obfuscated, may forget it.
the best way modify obfuscated code use krakatau assembler , disassembler. krakatau assembly can reversibly transformed , bytecode, meaning can edit arbitrary classes without messing things up, no matter how have been obfuscated. downside have familiar java bytecode.
Comments
Post a Comment