feat(libkernel): implement disabled address sanitizer state + replacement tables

This commit is contained in:
boykopovar
2026-09-26 17:34:30 +03:00
parent 9fd6816356
commit c9cb3cae39
@@ -1,23 +1,19 @@
#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int APS5_VABI sceKernelIsAddressSanitizerEnabled(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
return 0;
}
MallocReplace* APS5_VABI sceKernelGetSanitizerMallocReplaceExternal(void) {
NotImplemented_nid_no_patch(__func__);
return nullptr;
static MallocReplace replacement{};
return &replacement;
}
NewReplace* APS5_VABI sceKernelGetSanitizerNewReplaceExternal(void) {
NotImplemented_nid_no_patch(__func__);
return nullptr;
static NewReplace replacement{};
return &replacement;
}
}