MCPcopy Create free account
hub / github.com/Tencent/loli_profiler / readstring

Method readstring

python/jdwp-shellifier.py:309–311  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

307 return struct.pack(">I", len(data)) + data
308
309 def readstring(self, data):
310 size = struct.unpack(">I", data[:4])[0]
311 return data[4:4 + size]
312
313 def suspendvm(self):
314 self.socket.sendall(self.create_packet(SUSPENDVM_SIG))

Callers 2

get_thread_by_nameMethod · 0.95
solve_stringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected