-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
So I was thinking how can we prove that what we do is actually correct (mainly we are interested in correctness of high-level wrappers so mozjs).
Ideally we would just run MIRI but AFAIK we cannot (yet: rust-lang/miri#11) because FFI and other syscalls. So my idea is to write dummy mozjs-sys that can be used in place of real mozjs, that would emulate context/rooting/tracing/handles and GC (we do not need to do actual js execution). This way I think it's feasible to run MIRI on subset of mozjs (and it's test/examples).
Side-quest: How hard would it be to use pure rust JS engine for this (boa)? Probably not much and we could cover more, but SM works in a uniqe way.
jschwe
Metadata
Metadata
Assignees
Labels
No labels