bug-1993004.js (897B)
1 newGlobal({ newCompartment: true }).Debugger(this).memory.trackingAllocationSites = true; 2 function b(binary) { 3 try { 4 let c = new WebAssembly.Module(binary); 5 new WebAssembly.Instance(c); 6 } catch {} 7 } 8 function d(e ) { 9 b(wasmTextToBinary(e)); 10 } 11 f = ` 12 (module 13 (type $g ( struct)) 14 (type $h (sub (struct 15 (field i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64(mut eqref))))) 16 (func $i 17 (struct.set $h 18 18 (struct.new $h 19 i64.const 0 20 i64.const 0 21 i64.const 0 22 i64.const 0 23 i64.const 0 24 i64.const 0 25 i64.const 0 26 i64.const 0 27 i64.const 0 28 i64.const 0 29 i64.const 0 30 i64.const 0 31 i64.const 0 32 i64.const 0 33 i64.const 0 34 i64.const 0 35 i64.const 0 36 i64.const 0 37 ref.null eq) 38 struct.new $g)) 39 (start $i)) 40 `; 41 d(f);