From d733dc6e9c534947b0dd1082c601265002901bf9 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 15 Apr 2026 09:32:42 -0700 Subject: [PATCH 1/2] go --- scripts/fuzz_opt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index bf0892be681..8f542bbddbc 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -2223,7 +2223,7 @@ def do_run(self, vm, js, wasm): # must also remove the specific trap, as Binaryen can change # that. line = 'TRAP' - elif 'wasm://' in line or '()' in line: + elif 'wasm://' in line or '()' in line or line.startswith(' at '): # This is part of a stack trace like # # at wasm://wasm/12345678:wasm-function[42]:0x123 From f8e559d3c403c91e26ce41557ff3feb3c0e9e7a8 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 15 Apr 2026 16:10:11 -0700 Subject: [PATCH 2/2] simpl --- scripts/fuzz_opt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index 8f542bbddbc..3e41356477e 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -2223,13 +2223,14 @@ def do_run(self, vm, js, wasm): # must also remove the specific trap, as Binaryen can change # that. line = 'TRAP' - elif 'wasm://' in line or '()' in line or line.startswith(' at '): + elif line.startswith(' at '): # This is part of a stack trace like # # at wasm://wasm/12345678:wasm-function[42]:0x123 # at () + # at file.js # - # Ignore it, as traces differ based on optimizations. + # Ignore it, as details of traces differ based on optimizations. continue cleaned.append(line) return '\n'.join(cleaned)