Hello, I'm programming a debugger and I want it to set breakpoint to the entrypoint of debugged application. I don't want to physically modify the exe file nor use any undocumented or unreliable techniques (for ex. setting hardware breakpoins from ring0 etc.).
I wanted to set software breakpoint on CREATE_PROCESS_DEBUG_EVENT, but under winXP I cannot write to the process' memory as the process is not somehow initialised yet.
Does anybody have some experience with that?