MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / read_char

Method read_char

pydevd_attach_to_process/winappdbg/process.py:1588–1602  ·  view source on GitHub ↗

Reads a single character to the memory of the process. @see: L{peek_char} @type lpBaseAddress: int @param lpBaseAddress: Memory address to begin writing. @rtype: int @return: Character value read from the process memory. @raise WindowsEr

(self, lpBaseAddress)

Source from the content-addressed store, hash-verified

1586 raise ctypes.WinError()
1587
1588 def read_char(self, lpBaseAddress):
1589 """
1590 Reads a single character to the memory of the process.
1591
1592 @see: L{peek_char}
1593
1594 @type lpBaseAddress: int
1595 @param lpBaseAddress: Memory address to begin writing.
1596
1597 @rtype: int
1598 @return: Character value read from the process memory.
1599
1600 @raise WindowsError: On error an exception is raised.
1601 """
1602 return ord(self.read(lpBaseAddress, 1))
1603
1604 def write_char(self, lpBaseAddress, char):
1605 """

Callers 1

_notify_single_stepMethod · 0.80

Calls 1

readMethod · 0.95

Tested by

no test coverage detected