We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27da43c commit 4b9f932Copy full SHA for 4b9f932
1 file changed
src/tools/fuzzing/fuzzing.cpp
@@ -1489,7 +1489,7 @@ Function* TranslateToFuzzReader::addFunction() {
1489
// Pick params and results. There may be an interesting heap type we can use.
1490
std::optional<HeapType> funcType;
1491
auto& funcTypes = interestingHeapSubTypes[HeapTypes::func];
1492
- if (!funcTypes.empty()) {
+ if (!funcTypes.empty() && oneIn(2)) {
1493
auto type = pick(funcTypes);
1494
if (type.getSignature().params.size() < (size_t)fuzzParams->MAX_PARAMS) {
1495
// This is suitable for us.
0 commit comments