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

Method has_relocs

pythonmemorymodule/pefile.py:6059–6061  ·  view source on GitHub ↗

Checks if the PE file has relocation directory

(self)

Source from the content-addressed store, hash-verified

6057 return self.dump_info()
6058
6059 def has_relocs(self):
6060 """Checks if the PE file has relocation directory"""
6061 return hasattr(self, "DIRECTORY_ENTRY_BASERELOC")
6062
6063 def print_info(self, encoding="utf-8"):
6064 """Print all the PE header information in a human readable from."""

Callers 2

dump_infoMethod · 0.95
dump_dictMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected