From 7f75427f7671562874a22981c9dcc4a8e223f48b Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 29 Jun 2022 09:34:26 -0700 Subject: [Strings] Add string proposal types (#4755) This starts to implement the Wasm Strings proposal https://github.com/WebAssembly/stringref/blob/main/proposals/stringref/Overview.md This just adds the types. --- src/tools/fuzzing/fuzzing.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tools/fuzzing/fuzzing.cpp') diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp index c828c84d0..5489e7638 100644 --- a/src/tools/fuzzing/fuzzing.cpp +++ b/src/tools/fuzzing/fuzzing.cpp @@ -3091,6 +3091,11 @@ HeapType TranslateToFuzzReader::getSubType(HeapType type) { case HeapType::data: // TODO: nontrivial types as well. return HeapType::data; + case HeapType::string: + case HeapType::stringview_wtf8: + case HeapType::stringview_wtf16: + case HeapType::stringview_iter: + WASM_UNREACHABLE("TODO: fuzz strings"); } } // TODO: nontrivial types as well. -- cgit v1.2.3