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

Method __write_string

qiling/os/memory.py:103–104  ·  view source on GitHub ↗
(self, addr: int, s: str, encoding: str)

Source from the content-addressed store, hash-verified

101 return ret.decode('latin1')
102
103 def __write_string(self, addr: int, s: str, encoding: str):
104 self.write(addr, bytes(s, encoding) + b'\x00')
105
106 # TODO: this is an obsolete utility method that should not be used anymore
107 # and here for backward compatibility. use QlOsUtils.read_cstring instead

Callers 1

stringMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected