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

Method get_field_relative_offset

pythonmemorymodule/pefile.py:986–988  ·  view source on GitHub ↗

Return the offset within the structure for the requested field.

(self, field_name)

Source from the content-addressed store, hash-verified

984 return self.__file_offset__ + self.__field_offsets__[field_name]
985
986 def get_field_relative_offset(self, field_name):
987 """Return the offset within the structure for the requested field."""
988 return self.__field_offsets__[field_name]
989
990 def get_file_offset(self):
991 return self.__file_offset__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected