Re:JIT-Less V8
by hashseed on Wednesday March 13, 2019 @12:46PM
(#19380547)
V8 already employs W^X, i.e. memory pages allocated for V8's heap are either writable or executable, but not both at the same time.
[ Parent
| on HN ]
Re:JIT-Less V8
by MikeHolman on Wednesday March 13, 2019 @03:45PM
(#19382889)
By allowing JIT at all, a small ROP chain can call VirtualProtect to make a larger payload executable.
Sure you can do everything with ROP, but it is less convenient (and Intel CET might eventually make ROP attacks actually hard).