Exemplo n.º 1
0
 def readInfo(self, reader:ClassReader):
     self.maxStack = reader.readUint16()
     self.maxLocals = reader.readUint16()
     codeLength = struct.unpack('>I',reader.readUint32())[0]
     self.code = reader.readBytes(codeLength)
     self.exceptionTable = readExceptionTable(reader)
     self.attributes = readAttributes(reader, self.cp)
Exemplo n.º 2
0
 def readInfo(self,reader:ClassReader):
     length = reader.readUint16()
     bts = reader.readBytes(length)
     self.str = bts.decode('utf-8')
Exemplo n.º 3
0
 def readInfo(self, reader:ClassReader):
     self.info = reader.readBytes(self.length)