4 ms·
Self modifying code is not a security issue in and of itself, but it requires memory that is writable and executable (though, not necessarily at the same time).
by saagarjha 8y ago
Self modifying code is not a security issue in and of itself, but it requires memory that is writable and executable (though, not necessarily at the same time). This is usually a bad idea because it makes arbitrary code execution much easier if your code has unrelated bugs in it, because it provides attackers a place to write shellcode and get it to run.