MCPcopy Index your code
hub / github.com/qilingframework/qiling / send

Method send

tests/test_debugger.py:40–44  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

38 return sum(ord(c) for c in data) & 0xff
39
40 def send(self, msg: str):
41 time.sleep(SimpleGdbClient.DELAY)
42
43 self.__file.write(f'${msg}#{SimpleGdbClient.checksum(msg):02x}')
44 self.__file.flush()
45
46
47class DebuggerTest(unittest.TestCase):

Callers 1

gdb_test_clientMethod · 0.45

Calls 3

writeMethod · 0.45
checksumMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected