You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(libSceSystemService): retain rejected LoadExec paths in errors - #4925
Keep regression coverage for the sceSystemServiceLoadExec diagnostic when an executable replacement cannot be performed. Current main already reports the rejected guest path; this PR now asserts that the error retains the path for four invalid targets, including paths outside /app0 and paths with empty or parent-directory components.
This is test-only coverage. It does not add secondary executable conversion or process replacement. Related to #4793.
Tested
Earlier Linux guest_system_exit and negative-control results were reported for the prior base and do not validate this rebased head.
After rebasing onto current main, I have not built or run the test suite.
git diff --check upstream/main...HEAD passes.
Checklist
Based on current main; the diff adds coverage for a diagnostic not asserted by the existing tests
On the overlap with #4786: this PR adds the requested guest path to the exception for unsupported executable replacements. #4786 supports /app0/eboot.bin and continues to reject other paths, so the diagnostic remains useful alongside it. There is no semantic dependency between the changes, but their sceSystemServiceLoadExec edits need a small rebase/merge, and the unsupported-path branch should retain the path-specific message whichever lands second.
MarcZX10
changed the title
fix(libSceSystemService): include rejected LoadExec path
test(libSceSystemService): retain rejected LoadExec paths in errors
Oct 13, 2026
Rebased onto current main6e83cad17574960029bdca66626dff57cfb7bb4c. The source diagnostic from the original patch is now already present in main, so I kept the non-duplicate part: GuestSystemExit.cpp asserts that each of four rejected paths is present in the thrown error. The branch now changes tests only. git diff --check passes; I have not rebuilt or run tests on this rebased head, and I updated the title and description to reflect that scope.
Windows test: head 59fd2f796 merged onto current maindb3d379c8 (clean merge, no conflicts). Windows 10, MinGW GCC (WinLibs), Ninja Release, -j2: full build 0 errors; ctest with the filter guest_system_exit: guest_system_exit_parameters passed, guest_system_exit passed (2 test(s), 0 failed); python tools/check_conventions.py --base upstream/main passed. I did not run the new tests against main without the change.
Checked: the assertion at GuestSystemExit.cpp:209 fails when the path is dropped from the LoadExec error (mutated Export.cpp to remove it: guest_system_exit_parameters aborts; restored it passes). Scoped build + ctest green, plus @xXPBSXx's Windows run; merging.
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
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
Keep regression coverage for the
sceSystemServiceLoadExecdiagnostic when an executable replacement cannot be performed. Currentmainalready reports the rejected guest path; this PR now asserts that the error retains the path for four invalid targets, including paths outside/app0and paths with empty or parent-directory components.This is test-only coverage. It does not add secondary executable conversion or process replacement. Related to #4793.
Tested
guest_system_exitand negative-control results were reported for the prior base and do not validate this rebased head.main, I have not built or run the test suite.git diff --check upstream/main...HEADpasses.Checklist
main; the diff adds coverage for a diagnostic not asserted by the existing tests