mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 14:10:43 +00:00
Sum max(VirtualSize, SizeOfRawData) over all sections and reject images above a 256 MiB loader budget with SectionMappingError(AllocationFailed) before any host allocation. Adds pe_mapping_limits tests. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>