Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hovav
· 3y ago · 0 comments
A JIT is a machine for turning logic bugs into memory unsafety. Rewriting a JIT in Rust won't eliminate logic bugs and won't guarantee memory safety for the binary output of the JIT (as distinct from the JIT implementation itself).
Comments
[–]
infogulch
3y ago
Agreed. But the way you put it makes me wonder how many memory safety vulns have been found in JIT implementations (not the machine code they output).
[–]
nextaccountic
3y ago
Okay, but in this case software verification like with Coq or F* could help
[–]
hovav
OP
3y ago
Yes! See, e.g., Fraser Brown et al., "Towards a Verified Range Analysis for JavaScript JITs," in proc. PLDI 2020,
https://www.cs.utexas.edu/~hovav/dist/vera.pdf