程序包 proguard.retrace
类 ReTrace
- java.lang.Object
-
- proguard.retrace.ReTrace
-
public class ReTrace extends java.lang.ObjectTool for de-obfuscating stack traces of applications that were obfuscated with ProGuard.
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringREGULAR_EXPRESSIONstatic java.lang.StringREGULAR_EXPRESSION2
-
-
-
构造器详细资料
-
ReTrace
public ReTrace(java.io.File mappingFile)
Creates a new ReTrace instance with a default regular expression,- 参数:
mappingFile- the mapping file that was written out by ProGuard.
-
ReTrace
public ReTrace(java.lang.String regularExpression, java.lang.String regularExpression2, boolean allClassNames, boolean verbose, java.io.File mappingFile)Creates a new ReTrace instance.- 参数:
regularExpression- the regular expression for parsing the lines in the stack trace.allClassNames- specifies whether all words that match class names should be de-obfuscated, even if they aren't matching the regular expression.verbose- specifies whether the de-obfuscated stack trace should be verbose.mappingFile- the mapping file that was written out by ProGuard.
-
-
方法详细资料
-
retrace
public void retrace(java.io.LineNumberReader stackTraceReader, java.io.PrintWriter stackTraceWriter) throws java.io.IOExceptionDe-obfuscates a given stack trace.- 参数:
stackTraceReader- a reader for the obfuscated stack trace.stackTraceWriter- a writer for the de-obfuscated stack trace.- 抛出:
java.io.IOException
-
main
public static void main(java.lang.String[] args)
The main program for ReTrace.
-
-