The runtime library of the VC8 C/C++ compiler which comes with Microsoft Visual Studio 2005 checks if certain symbols reside in read-only sections.
Affected are __dyn_init_tls_callback
and certain symbols used to initialize the floating point code (eg. printf("%f", ...)
will mysteriously fail with code R6002 if the runtime is not properly set up).
Workaround can be found in UPX and also SecuROM now :)
posted at: 14:15 | path: /rant | permanent link