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

Method set_dword_at_offset

pythonmemorymodule/pefile.py:6829–6831  ·  view source on GitHub ↗

Set the double word value at the given file offset.

(self, offset, dword)

Source from the content-addressed store, hash-verified

6827 return self.set_bytes_at_rva(rva, self.get_data_from_dword(dword))
6828
6829 def set_dword_at_offset(self, offset, dword):
6830 """Set the double word value at the given file offset."""
6831 return self.set_bytes_at_offset(offset, self.get_data_from_dword(dword))
6832
6833 ##
6834 # Word get / set

Callers 2

__setattr__Method · 0.80
__setattr__Method · 0.80

Calls 2

set_bytes_at_offsetMethod · 0.95
get_data_from_dwordMethod · 0.95

Tested by

no test coverage detected