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

Method write_short

windows/winobject/process.py:399–401  ·  view source on GitHub ↗

write a word at ``addr``

(self, addr, word)

Source from the content-addressed store, hash-verified

397 return self.write_memory(addr, struct.pack("<B", byte))
398
399 def write_short(self, addr, word):
400 """write a word at ``addr``"""
401 return self.write_memory(addr, struct.pack("<H", word))
402
403 def write_dword(self, addr, dword):
404 """write a dword at ``addr``"""

Callers

nothing calls this directly

Calls 2

write_memoryMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected