https://bugs.winehq.org/show_bug.cgi?id=28254
--- Comment #16 from Rafał Harabień rafalh92@outlook.com --- André H. If your comment relates to number of pages to be protected 4 or more does not make sense. One IMAGE_BASE_RELOCATION structure is used together with offsets from range 0 to 0xFFF (4095) and each relocation updates up to 8 bytes using those offsets. So unless page size is smaller than 4096 (I never heard about smaller page size) it can touch up to 3 pages. For example when VirtualAddress is 0x1FFFF and offsets are in range 0 to 0xFFF it needs to access pages 0x1F000, 0x20000, and 0x21000 (0x1FFFF+0xFFF = 0x20FFE so a dword write updates bytes 0x20FFE up to 0x21001).