feat(net): resolve interface ids to host indexes #14213

Merged
rooklz merged 1 commit from upstream-pr/14213 into main 2026-11-06 09:05:00 +00:00
rooklz commented 2026-10-31 23:42:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-31T23:42:38Z.


What

Implement sceNetGetNameToIndex and sceNetGetIfnameNumList from the local
libSceNet.sprx dump (GNU build ID ad19de2df01d46df, functions at 0x460 and
0x5c0 calling the shared interface-list reader at 0x5fd0/0x6380).

Both exports check sceNetInit first and return 0x804101c8 before it.
sceNetGetNameToIndex rejects -1 with EINVAL, then maps the guest id
through the same ten-name table already used by sceNetGetIfName
(lo0..pppoe0); an id whose interface is absent returns 0x804101A4
(SCE_NET_ERROR_ENODATA). sceNetGetIfnameNumList rejects a null list, a
capacity of 0 or less and flags above 1 with EINVAL, and enumerates ids 1..8
for flags 0 and 0..9 for flags 1, ascending, up to the capacity.

The host has no FreeBSD interface names, so the emulator maps id 0 to the host
loopback, id 1 to the first up non-loopback interface with an address, and ids
2..9 to a host interface of the same name. The returned value is the host
interface index. This deliberate guest-to-host mapping and its lack of a
console measurement are recorded in docs/dev/debt/libSceNet.md.

The shared name table moved into one constant used by sceNetGetIfName as
well. The Windows lane now links iphlpapi for GetAdaptersAddresses, and the
test targets that compile Export.cpp directly (net_blocking_send_tests and
net_epoll_lifetime_tests) link iphlpapi too instead of failing to resolve
GetAdaptersAddresses and if_nametoindex.

#9578 (socket Ex/Internal forms, sysctl, scope-ID text, default route) landed
2026-11-02; this PR has been rebased onto current main on top of it and keeps
only the interface-index exports. The iphlpapi link fix is now upstream
(redundant commit dropped during the rebase), and the GuestSceNet.cpp overlap
is resolved: #9578's CheckExForwards/CheckSysctl/CheckScopeIdText remain
untouched and this PR's CheckIfNameIndex runs after them.

Tested

  • Not tested on a console; the host interface mapping is not measured.
  • Linux relinker Release build with -DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON:
    succeeds.
  • ctest --test-dir build-pr14213 -j6: 542/542 pass.
  • Windows linking is not reproduced locally; both direct-Export.cpp test
    targets now carry iphlpapi alongside ws2_32 for the hosted Windows job.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none (#9578 landed 2026-11-02; this PR rebased onto current main on top of it)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5102609340 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14213). Originally posted by [rooklz](https://github.com/rooklz) on 2026-10-31T23:42:38Z. --- ### What Implement `sceNetGetNameToIndex` and `sceNetGetIfnameNumList` from the local `libSceNet.sprx` dump (GNU build ID `ad19de2df01d46df`, functions at `0x460` and `0x5c0` calling the shared interface-list reader at `0x5fd0`/`0x6380`). Both exports check `sceNetInit` first and return `0x804101c8` before it. `sceNetGetNameToIndex` rejects `-1` with `EINVAL`, then maps the guest id through the same ten-name table already used by `sceNetGetIfName` (`lo0`..`pppoe0`); an id whose interface is absent returns `0x804101A4` (`SCE_NET_ERROR_ENODATA`). `sceNetGetIfnameNumList` rejects a null list, a capacity of 0 or less and flags above 1 with `EINVAL`, and enumerates ids 1..8 for flags 0 and 0..9 for flags 1, ascending, up to the capacity. The host has no FreeBSD interface names, so the emulator maps id 0 to the host loopback, id 1 to the first up non-loopback interface with an address, and ids 2..9 to a host interface of the same name. The returned value is the host interface index. This deliberate guest-to-host mapping and its lack of a console measurement are recorded in `docs/dev/debt/libSceNet.md`. The shared name table moved into one constant used by `sceNetGetIfName` as well. The Windows lane now links `iphlpapi` for `GetAdaptersAddresses`, and the test targets that compile `Export.cpp` directly (`net_blocking_send_tests` and `net_epoll_lifetime_tests`) link `iphlpapi` too instead of failing to resolve `GetAdaptersAddresses` and `if_nametoindex`. #9578 (socket Ex/Internal forms, sysctl, scope-ID text, default route) landed 2026-11-02; this PR has been rebased onto current `main` on top of it and keeps only the interface-index exports. The `iphlpapi` link fix is now upstream (redundant commit dropped during the rebase), and the `GuestSceNet.cpp` overlap is resolved: #9578's `CheckExForwards`/`CheckSysctl`/`CheckScopeIdText` remain untouched and this PR's `CheckIfNameIndex` runs after them. ### Tested - Not tested on a console; the host interface mapping is not measured. - Linux relinker Release build with `-DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON`: succeeds. - `ctest --test-dir build-pr14213 -j6`: 542/542 pass. - Windows linking is not reproduced locally; both direct-`Export.cpp` test targets now carry `iphlpapi` alongside `ws2_32` for the hosted Windows job. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none (#9578 landed 2026-11-02; this PR rebased onto current `main` on top of it) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-01 00:02:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T00:02:27Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The Windows CI build fails because net_blocking_send_tests compiles Export.cpp without linking the new iphlpapi dependency.

What I ran

Reviewed #14213 at head f9f71f7fbe46ba711e65c5d58885ed43721547c1, based on b08c539c505c48341146c705bc72d9b603cdb3a7. The precheck's current-base preview merged cleanly. Environment: Debian GNU/Linux, Python 3.11.2, Git 2.39.5. I did not configure or build AnyPS5 locally.

cd /marc/AnyPS5
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14213
gh run view 41253660516 -R boykopovar/AnyPS5 --job 124693973639 --log-failed
git diff --check b08c539c505c48341146c705bc72d9b603cdb3a7...f9f71f7fbe46ba711e65c5d58885ed43721547c1

Results

Check Result
Diff check Passed; no output.
Repository conventions and PR template Passed.
Current-base merge preview Passed.
Windows changed-tests job Failed while linking net_blocking_send_tests.exe: unresolved GetAdaptersAddresses and if_nametoindex. The test source includes Export.cpp, and its Windows target links ws2_32 but not iphlpapi.
Other hosted checks Eligibility, conventions, intake, labels, report and library portability passed. Linux, relinker, ASan, register-context and write-watch jobs were skipped.
Local build/tests Not run.
Optional precheck helpers ABI audit and test-quality heuristic were unavailable because those scripts are absent from the PR head checkout; this is not a source failure.
Windows linker output
FAILED: [code=1] tests/net_blocking_send_tests.exe
C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0xffd): undefined reference to `GetAdaptersAddresses'
C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x1064): undefined reference to `GetAdaptersAddresses'
C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x8725): undefined reference to `if_nametoindex'
C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x8847): undefined reference to `if_nametoindex'
collect2.exe: error: ld returned 1 exit status

Findings

Blocking

  • Windows test target omits the new import library. The PR adds iphlpapi to the libSceNet library target, but net_blocking_send_tests includes core/libs/prx/libSceNet/Export.cpp directly and does not link that library target. Its Windows link line therefore lacks iphlpapi, producing the unresolved symbols shown above. Add iphlpapi to this test target's Windows link libraries (and any other test target that compiles Export.cpp directly), then rerun the Windows job.

Non-blocking

  • The PR body says the interface mapping has not been measured on a console; keep that limitation visible because the implementation deliberately maps guest interfaces to host interfaces.

Sources

Not verified

  • No local Windows or Linux build, CTest run, console run, or host-interface behavior test was performed in this session.
  • Linux and the specialized hosted jobs were skipped; passing policy checks do not cover the failed Windows link step.

To get this to a good state

Link iphlpapi into the Windows test target that compiles Export.cpp, verify there are no other direct-source test targets with the same missing dependency, and rerun the Windows job. I will rerun the same no-build checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5725535544 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14213#pullrequestreview-5725535544). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T00:02:27Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The Windows CI build fails because `net_blocking_send_tests` compiles `Export.cpp` without linking the new `iphlpapi` dependency. ## What I ran Reviewed #14213 at head `f9f71f7fbe46ba711e65c5d58885ed43721547c1`, based on `b08c539c505c48341146c705bc72d9b603cdb3a7`. The precheck's current-base preview merged cleanly. Environment: Debian GNU/Linux, Python 3.11.2, Git 2.39.5. I did not configure or build AnyPS5 locally. ```sh cd /marc/AnyPS5 python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14213 gh run view 41253660516 -R boykopovar/AnyPS5 --job 124693973639 --log-failed git diff --check b08c539c505c48341146c705bc72d9b603cdb3a7...f9f71f7fbe46ba711e65c5d58885ed43721547c1 ``` ## Results | Check | Result | |---|---| | Diff check | Passed; no output. | | Repository conventions and PR template | Passed. | | Current-base merge preview | Passed. | | Windows changed-tests job | Failed while linking `net_blocking_send_tests.exe`: unresolved `GetAdaptersAddresses` and `if_nametoindex`. The test source includes `Export.cpp`, and its Windows target links `ws2_32` but not `iphlpapi`. | | Other hosted checks | Eligibility, conventions, intake, labels, report and library portability passed. Linux, relinker, ASan, register-context and write-watch jobs were skipped. | | Local build/tests | Not run. | | Optional precheck helpers | ABI audit and test-quality heuristic were unavailable because those scripts are absent from the PR head checkout; this is not a source failure. | <details><summary>Windows linker output</summary> ```text FAILED: [code=1] tests/net_blocking_send_tests.exe C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0xffd): undefined reference to `GetAdaptersAddresses' C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x1064): undefined reference to `GetAdaptersAddresses' C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x8725): undefined reference to `if_nametoindex' C:/winlibs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: core/libs/prx/libSceNet/CMakeFiles/net_blocking_send_tests.dir/__/__/tests/NetBlockingSend.cpp.obj:NetBlockingSend.cpp:(.text+0x8847): undefined reference to `if_nametoindex' collect2.exe: error: ld returned 1 exit status ``` </details> ## Findings ### Blocking - **Windows test target omits the new import library.** The PR adds `iphlpapi` to the `libSceNet` library target, but `net_blocking_send_tests` includes `core/libs/prx/libSceNet/Export.cpp` directly and does not link that library target. Its Windows link line therefore lacks `iphlpapi`, producing the unresolved symbols shown above. Add `iphlpapi` to this test target's Windows link libraries (and any other test target that compiles `Export.cpp` directly), then rerun the Windows job. ### Non-blocking - The PR body says the interface mapping has not been measured on a console; keep that limitation visible because the implementation deliberately maps guest interfaces to host interfaces. ## Sources - [Changed library target links `iphlpapi` at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/f9f71f7fbe46ba711e65c5d58885ed43721547c1/core/libs/CMakeLists.txt#L184-L189) - [Windows test target currently links only `ws2_32`](https://github.com/boykopovar/AnyPS5/blob/f9f71f7fbe46ba711e65c5d58885ed43721547c1/core/libs/prx/libSceNet/CMakeLists.txt#L89-L95) - [The test includes `Export.cpp` directly](https://github.com/boykopovar/AnyPS5/blob/f9f71f7fbe46ba711e65c5d58885ed43721547c1/core/libs/tests/NetBlockingSend.cpp#L9) ## Not verified - No local Windows or Linux build, CTest run, console run, or host-interface behavior test was performed in this session. - Linux and the specialized hosted jobs were skipped; passing policy checks do not cover the failed Windows link step. ## To get this to a good state Link `iphlpapi` into the Windows test target that compiles `Export.cpp`, verify there are no other direct-source test targets with the same missing dependency, and rerun the Windows job. I will rerun the same no-build checks on the updated head.
MarcZX10 commented 2026-11-01 01:28:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T01:28:42Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The Windows link fix passes, but the required landing order with overlapping PR #9578 is unresolved and the pairwise preview conflicts.

What I ran

Reviewed head 20fd7cfb078c512cd85dabc9fe5939afe021a237, based on PR base b08c539c505c48341146c705bc72d9b603cdb3a7; its preview onto current main 8daa361aa03abc02795d182e27cffb02ef7b18ce was clean. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. No local build or C++ tests were run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14213
git diff --check b08c539c505c48341146c705bc72d9b603cdb3a7...20fd7cfb078c512cd85dabc9fe5939afe021a237
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base b08c539c505c48341146c705bc72d9b603cdb3a7 --head 20fd7cfb078c512cd85dabc9fe5939afe021a237 --json
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --dependency 14213=20fd7cfb078c512cd85dabc9fe5939afe021a237 --dependent 9578=e88598fd9e9e933fa281e54993bff47a0c7692b9 --order-only

Results

Check Result
Diff and conventions/template checks Passed.
Export declaration/definition audit The two changed exports have declarations and definitions. One unrelated heuristic warning flags existing private RunNetThread as lacking a public declaration.
Current-main merge preview Clean.
Pairwise preview with #9578 Conflict in core/libs/tests/GuestSceNet.cpp. The PR overlap comment independently lists that file and the two overlapping regions.
Hosted CI for this head Windows passed; Linux, relinker, ASan, register-context, and write-watch jobs were skipped.
Author-reported tests Linux relinker Release build and 542/542 CTest tests are reported in the PR; not independently reproduced.
Unedited check output

Conventions:

All conventions checks passed.

Pairwise merge preview:

Pairwise merge preview: CONFLICT — overlapping changes need manual review.
CONFLICT (content): Merge conflict in core/libs/tests/GuestSceNet.cpp

Findings

Blocking

  • The repository requires authors of overlapping PRs to agree which lands first and declare the order with Depends on. The automated overlap comment on this PR lists #9578, and the exact-head pairwise merge preview confirms a content conflict in GuestSceNet.cpp. #14213 currently says Depends on: none; #9578 also says sceNetGetIfnameNumList remains unimplemented, while this PR implements it. Please coordinate with #9578's author on the intended order and behavior, resolve the conflict, and record the agreed dependency in the appropriate PR before merging.

Non-blocking

The host-interface mapping is deliberately not measured on a console; the debt entry records this limitation. The Linux host behavior is covered by author-reported tests.

Sources

Not verified

No local build, CTest, or PS5/console behavior was tested. The author-reported Linux run was not reproduced; only the hosted Windows job ran for this head.

To get this to a good state

Please agree on the order with #9578's author, declare it on the dependent PR, and reconcile the shared test changes and interface-list scope. I will rerun the merge and relevant checks once the order or heads change.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5725882671 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14213#pullrequestreview-5725882671). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T01:28:42Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The Windows link fix passes, but the required landing order with overlapping PR #9578 is unresolved and the pairwise preview conflicts. ## What I ran Reviewed head `20fd7cfb078c512cd85dabc9fe5939afe021a237`, based on PR base `b08c539c505c48341146c705bc72d9b603cdb3a7`; its preview onto current `main` `8daa361aa03abc02795d182e27cffb02ef7b18ce` was clean. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. No local build or C++ tests were run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14213 git diff --check b08c539c505c48341146c705bc72d9b603cdb3a7...20fd7cfb078c512cd85dabc9fe5939afe021a237 python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base b08c539c505c48341146c705bc72d9b603cdb3a7 --head 20fd7cfb078c512cd85dabc9fe5939afe021a237 --json python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --dependency 14213=20fd7cfb078c512cd85dabc9fe5939afe021a237 --dependent 9578=e88598fd9e9e933fa281e54993bff47a0c7692b9 --order-only ``` ## Results | Check | Result | |---|---| | Diff and conventions/template checks | Passed. | | Export declaration/definition audit | The two changed exports have declarations and definitions. One unrelated heuristic warning flags existing private `RunNetThread` as lacking a public declaration. | | Current-main merge preview | Clean. | | Pairwise preview with #9578 | Conflict in `core/libs/tests/GuestSceNet.cpp`. The PR overlap comment independently lists that file and the two overlapping regions. | | Hosted CI for this head | Windows passed; Linux, relinker, ASan, register-context, and write-watch jobs were skipped. | | Author-reported tests | Linux relinker Release build and 542/542 CTest tests are reported in the PR; not independently reproduced. | <details><summary>Unedited check output</summary> Conventions: ```text All conventions checks passed. ``` Pairwise merge preview: ```text Pairwise merge preview: CONFLICT — overlapping changes need manual review. CONFLICT (content): Merge conflict in core/libs/tests/GuestSceNet.cpp ``` </details> ## Findings ### Blocking - The repository requires authors of overlapping PRs to agree which lands first and declare the order with `Depends on`. The automated overlap comment on this PR lists #9578, and the exact-head pairwise merge preview confirms a content conflict in `GuestSceNet.cpp`. #14213 currently says `Depends on: none`; #9578 also says `sceNetGetIfnameNumList` remains unimplemented, while this PR implements it. Please coordinate with #9578's author on the intended order and behavior, resolve the conflict, and record the agreed dependency in the appropriate PR before merging. ### Non-blocking The host-interface mapping is deliberately not measured on a console; the debt entry records this limitation. The Linux host behavior is covered by author-reported tests. ## Sources - [Repository overlap-order rule at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/20fd7cfb078c512cd85dabc9fe5939afe021a237/CONTRIBUTING.md#L70) - [Automated overlap report listing #9578](https://github.com/boykopovar/AnyPS5/pull/14213#issuecomment-6551230081) - [PR #9578's stated interface-list scope](https://github.com/boykopovar/AnyPS5/pull/9578) - [Host-interface mapping and its recorded limitation](https://github.com/boykopovar/AnyPS5/blob/20fd7cfb078c512cd85dabc9fe5939afe021a237/docs/dev/debt/libSceNet.md) ## Not verified No local build, CTest, or PS5/console behavior was tested. The author-reported Linux run was not reproduced; only the hosted Windows job ran for this head. ## To get this to a good state Please agree on the order with #9578's author, declare it on the dependent PR, and reconcile the shared test changes and interface-list scope. I will rerun the merge and relevant checks once the order or heads change.
MarcZX10 commented 2026-11-06 06:06:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-06T06:06:51Z.

Review: APPROVED


Tests run and reviewed: approved

Approved on the tests and on comparing the diff with the description: 1,258 of 2708 tests ran and passed here (Linux, CPU-only), 3 of 4 claims in the description are confirmed by the diff (1 only partly, listed under Not verified) and no blocking finding stands. 1450 tests could not run on this machine and are not verified.

What I ran

Head 5f53bf94c86ab67e3de4cf290b1ab410544fea61; base d1ae628bc2f62459cce1e9872ba5632c938c71f2.

I built and tested this head on this machine, on Linux. Full build and tests (the head merged onto the base tip): passed. The Test logs section at the end has the details.

Hosted CI results are read from GitHub as they are now; I did not run them.

Reported by other contributors' CI comments on this head, not run by me: AMD GPU CI passed (1,130 passed · 4 failed (0 new, 3 also fail on main, 1 unstable on main) · 7 skipped (ANYPS5_REQUIRE_VULKAN=1)).

I compared the full diff of 3 changed files (258 lines) with the pull request description. I ran nothing for this and looked at nothing outside the diff.

Results

Check Result Note
Full build: fetch passed 4 s
Full build: export passed 3 s
Full build: submodules passed 51 s
Full build: configure passed 35 s
Full build: select passed
Full build: build passed 1472 s
Full build: libs passed
Full build: test passed 109 s
tests: guest (1621) partly run 354 ok, 1267 not run
tests: check (124) passed 124 ok
tests: trace (96) passed 96 ok
tests: unwrap (82) passed 82 ok
tests: public (65) passed 65 ok
tests: annotate (64) passed 64 ok
tests: audio (63) partly run 7 ok, 56 not run
tests: conventions (59) passed 59 ok
tests: ngs2 (48) not run 0 ok, 48 not run
tests: tls (35) passed 35 ok
tests: net (21) not run 0 ok, 21 not run
tests: windows (21) passed 21 ok
tests: 146 other groups (409) partly run 351 ok, 58 not run
diff against its description mostly confirmed 3 of 4 claims confirmed; 0 blocking
hosted CI (read from GitHub) passed 6 passed, 6 not run

Findings

Blocking

None in the diff of 3 changed files.

Non-blocking

None recorded.

Not verified

  • Only partly confirmed by the diff: "Use a shared ten-name table for sceNetGetIfName and host interface mapping" (The diff calls HostInterfaceIndex, but its mapping implementation is not included in the changed hunks)
  • The HostInterfaceIndex implementation is outside the changed hunks, so its exact loopback, address, and name-matching behavior cannot be judged from this diff.
  • The PR description mentions Windows iphlpapi linking, but no build-system changes are present in this diff; its status is outside this part.
  • Only the diff and the pull request text were compared; behaviour that depends on code outside the diff is not covered.
  • 1450 tests could not run on this machine because its CPU lacks instructions the guest tests need (full build and tests (the head merged onto the base tip)). Their result is not verified.
  • No hardware or console run was done; none of those behaviors is verified. The build and tests ran on one Linux machine only.
Test logs (3 entries; open to read)
Full build and tests (the head merged onto the base tip): passed

Result:

The build passed and nothing that ran failed; 1258 of 2708 passed; 1450 could not run because this CPU lacks instructions the guest tests need.

Steps:

Fetch: done in 4 s
Export: done in 3 s
Submodules: done in 51 s
Configure: done in 35 s
Select: done in 0 s
Build: done in 1472 s
Libs: done in 1 s
Test: done in 109 s

What did not run, and why:

1450 tests aborted because the CPU of this machine lacks instructions the guest tests need; they say nothing about the change (for example guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings).
The base tip has not been built here yet. Run this level with the source set to the base tip to learn which failures predate the change.

All tests:

Could not run on this machine (the CPU lacks instructions the guest tests need) (1,450)
By group: guest 1,267, audio 56, ngs2 48, net 21, nkwebkit 14, pad 6, savedata 5, download 5, np 3, exec 3, fiber 2, avplayer 2, and 15 more
guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings, guest_freetype_postscript_info_nid, guest_libressl_free_strings_first, guest_libressl_bio, guest_libressl_bio_patched, guest_libressl_cmac, guest_libressl_cmac_patched, guest_libressl_protocol, guest_libressl_protocol_nid, guest_posix_scalar_io, guest_kernel_sys_upd_version, guest_kernel_sys_sdk_version, guest_kernel_sys_console_identity, guest_kernel_sys_cpumode, guest_kernel_sys_neo_mode, guest_kernel_sys_constant_unknowns, patched_libraries, guest_kernel_sys_pwrite, guest_kernel_sys_pwrite_patched, guest_kernel_sys, guest_kernel_sys_vm_map_timestamp, guest_kernel_sys_thread_defaults, guest_kernel_sys_barrier, guest_kernel_sys_execve, guest_kernel_sys_execvpe, guest_kernel_sys_nanosleep, guest_kernel_sys_adjtime, guest_kernel_sys_pthread, guest_kernel_sys_constants, guest_kernel_sys_dup, guest_playready, guest_firmware_constant_returns, guest_sdec_version, guest_kernel_sys_threads_main_late_load, guest_kernel_sys_threads_main_late_load_patched, guest_kernel_sys_threads_main, guest_kernel_sys_threads_main_patched, guest_gnm_neo_packets, guest_kernel_sys_pthread_np_rwlockattr, guest_kernel_sys_pthread_np_kind, guest_kernel_sys_module_internal, guest_kernel_sys_login, guest_kernel_sys_uuid, guest_kernel_sys_pselect, guest_voice_port_attr, guest_gnm_neo_retail, guest_remoteplay, guest_gnm_neo_context_state_internal, guest_vr_tracker_devices, … and 1,397 more

Passed (1,258)
By group: guest 354, check 124, trace 96, unwrap 82, public 65, annotate 64, conventions 59, tls 35, windows 21, linux 20, pr 15, tools 13, and 129 more
public_headers, guest_json_numeric_locale_setup, pad_command_file, request_serializer, patch_lib_atrac9, pr_overlap_dependencies, mingw_host_only_test_targets, tools_nid_name_audit, build_changed_guest_tests, pr_labels, pr_overlap_encoding, pr_ready, progress_history_date_window, progress_report_inputs, compile_slot, progress_history_output, progress_render_sliver, progress_history, progress_wrappers, progress_report, tools_compdb_inventory, progress_read_encoding, progress_encoding, tools_catalog_json, tools_audit_strict_partial, annotate_module, annotate_module_ImportRelocationTests_test_symbol_entry_size_must_match_elf64, validate_patch_catalog, annotate_module_ImportRelocationTests_test_tables_cannot_read_file_padding_past_the_load_segment, annotate_module_ImportRelocationTests_test_an_exact_load_boundary_is_readable, annotate_module_ImportRelocationTests_test_contiguous_load_segments_can_cover_one_table_without_a_gap, annotate_module_ImportRelocationTests_test_none_relocations_do_not_read_the_symbol_or_add_a_slot, annotate_module_ImportRelocationTests_test_real_import_with_invalid_symbol_still_fails, annotate_module_ImportRelocationTests_test_none_relocation_does_not_replace_a_real_import, annotate_module_ObjdumpDiscoveryTests_test_llvm_objdump_is_passed_over_for_gnu_gobjdump, annotate_module_ObjdumpDiscoveryTests_test_only_llvm_objdump_is_refused_by_name, annotate_module_AnnotateModuleTests_test_names_imports_stubs_calls_and_exports, annotate_module_AnnotateModuleTests_test_unknown_nid_prints_the_nid, annotate_module_AnnotateModuleTests_test_no_names_skips_the_database, annotate_module_AnnotateModuleTests_test_a_temporary_directory_outside_the_ansi_code_page_is_disassembled, annotate_module_AnnotateModuleTests_test_objdump_found_through_a_relative_path_entry_is_disassembled, annotate_module_AnnotateModuleTests_test_mismatching_database_name_is_not_used, annotate_module_AnnotateModuleTests_test_gnu_hash_gives_the_symbol_count, annotate_module_AnnotateModuleTests_test_prefixed_stub_is_recognised, annotate_module_AnnotateModuleTests_test_glob_dat_slot_referenced_by_an_indirect_call, annotate_module_AnnotateModuleTests_test_eip_references_do_not_name_the_unwrapped_address, annotate_module_AnnotateModuleTests_test_eip_relative_stubs_and_calls_use_wrapped_got_addresses, annotate_module_AnnotateModuleTests_test_none_relocation_does_not_annotate_a_stub_or_call, annotate_module_AnnotateModuleTests_test_segment_relative_operands_do_not_name_flat_import_slots, pr_overlap_tools, annotate_module_AnnotateModuleTests_test_none_relocation_keeps_the_real_import_annotation, annotate_module_AnnotateModuleTests_test_tls_symbol_is_listed_but_not_an_address, annotate_module_AnnotateModuleTests_test_export_at_address_zero_is_kept, annotate_module_AnnotateModuleTests_test_private_alias_does_not_hide_a_public_export, annotate_module_AnnotateModuleTests_test_export_aliases_without_names_keep_each_nid, … and 1,203 more

Complete output: 24,979 lines, 2.8 MB: https://gist.github.com/MarcZX10/48be24a03a41da4e364fb5ca91ebcc87

Hosted CI as GitHub shows it: passed

Jobs, newest run of each:

labels: success (PR labels)
conventions: success (Conventions)
relinker-asan: skipped (Build)
linux: skipped (Build)
edge-watch: skipped (Build)
write-watch: skipped (Build)
relinker: skipped (Build)
register-context: skipped (Build)
windows: success (Build)
library-portability: success (Emscripten library portability)
report: success (Progress report)
eligibility: success (Build)

Overall:

6 of 12 jobs passed; 6 were skipped (a skipped job gives no evidence).
AMD GPU CI comment: passed (reported by @TechLevelZero, not run by me)

Tests:

1,130 passed · 4 failed (0 new, 3 also fail on main, 1 unstable on main) · 7 skipped (ANYPS5_REQUIRE_VULKAN=1)
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5796404798 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14213#pullrequestreview-5796404798). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-06T06:06:51Z. **Review:** APPROVED --- # Tests run and reviewed: approved Approved on the tests and on comparing the diff with the description: 1,258 of 2708 tests ran and passed here (Linux, CPU-only), 3 of 4 claims in the description are confirmed by the diff (1 only partly, listed under Not verified) and no blocking finding stands. 1450 tests could not run on this machine and are not verified. ## What I ran Head `5f53bf94c86ab67e3de4cf290b1ab410544fea61`; base `d1ae628bc2f62459cce1e9872ba5632c938c71f2`. I built and tested this head on this machine, on Linux. Full build and tests (the head merged onto the base tip): passed. The Test logs section at the end has the details. Hosted CI results are read from GitHub as they are now; I did not run them. Reported by other contributors' CI comments on this head, not run by me: AMD GPU CI passed (1,130 passed · 4 failed (0 new, 3 also fail on main, 1 unstable on main) · 7 skipped (ANYPS5_REQUIRE_VULKAN=1)). I compared the full diff of 3 changed files (258 lines) with the pull request description. I ran nothing for this and looked at nothing outside the diff. ## Results | Check | Result | Note | |---|---|---| | Full build: fetch | passed | 4 s | | Full build: export | passed | 3 s | | Full build: submodules | passed | 51 s | | Full build: configure | passed | 35 s | | Full build: select | passed | | | Full build: build | passed | 1472 s | | Full build: libs | passed | | | Full build: test | passed | 109 s | | tests: guest (1621) | partly run | 354 ok, 1267 not run | | tests: check (124) | passed | 124 ok | | tests: trace (96) | passed | 96 ok | | tests: unwrap (82) | passed | 82 ok | | tests: public (65) | passed | 65 ok | | tests: annotate (64) | passed | 64 ok | | tests: audio (63) | partly run | 7 ok, 56 not run | | tests: conventions (59) | passed | 59 ok | | tests: ngs2 (48) | not run | 0 ok, 48 not run | | tests: tls (35) | passed | 35 ok | | tests: net (21) | not run | 0 ok, 21 not run | | tests: windows (21) | passed | 21 ok | | tests: 146 other groups (409) | partly run | 351 ok, 58 not run | | diff against its description | mostly confirmed | 3 of 4 claims confirmed; 0 blocking | | hosted CI (read from GitHub) | passed | 6 passed, 6 not run | ## Findings ### Blocking None in the diff of 3 changed files. ### Non-blocking None recorded. ## Not verified - Only partly confirmed by the diff: "Use a shared ten-name table for sceNetGetIfName and host interface mapping" (The diff calls HostInterfaceIndex, but its mapping implementation is not included in the changed hunks) - The HostInterfaceIndex implementation is outside the changed hunks, so its exact loopback, address, and name-matching behavior cannot be judged from this diff. - The PR description mentions Windows iphlpapi linking, but no build-system changes are present in this diff; its status is outside this part. - Only the diff and the pull request text were compared; behaviour that depends on code outside the diff is not covered. - 1450 tests could not run on this machine because its CPU lacks instructions the guest tests need (full build and tests (the head merged onto the base tip)). Their result is not verified. - No hardware or console run was done; none of those behaviors is verified. The build and tests ran on one Linux machine only. <details> <summary>Test logs (3 entries; open to read)</summary> <details> <summary>Full build and tests (the head merged onto the base tip): passed</summary> Result: ```text The build passed and nothing that ran failed; 1258 of 2708 passed; 1450 could not run because this CPU lacks instructions the guest tests need. ``` Steps: ```text Fetch: done in 4 s Export: done in 3 s Submodules: done in 51 s Configure: done in 35 s Select: done in 0 s Build: done in 1472 s Libs: done in 1 s Test: done in 109 s ``` What did not run, and why: ```text 1450 tests aborted because the CPU of this machine lacks instructions the guest tests need; they say nothing about the change (for example guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings). The base tip has not been built here yet. Run this level with the source set to the base tip to learn which failures predate the change. ``` All tests: ```text Could not run on this machine (the CPU lacks instructions the guest tests need) (1,450) By group: guest 1,267, audio 56, ngs2 48, net 21, nkwebkit 14, pad 6, savedata 5, download 5, np 3, exec 3, fiber 2, avplayer 2, and 15 more guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings, guest_freetype_postscript_info_nid, guest_libressl_free_strings_first, guest_libressl_bio, guest_libressl_bio_patched, guest_libressl_cmac, guest_libressl_cmac_patched, guest_libressl_protocol, guest_libressl_protocol_nid, guest_posix_scalar_io, guest_kernel_sys_upd_version, guest_kernel_sys_sdk_version, guest_kernel_sys_console_identity, guest_kernel_sys_cpumode, guest_kernel_sys_neo_mode, guest_kernel_sys_constant_unknowns, patched_libraries, guest_kernel_sys_pwrite, guest_kernel_sys_pwrite_patched, guest_kernel_sys, guest_kernel_sys_vm_map_timestamp, guest_kernel_sys_thread_defaults, guest_kernel_sys_barrier, guest_kernel_sys_execve, guest_kernel_sys_execvpe, guest_kernel_sys_nanosleep, guest_kernel_sys_adjtime, guest_kernel_sys_pthread, guest_kernel_sys_constants, guest_kernel_sys_dup, guest_playready, guest_firmware_constant_returns, guest_sdec_version, guest_kernel_sys_threads_main_late_load, guest_kernel_sys_threads_main_late_load_patched, guest_kernel_sys_threads_main, guest_kernel_sys_threads_main_patched, guest_gnm_neo_packets, guest_kernel_sys_pthread_np_rwlockattr, guest_kernel_sys_pthread_np_kind, guest_kernel_sys_module_internal, guest_kernel_sys_login, guest_kernel_sys_uuid, guest_kernel_sys_pselect, guest_voice_port_attr, guest_gnm_neo_retail, guest_remoteplay, guest_gnm_neo_context_state_internal, guest_vr_tracker_devices, … and 1,397 more Passed (1,258) By group: guest 354, check 124, trace 96, unwrap 82, public 65, annotate 64, conventions 59, tls 35, windows 21, linux 20, pr 15, tools 13, and 129 more public_headers, guest_json_numeric_locale_setup, pad_command_file, request_serializer, patch_lib_atrac9, pr_overlap_dependencies, mingw_host_only_test_targets, tools_nid_name_audit, build_changed_guest_tests, pr_labels, pr_overlap_encoding, pr_ready, progress_history_date_window, progress_report_inputs, compile_slot, progress_history_output, progress_render_sliver, progress_history, progress_wrappers, progress_report, tools_compdb_inventory, progress_read_encoding, progress_encoding, tools_catalog_json, tools_audit_strict_partial, annotate_module, annotate_module_ImportRelocationTests_test_symbol_entry_size_must_match_elf64, validate_patch_catalog, annotate_module_ImportRelocationTests_test_tables_cannot_read_file_padding_past_the_load_segment, annotate_module_ImportRelocationTests_test_an_exact_load_boundary_is_readable, annotate_module_ImportRelocationTests_test_contiguous_load_segments_can_cover_one_table_without_a_gap, annotate_module_ImportRelocationTests_test_none_relocations_do_not_read_the_symbol_or_add_a_slot, annotate_module_ImportRelocationTests_test_real_import_with_invalid_symbol_still_fails, annotate_module_ImportRelocationTests_test_none_relocation_does_not_replace_a_real_import, annotate_module_ObjdumpDiscoveryTests_test_llvm_objdump_is_passed_over_for_gnu_gobjdump, annotate_module_ObjdumpDiscoveryTests_test_only_llvm_objdump_is_refused_by_name, annotate_module_AnnotateModuleTests_test_names_imports_stubs_calls_and_exports, annotate_module_AnnotateModuleTests_test_unknown_nid_prints_the_nid, annotate_module_AnnotateModuleTests_test_no_names_skips_the_database, annotate_module_AnnotateModuleTests_test_a_temporary_directory_outside_the_ansi_code_page_is_disassembled, annotate_module_AnnotateModuleTests_test_objdump_found_through_a_relative_path_entry_is_disassembled, annotate_module_AnnotateModuleTests_test_mismatching_database_name_is_not_used, annotate_module_AnnotateModuleTests_test_gnu_hash_gives_the_symbol_count, annotate_module_AnnotateModuleTests_test_prefixed_stub_is_recognised, annotate_module_AnnotateModuleTests_test_glob_dat_slot_referenced_by_an_indirect_call, annotate_module_AnnotateModuleTests_test_eip_references_do_not_name_the_unwrapped_address, annotate_module_AnnotateModuleTests_test_eip_relative_stubs_and_calls_use_wrapped_got_addresses, annotate_module_AnnotateModuleTests_test_none_relocation_does_not_annotate_a_stub_or_call, annotate_module_AnnotateModuleTests_test_segment_relative_operands_do_not_name_flat_import_slots, pr_overlap_tools, annotate_module_AnnotateModuleTests_test_none_relocation_keeps_the_real_import_annotation, annotate_module_AnnotateModuleTests_test_tls_symbol_is_listed_but_not_an_address, annotate_module_AnnotateModuleTests_test_export_at_address_zero_is_kept, annotate_module_AnnotateModuleTests_test_private_alias_does_not_hide_a_public_export, annotate_module_AnnotateModuleTests_test_export_aliases_without_names_keep_each_nid, … and 1,203 more ``` Complete output: 24,979 lines, 2.8 MB: https://gist.github.com/MarcZX10/48be24a03a41da4e364fb5ca91ebcc87 </details> <details> <summary>Hosted CI as GitHub shows it: passed</summary> Jobs, newest run of each: ```text labels: success (PR labels) conventions: success (Conventions) relinker-asan: skipped (Build) linux: skipped (Build) edge-watch: skipped (Build) write-watch: skipped (Build) relinker: skipped (Build) register-context: skipped (Build) windows: success (Build) library-portability: success (Emscripten library portability) report: success (Progress report) eligibility: success (Build) ``` Overall: ```text 6 of 12 jobs passed; 6 were skipped (a skipped job gives no evidence). ``` </details> <details> <summary>AMD GPU CI comment: passed (reported by @TechLevelZero, not run by me)</summary> Tests: ```text 1,130 passed · 4 failed (0 new, 3 also fail on main, 1 unstable on main) · 7 skipped (ANYPS5_REQUIRE_VULKAN=1) ``` </details> </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!14213
No description provided.