Vavi Refactoring is a specialized Model Context Protocol (MCP) server designed to restore readability and structure to obfuscated Java source code and decompiled JAR files. By analyzing usage context, type hierarchies, method calls, and assignments, it systematically infers meaningful names for obfuscated parameters and generic local variables left behind by decompilers. In addition to source-level AST transformations like splitting reused local variables and retyping declarations, the server provides advanced bytecode analysis tools to structurally map new obfuscated releases against previously deobfuscated versions, effectively aligning decompiled codebases and minimizing diff noise across software iterations.
主要功能
01Splitting and retyping of reused local variables into clean, independent variable declarations
020 GitHub stars
03Decompilation pipeline orchestration combining Vineflower and Fernflower with patch support
04Contextual parameter and local variable inference using type fallbacks, call sites, and assignment tracking
05Structural bytecode matching between JAR versions to transfer known names and symbols across releases
06Cross-version token and member alignment to eliminate noise when comparing decompiled sources
使用案例
01Restoring readable parameter and local variable names in decompiled legacy Java libraries
02Reverse engineering and deobfuscating updated Java releases by matching against older mapped versions
03Comparing and auditing differences between obfuscated binary versions with standardized token alignment