Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/bundle_clusterfuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@
binaryen_lib = shared.options.binaryen_lib

# ClusterFuzz's run.py uses these features. Keep this in sync with that, so that
# we only bundle initial content that makes sense for it.
# we only bundle initial content that makes sense for it. Also keep it in sync
# with fuzz_opt.py's DISALLOWED_FEATURES_IN_V8.
features = [
'-all',
'--disable-shared-everything',
'--disable-fp16',
'--disable-strings',
'--disable-stack-switching',
'--disable-relaxed-atomics',
'--disable-multibyte',
]

with tarfile.open(output_file, "w:gz") as tar:
Expand Down
17 changes: 13 additions & 4 deletions scripts/fuzz_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,19 @@

CLOSED_WORLD_FLAG = '--closed-world'

# V8 does not support shared memories when running with
# shared-everything enabled, so do not fuzz shared-everything
# for now. The remaining features are not yet implemented in v8.
DISALLOWED_FEATURES_IN_V8 = ['shared-everything', 'strings', 'stack-switching', 'relaxed-atomics', 'multibyte']
# V8 does not support shared memories when running with shared-everything
# enabled, so do not fuzz shared-everything for now. The remaining features are
# not yet implemented in v8.
#
# Keep this in sync with bundle_clusterfuzz.py.
DISALLOWED_FEATURES_IN_V8 = [
'shared-everything',
'fp16',
'strings',
'stack-switching',
'relaxed-atomics',
'multibyte',
]


# utilities
Expand Down
Loading