mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
sceCoredumpWriteUserData (Dbbkj6YHWdo) and sceCoredumpDebugTextOut
(dei8oUx6DbU) get the signatures of Orbital's db_types.json (cc408367)
and SharpProspero's KernelSystem.cs (5dfdb4b0): ssize_t (const void*,
size_t) and void (const char*, int). WriteUserData moves out of
Unimplemented.cpp.
User data belongs to the core dump handler: the Vita's
sceCoredumpWriteUserData returns 0x800A0003 ("No user-data capture is
active") outside it (vita-headers e66ebe90), and the RED engine's PS4
crash handler makes every coredump call from its handler (Vangaurd
4f86d2b0). The handler is never invoked here, so WriteUserData returns
SCE_COREDUMP_ERROR_NOT_IN_COREDUMP_HANDLER (0x81180003, shadPS4
coredump_error.h e0a46675) sign-extended and keeps nothing; a null,
empty or wrapping buffer throws because the order of the console's
checks is unknown. DebugTextOut prints its text to stderr with the
[coredump] prefix; a negative length or a null text with a nonzero
length throws.
Evidence: Broken Sword Reforged (PPSA21480) reaches the family through
its sibling, #3704 comment 6113687542: "`ERROR agc_graphics.cpp:266
Sony call failed with code 8a6c9018` (the resource registration error,
followed by the error dialog), then `sceCoredumpWriteUserString not
implemented`." WriteUserString has no declaration in any source and
keeps throwing; its TechnicalDebt entry records the call. 007 First
Light (PPSA11386) imports WriteUserData (#2523) without calling it
before its stop.
Test: guest_coredump_user_data.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
119 lines
2.9 KiB
C++
119 lines
2.9 KiB
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceKernelGetCpuTemperature(int *out_celcius) {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
int APS5_VABI __tls_get_addr_nid_postfix(void) {
|
|
NotImplemented_nid_no_patch("vNe1w4diLCs");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("AC1FtjqMCL0", sceKernelUnknown03);
|
|
int APS5_VABI sceKernelUnknown03(void) {
|
|
NotImplemented_nid_no_patch("AC1FtjqMCL0");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("0iEKNAvT600", sceKernelUnknown04);
|
|
int APS5_VABI sceKernelUnknown04(void) {
|
|
NotImplemented_nid_no_patch("0iEKNAvT600");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("2cELEBPdYQ0", sceKernelUnknown05);
|
|
int APS5_VABI sceKernelUnknown05(void) {
|
|
NotImplemented_nid_no_patch("2cELEBPdYQ0");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("5xYxiOtOccA", sceKernelUnknown06);
|
|
int APS5_VABI sceKernelUnknown06(void) {
|
|
NotImplemented_nid_no_patch("5xYxiOtOccA");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("6W+shIH315Q", sceKernelUnknown07);
|
|
int APS5_VABI sceKernelUnknown07(void) {
|
|
NotImplemented_nid_no_patch("6W+shIH315Q");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("7ilObq815O4", sceKernelUnknown08);
|
|
int APS5_VABI sceKernelUnknown08(void) {
|
|
NotImplemented_nid_no_patch("7ilObq815O4");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("7iq7Hfs8HBk", sceKernelUnknown09);
|
|
int APS5_VABI sceKernelUnknown09(void) {
|
|
NotImplemented_nid_no_patch("7iq7Hfs8HBk");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("AMJZhpC+siY", sceKernelUnknown10);
|
|
int APS5_VABI sceKernelUnknown10(void) {
|
|
NotImplemented_nid_no_patch("AMJZhpC+siY");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("E9XkHowt+dY", sceKernelUnknown11);
|
|
int APS5_VABI sceKernelUnknown11(void) {
|
|
NotImplemented_nid_no_patch("E9XkHowt+dY");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("GADjreszOgM", sceKernelUnknown12);
|
|
int APS5_VABI sceKernelUnknown12(void) {
|
|
NotImplemented_nid_no_patch("GADjreszOgM");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("Giyg2xGrXDU", sceKernelUnknown13);
|
|
int APS5_VABI sceKernelUnknown13(void) {
|
|
NotImplemented_nid_no_patch("Giyg2xGrXDU");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("KC3y21wrqzc", sceKernelUnknown14);
|
|
int APS5_VABI sceKernelUnknown14(void) {
|
|
NotImplemented_nid_no_patch("KC3y21wrqzc");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("Qb8wS4GZUsw", sceKernelUnknown15);
|
|
int APS5_VABI sceKernelUnknown15(void) {
|
|
NotImplemented_nid_no_patch("Qb8wS4GZUsw");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("aAQZSjb2fho", sceKernelUnknown16);
|
|
int APS5_VABI sceKernelUnknown16(void) {
|
|
NotImplemented_nid_no_patch("aAQZSjb2fho");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("pnz21I6VjDs", sceKernelUnknown17);
|
|
int APS5_VABI sceKernelUnknown17(void) {
|
|
NotImplemented_nid_no_patch("pnz21I6VjDs");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("qk043QPsrZU", sceKernelUnknown18);
|
|
int APS5_VABI sceKernelUnknown18(void) {
|
|
NotImplemented_nid_no_patch("qk043QPsrZU");
|
|
return 0;
|
|
}
|
|
|
|
APS5_EXPORT("uDGXwUKqi8s", sceKernelUnknown19);
|
|
int APS5_VABI sceKernelUnknown19(void) {
|
|
NotImplemented_nid_no_patch("uDGXwUKqi8s");
|
|
return 0;
|
|
}
|
|
}
|