Context
Only anti-debug is prctl(PR_SET_DUMPABLE, 0). No detection of software breakpoints, timing anomalies, or external debugger attachment.
Work
- New
daemon/anti_debug.{h,c}:
- BRK instruction scanning: scan game .text for ARM64 BRK (0xD4200000 mask) not present at baseline
- Timing calibration: measure calibrated loop execution time, detect single-step slowdown
- Self-ptrace: PTRACE_TRACEME at daemon startup for explicit detection
- New
tests/test_anti_debug.c
Tests
6 unit tests.
Part of v2.0.0
Context
Only anti-debug is prctl(PR_SET_DUMPABLE, 0). No detection of software breakpoints, timing anomalies, or external debugger attachment.
Work
daemon/anti_debug.{h,c}:tests/test_anti_debug.cTests
6 unit tests.
Part of v2.0.0