I am trying to use the retrace
tool that comes with dexguard
to debug an exception in obfuscated code. The obfuscated identifiers use non-ASCII characters, at least that is what it looks like in the mapping file that is produced, for example:
boolean areEqual(char[],char[]) -> ËŠ
This is causing me problems when I try to export the stack trace from the device in order to feed it into retrace
. Is something wrong with my obfuscation settings, or is it normal for dexguard
to use non-ASCII characters? If so, how should I export the stack trace from the device to preserve them?
Edit: I have since discovered a workaround in the form of adb logcat -B
which outputs the log in binary. This results in a log file that is a little hard to read but that does have the correct non-ASCII characters in the stack trace. The original question about dexguard
remains though.