Beispiel #1
0
 private void decompileWithoutUnload(JadxDecompiler d, ClassNode cls) {
   cls.load();
   List<IDexTreeVisitor> passes = Jadx.getPassesList(d.getArgs(), new File(outDir));
   for (IDexTreeVisitor visitor : passes) {
     DepthTraversal.visit(visitor, cls);
   }
   try {
     new CodeGen(d.getArgs()).visit(cls);
   } catch (CodegenException e) {
     e.printStackTrace();
     fail(e.getMessage());
   }
   // don't unload class
 }
Beispiel #2
0
 private void decompile(JadxDecompiler jadx, ClassNode cls) {
   List<IDexTreeVisitor> passes = Jadx.getPassesList(jadx.getArgs(), new File(outDir));
   ProcessClass.process(cls, passes, new CodeGen(jadx.getArgs()));
 }