Instructions done

This commit is contained in:
Adam
2014-12-01 11:37:08 -05:00
parent 9a128c191c
commit 39ed12af48
27 changed files with 520 additions and 39 deletions

View File

@@ -0,0 +1,19 @@
package info.sigterm.deob.attributes.code;
import java.io.DataInputStream;
import java.io.IOException;
public class InvokeVirtual extends Instruction
{
private int index;
InvokeVirtual(Instructions instructions, InstructionType type, int pc) throws IOException
{
super(instructions, type, pc);
DataInputStream is = instructions.getCode().getAttributes().getStream();
index = is.readUnsignedShort();
length += 2;
}
}