AS1/2 better deobfuscation

This commit is contained in:
Jindra Petk
2013-03-10 19:17:15 +01:00
parent 49ba85f21f
commit 803cf80b1d
9 changed files with 194 additions and 33 deletions

View File

@@ -983,10 +983,10 @@ public class Action implements GraphSourceItem {
}
return ret;
}
public static void setConstantPool(List<Action> actions,ConstantPool cpool){
for(Action a:actions){
if (a instanceof ActionPush) {
public static void setConstantPool(List<Action> actions, ConstantPool cpool) {
for (Action a : actions) {
if (a instanceof ActionPush) {
if (cpool != null) {
((ActionPush) a).constantPool = cpool.constants;
}