feat(libkernel): export execv #3544
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3544"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-11T12:56:31Z.
What
Exports
execv(KaK52lYTBIs) from libkernel next toexecvp, and like it, it throws (NotImplemented, "execv: executable replacement"): replacing the process image is not supported. TechnicalDebt lists it next toexecvp. There is no test, as for the other exports that only throw.XPSemu (PPSA97358) imports it from the same module as
execvpand stops at it onmaina11c8f7f(catalog build,eboot.binandsce_module/libc.prxunwrapped as #2605 requires; tracked in #1578):app.elf: symbol lookup error: app.elf: undefined symbol: KaK52lYTBIsFAIL: unresolved ELF import KaK52lYTBIs (execv) from libkernel.prxapp.elf: symbol lookup error: app.elf: undefined symbol: mrbHXqK8wkg(sigwait)FAIL: unresolved ELF import mrbHXqK8wkg (sigwait) from libkernel.prxDusklight (PPSA99305, 0.1.1, new in the catalog) stops at it too:
app.elf: symbol lookup error: app.elf: undefined symbol: KaK52lYTBIsFAIL: unresolved ELF import KaK52lYTBIs (execv) from libkernel.prxapp.elf: symbol lookup error: app.elf: undefined symbol: owKuegZU4ew(logb, in #3598)FAIL: unresolved ELF import owKuegZU4ew (logb) from libSceLibcInternal.prxTested
Linux (Ubuntu 24.04, GCC 13) and Windows 11 (MinGW-w64 GCC 15.2 from WinLibs), Release: libkernel builds with no warnings in
Process.cpp, and the XPSemu and Dusklight lines above.check_conventions.pypasses.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T12:56:52Z.
Progress report (
a11c8f7→0e9a8dd)📉 System libraries: 85.79% (-0.02%, +1 declared functions)
🆕 1 declared as stubs
execv_nid_postfixImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:28:09Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL416docs/dev/TechnicalDebt.mdL416Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:33:04Z.
Checked:
execv(KaK52lYTBIs) matches the NID name, mirrorsexecvp(throwsNotImplemented), TechnicalDebt line is in place; libkernel build and ctest (93 tests) pass on Linux. Merging.