AS2 fixed class detection

Issue #269 command line parameters for switching on/off deobfuscation and paralellspeedup
This commit is contained in:
Jindra Petk
2013-08-03 13:04:40 +02:00
parent 11f3d7a66c
commit f29a8e0df6
9 changed files with 77 additions and 11 deletions

View File

@@ -573,8 +573,8 @@ public class SWF {
};
new RetryTask(rio, handler).run();
synchronized (ABC.class) {
long time=stopTime-startTime;
informListeners("export", "Exported script " + index.getAndIncrement() + "/" + count + " " + path+", "+Helper.formatTimeSec(time));
long time = stopTime - startTime;
informListeners("export", "Exported script " + index.getAndIncrement() + "/" + count + " " + path + ", " + Helper.formatTimeSec(time));
}
return null;
}
@@ -607,7 +607,7 @@ public class SWF {
}
List<MyEntry<ClassPath, ScriptPack>> packs = getAS3Packs();
for (MyEntry<ClassPath, ScriptPack> item : packs) {
Future<File> future = executor.submit(new ExportPackTask(handler, cnt, packs.size(), item.key, item.value, outdir, abcTags, isPcode,paralel));
Future<File> future = executor.submit(new ExportPackTask(handler, cnt, packs.size(), item.key, item.value, outdir, abcTags, isPcode, paralel));
futureResults.add(future);
}