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

Method set_word_at_offset

pythonmemorymodule/pefile.py:6879–6881  ·  view source on GitHub ↗

Set the word value at the given file offset.

(self, offset, word)

Source from the content-addressed store, hash-verified

6877 return self.set_bytes_at_rva(rva, self.get_data_from_word(word))
6878
6879 def set_word_at_offset(self, offset, word):
6880 """Set the word value at the given file offset."""
6881 return self.set_bytes_at_offset(offset, self.get_data_from_word(word))
6882
6883 ##
6884 # Quad-Word get / set

Callers 1

__setattr__Method · 0.80

Calls 2

set_bytes_at_offsetMethod · 0.95
get_data_from_wordMethod · 0.95

Tested by

no test coverage detected