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

Method get_field_absolute_offset

pythonmemorymodule/pefile.py:982–984  ·  view source on GitHub ↗

Return the offset within the field for the requested field in the structure.

(self, field_name)

Source from the content-addressed store, hash-verified

980 return self.__format__
981
982 def get_field_absolute_offset(self, field_name):
983 """Return the offset within the field for the requested field in the structure."""
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."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected