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

Method get_qword_from_offset

pythonmemorymodule/pefile.py:6917–6923  ·  view source on GitHub ↗

Return the quad-word value at the given file offset. (little endian)

(self, offset)

Source from the content-addressed store, hash-verified

6915 return None
6916
6917 def get_qword_from_offset(self, offset):
6918 """Return the quad-word value at the given file offset. (little endian)"""
6919
6920 if offset + 8 > len(self.__data__):
6921 return None
6922
6923 return self.get_qword_from_data(self.__data__[offset : offset + 8], 0)
6924
6925 def set_qword_at_rva(self, rva, qword):
6926 """Set the quad-word value at the file offset corresponding to the given RVA."""

Callers

nothing calls this directly

Calls 1

get_qword_from_dataMethod · 0.95

Tested by

no test coverage detected