예제 #1
0
 def do_classes_by_signature(self, msg):
     """Returns the list of all the classes by signature (TODO)."""
     signature = parser.pack_string("Ljava/lang/String;")
     data = self.send_command("VM::ClassesBySignature", data=signature)
     print("TODO")
     print(str(data))
예제 #2
0
 def set_default_stratum(self, stratum_id=""):
     """Set the default stratum. Whatever that means."""
     data = parser.pack_string(stratum_id)
     self.send_command("VM::Resume", data=data)
예제 #3
0
 def create_string(self, s):
     """Creates a new string object in the target VM and returns its id."""
     packed_s = parser.pack_string(s)
     response = self.send_command("VM::CreateString", data=packed_s)
     unpacked = parser.unpack(response, "o")
     return unpacked.pop()
예제 #4
0
파일: pyjdwp.py 프로젝트: tamentis/pyjdwp
 def do_classes_by_signature(self, msg):
     """Returns the list of all the classes by signature (TODO)."""
     signature = parser.pack_string("Ljava/lang/String;")
     data = self.send_command("VM::ClassesBySignature", data=signature)
     print("TODO")
     print(str(data))
예제 #5
0
파일: pyjdwp.py 프로젝트: tamentis/pyjdwp
 def set_default_stratum(self, stratum_id=""):
     """Set the default stratum. Whatever that means."""
     data = parser.pack_string(stratum_id)
     self.send_command("VM::Resume", data=data)
예제 #6
0
파일: pyjdwp.py 프로젝트: tamentis/pyjdwp
 def create_string(self, s):
     """Creates a new string object in the target VM and returns its id."""
     packed_s = parser.pack_string(s)
     response = self.send_command("VM::CreateString", data=packed_s)
     unpacked = parser.unpack(response, "o")
     return unpacked.pop()