reverse engineering - Java deobfuscator supporting variable renaming? -


i'm trying reverse engineering .jar file (basically group of .class files). however, there 2 difficulties:

  1. some of variables, methods , classes named unicode characters, cannot displayed. makes source editing inconvenient.

  2. 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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -