upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorKal0s-design <356578040+Kal0s-design@users.noreply.github.com>2026-11-30 13:17:01 +0100
committerKal0s-design <356578040+Kal0s-design@users.noreply.github.com>2026-12-01 11:03:36 +0100
commit3cd5de60bfd18e42b6fab5b30c81c64405ffe4f5 (patch)
tree78eac9858a86419651c3a0af50cd4f825c0f77b2 /runtime/src/thread_stacks.cpp
parent3393ceec9c5a023847abd7af7d8d6b8a29731600 (diff)
d3d12-loader: console_insn range checks don't overflow at the top of memory
readable() and writable() computed va + bytes (and BaseAddress + RegionSize) unchecked. They run inside the vectored exception handler, where a clzero with RAX near the top of the address space made the debug build panic with an overflow (taking the process down) and let a wrapped end pass the range check in release. A range that runs past the top is now neither readable nor writable, and such a clzero is left to fault as it would. After ahmetbagci's fix in TaynanGT/Vice-Tay (c2f2b5b); its write_sites half is already in #2664. Co-Authored-By: ahmetbagci <6625856+ahmetbagci@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions