fdfawef324 and Claude Opus 5.5
0f77f3e07f
feat(libSceDbgThreadSanitizer): declare the TSan annotation calls and report the sanitizer disabled
...
Black Myth: Wukong (PPSA23226) exits at start-up with
STATUS_DLL_NOT_FOUND after "Failed to load module:
libs\libSceDbgThreadSanitizer.prx". The executable does not need the
library: its bundled sce_module/libSceJobManager_nosubmission.prx lists
it in DT_NEEDED and imports __tsan_acquire and __tsan_release from it,
plus sceKernelIsThreadSanitizerEnabled from libkernel. The relinker
converts every module in sce_module and loads it at start-up (only
--module-dir directories are deferred), and GuestModuleBuilder adds each
module's host dependencies to the executable's DT_NEEDED, which the
Windows start-up stub loads.
libSceDbgThreadSanitizer now exports __tsan_acquire and __tsan_release
with the void(void* addr) signatures of LLVM compiler-rt's
tsan_interface.h (llvm-project 87f0227cb601, LLVM 20.1.8). Both throw:
AnyPS5 runs no race detector, and the module calls them only after
sceKernelIsThreadSanitizerEnabled reports the sanitizer enabled.
libkernel's sceKernelIsThreadSanitizerEnabled returns 0, as
sceKernelIsAddressSanitizerEnabled does; its int(void) signature is
assumed and recorded in the libkernel debt file.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-13 02:12:05 -04:00
..
2026-10-11 23:40:46 +02:00
2026-10-12 00:11:17 -03:00
2026-10-11 23:42:53 +02:00
2026-10-12 16:14:25 +03:00
2026-10-13 07:19:26 +13:00
2026-10-12 22:10:58 +01:00
2026-10-11 18:35:17 -05:00
2026-10-12 02:28:14 +04:00
2026-10-12 22:57:04 +02:00
2026-10-12 18:46:43 +00:00
2026-10-12 18:46:43 +00:00
2026-10-12 17:35:16 +13:00
2026-10-11 18:51:28 -04:00
2026-10-12 14:59:36 -04:00
2026-10-11 23:53:37 +02:00
2026-10-12 00:01:17 +02:00
2026-10-13 00:34:12 +05:30
2026-10-13 00:34:12 +05:30
2026-10-12 22:04:17 +02:00
2026-10-13 04:43:50 +00:00
2026-10-13 00:25:13 +05:30
2026-10-12 12:26:15 +00:00
2026-10-12 08:32:16 -04:00
2026-10-12 12:34:35 +02:00
2026-10-12 12:34:35 +02:00
2026-10-12 12:34:35 +02:00
2026-10-12 12:34:35 +02:00
2026-10-12 18:46:05 +00:00
2026-10-12 01:51:01 +00:00
2026-10-12 21:01:33 +02:00
2026-10-12 21:27:00 +02:00
2026-10-12 12:17:25 +05:30
2026-10-12 17:33:03 +13:00
2026-10-12 23:07:39 +02:00
2026-10-12 16:23:42 -03:00
2026-10-12 16:03:47 +02:00
2026-10-13 17:49:02 +13:00
2026-10-13 02:32:30 +13:00
2026-10-11 23:52:50 +02:00
2026-10-12 16:07:49 +13:00
2026-10-12 01:39:07 +02:00
2026-10-12 01:39:07 +02:00
2026-10-12 18:46:43 +00:00
2026-10-12 12:09:41 +05:30
2026-10-12 22:15:55 +01:00
2026-10-12 19:00:08 -03:00
2026-10-12 12:24:57 +02:00
2026-10-11 23:53:59 +02:00
2026-10-12 22:08:23 +02:00
2026-10-12 21:59:19 +02:00
2026-10-12 20:01:34 +13:00
2026-10-11 21:06:55 -03:00
2026-10-12 18:42:53 +00:00
2026-10-12 12:50:24 +13:00
2026-10-12 22:56:28 +02:00
2026-10-12 23:11:01 +02:00
2026-10-13 11:53:02 +13:00
2026-10-12 01:04:39 +03:00
2026-10-11 16:05:26 -07:00
2026-10-12 20:32:48 -04:00
2026-10-13 17:46:44 +13:00
2026-10-13 01:47:03 +00:00
2026-10-13 04:29:25 +05:30
2026-10-11 23:40:45 +02:00
2026-10-11 23:40:46 +02:00
2026-10-11 23:40:46 +02:00
2026-10-11 23:40:46 +02:00
2026-10-11 23:40:46 +02:00
2026-10-11 23:40:46 +02:00
2026-10-12 20:03:59 +01:00
2026-10-12 11:32:47 -03:00
2026-10-12 22:34:51 +02:00
2026-10-12 22:54:23 +02:00
2026-10-12 08:53:30 +00:00
2026-10-12 18:46:44 +00:00
2026-10-12 22:05:23 +01:00
2026-10-12 21:58:36 +02:00
2026-10-12 07:49:09 +00:00
2026-10-12 05:20:17 -04:00
2026-10-12 04:47:59 +02:00
2026-10-12 23:11:21 +02:00
2026-10-13 13:37:28 +13:00
2026-10-11 23:54:18 +02:00
2026-10-12 22:36:59 +02:00
2026-10-12 21:40:24 +13:00
2026-10-11 20:59:17 -03:00
2026-10-11 21:09:08 -03:00
2026-10-11 22:16:59 +00:00
2026-10-11 21:06:55 -03:00
2026-10-12 18:43:43 +00:00
2026-10-12 23:26:25 +05:30
2026-10-11 23:53:36 +02:00
2026-10-12 15:01:35 +00:00
2026-10-12 21:58:39 +02:00
2026-10-12 01:49:40 +00:00
2026-10-12 19:44:03 +00:00
2026-10-11 22:43:17 -04:00
2026-10-12 22:59:26 +02:00
2026-10-12 22:03:56 +02:00
2026-10-11 19:47:18 -03:00
2026-10-12 22:47:55 +02:00
2026-10-12 18:46:45 +00:00
2026-10-12 21:58:43 +02:00
2026-10-11 23:40:45 +02:00
2026-10-12 17:47:33 -03:00
2026-10-12 17:47:34 -03:00
2026-10-11 23:43:47 +02:00
2026-10-12 18:03:53 -04:00
2026-10-12 08:03:38 +00:00
2026-10-12 00:11:53 +02:00
2026-10-13 02:38:01 +00:00
2026-10-12 19:42:52 +02:00
2026-10-13 07:26:35 +13:00
2026-10-12 02:52:07 +00:00
2026-10-12 16:22:34 +02:00
2026-10-12 16:18:42 -04:00
2026-10-12 03:18:00 +02:00
2026-10-13 17:01:30 +13:00
2026-10-12 21:48:20 +02:00
2026-10-13 02:12:05 -04:00
2026-10-11 22:23:16 +00:00
2026-10-13 01:47:03 +00:00
2026-10-13 16:53:12 +13:00
2026-10-12 22:48:53 +02:00
2026-10-12 22:32:42 +02:00
2026-10-11 20:35:58 -03:00
2026-10-11 20:12:43 -03:00
2026-10-12 04:06:54 -06:00
2026-10-12 00:01:03 +02:00
2026-10-12 21:58:02 +05:30
2026-10-13 07:20:09 +13:00
2026-10-13 03:38:29 +02:00
2026-10-13 15:37:49 +13:00
2026-10-13 13:23:56 +13:00
2026-10-12 16:08:53 +13:00
2026-10-12 18:25:29 +13:00
2026-10-12 09:42:51 -04:00
2026-10-13 10:37:27 +05:30