MemoryModule icon indicating copy to clipboard operation
MemoryModule copied to clipboard

TLS not set correctly

Open apollo0510 opened this issue 8 years ago • 2 comments

This loader does not support __declspec(thread) variables at all. Any attempt to access those variables will lead to a crash or memory corruption. The reason is, that the loader does NOT initialize the implicit tls index (not to be confused with the conventional manual one) at all. Please read http://www.nynaeve.net/?p=185 for a background on this. Thanks for your attention.

apollo0510 avatar Jan 20 '17 22:01 apollo0510

@apollo0510 facing same issue here, any idea how to solve it? x64 dll is crashing when compiled with implicit tls callbacks

chico-depressive avatar Apr 01 '17 00:04 chico-depressive

This seems to be a duplication of Issue #31.

harrysummer avatar Mar 28 '18 18:03 harrysummer