Lazy dump info collecting

This commit is contained in:
honfika
2014-08-10 21:44:53 +02:00
parent 97631dc718
commit 3e0250c9cb
23 changed files with 370 additions and 410 deletions

View File

@@ -123,7 +123,7 @@ public class RecompileTest {
Configuration.autoDeobfuscate.set(false);
try {
SWF swf = new SWF(new BufferedInputStream(new FileInputStream(TESTDATADIR + File.separator + filename)), false);
if (swf.fileAttributes.actionScript3) {
if ((swf.fileAttributes != null && swf.fileAttributes.actionScript3) || (swf.fileAttributes == null && swf.isAS3)) {
boolean dotest = false;
List<ABC> allAbcs = new ArrayList<>();
for (ABCContainerTag ct : swf.abcList) {