emmatherockandClaude Sonnet 5 66aba2fff2 Add fake-memory-reader tests for the scanner/poller
process.go's boundary functions (readMemory, findModuleBase,
productVersion, findProcessID, openProcess, closeProcessHandle) become
swappable package variables, same pattern as testExeDir in totals.go.
process_test.go builds a fakeProcess (an in-memory buffer addressed
like real process memory) to exercise signature scanning, scanModule's
chunk-overlap logic, PlayerIns confirmation by memory read (the path
Linux always takes), the save-slot read, the double-read name
confirmation rule, and rejection of raw-pointer-as-UTF16 garbage.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 01:48:38 -03:00
2026-09-18 01:25:44 -03:00
2026-09-18 01:25:44 -03:00
2026-09-18 01:25:44 -03:00
2026-09-18 01:25:44 -03:00
2026-09-18 01:25:44 -03:00
S
Description
No description provided
207 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 87.8%
HTML 12.1%
Nix 0.1%