I append a new segment right after the original ones in IDA, and I modify an instruction in .text seg to jump to the new seg to run my new codes. But when I use Local Windows debugger, it warns that "The memory could not be written" and the procedure is aborted.
I'm sure I've enabled the patch. But I can see in runtime that Hex View shows that memory of the address in the new seg that I jump to remains "00 00 00 00 ..."(Not my codes added).
So, how can I figure it out? Or maybe there's no solution cuz I've googled this problem for nearly 6hrs. Only one question relates to it, and the solution is using another debugger, but I want to add a new seg into the binary file.