init of deob

This commit is contained in:
Adam
2014-11-30 20:35:37 -05:00
commit 41681f94a5
30 changed files with 933 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package info.sigterm.deob.attributes.code;
import java.io.DataInputStream;
import java.io.IOException;
class Exception
{
private Exceptions exceptions;
private int startPc;
private int endPc;
private int handlerPc;
private int catchType;
Exception(Exceptions exceptions) throws IOException
{
this.exceptions = exceptions;
DataInputStream is = exceptions.getCode().getAttributes().getStream();
startPc = is.readUnsignedShort();
endPc = is.readUnsignedShort();
handlerPc = is.readUnsignedShort();
catchType = is.readUnsignedShort();
}
}