--noverify option

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@806 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent f87df275fd
commit 04ae98a772
  1. 15
      jode/jode/decompiler/CodeAnalyzer.java

@ -53,12 +53,15 @@ public class CodeAnalyzer implements Analyzer, Scope {
method = ma; method = ma;
imports = i; imports = i;
code = minfo.getBytecode(); code = minfo.getBytecode();
CodeVerifier verifier = new CodeVerifier(getClazz(), minfo, code);
try { if ((Decompiler.options & Decompiler.OPTION_VERIFY) != 0) {
verifier.verify(); CodeVerifier verifier = new CodeVerifier(getClazz(), minfo, code);
} catch (VerifyException ex) { try {
ex.printStackTrace(); verifier.verify();
throw new jode.AssertError("Verification error"); } catch (VerifyException ex) {
ex.printStackTrace(GlobalOptions.err);
throw new jode.AssertError("Verification error");
}
} }
if ((Decompiler.options & Decompiler.OPTION_LVT) != 0) { if ((Decompiler.options & Decompiler.OPTION_LVT) != 0) {

Loading…
Cancel
Save