mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 00:10:43 +00:00
Reject a failed, zero or non-power-of-two page size, and use checked arithmetic for page rounding, emitted instruction length and code-cache capacity. Adds unit tests for each overflow and boundary case. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>