程序包 proguard.retrace

类 ReTrace


  • public class ReTrace
    extends java.lang.Object
    Tool for de-obfuscating stack traces of applications that were obfuscated with ProGuard.
    • 构造器概要

      构造器 
      构造器 说明
      ReTrace​(java.io.File mappingFile)
      Creates a new ReTrace instance with a default regular expression,
      ReTrace​(java.lang.String regularExpression, java.lang.String regularExpression2, boolean allClassNames, boolean verbose, java.io.File mappingFile)
      Creates a new ReTrace instance.
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static void main​(java.lang.String[] args)
      The main program for ReTrace.
      void retrace​(java.io.LineNumberReader stackTraceReader, java.io.PrintWriter stackTraceWriter)
      De-obfuscates a given stack trace.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • REGULAR_EXPRESSION

        public static final java.lang.String REGULAR_EXPRESSION
        另请参阅:
        常量字段值
      • REGULAR_EXPRESSION2

        public static final java.lang.String REGULAR_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.IOException
        De-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.