|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.retrace.ReTrace
public class ReTrace
Tool for de-obfuscating stack traces of applications that were obfuscated with ProGuard.
| Field Summary | |
|---|---|
static String |
STACK_TRACE_EXPRESSION
|
| Constructor Summary | |
|---|---|
ReTrace(String regularExpression,
boolean verbose,
File mappingFile)
Creates a new ReTrace object to process stack traces on the standard input, based on the given mapping file name. |
|
ReTrace(String regularExpression,
boolean verbose,
File mappingFile,
File stackTraceFile)
Creates a new ReTrace object to process a stack trace from the given file, based on the given mapping file name. |
|
| Method Summary | |
|---|---|
void |
execute()
Performs the subsequent ReTrace operations. |
static void |
main(String[] args)
The main program for ReTrace. |
boolean |
processClassMapping(String className,
String newClassName)
|
void |
processFieldMapping(String className,
String fieldType,
String fieldName,
String newFieldName)
|
void |
processMethodMapping(String className,
int firstLineNumber,
int lastLineNumber,
String methodReturnType,
String methodName,
String methodArguments,
String newMethodName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STACK_TRACE_EXPRESSION
| Constructor Detail |
|---|
public ReTrace(String regularExpression,
boolean verbose,
File mappingFile)
regularExpression - the regular expression for parsing the lines in
the stack trace.verbose - specifies whether the de-obfuscated stack trace
should be verbose.mappingFile - the mapping file that was written out by
ProGuard.
public ReTrace(String regularExpression,
boolean verbose,
File mappingFile,
File stackTraceFile)
regularExpression - the regular expression for parsing the lines in
the stack trace.verbose - specifies whether the de-obfuscated stack trace
should be verbose.mappingFile - the mapping file that was written out by
ProGuard.stackTraceFile - the optional name of the file that contains the
stack trace.| Method Detail |
|---|
public void execute()
throws IOException
IOException
public boolean processClassMapping(String className,
String newClassName)
processClassMapping in interface MappingProcessor
public void processFieldMapping(String className,
String fieldType,
String fieldName,
String newFieldName)
processFieldMapping in interface MappingProcessor
public void processMethodMapping(String className,
int firstLineNumber,
int lastLineNumber,
String methodReturnType,
String methodName,
String methodArguments,
String newMethodName)
processMethodMapping in interface MappingProcessorpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||