Doesn't that just create "new executable code"?
Its still in the current process though, I meant you can fill the allocated memory with opcodes and execute it; not completely the same as self-modifying code.
Doesn't that just create "new executable code"?