From e308c0870ad1f97527738444ea19192032ae943a Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 13 Mar 1999 00:00:20 +0000 Subject: [PATCH] nodecrypt option git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@405 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/Decompiler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jode/jode/Decompiler.java b/jode/jode/Decompiler.java index 82dc00b..ded2cbe 100644 --- a/jode/jode/Decompiler.java +++ b/jode/jode/Decompiler.java @@ -48,6 +48,7 @@ public class Decompiler { public static boolean prettyLocals = false; public static boolean immediateOutput = false; public static boolean highlevelTrafos = true; + public static boolean stringDecrypting = true; public static boolean undoOptimizations = true; public static int outputStyle = SUN_STYLE; public static int importPackageLimit = 3; @@ -58,7 +59,7 @@ public class Decompiler { err.println("use: jode [-v][--dest ]" +"[--imm][--pretty]" +"[--cp ]" - +"[--nolvt][--usepush]" + +"[--nolvt][--usepush][--nodecrypt]" +"[--import ]" +"[--debug][--analyze][--flow]" +"[--type][--inout][--lvt][--check]" @@ -77,6 +78,8 @@ public class Decompiler { "don't use the local variable table."); err.println("\t--usepush "+ "don't remove non compilable PUSH instrucions."); + err.println("\t--nodecrypt "+ + "don't try to decrypt encrypted strings."); err.println("\t--style {sun|gnu}"+ " specifies indentation style"); err.println("\t--import "); @@ -134,6 +137,8 @@ public class Decompiler { doChecks = true; else if (params[i].equals("--pretty")) prettyLocals = true; + else if (params[i].equals("--nodecrypt")) + stringDecrypting = false; else if (params[i].equals("--style")) { String style = params[++i]; if (style.equals("sun"))