Link gta6rt with /MAP and read gta6rt.map to name each TLS callback.
Fail on the C++ runtime's __dyn_tls_init (tlsdyn.obj) and __dyn_tls_dtor (tlsdtor.obj), allow Rust std's thread-local callback, fail on the rest.
A callback the map does not name, a missing map or a stale map fails with a message.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A thread_local with a destructor gives gta6rt.exe __dyn_tls_init/__dyn_tls_dtor callbacks;
the title's own _register_thread_local_exe_atexit_callback then fast-fails (0xC0000409).
check_pe_tls_callbacks.py reads the PE TLS directory and fails on a non-empty list; a stdlib
test checks it on two in-memory PE32+ images.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>