From c9a5da466df084da5c0bbcb03b56aa1bd9585dcd Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 25 Mar 2024 20:14:27 -0700 Subject: [PATCH] Fuzzer: Implement a few more String TODOs (#6439) --- src/tools/fuzzing/fuzzing.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp index 980427d8133..3973176ed79 100644 --- a/src/tools/fuzzing/fuzzing.cpp +++ b/src/tools/fuzzing/fuzzing.cpp @@ -3977,9 +3977,11 @@ HeapType TranslateToFuzzReader::getSubType(HeapType type) { case HeapType::string: return HeapType::string; case HeapType::stringview_wtf8: + return HeapType::stringview_wtf8; case HeapType::stringview_wtf16: + return HeapType::stringview_wtf16; case HeapType::stringview_iter: - WASM_UNREACHABLE("TODO: fuzz strings"); + return HeapType::stringview_iter; case HeapType::none: case HeapType::noext: case HeapType::nofunc: