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

Function cache_adjust_FileAlignment

pythonmemorymodule/pefile.py:68–71  ·  view source on GitHub ↗
(val, file_alignment)

Source from the content-addressed store, hash-verified

66
67@lru_cache(maxsize=2048)
68def cache_adjust_FileAlignment(val, file_alignment):
69 if file_alignment < FILE_ALIGNMENT_HARDCODED_VALUE:
70 return val
71 return (int(val / 0x200)) * 0x200
72
73
74@lru_cache(maxsize=2048)

Callers 1

adjust_FileAlignmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected