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

Method write_char

pydevd_attach_to_process/winappdbg/process.py:1604–1620  ·  view source on GitHub ↗

Writes a single character to the memory of the process. @note: Page permissions may be changed temporarily while writing. @see: L{poke_char} @type lpBaseAddress: int @param lpBaseAddress: Memory address to begin writing. @type char: int

(self, lpBaseAddress, char)

Source from the content-addressed store, hash-verified

1602 return ord(self.read(lpBaseAddress, 1))
1603
1604 def write_char(self, lpBaseAddress, char):
1605 """
1606 Writes a single character to the memory of the process.
1607
1608 @note: Page permissions may be changed temporarily while writing.
1609
1610 @see: L{poke_char}
1611
1612 @type lpBaseAddress: int
1613 @param lpBaseAddress: Memory address to begin writing.
1614
1615 @type char: int
1616 @param char: Character to write.
1617
1618 @raise WindowsError: On error an exception is raised.
1619 """
1620 self.write(lpBaseAddress, chr(char))
1621
1622 def read_int(self, lpBaseAddress):
1623 """

Callers

nothing calls this directly

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected