MCPcopy Create free account
hub / github.com/qilingframework/qiling / read_until_zero

Function read_until_zero

examples/doogie_8086_crack.py:169–176  ·  view source on GitHub ↗
(ql: Qiling, addr)

Source from the content-addressed store, hash-verified

167
168
169def read_until_zero(ql: Qiling, addr):
170 buf = b""
171 ch = -1
172 while ch != 0:
173 ch = ql.mem.read(addr, 1)[0]
174 buf += pack("B", ch)
175 addr += 1
176 return buf
177
178
179def set_required_datetime(ql: Qiling):

Callers 1

second_stageFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected