Repository navigation
Conversation
Progress report (1a13265 → 79ee3dc)📈 System libraries: 36.54% (+0.81%, +328 implemented, +22 declared, -1 reverted, -32 removed functions) ✅ 328 implemented
⚪ 64 behaviourally empty (constant return or throw)
🆕 22 declared as stubs
|
| Library | Name |
|---|---|
| libkernel_sys | sceKernelGetAppCategoryType |
🗑️ 32 removed
| Library | Name |
|---|---|
| libSceFreeTypeOt | sceFreeTypeOtUnknown_8cnVx1yH9_I_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_AVEEb57HhUw_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_BBRhYfYBDgU_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_DAmwG6U7YIc_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_c1nbr8oSWlg_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_ihIHD8BTNxI_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_iruPsrXCN7U_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_uDXTnGbAz44_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_yCEJIsjIOO8_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_yrtsLmTfa48_nid_no_patch |
| libSceFreeTypeOt | sceFreeTypeOtUnknown_zetC8Tp1S8w_nid_no_patch |
| libSceLibcInternal | _Thrd_abort_nid_postfix |
| libSceLibcInternal | _Thrd_create_nid_postfix |
| libSceLibcInternal | _Thrd_start_nid_postfix |
| libSceLibcInternal | _Thrd_start_with_attr_nid_postfix |
| libSceLibcInternal | _Thrd_start_with_name_attr_nid_postfix |
| libSceLibcInternal | _Thrd_start_with_name_nid_postfix |
| libSceLibcInternal | libSceLibcInternalInventory_052_nid_no_patch |
| libSceLibcInternal | libSceLibcInternalInventory_053_nid_no_patch |
| libSceLibcInternal | libSceLibcInternalInventory_240_nid_no_patch |
| libSceLibcInternal | libSceLibcInternalInventory_241_nid_no_patch |
| libSceLibcInternal | libSceLibcInternalInventory_270_nid_no_patch |
| libSceLibcInternal | libSceLibcInternalInventory_285_nid_no_patch |
| libSceLibcInternal | malloc_finalize_nid_postfix |
| libSceLibcInternal | sceLibcInternalExport6_062_V23qt24VPVs_nid_no_patch |
| libSceLibcInternal | sceLibcInternalUnknown6_031_7lCihI18N9I_nid_no_patch |
| libSceLibcInternal | sceLibcInternalUnknown6_036_7VPIYFpwU2A_nid_no_patch |
| libSceLibcInternal | sceLibcInternalUnknown6_064_za50kXyi3SA_nid_no_patch |
| libSceLibreSsl3 | Unknown_3KZ_minus_L4y1gak_nid_no_patch |
| libSceLibreSsl3 | Unknown_AiNud8LR8B4_nid_no_patch |
| libSceLibreSsl3 | Unknown_aLdgrI2jAF0_nid_no_patch |
| libSceLibreSsl3 | Unknown_pdxCm9_plus_CCc4_nid_no_patch |
Changed libraries (implemented exports)
| Library | Before | After | Change |
|---|---|---|---|
| libc | 1738/1746 (99.54%) | 1755/1763 (99.55%) | +0.0044% |
| libcairo | 75/161 (46.58%) | 86/161 (53.42%) | +6.83% |
| libkernel | 710/766 (92.69%) | 711/767 (92.70%) | +0.01% |
| libkernel_sys | 175/820 (21.34%) | 174/820 (21.22%) | -0.12% |
| libSceBgft | 0/103 (0.00%) | 3/103 (2.91%) | +2.91% |
| libSceFreeType | 133/142 (93.66%) | 142/151 (94.04%) | +0.38% |
| libSceFreeTypeOt | 121/195 (62.05%) | 122/197 (61.93%) | -0.12% |
| libSceIcu | 107/2742 (3.90%) | 113/2742 (4.12%) | +0.22% |
| libSceJxr | 85/136 (62.50%) | 106/139 (76.26%) | +13.76% |
| libSceLibcInternal | 323/1137 (28.41%) | 347/1128 (30.76%) | +2.35% |
| libSceLibreSsl | 282/446 (63.23%) | 287/460 (62.39%) | -0.84% |
| libSceLibreSsl3 | 514/680 (75.59%) | 540/683 (79.06%) | +3.47% |
| libSceNKWebKit | 2568/11257 (22.81%) | 2755/11258 (24.47%) | +1.66% |
| libSceNpCppWebApi | 1079/1436 (75.14%) | 1080/1436 (75.21%) | +0.07% |
| libSceRegMgr | 13/74 (17.57%) | 15/74 (20.27%) | +2.70% |
| libwebrtc | 131/412 (31.80%) | 145/412 (35.19%) | +3.40% |
Jawschamp
force-pushed
the
feat/nkwebkit-inspector-placement-new
branch
2 times, most recently
from
November 9, 2026 19:41
6080104 to
4419ad9
Compare
…der-modifiers test(agc): measure which operand modifiers the RDNA decoder accepts
…ssl3-evp-pkey-base-id feat(libSceLibreSsl3): implement EVP_PKEY_base_id
…heap-rounding-and-file-streams fix(tests): fix leaks and a dead loop in heap rounding and file stream tests
title_run gave the relinker only eboot.bin and sce_module/, so a Unity title converted none of its Media/Modules or Media/Plugins modules and stopped at start-up loading Il2CppUserAssemblies.prx. Modules in the directories named by --module-dir among the title's relink flags are now unwrapped into the relinker's input too. Middle Ages Ping Pong (PPSA28319) gets those flags and reaches its main menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The relinker takes any ELF file in a module directory and accepts an empty explicit directory. Staging copied only *.prx files and created no directory without one, so a plugin.sprx was dropped and an empty --module-dir failed with "Guest module path is not a directory". A directory missing from the package is still not created, so the relinker rejects it as it does on a direct run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With --module-dir . the package root is a module directory, so
eboot.bin was staged a second time beside eboot.elf and the relinker
refused it as a module ("ELF is not a shared module"). Skip
eboot.bin, the title's other executables and any path that is the
same file as one of them.
Reported by JJenkx on boykopovar#16102 with BloodRayne 2 (PPSA05975).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Firmware 13.42's libSceLibreSsl3.sprx implements ERR_load_PEM_strings, ERR_load_X509_strings, OpenSSL_add_all_digests, SSL_CTX_set_post_handshake_auth and SSL_set_quic_use_legacy_codepoint as a single ret, and SSL_CTX_set_max_early_data and SSL_process_quic_post_handshake as returning 1. They threw. Prototypes come from LibreSSL's ssl.h, pem.h, x509.h and evp.h. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…struction-probe test(relinker): skip host instructions the CPU cannot execute
…an-with-fuzzers fix(cmake): reject ANYPS5_ENABLE_TSAN with ANYPS5_BUILD_FUZZERS
…bitset-to-string feat(libSceLibcInternal): implement __std_bitset_to_string_1 and _2
…h-group-count-limit test(agc): split the native depth fetch dispatches at the device workgroup count limit
…dule-dirs fix(tools): stage a title's --module-dir modules in title runs
…al-returns feat(libSceLibreSsl3): return from four calls as firmware 13.42 does
…encrypt without parity or weak-key checks
The Windows job allowed 90 minutes only for a full workflow_dispatch run and 45 for every other event, so the full test run that a push to main starts exceeded 45 minutes and timed out. Use 90 minutes for all events.
…ercobbler/squad2-worker10-leb128-overflow test(relinker): extend signed LEB128 displacement fuzzing and overflow checks
…t-version * origin/main: (283 commits) test(relinker): extend signed LEB128 displacement fuzzing and overflow checks docs(libSceLibreSsl3): recount additional exports after rebase fix(libSceLibreSsl3): leave the three loaders to boykopovar#17246 feat(libSceLibreSsl3): return from seven calls as firmware 13.42 does fix(tools): leave a title's executables out of its module directories fix(tools): stage every ELF or SELF module and empty module directories fix(tools): stage a title's --module-dir modules in title runs docs(libSceLibreSsl3): record EVP_PKEY_base_id test(libSceLibreSsl3): check that EVP_PKEY_base_id maps aliases to the LibreSSL 4.0.0 base methods feat(libSceLibreSsl3): implement EVP_PKEY_base_id feat(libSceLibcInternal): implement __std_bitset_to_string_1 and _2 fix(main): retry the storage refresh runs of label_ordered_flush until one takes the ordered flush test(libSceFreeType): expect an invalid face handle for a null face fix(libSceFreeType): reject a null face before FreeType sets variation coordinates feat(libcinternal): implement float and double min/max vector helpers feat(libSceLibreSsl3): implement X509_STORE_CTX_new, free, get0_param and X509_STORE_up_ref test(libc): let the file stream owner release its pointer on Windows fix(cmake): report the fuzzer and TSAN conflict before the TSAN platform check test(libwebrtc): check rtc::RateTracker rounding with an odd bucket width feat(libwebrtc): implement rtc::RateTracker ... # Conflicts: # docs/dev/debt/libSceLibreSsl3.md
…ssl3-des-set-key-unchecked feat(libSceLibreSsl3): implement DES_set_key_unchecked
…tomics docs(shader): measure the flat atomic denormal rule
…te-symlink-privilege test(tools): skip the validation gate symlink-loop test without symlink privileges
…-register-abort-answers test(libSceNpTrophy2): pin the argument-free answers of RegisterContext and AbortHandle
Main build 42896116691 (b668293) failed guest_job_manager_worker_spin at the no-pending check (14.0 ms against a 13.0 ms bound: spin=0 4.5 ms, spin=50 45 ms, reference 5 ms) even after the quietest-of-7 of boykopovar#18200. The bound parked + interval/3 sits 1 ms above the noise floor, while a real spin reads ~40 ms; parked + interval (25 ms) stays between both. The other failure of that run, progress_history_csv (boykopovar#12766), is fixed by boykopovar#18202. Co-Authored-By: Claude <noreply@anthropic.com>
…ending fix(main): widen the no-pending bound of guest_job_manager_worker_spin
Several test executables stage the same prx files into build/tests in parallel as a post-link step. On GitHub Windows this failed three times on main with "Permission denied" (guest_np_trophy_unlocks_tests, savedata) and "No such file or directory" (guest_jpeg_encode_capacity_tests), stopping the whole build. The copy now goes through a small cmake script that retries each file up to 20 times, 0.25 s apart, and still fails if the file cannot be copied.
…nding-exports feat(libSceBgft): answer registration with the console's rejection
…d-naming docs(usage): remove nonexistent --set, list deprecated trap flag, name link Web converter
The script is argument 3 after -P, so the staging loop copied CopyRuntimeFiles.cmake itself into build/tests. Start at the first file and reject a call that is not in the -P shape.
…-sema-attrs-and-anchor docs(debt): correct sceKernelCreateSema attributes and a broken libkernel anchor
…ner took in A native D32S8 owner can take in a multisampled colour target over one of its planes: the R32F target over the depth plane that the import accepts when HTILE proves its clear, or the R8 target over the stencil plane whose fill the owner applies as its stencil clear. Publishing a written owner to the guest refused whenever any colour target was resident over a plane. If that target has not cleared, drawn or taken a fill since the owner took its content in, every depth or stencil write of the owner is newer than the target's samples. Publication now goes ahead over such a target, re-checks it before the planes commit and retires it after them. Any other colour target over a plane still refuses. Ghost of Tsushima Director's Cut (PPSA02225) stopped on main at "compute shader 0x20001f3500: AGC graphics: native multisample depth publication over a resident colour target is not implemented".
docs(libkernel_sys): record the SDK versions a PS5 payload process reports
…in-timeout fix(main): give the worker_spin tests room for seven attempts
…lized-script-value
…typeot-stubs refactor(prx): name the FreeTypeOt stubs the NID database resolves
…-validates-guest-memory fix(libSceImeDialog): validate guest pointers in sceImeDialogInit and its accept write
…race fix(main): retry the test prx staging copies on Windows
…age-payload-before-expansion fix(libSceAmpr): stage command payloads before a buffer expansion
perf(agc): answer guard range checks from a per-thread span copy before taking the guard locks
…e-headers-pair-rollback-20261031 fix(tools): restore header archive pair on promotion failure
…relative-sleep feat(libcinternal): implement relative thread sleep
…ialized-script-value feat(libSceNKWebKit): implement WKSerializedScriptValue creation and deserialization helpers
…k_ghost3 fix(agc): publish native multisample depth over a colour alias its owner took in
docs(libSceVideoOut): record a PS5 measurement of the vblank status third word
…omic-wait-20261103 feat(libc): forward the std::atomic wait and notify helpers to libkernel
test(libc): bound UTF-16 string comparisons at protected pages
docs(libkernel): record PS5 firmware 11.60 values of sceKernelGetSystemSwVersion
…nt new Implement the 40 placement operator new and operator new[] exports of the Animation, ApplicationCache, Browser, CSS, Canvas, Console, DOM, DOMStorage, Database, Debugger, Heap, Inspector, LayerTree, Network, Page, Runtime, ScriptProfiler, Target, Timeline and Worker FrontendDispatcher classes. The pinned PS5-WebKit-11.x FastMalloc.h defines both as returning their location argument under WTF_MAKE_FAST_ALLOCATED. The tests call each export with local buffers and check the returned pointer only.
adriadam10
force-pushed
the
feat/nkwebkit-inspector-placement-new
branch
from
November 10, 2026 23:20
aed5e04 to
79ee3dc
Compare
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
Implements 40 libSceNKWebKit exports that threw
NotImplemented_nid_no_patchas parameterless placeholders: the placementoperator new(unsigned long, void*)andoperator new[](unsigned long, void*)of theInspector::*FrontendDispatcherclasses for the Animation, ApplicationCache, Browser, CSS, Canvas, Console, DOM, DOMStorage, Database, Debugger, Heap, Inspector, LayerTree, Network, Page, Runtime, ScriptProfiler, Target, Timeline and Worker domains. Their placeholders leaveExport.cppandinclude/InventoryExports.hpp, anddocs/dev/debt/libSceNKWebKit.mdgoes from 7437 to 7397 additional exports, loses their 40 table rows and gains one entry. Declarations with real signatures are in the newinclude/InspectorExports.hpp, the code insrc/InspectorDispatchers.cpp.WTF_MAKE_FAST_ALLOCATED_IMPLdefinesvoid* operator new(size_t, void* p) { return p; }andvoid* operator new[](size_t, void* p) { return p; }in the pinned PS5-WebKit-11.xFastMalloc.h.generate-inspector-protocol-bindings.pyrun on the pinnedSource/JavaScriptCore/inspector/protocol/*.json: every generated<Domain>FrontendDispatcheris declared withWTF_MAKE_FAST_ALLOCATED. The generator output was read locally and not added to the repository.operator new,operator new[],operator delete,operator delete[]andCSSFrontendDispatcherconstructors, which open PRs feat(libSceNKWebKit): forward the exports the 11.00 module aliases boykopovar/AnyPS5#13947 and feat(libSceNKWebKit): store the measured fields boykopovar/AnyPS5#14391 already implement; the dispatcher event methods andCSSBackendDispatcher, which need the unimplementedFrontendRouter, JSON values andBackendDispatcher.Tested
Linux x86_64, GCC 14.2 (g++ extracted from Debian trixie packages),
-DBUILD_TESTING=ON. Hardware and titles: not tested.nkwebkit_inspectordispatchers(auto-registered fromtests/InspectorDispatchers.cpp) calls each of the 40 exports with local buffers, with sizes 0, 1, 8, 64, the buffer size and the maximumsize_t, and checks that the returned pointer equals the location argument, including a null location. It runs in under 0.01 s.ctest -R nkwebkitpasses all 12 tests.tools/check_conventions.py --base origin/main,tools/check_test_registration.pyandcore/libs/tests/test_public_headers.py --audit-onlypass.tools/unclaimed_exports.py --refresh --lib libSceNKWebKitonmain1c8c0ef listed all 40 as FREE. A scan of the added and removed lines of every open PR diff (1621 diffed) for the 40 mangled names and NIDs found none; feat(libSceNKWebKit): forward the exports the 11.00 module aliases boykopovar/AnyPS5#13947 only removes the non-placementnwEmandnaEmforms next to them.tools/pr_overlap.py --branch feat/nkwebkit-inspector-placement-newexits 2 (fails closed). Its only same-exports hit is fix(relinker): match AppContent utility import to provider boykopovar/AnyPS5#13486, a stacked draft relinker PR whose own diff is 3 relinker files and none of these exports. It reports textual overlap inExport.cpp,InventoryExports.hpp,libSceNKWebKit.hppand thedocs/dev/debt/libSceNKWebKit.mdcount line with many open libSceNKWebKit PRs, including feat(libSceNKWebKit): implement the exports the 11.00 module leaves empty boykopovar/AnyPS5#13930, feat(libSceNKWebKit): forward the exports the 11.00 module aliases boykopovar/AnyPS5#13947 and feat(libSceNKWebKit): store the measured fields boykopovar/AnyPS5#14391, whose removed stubs sit next to these; it could not compare fix(relinker): match AppContent utility import to provider boykopovar/AnyPS5#13486, feat(libSceNKWebKit): expose two scalar data exports boykopovar/AnyPS5#13515, feat(libSceNKWebKit): implement geometry enclosure helpers boykopovar/AnyPS5#14138, docs(debt): separate entries with blank lines and drop derived export totals boykopovar/AnyPS5#14212, feat(libSceNKWebKit): implement floating-point String formatting boykopovar/AnyPS5#14259, feat(libSceNKWebKit): implement WKAuthenticationChallenge and WKAuthenticationDecisionListener boykopovar/AnyPS5#15173, feat(libSceNKWebKit): implement WKNotification property getters boykopovar/AnyPS5#15175, feat(libSceNKWebKit): implement WKFormSubmissionListenerContinue boykopovar/AnyPS5#15184, feat(libSceNKWebKit): implement WKPopupMenuItem property queries boykopovar/AnyPS5#15216, feat(libSceNKWebKit): implement WKAXObject property getters boykopovar/AnyPS5#15217, feat(libSceNKWebKit): implement WKDownload property queries boykopovar/AnyPS5#15218 and feat(libSceNKWebKit): implement WKBundleHitTestResult property getters boykopovar/AnyPS5#15224 because they conflict withmain, and their diffs (checked with the cached PR diffs) add none of the 40 exports.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)