summaryrefslogtreecommitdiff
path: root/scripts/fuzz_opt.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fuzz_opt.py')
-rwxr-xr-xscripts/fuzz_opt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index 3039e2bd8..f21747370 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -1263,7 +1263,7 @@ class CtorEval(TestCaseHandler):
# get the list of exports, so we can tell ctor-eval what to eval.
wat = run([in_bin('wasm-dis'), wasm] + FEATURE_OPTS)
- p = re.compile(r'^ [(]export "([\d\w$+-_:.]+)" [(]func')
+ p = re.compile(r'^ [(]export "(.*[^\\]?)" [(]func')
exports = []
for line in wat.splitlines():
m = p.match(line)