kbe 64be4f8275 Fix page-boundary read issue in redirection helper
Risk mitigation:
- redirect now falls back to reading the minimum required bytes (detourLength) if the full buffer (detourLength + 16) cannot be read due to page boundaries.
- First attempt: read detourLength + 16 bytes for the instruction analyzer (preferred).
- Second attempt: read only detourLength bytes if the first attempt fails (bare minimum).
- Throw only if both attempts fail.

This prevents crashes when function interception functions that sit at the very end of a committed page.

Tests: 199 passing, 4 integration/interactive skipped.
2026-07-22 01:29:52 +02:00
2026-07-21 22:30:10 +02:00
2026-07-21 22:30:10 +02:00
2026-07-21 22:30:10 +02:00
2026-07-21 22:30:10 +02:00
2026-07-21 20:28:59 +00:00
2026-07-21 20:28:59 +00:00
2026-07-21 22:30:10 +02:00

WhiteMagic

Wite Magic is a C# library to read, write and execute remote code into a target process for analysis, debuging and mod creation.

S
Description
Wite Magic is a C# library to read, write and execute remote code into a target process for analysis, debuging and mod creation.
Readme MIT
481 KiB
Languages
C# 100%