Is being alive a requirement here? I would guess that this is due, at least in part, to __pei386_runtime_relocator(). There's some discussion of this here:
https://sourceforge.net/p/mingw-w64/mailman/message/32721440/ The fact that it has to change the protection on the program's memory regions so it can write to them suggests this may be what you are looking for. dw On 2/9/2015 11:06 PM, niXman wrote: > niXman 2015-02-09 15:15: >> Hi, >> >> I use VMProtect[1] in a project that I build using MinGW-W64. >> VMProtect, among other things, provides the 'bool >> VMProtectIsValidImageCRC()' function which determines whether the >> program image has been patched in the memory. >> The problem is that this function always returns 'false', as if the >> program image has been patched. >> I have addressed to the VMProtect support service, and we was told that >> the problem is that MinGW-W64 itself patches the program image[2](in >> russian), and I want to know: >> 1)is this true? >> 2)what does MinGW-W64 do this for? >> 3)is it possible to do something in the effect that MinGW not doing >> this? >> >> >> Thanks. >> >> [1] http://www.vmpsoft.com/ >> [2] http://www.vmpsoft.com/forum/viewtopic.php?f=2&t=1253 > ping? Is there anyone alive? ;) > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
