nodecrypt option

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@405 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 6a5d53ca42
commit e308c0870a
  1. 7
      jode/jode/Decompiler.java

@ -48,6 +48,7 @@ public class Decompiler {
public static boolean prettyLocals = false; public static boolean prettyLocals = false;
public static boolean immediateOutput = false; public static boolean immediateOutput = false;
public static boolean highlevelTrafos = true; public static boolean highlevelTrafos = true;
public static boolean stringDecrypting = true;
public static boolean undoOptimizations = true; public static boolean undoOptimizations = true;
public static int outputStyle = SUN_STYLE; public static int outputStyle = SUN_STYLE;
public static int importPackageLimit = 3; public static int importPackageLimit = 3;
@ -58,7 +59,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][--usepush]" +"[--nolvt][--usepush][--nodecrypt]"
+"[--import <pkglimit> <clslimit>]" +"[--import <pkglimit> <clslimit>]"
+"[--debug][--analyze][--flow]" +"[--debug][--analyze][--flow]"
+"[--type][--inout][--lvt][--check]" +"[--type][--inout][--lvt][--check]"
@ -77,6 +78,8 @@ public class Decompiler {
"don't use the local variable table."); "don't use the local variable table.");
err.println("\t--usepush "+ err.println("\t--usepush "+
"don't remove non compilable PUSH instrucions."); "don't remove non compilable PUSH instrucions.");
err.println("\t--nodecrypt "+
"don't try to decrypt encrypted strings.");
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>");
@ -134,6 +137,8 @@ public class Decompiler {
doChecks = true; doChecks = true;
else if (params[i].equals("--pretty")) else if (params[i].equals("--pretty"))
prettyLocals = true; prettyLocals = true;
else if (params[i].equals("--nodecrypt"))
stringDecrypting = false;
else if (params[i].equals("--style")) { else if (params[i].equals("--style")) {
String style = params[++i]; String style = params[++i];
if (style.equals("sun")) if (style.equals("sun"))

Loading…
Cancel
Save