mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
Backing only the pages a pointer touches splits a zero-filled run into one section per backed block. Each becomes a Mach-O segment, and dyld's bind and rebase opcodes address at most 16 segments, so a module with pointer slots on many separate zero-filled pages converted on main but failed with --macos. When the segments would pass that limit, adjacent sections with the same protection are merged again, smallest gap first. Reported by jotitadev in the review.