fix(main): windows_crash_stack_words regex crossed by '~' in register dump #11633

Merged
adriadam10 merged 1 commit from upstream-pr/11633 into main 2026-10-27 00:12:38 +00:00
adriadam10 commented 2026-10-27 00:12:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-27T00:12:35Z.


What

windows_crash_stack_words failed on main's push build 40410094391 (after #11365, unrelated to it). The crash report prints [r8] as a string of stack bytes ("dh'~"... in the failing run); when those bytes contain ~ (ASLR-dependent), the [^~]* gaps of the test's PASS regex cannot cross it, although every expected section is present in the output. The gaps now use .* (CMake regex . matches newlines; verified with cmake -P: a.*b matches a\n~\nb, a[^~]*b does not).

Tested

Not reproducible on Linux (Windows-only test); the output of the failing run contains every expected section, and the regex behaviour was checked with cmake -P. Main's push build is the proof.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; no silent stubs
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5026575777 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11633). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-27T00:12:35Z. --- ### What `windows_crash_stack_words` failed on main's push build 40410094391 (after #11365, unrelated to it). The crash report prints `[r8]` as a string of stack bytes (`"dh'~"...` in the failing run); when those bytes contain `~` (ASLR-dependent), the `[^~]*` gaps of the test's PASS regex cannot cross it, although every expected section is present in the output. The gaps now use `.*` (CMake regex `.` matches newlines; verified with `cmake -P`: `a.*b` matches `a\n~\nb`, `a[^~]*b` does not). ### Tested Not reproducible on Linux (Windows-only test); the output of the failing run contains every expected section, and the regex behaviour was checked with `cmake -P`. Main's push build is the proof. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; no silent stubs - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11633
No description provided.