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

Method read_wstring

qiling/os/utils.py:82–86  ·  view source on GitHub ↗

Read a null-terminated wide string from memory.

(self, address: int, maxlen: int = 0)

Source from the content-addressed store, hash-verified

80 return s
81
82 def read_wstring(self, address: int, maxlen: int = 0) -> str:
83 """Read a null-terminated wide string from memory.
84 """
85
86 return self.read_string(address, 'utf-16le', maxlen)
87
88 def read_cstring(self, address: int, maxlen: int = 0) -> str:
89 """Read a null-terminated ASCII string from memory.

Callers 9

__init__Method · 0.80
read_punicode_stringFunction · 0.80
__handle_uctextMethod · 0.80
hook_PathFindExtensionWFunction · 0.80
hook_PathFindFileNameWFunction · 0.80
hook_wcsstrFunction · 0.80
hook_CharNextWFunction · 0.80
hook_lstrcatWFunction · 0.80
hook_GetNextVariableNameFunction · 0.80

Calls 1

read_stringMethod · 0.95

Tested by

no test coverage detected