removed some unnecessary parameters + small fixes

This commit is contained in:
honfika@gmail.com
2015-10-21 08:54:25 +02:00
parent a093b2580e
commit 099bffdf68
70 changed files with 270 additions and 158 deletions

View File

@@ -2,9 +2,12 @@
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.abc.ABC;
import com.jpexs.decompiler.flash.abc.types.MethodBody;
import com.jpexs.decompiler.flash.abc.types.traits.Trait;
import com.jpexs.decompiler.flash.action.ActionList;
import com.jpexs.decompiler.flash.helpers.SWFDecompilerListener;
import com.jpexs.decompiler.flash.tags.base.ASMSource;
import com.jpexs.decompiler.graph.GraphTargetItem;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -22,6 +25,11 @@ public class DeobfuscatorSample implements SWFDecompilerListener {
System.out.println("actionListParsed");
}
@Override
public void actionTreeCreated(List<GraphTargetItem> tree, SWF swf) {
System.out.println("actionTreeCreated");
}
@Override
public void swfParsed(SWF swf) {
System.out.println("swfParsed");
@@ -44,4 +52,9 @@ public class DeobfuscatorSample implements SWFDecompilerListener {
public void methodBodyParsed(MethodBody body, SWF swf) {
System.out.println("methodBodyParsed");
}
@Override
public void avm2CodeRemoveTraps(String path, int classIndex, boolean isStatic, int scriptIndex, ABC abc, Trait trait, int methodInfo, MethodBody body) throws InterruptedException {
System.out.println("avm2CodeRemoveTraps");
}
}