Repository navigation
feat(libSceNet): export in6addr_any and in6addr_loopback - #1096
Merged
Merged
Conversation
libSceNet exports the IPv6 wildcard and loopback addresses as data.
This was referenced Oct 7, 2026
9 tasks done
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
libSceNet exports two 16-byte data symbols,
in6addr_any(ZRAJo-A-ukc) andin6addr_loopback(XCuA-GqjA-k): the IPv6 wildcard address::and the loopback address::1. A title importing them failed to resolve the symbols.They are added as
extern constarrays named with_nid_postfix, as the libc data exports inLocaleSupport.cppare; the patchedlibSceNet.prxexports them under the NIDs above.guest_sce_netchecks both values.Title
PPSA17221 (Minecraft) needs #716 to load the modules in its app root, so every run below is current
main+ #716 + the PRs of this set (#1088, #1090–#1096), plus local changes outside it: dialog, NpAuth and TextToSpeech2 stubs that open PRs cover (#560, #925, #301) and a GPU end-of-pipe change that is not submitted. With all of them the title loads a world. The line below is from a run with only this PR left out, Windows 11, WinLibs GCC, normal user session.Without it startup stops at load:
XCuA-GqjA-kisin6addr_loopback; the eboot also importsin6addr_any(ZRAJo-A-ukc).Tested
Debian 13 (WSL2), GCC 14.2.0, Release: full
ctest390/390 passed (GPU tests skipped: no Vulkan device in WSL), includingguest_sce_net.nm -Don the patchedlibSceNet.prxshowsZRAJo-A-ukcandXCuA-GqjA-k.Windows 11, WinLibs GCC: PPSA17221 with this PR and the rest of the set loads a world (runs described above). Not tested with Windows
ctest.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)