Re:Shipping Rust code in Firefox
by nickpsecurity on Tuesday July 12, 2016 @01:08PM
(#12080691)
BOOM! Typed, assembly language is exactly what I was going to recommend! TALC assembly, Chlipala's Bedrock, and Microsoft's CoqASM are Google keywords to use for anyone following along.
CakeML or Verisoft's C0 could be useful for assembly generation but not as sure there. Tough constraints in JIT. Edited to add Myreen's JIT that I just remembered.
http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=F58...
CoqASM looks interesting! Is it publicly available anywhere?
Re:Shipping Rust code in Firefox
by nickpsecurity on Tuesday July 12, 2016 @04:07PM
(#12081943)
Not that Im aware of. They might privately license it if asked. I mainly bring it up as something worth cloning by FOSS team given there's plenty details in paper. Meanwhile, look up Magnus Myreen's publications and software as they're on a row with verified everything.
Re:Shipping Rust code in Firefox
by moosingin3space on Tuesday July 12, 2016 @06:11PM
(#12082613)
Typed assembly language would be an excellent addition to the Rust ecosystem -- there are still segments of software which should (or must) be implemented in assembly, so anything that can help make assembly easier to verify would be helpful to the ecosystem.
But note that a lot of security problems are not in the jitcode but rather in C++ implementations of JS objects and in the compiler itself.