mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
feat(libkernel): implement disabled address sanitizer state + replacement tables
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user