Bug 171936

Summary: WebAssembly: improve memory fuzzer
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 169976    
Bug Blocks: 159775    

Description JF Bastien 2017-05-10 11:35:13 PDT
I added a memory fuzzer in https://bugs.webkit.org/show_bug.cgi?id=169976

It could be better:
  - add set() and shadow memory, this requires tracking when memory is shared
  - Support: empty, exported
  - Imported memory created through the JS API (both before and after instantiation, to cause recompilation)
  - recursive calls (randomly call other instance's exports, potentially exhausting stack)
  - Simplify code by allowing .Code().ExportFunction(...) in builder