"Stack Trace Translate" Window

Contents:

Overview

The Zelix KlassMasterTM Stack Trace Translate tool allows you to translate a stack trace containing obfuscated class and method names to get the original class names and method names. If you used Zelix KlassMaster's Scrambled Line Number table feature then it will also translate the scrambled line numbers to the original source code line numbers.

To use the tool, you must have chosen to produce a change log when you obfuscated your bytecode and you must have retained the change log.

You must set the obfuscated bytecode classpath using the obfuscated bytecode "..." button and check the "Analyze obfuscated bytecode" box if you want the Stack Translate tool to analyze your obfuscated bytecode. If the Stack Translate tool can analyze your obfuscated bytecode then it can produce a much more precise translation of the stack trace.

Change log file "..." button

Click on this button to open a file dialog so that you can select the change log file you wish to use. You should select the change log that was produced when you obfuscated the bytecode that generated the stack trace. The selected file name will appear in the field to the left of the button. You must specify the change log.

You can select more than one change log. This can be necessary in unusual circumstances where the bytecode was obfuscated in parts producing separate change logs.

Obfuscated bytecode "..." button

Click on this button to open the Obfuscated Bytecode Classpath dialog that will allow you to specify

"Analyze obfuscated bytecode" check box

Check this box if you want the Stack Trace Translate tool to analyze your obfuscated bytecode so that it can produce a more precise tranlsation. If you check this box then you must also specify the obfuscated bytecode by using the obfuscated bytecode "..." button.

"Paste" button

Click on this button to paste the contents of the System clipboard into the "Place the original stack trace here" area.

"Place the original stack trace here" area

Paste the stack trace that you wish to translate into this area.

"Copy" button

Click on this button to copy the contents of the "Translated stack trace will appear here" area into the System clipboard.

"Translated stack trace will appear here" area

The result of the translation will appear in this area. If you have not checked the "Analyze obfuscated bytecode" box then the translation will usually present you with more than one possible method name for each stack trace line. This is due to method overloading. The stack trace translate tool can only distinguish between methods with overloaded names by analyzing the obfuscated bytecode.

Translate button

Click this button to perform the translation. It will be disabled until you have


© 2019 Zelix Pty Ltd