Repository navigation
test(tools): cover audit_dump elf_type, stage and modules_of - #22247
Closed
Gruzzberry wants to merge 1 commit into
Closed
Gruzzberry wants to merge 1 commit into
Gruzzberry wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ycbuzi
added a commit
to ycbuzi/AnyPS5
that referenced
this pull request
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds unit tests for
tools/audit_dump.pyhelpers not yet covered:elf_type(header type, truncated header gives None),stage(plain ELF copied, non-ELF refused without leaving output) andmodules_of(suffix match is case-insensitive, magic-detected files included, directories and other files ignored).Tested
Windows 11, Python 3.13:
python3 -m unittest discover -s tools/tests -p test_audit_dump.pyran 53 tests, OK (1 skipped).python3 tools/check_conventions.py --base upstream/mainpassed.tools/pr_overlap.py --branchdid not finish (git fetch of PR heads exited 143 after 399/1669);gh pr list --search "audit_dump in:title"shows only #18448 (ctest timeouts), which does not touch this test file.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)🤖 Generated with Claude Code