mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
test(libkernel_sys): cover pointer validation in sceKernelIsModuleLoaded
This commit is contained in:
1 parent
5153d45acb
commit
d5935a53ce
1 file changed
+1
@@ -104,6 +104,7 @@ static void CheckIsModuleLoaded() {
|
||||
}
|
||||
Require(sceKernelIsModuleLoaded("libSceNoSuchModule.sprx") == SCE_KERNEL_ERROR_ESRCH);
|
||||
Require(sceKernelIsModuleLoaded("") == expected(""));
|
||||
Require(sceKernelIsModuleLoaded(reinterpret_cast<const char*>(0x10)) == SCE_KERNEL_ERROR_EFAULT);
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
Reference in new issue
Block a user