Log in

View Full Version : Flag Read/write of header section


Frenchy
July 3rd, 2004, 05:19
IS it possible to do that:

during execution of prog..i would change its flag of section .text. (code) to have read and write..after i modify some instruction in coding..and then put off the flag write of the section....

thanks for help

dELTA
July 3rd, 2004, 07:36
You cannot do this by modifying the section flags during runtime, but you can indeed accomplish it by using the VirtualProtectEx API and friends instead.

Frenchy
July 3rd, 2004, 07:50
thanks delta, i go and see that...