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

Method dword_align

pythonmemorymodule/pefile.py:5199–5200  ·  view source on GitHub ↗
(self, offset, base)

Source from the content-addressed store, hash-verified

5197 )
5198
5199 def dword_align(self, offset, base):
5200 return ((offset + base + 3) & 0xFFFFFFFC) - (base & 0xFFFFFFFC)
5201
5202 def normalize_import_va(self, va):
5203

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected