Step 8 - Using Stack Trace Utility

Files located in the tutorial/step8/files directory:
log.xmlLog file created during the obfuscation process
input.txtFile with sample stack trace of the obfuscated application
StackTraceRestore.batRuns Allatori's 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 an 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)
        ...

Running the utility will 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)
        ...

So, all names and line number information are restored to their original values. This is very useful for debugging your application.

Step 7       Step 9       Contents