If I saved your time (or your project) and you want to buy me a coffee you can do so here: LicenseĬafecompare is licensed under the GNU General Public License 3. Have fun comparing and deobfuscating! Donate The Diff Tool is a data comparison tool that calculates and displays the differences between two text files, or files in C/C++, Java, SQL, JSON, XML, CSS. If you want to remap class files by similarity, make sure the obfuscated file is placed in the bottom tree, and the (unobfuscated) source file in the top one. The left side of the decompiler panel will show the old code, the right side the new code.ĭeleted code will be marked with red color in the left panel, inserted code will be green in the right panel. The Compare tool in IntelliJ allows you to have a visual 'diff' of two different chunks of code which is very useful when refactoring and tidying up your code. Such as where new lines of code have been added, variable names have been altered, or lines of code have been removed. Diff tools, short for difference, allow programmers to compare two files side by side and discover exactly what distinguishes them. When we're writing code, we sometimes want to compare two similar files but not identical. On the top goes the old jar file, on the bottom the new version. What is Code Compare Code Compare tool is designed to compare and merge differing files. To compare two jar archives or two classes, you have to add them to the trees on the left. This introduces a new era of deobfuscation.
JAVA CODE COMPARISON TOOL ARCHIVE
Also works with obfuscated code.Ĭafecompare is the first tool ever to support remapping class names of an obfuscated jar archive by similarity to the other jar archive (with libraries or an old source file, where mappings can be taken from). Similar to github commits the file diffs are highlighted. Cafecompare is a GUI application for analysis and comparison of java archives and class files.