yGuard – An open-source Java obfuscation tool
github.com
github.com
Some examples:
- Licensing logic
- Anti-cheating for games and similar
Most likely it will be breached eventually, but no reason to leave the door unlocked.
yGuard seems to only provide shrinking and remapping at this moment in time, however. Heavier-duty obfuscators will also incorporate various other transforms (like concealing string constants) to make the code harder to read.
Of course, this comes with a trade-off that custom deobfuscation transformers will also be able to inline these, but that's theoretically possible for every transform, anyway, since you can try some symbolic execution until you get the string values back out.
Thank you for open-sourcing it.
However, I hope I will never use this (or any such similar) piece of code.