upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:43:47 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:43:47 -0500
commit1d0bf24dc71f9ae811143e41f65a6c93f75250dd (patch)
tree2ea8c9b9402ff817963b4966f6b36aa8bcf93c73 /runtime/src/main.cpp
parent83c1bf27916089ffc33c16378680bf747330a578 (diff)
startup_trace: take the int3 candidate ExceptionAddress names; drop the unused <set>
int3_from tried the byte at Rip first and only then checked ExceptionAddress against it. With Rip one past the 0xCC and ExceptionAddress on it (a mixed form), a second 0xCC at Rip (int3 padding) was taken first and then refused by the address check, so that int3 was not skipped. Each candidate (Rip, then Rip - 1) now has to agree with ExceptionAddress before it is taken. Main did not skip it either, so this closes a gap rather than a regression. int3_skip_test gets a "padding" case for it. The std::set the old dedupe used is gone, so its include goes too; the candidate loop needs <initializer_list>. Both raised in review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions