diff options
| author | slipperysquid <coleseto123@gmail.com> | 2026-11-24 20:11:17 -0300 |
|---|---|---|
| committer | Diego Luiz Becker <diegoluizbecker@gmail.com> | 2026-11-29 09:55:11 -0300 |
| commit | 528e0862f2dc3411a66d30501b8f8670ddd0d88c (patch) | |
| tree | b2680ce8aff47c30568715f4526479731ec37a05 /runtime/test/queue_proxy_test.cpp | |
| parent | 3535eb5c4b200acadddf9bf7318b921deecccc38 (diff) | |
runtime: LEONIDA_SKIP_ASSERTS steps over guest asserts without a trace (RT-526)
A diagnostic for the retail boot (RT-5 follow-ups), off the hot path and with no behaviour change unless asked
for: LEONIDA_SKIP_ASSERTS=N (src/assert_skip.h, installed by main.cpp before any image code runs under
--init/--run): a vectored handler, added last, steps over up to N int3 (0xCC) at addresses in no host module and
logs each one as module+RVA (and as an int3_skipped trace event when --trace is open). After N it says so once
and the next int3 ends the run as before. An int3 in a host module, a breakpoint with no 0xCC at its address, or
a RIP that is neither at nor one past the 0xCC is passed on. Needs no --trace and no debugger.
Tests (synthetic, no game files): assert_skip_test (int3 in a VirtualAlloc'd page, the limit, a host-module int3,
a two-byte int 3, value parsing) and run_tiny_game_skip_asserts (two int3 in the mapped stand-in game, stepped
over end to end).
Carried over from old upstream PR 9961 (#228) without its caller logging for forwarded device slots, which the
carry-over of old PR 9990 (#1390) brings instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions