Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
5.91k stars 457 forks source link

Correlation mapping #676

Open Col-E opened 1 year ago

Col-E commented 1 year ago

Taking one jar that is obfuscated (naming convention only) and another that is cleanly named, allow Recaf to detect similar structures between each file and apply the clean mappings to the obfuscated jar.

This will require some thought into how to do structure similarity detection.

NebelNidas commented 1 year ago

You could use Matcher for this, once it can be consumed as a library at least. To prevent false positives, you can only use results above a certain threshold