I’m trying to deobfuscate a class reference in a logging message. I found this other answer:
but it doesn’t seem to work.
What I do is I write this text into a file /tmp/obfuscated.txt:
Cannot cast o.aCb to o.bpX
Then I ran the jar with
java -jar retrace.jar -regex ‘.%c.%m.’ mapping.txt /tmp/obfuscated.txt
and it only returns the text that’s in the file w/o deobfuscating…