The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Dagger on October 11, 2006, 02:58:27 AM

Title: Two questions
Post by: Dagger on October 11, 2006, 02:58:27 AM
1. Can anyone show me an example of changing an instruction from JNE to JE (I believe that it's changing the opcode) using WriteProcessMemory?

2. Is there a way to freeze a pointer's value without setting a loop?
Title: Re: Two questions
Post by: hutch-- on October 11, 2006, 05:37:40 AM
Dagger,

Leave this stuff alone in this forum or it will be deleted according to the rules.
Title: Re: Two questions
Post by: P1 on October 11, 2006, 03:22:27 PM
Changing someone else's code is not permitted, because it is as a general rule, illegal to do so.

If your modifing your code, fix it in the source properly.

M$ has draw the battle line for in memory modification of executable code.  Look up what they mean by managed vs unmanaged code.  Vista will not permit these types of code modifications.  In the end, all code will become managed by signing it locally.  But then it will not run on anyone else's system either, after that.

Regards,  P1  :8)