If we mark the stack and heap segement as non executable,
1.No code will execute.
2.return-oriented programming will also not be able to exploit it.
3.we can prevent overflow code execution.
4.All of the above.
Answers
Answered by
6
Answer:
execution occurs in the code section, which is neither stack nor heap. In a typical paged memory system, the code from a program file (e.g., a.exe in Windows) is loaded into executable but read-only pages. Additional writable (and executable) pages are allocated to the process for the stack and heap.
The suggestion here is that the operating system and hardware should cooperate to mark those pages writable but not executable.
Explanation:
Answered by
0
Answer:
4
Explanation:
1
2
3
Similar questions