Is it a good idea to let WriteProcessMemory manage the page protection for me?

1 · Raymond Chen · July 29, 2019, 3:16 p.m.
Some time ago, I noted that the Write­Process­Memory function will make a page read-write if necessary, as a courtesy to debuggers who want to use it to patch code. Is this something you should rely on? No, it’s not something you should rely on. The post Is it a good idea to let <CODE>WriteProcessMemory</CODE> manage the page protection for me? appeared first on The Old New Thing....