|
|
@ -37,6 +37,7 @@ public class Decompiler { |
|
|
|
public static boolean isDebugging = false; |
|
|
|
public static boolean isDebugging = false; |
|
|
|
public static boolean isTypeDebugging = false; |
|
|
|
public static boolean isTypeDebugging = false; |
|
|
|
public static boolean isFlowDebugging = false; |
|
|
|
public static boolean isFlowDebugging = false; |
|
|
|
|
|
|
|
public static boolean usePUSH = false; |
|
|
|
public static boolean debugInOut = false; |
|
|
|
public static boolean debugInOut = false; |
|
|
|
public static boolean debugAnalyze = false; |
|
|
|
public static boolean debugAnalyze = false; |
|
|
|
public static boolean showLVT = false; |
|
|
|
public static boolean showLVT = false; |
|
|
@ -55,7 +56,7 @@ public class Decompiler { |
|
|
|
err.println("use: jode [-v][--dest <destdir>]" |
|
|
|
err.println("use: jode [-v][--dest <destdir>]" |
|
|
|
+"[--imm][--pretty]" |
|
|
|
+"[--imm][--pretty]" |
|
|
|
+"[--cp <classpath>]" |
|
|
|
+"[--cp <classpath>]" |
|
|
|
+"[--nolvt]" |
|
|
|
+"[--nolvt][--usepush]" |
|
|
|
+"[--import <pkglimit> <clslimit>]" |
|
|
|
+"[--import <pkglimit> <clslimit>]" |
|
|
|
+"[--debug][--analyze][--flow]" |
|
|
|
+"[--debug][--analyze][--flow]" |
|
|
|
+"[--type][--inout][--lvt][--check]" |
|
|
|
+"[--type][--inout][--lvt][--check]" |
|
|
@ -72,6 +73,8 @@ public class Decompiler { |
|
|
|
"search for classes in specified classpath."); |
|
|
|
"search for classes in specified classpath."); |
|
|
|
err.println("\t--nolvt "+ |
|
|
|
err.println("\t--nolvt "+ |
|
|
|
"don't use the local variable table."); |
|
|
|
"don't use the local variable table."); |
|
|
|
|
|
|
|
err.println("\t--usepush "+ |
|
|
|
|
|
|
|
"don't remove non compilable PUSH instrucions."); |
|
|
|
err.println("\t--style {sun|gnu}"+ |
|
|
|
err.println("\t--style {sun|gnu}"+ |
|
|
|
" specifies indentation style"); |
|
|
|
" specifies indentation style"); |
|
|
|
err.println("\t--import <pkglimit> <clslimit>"); |
|
|
|
err.println("\t--import <pkglimit> <clslimit>"); |
|
|
@ -120,6 +123,8 @@ public class Decompiler { |
|
|
|
debugInOut = true; |
|
|
|
debugInOut = true; |
|
|
|
else if (params[i].equals("--nolvt")) |
|
|
|
else if (params[i].equals("--nolvt")) |
|
|
|
useLVT = false; |
|
|
|
useLVT = false; |
|
|
|
|
|
|
|
else if (params[i].equals("--usepush")) |
|
|
|
|
|
|
|
usePUSH = true; |
|
|
|
else if (params[i].equals("--lvt")) |
|
|
|
else if (params[i].equals("--lvt")) |
|
|
|
showLVT = true; |
|
|
|
showLVT = true; |
|
|
|
else if (params[i].equals("--check")) |
|
|
|
else if (params[i].equals("--check")) |
|
|
|