MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / read_string

Method read_string

windows/winobject/process.py:735–736  ·  view source on GitHub ↗
(self, addr)

Source from the content-addressed store, hash-verified

733 # TODO: use ctypes.string_at / ctypes.wstring_at for read_string / read_wstring ?
734
735 def read_string(self, addr):
736 return ctypes.string_at(addr) # Raises WindowsError on fail
737
738 def read_wstring(self, addr):
739 return ctypes.wstring_at(addr) # Raises WindowsError on fail

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected