Step 8 - Using Stack Trace Utility

Files located in the tutorial/step08-stacktrace/files directory:
log.xmlLog file created during the obfuscation process
input.txtFile with sample stack trace of the obfuscated application
StackTraceRestore.batRuns Allatori Stack Trace Utility
Clean.batDeletes generated files


Allatori creates a log file after performing the obfuscation process. This file is used to restore the original stack trace from the obfuscated one. For example, Stack Trace Utility can take as input the following stack trace:

java.lang.NullPointerException
        at javax.swing.SwingUtilities.convertPointToScreen(SwingUtilities.java:282)
        at com.smardec.mousegestures.c.a(h:258)
        at com.smardec.mousegestures.d.eventDispatched(i:78)
        ...

and produce the following output:

java.lang.NullPointerException
        at javax.swing.SwingUtilities.convertPointToScreen(SwingUtilities.java:282)
        at com.smardec.mousegestures.MouseGesturesRecognizer.saveMove(MouseGesturesRecognizer.java:87)
        at com.smardec.mousegestures.MouseGestures$1.eventDispatched(MouseGestures.java:71)
        ...

All names and line numbers are restored to their original values, which is very useful for debugging the application.

Step 7       Step 9       Contents