Executor work

This commit is contained in:
Adam
2015-01-26 00:40:54 -05:00
parent a998491133
commit 55dca4fa9b
148 changed files with 512 additions and 194 deletions

View File

@@ -1,5 +1,7 @@
package info.sigterm.deob;
import info.sigterm.deob.execution.Execution;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
@@ -24,8 +26,20 @@ public class Deob
InputStream is = jar.getInputStream(entry);
group.addClass(entry.getName(), new DataInputStream(is));
}
jar.close();
group.buildClassGraph();
group.buildInstructionGraph();
execute(group);
}
private static void execute(ClassGroup group) throws IOException
{
ClassFile cf = group.findClass("client");
Method method = cf.findMethod("init");
Execution e = new Execution(group);
e.run(cf, method);
}
}