logoalt Hacker News

victorbjorklund • today at 12:58 PM • 2 replies • view on HN

Explain? (Genuine question because I wanna know)


Replies

GTP • today at 1:03 PM

Basically, have an explicit distinction between data and code at the architectural level, to enforce "Write xor Execute" in hardware. In this way, you would prevent e.g. a buffer overflow letting an attacker injecting shellcode that gets executed later by somehow pointing at it. AFAIK the issue would still remain with some programming languages though.

➕ show 4 replies
rdevilla • today at 1:01 PM

[dead]