my executable (windows) is creating a section like this:
Code: Select all
#pragma section(".hdata", read)
#pragma data_seg(".hdata$1")
#pragma data_seg()
__declspec (allocate(".hdata$1"))
Now if I enable "Excluded from memory protection" and "Excluded from Packing", only "Exclude from Packing" is going to work, after changing the variable in .hdata it's going to throw the "File corrupted! This program has been manipulated and maybe it's infected by a Virus or cracked. This file won't work anymore." error.