From f22b2779f3705b0be30093bfe95b7400da2662cb Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Sun, 11 Feb 2024 08:22:52 -0500 Subject: [PATCH] bin Signed-off-by: Edoardo Vacchi --- .../fuzzcases/testdata/crash.wasm | Bin 0 -> 97 bytes .../fuzzcases/testdata/crash.wat | 25 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 internal/integration_test/fuzzcases/testdata/crash.wasm create mode 100644 internal/integration_test/fuzzcases/testdata/crash.wat diff --git a/internal/integration_test/fuzzcases/testdata/crash.wasm b/internal/integration_test/fuzzcases/testdata/crash.wasm new file mode 100644 index 0000000000000000000000000000000000000000..9fcc3a93d481534b77edc0e95e0e0a700d6248f1 GIT binary patch literal 97 zcmZQbEY4+QU|?WmWlUhKXJBSxWMC6vu4Qme0RrxNMn?t^@q(S3orf8u%#fLZ(TJIm vOPNuTk+IhC!|TP@nKvmjOjlxbW?(o_ufV9l7%ja=nXy=fk(-;Dk&yuaB`^_m literal 0 HcmV?d00001 diff --git a/internal/integration_test/fuzzcases/testdata/crash.wat b/internal/integration_test/fuzzcases/testdata/crash.wat new file mode 100644 index 00000000000..bbce5147396 --- /dev/null +++ b/internal/integration_test/fuzzcases/testdata/crash.wat @@ -0,0 +1,25 @@ +(module + (type (;0;) (func (param i32))) + (func (;0;) (type 0) (param i32) + (local f32) + i32.const 988345840 + f32.convert_i32_s + global.get 0 + f32.max + local.tee 1 + f32.const nan (;=nan;) + local.get 1 + local.get 1 + f32.eq + select + i32.reinterpret_f32 + global.get 1 + i32.xor + global.set 1) + (global (;0;) f32 (f32.const 0x1.c8c8c8p+73 (;=1.68524e+22;))) + (global (;1;) (mut i32) (i32.const 0)) + (global (;2;) (mut i32) (i32.const 1000)) + (export "" (func 0)) + (export "1" (global 0)) + (export "2" (global 1)) + (data (;0;) "")) \ No newline at end of file