| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Restore the sysv_amd64 callback stack-pointer fix so STACKMAN_OP_RESTORE receives the active switched stack pointer, not the pre-switch value. Update both the assembly and inline GCC x86_64 paths for consistent callback behavior. Add a regression assertion in tests/test.c and document the fix in CHANGELOG.md under Unreleased.
Pin build-windows to windows-2022 to avoid v143 toolset availability drift on windows-latest, especially for ARM64. Document this CI change in CHANGELOG.md under Unreleased.
There was a problem hiding this comment.
Fixes an amd64 (System V x86_64, GCC) stack-switching bug where the RESTORE callback was receiving an incorrect stack-pointer argument, aligning both the generated assembly and inline-asm implementations. Adds a regression assertion in the core C test suite and documents the fix in the changelog; also pins the Windows CI runner to windows-2022 for toolset stability.
Changes:
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| tests/test.c | Adds an assertion to ensure RESTORE receives the active switched stack pointer. |
| stackman/platforms/switch_x86_64_gcc.S | Fixes RESTORE callback argument to pass %rsp (active switched SP). |
| stackman/platforms/switch_x86_64_gcc.h | Fixes inline-asm RESTORE callback argument to pass the switched stack pointer. |
| CHANGELOG.md | Documents the amd64 restore-argument fix and the added regression assertion under [Unreleased]. |
| .github/workflows/buildcommit.yml | Pins Windows CI runner to windows-2022. |
Sorry, something went wrong.
| ## [Unreleased] | ||
|
|
||
| ### Changed | ||
| - CI: pinned Windows runner to `windows-2022` (from `windows-latest`) to keep VS2022 v143 toolset availability stable for ARM64 builds | ||
|
|
| - CI: pinned Windows runner to `windows-2022` (from `windows-latest`) to keep VS2022 v143 toolset availability stable for ARM64 builds | ||
|
|
||
| ### Fixed | ||
| - Fixed amd64 (sysv_x86_64 GCC) restore callback stack-pointer argument to pass the active switched stack pointer |
Use sysv_amd64 naming in Unreleased fix entry and add missing [Unreleased] compare link reference.
| Back | FazBrowse Home | New Git URL |
Summary
Validation