test(relinker): audit eh_frame augmentation string parsing and format bounds #17451
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17451"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by slopgobblercobbler on 2026-11-08T19:53:42Z.
What
Adds standalone guest unit tests in
core/relinker/relinker/tests/GuestRelinkerEhFrameAug.cppauditing DWARF.eh_frameCIE augmentation string parser bounds, unknown fields, and record overflow handling.Tested
Verified locally with
guest_relinker_ehframe_augtest suite andtools/check_conventions.py.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T21:47:30Z.
Review: COMMENTED
Windows run of head
e12720400d, merged ontomain095ff72367in one tree with other open PRs that touch different files (each PR's test is its own file, so they don't interact). Setup: Windows 11, WinLibs GCC 15.2 r7 (x86_64-ucrt-posix-seh, the CI toolchain), Release,BUILD_TESTING=ON.guest_relinker_ehframe_augfails, 1 / 1:EH frame augmentation parser validation failed. This matches the PR's failingrelinkerchecks on Ubuntu, Windows and macOS.Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-11T17:27:46Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
e12720400d:tools/check_conventions.pypassed;git diff --checkclean.relinker (macos-latest, clang++),relinker (ubuntu-latest, g++),relinker (windows-latest, g++).guest_relinker_ehframe_aug_testsbuilt cleanly.guest_relinker_ehframe_aug):Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-16T13:45:10Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
33de7e6427:tools/check_conventions.pypassed;git diff --checkreported whitespace errors.guest_relinker_ehframe_aug_testsbuilt cleanly.guest_relinker_ehframe_aug):Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T23:54:41Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
b3d9f61540:tools/check_conventions.pypassed.guest_relinker_ehframe_aug_testsbuilt cleanly.guest_relinker_ehframe_aug):Looks Good To Me
Pull request closed