Fuzz introspector: tools/fuzz/component.cpp
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
396 0 EP call site: 00000 WasmEdge::Loader::Loader::parseWasmUnit

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 WasmEdge::Configure::Configure [function] [call site] 00001
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00002
3 static_cast<uint8_t> [function] [call site] 00004
3 static_cast<uint8_t> [function] [call site] 00006
3 static_cast<uint8_t> [function] [call site] 00008
3 static_cast<uint8_t> [function] [call site] 00010
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00011
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00012
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00013
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00014
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00015
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00016
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00017
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00018
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00019
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00020
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00021
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00022
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00023
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00024
1 WasmEdge::Configure::addProposal [function] [call site] 00025
2 WasmEdge::Configure::unsafeAddProposal [function] [call site] 00026
1 WasmEdge::Loader::Loader::parseWasmUnit [function] [call site] 00027
2 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00028
3 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00029
4 Catch::throw_logic_error [function] [call site] 00030
5 Catch::throw_exception [function] [call site] 00031
5 std::logic_error [function] [call site] 00032
4 Catch::throw_logic_error [function] [call site] 00033
4 WasmEdge::ErrInfo::InfoLoading [function] [call site] 00034
4 Catch::throw_logic_error [function] [call site] 00035
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00036
3 getLastOffset [function] [call site] 00038
3 NodeAttrFromAST<ASTType> [function] [call site] 00039
2 Catch::throw_logic_error [function] [call site] 00041
2 Catch::throw_logic_error [function] [call site] 00042
2 WasmEdge::ErrInfo::InfoFile [function] [call site] 00043
2 Catch::throw_logic_error [function] [call site] 00044
2 WasmEdge::ErrInfo::InfoFile [function] [call site] 00045
2 getHeaderType [function] [call site] 00046
2 WasmEdge::Loader::Loader::reset [function] [call site] 00047
3 WasmEdge::Loader::Loader::reset [function] [call site] 00048
2 std::make_shared<SharedLibrary> [function] [call site] 00049
2 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00050
2 std::shared_ptr::load [function] [call site] 00051
2 Catch::throw_logic_error [function] [call site] 00052
2 WasmEdge::ErrInfo::InfoMismatch [function] [call site] 00053
2 Catch::throw_logic_error [function] [call site] 00054
2 WasmEdge::ErrInfo::InfoFile [function] [call site] 00055
2 getRuntimeConfigure [function] [call site] 00057
2 std::shared_ptr::reset [function] [call site] 00058
2 WasmEdge::Loader::Loader::parseWasmUnit [function] [call site] 00059
2 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00060
2 std::get_if<std::unique_ptr<AST::Module>> [function] [call site] 00062
2 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00064
2 WasmEdge::Loader::Loader::loadExecutable [function] [call site] 00065
3 AST::Module::getTypeSection [function] [call site] 00066
3 WasmEdge::AST::Module::getImportFuncCount [function] [call site] 00067
4 getContent [function] [call site] 00068
4 getExternalType [function] [call site] 00069
3 AST::Module::getCodeSection [function] [call site] 00070
3 std::shared_ptr<Executable>::getTypes [function] [call site] 00071
3 Catch::StringRef::size [function] [call site] 00072
3 std::shared_ptr<Executable>::getCodes [function] [call site] 00073
3 Catch::StringRef::size [function] [call site] 00074
3 std::shared_ptr<Executable>::getIntrinsics [function] [call site] 00075
3 Catch::StringRef::size [function] [call site] 00077
3 Catch::StringRef::size [function] [call site] 00078
3 Catch::throw_logic_error [function] [call site] 00079
3 Catch::StringRef::size [function] [call site] 00080
3 Catch::StringRef::size [function] [call site] 00081
3 Catch::StringRef::size [function] [call site] 00084
3 Catch::StringRef::size [function] [call site] 00085
3 Catch::throw_logic_error [function] [call site] 00086
3 Catch::StringRef::size [function] [call site] 00087
3 Catch::StringRef::size [function] [call site] 00088
3 Catch::throw_logic_error [function] [call site] 00091
3 getCompositeType [function] [call site] 00093
3 getCompositeType [function] [call site] 00094
3 std::move [function] [call site] 00095
3 Catch::StringRef::size [function] [call site] 00096
3 setSymbol [function] [call site] 00097
3 std::move [function] [call site] 00098
3 WasmEdge::AST::Module::setSymbol [function] [call site] 00099
4 std::move [function] [call site] 00100
3 std::move [function] [call site] 00101
3 AST::Module::getSymbol [function] [call site] 00102
2 Catch::throw_logic_error [function] [call site] 00103
2 Catch::throw_logic_error [function] [call site] 00104
2 WasmEdge::ErrInfo::InfoFile [function] [call site] 00105
2 WasmEdge::Loader::Loader::loadUnit [function] [call site] 00107
3 std::make_unique<AST::Module> [function] [call site] 00108
3 auto::getMagic [function] [call site] 00109
3 WasmEdge::AST::AOTSection::getVersion [function] [call site] 00110
3 getRuntimeConfigure [function] [call site] 00111
3 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00112
3 WasmEdge::Loader::Loader::loadModuleAOT [function] [call site] 00113
4 getRemainSize [function] [call site] 00116
4 getOffset [function] [call site] 00117
4 std::move [function] [call site] 00119
4 getOffset [function] [call site] 00120
4 readBytes [function] [call site] 00122
4 std::move [function] [call site] 00123
4 WasmEdge::FileMgr::setCode [function] [call site] 00124
5 WasmEdge::FileMgr::reset [function] [call site] 00125
6 WasmEdge::FileMgr::reset [function] [call site] 00126
6 WasmEdge::FileMgr::reset [function] [call site] 00127
5 Catch::StringRef::data [function] [call site] 00128
5 Catch::StringRef::size [function] [call site] 00129
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00130
5 WasmEdge::Loader::Loader::loadSectionContent [function] [call site] 00131
6 WasmEdge::AST::Section::setStartOffset [function] [call site] 00132
6 getOffset [function] [call site] 00133
6 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00134
6 getLastOffset [function] [call site] 00135
6 NodeAttrFromAST<T> [function] [call site] 00136
6 getRemainSize [function] [call site] 00138
6 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00139
6 getLastOffset [function] [call site] 00140
6 NodeAttrFromAST<T> [function] [call site] 00141
6 WasmEdge::AST::Section::setContentSize [function] [call site] 00142
6 getOffset [function] [call site] 00143
6 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00144
6 getOffset [function] [call site] 00146
6 WasmEdge::AST::Section::getContentSize [function] [call site] 00147
6 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00148
6 NodeAttrFromAST<T> [function] [call site] 00149
5 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00150
5 getLastOffset [function] [call site] 00151
5 getOffset [function] [call site] 00152
5 WasmEdge::AST::CustomSection::setName [function] [call site] 00153
5 getOffset [function] [call site] 00154
5 WasmEdge::AST::Section::getContentSize [function] [call site] 00156
5 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00157
5 getLastOffset [function] [call site] 00158
5 WasmEdge::AST::CustomSection::getContent [function] [call site] 00159
5 WasmEdge::AST::CustomSection::getContent [function] [call site] 00160
4 std::move [function] [call site] 00163
4 writeAddrinfo [function] [call site] 00164
5 std::memcpy [function] [call site] 00165
5 WasmEdge::Runtime::Instance::MemoryInstance::getPointer [function] [call site] 00166
6 WasmEdge::Runtime::Instance::MemoryInstance::checkAccessBound [function] [call site] 00168
7 WasmEdge::Hash::max [function] [call site] 00170
6 reinterpret_cast<T> [function] [call site] 00171
4 writeAddrinfo [function] [call site] 00172
4 jumpContent [function] [call site] 00174
3 auto::getAOTSection [function] [call site] 00176
3 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00178
3 WasmEdge::Loader::Loader::loadModule [function] [call site] 00179
4 getOffset [function] [call site] 00180
4 Catch::throw_logic_error [function] [call site] 00181
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00182
4 getOffset [function] [call site] 00183
4 std::optional<uint64_t>::has_value [function] [call site] 00184
4 std::optional<uint64_t>::value [function] [call site] 00185
4 error [function] [call site] 00187
5 cxx20::unexpected::unexpected [function] [call site] 00188
5 std::string [function] [call site] 00189
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00190
4 getLastOffset [function] [call site] 00192
4 std::vector::size [function] [call site] 00193
4 std::vector::back [function] [call site] 00194
4 std::vector::pop_back [function] [call site] 00195
4 std::vector::empty [function] [call site] 00196
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00197
4 getLastOffset [function] [call site] 00198
4 std::vector::pop_back [function] [call site] 00199
4 WasmEdge::AST::Module::getCustomSections [function] [call site] 00200
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00201
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00202
4 WasmEdge::AST::Module::getCustomSections [function] [call site] 00203
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00204
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00205
4 AST::Module::getTypeSection [function] [call site] 00206
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00207
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00208
4 AST::Module::getImportSection [function] [call site] 00209
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00210
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00211
4 AST::Module::getFunctionSection [function] [call site] 00212
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00213
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00214
4 AST::Module::getTableSection [function] [call site] 00215
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00216
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00217
4 AST::Module::getMemorySection [function] [call site] 00218
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00219
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00220
4 AST::Module::getGlobalSection [function] [call site] 00221
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00222
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00223
4 AST::Module::getExportSection [function] [call site] 00224
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00225
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00226
4 AST::Module::getStartSection [function] [call site] 00227
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00228
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00229
4 AST::Module::getElementSection [function] [call site] 00230
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00231
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00232
4 AST::Module::getCodeSection [function] [call site] 00233
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00234
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00235
4 AST::Module::getDataSection [function] [call site] 00236
4 hasProposal [function] [call site] 00237
4 hasProposal [function] [call site] 00238
4 WasmEdge::Loader::Loader::logNeedProposal [function] [call site] 00239
5 Catch::throw_logic_error [function] [call site] 00240
5 Catch::throw_logic_error [function] [call site] 00241
5 WasmEdge::ErrInfo::InfoProposal [function] [call site] 00242
5 Catch::throw_logic_error [function] [call site] 00243
5 WasmEdge::ErrInfo::InfoLoading [function] [call site] 00244
5 Catch::throw_logic_error [function] [call site] 00245
5 WasmEdge::ErrInfo::InfoAST [function] [call site] 00246
4 getLastOffset [function] [call site] 00248
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00249
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00250
4 AST::Module::getDataCountSection [function] [call site] 00251
4 hasProposal [function] [call site] 00252
4 WasmEdge::Loader::Loader::logNeedProposal [function] [call site] 00253
4 getLastOffset [function] [call site] 00254
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00255
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00256
4 AST::Module::getTagSection [function] [call site] 00257
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00258
4 getLastOffset [function] [call site] 00259
4 getOffset [function] [call site] 00260
4 WasmEdge::Loader::Loader::setTagFunctionType [function] [call site] 00261
5 WasmEdge::AST::TypeSection::getContent [function] [call site] 00262
5 WasmEdge::AST::TagSection::getContent [function] [call site] 00263
5 getTypeIdx [function] [call site] 00264
5 Catch::StringRef::size [function] [call site] 00265
5 setDefType [function] [call site] 00266
5 WasmEdge::AST::ImportSection::getContent [function] [call site] 00267
5 getExternalType [function] [call site] 00268
5 getExternalTagType [function] [call site] 00269
5 WasmEdge::AST::TagType::getTypeIdx [function] [call site] 00270
5 Catch::StringRef::size [function] [call site] 00271
5 WasmEdge::AST::TagType::setDefType [function] [call site] 00272
4 AST::Module::getTagSection [function] [call site] 00273
4 AST::Module::getImportSection [function] [call site] 00274
4 AST::Module::getTypeSection [function] [call site] 00275
4 AST::Module::getFunctionSection [function] [call site] 00276
4 AST::Module::getCodeSection [function] [call site] 00277
4 Catch::throw_logic_error [function] [call site] 00278
4 Catch::throw_logic_error [function] [call site] 00279
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00280
4 AST::Module::getDataCountSection [function] [call site] 00282
4 AST::Module::getDataSection [function] [call site] 00283
4 AST::Module::getDataCountSection [function] [call site] 00284
4 Catch::throw_logic_error [function] [call site] 00285
4 Catch::throw_logic_error [function] [call site] 00286
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00287
3 getRuntimeConfigure [function] [call site] 00289
3 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00290
3 WasmEdge::Loader::Loader::loadUniversalWASM [function] [call site] 00291
4 getRuntimeConfigure [function] [call site] 00292
4 std::make_shared<AOTSection> [function] [call site] 00293
4 WasmEdge::Executor::Executor::setPayload [function] [call site] 00294
5 Catch::StringRef::begin [function] [call site] 00296
5 Catch::StringRef::end [function] [call site] 00297
4 AST::Module::getAOTSection [function] [call site] 00298
4 spdlog::warn [function] [call site] 00300
4 WasmEdge::Loader::Loader::loadExecutable [function] [call site] 00302
4 spdlog::warn [function] [call site] 00303
4 AST::Module::getCodeSection [function] [call site] 00305
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00306
4 AST::Module::getCodeSection [function] [call site] 00307
4 Catch::throw_logic_error [function] [call site] 00308
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00309
3 spdlog::warn [function] [call site] 00310
3 hasProposal [function] [call site] 00311
3 WasmEdge::Loader::Loader::logNeedProposal [function] [call site] 00312
3 getLastOffset [function] [call site] 00313
3 spdlog::warn [function] [call site] 00314
3 std::make_unique<AST::Component::Component> [function] [call site] 00315
3 auto::getMagic [function] [call site] 00316
3 WasmEdge::AST::AOTSection::getVersion [function] [call site] 00317
3 auto::getLayer [function] [call site] 00318
3 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00319
3 WasmEdge::Loader::Loader::loadComponent [function] [call site] 00320
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00322
4 getLastOffset [function] [call site] 00323
4 Catch::throw_logic_error [function] [call site] 00324
4 WasmEdge::ErrInfo::InfoAST [function] [call site] 00325
4 getOffset [function] [call site] 00326
4 getOffset [function] [call site] 00327
4 std::optional<uint64_t>::has_value [function] [call site] 00328
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00330
4 error [function] [call site] 00331
5 cxx20::unexpected::unexpected [function] [call site] 00332
5 std::string [function] [call site] 00333
4 getLastOffset [function] [call site] 00334
4 WasmEdge::AST::Component::Component::getSections [function] [call site] 00335
4 WasmEdge::AST::Component::Component::getSections [function] [call site] 00336
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00337
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00338
4 WasmEdge::Host::WASI::emplace [function] [call site] 00339
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00341
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00342
4 WasmEdge::Host::WASI::emplace [function] [call site] 00343
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00344
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00345
4 WasmEdge::Host::WASI::emplace [function] [call site] 00346
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00347
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00348
4 WasmEdge::Host::WASI::emplace [function] [call site] 00349
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00350
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00351
4 WasmEdge::Host::WASI::emplace [function] [call site] 00352
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00353
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00354
4 WasmEdge::Host::WASI::emplace [function] [call site] 00355
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00356
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00357
4 WasmEdge::Host::WASI::emplace [function] [call site] 00358
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00359
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00360
4 WasmEdge::Host::WASI::emplace [function] [call site] 00361
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00362
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00363
4 WasmEdge::Host::WASI::emplace [function] [call site] 00364
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00365
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00366
4 WasmEdge::Host::WASI::emplace [function] [call site] 00367
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00368
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00369
4 WasmEdge::Host::WASI::emplace [function] [call site] 00370
4 WasmEdge::Loader::Loader::EXPECTED_TRY [function] [call site] 00371
4 WasmEdge::Loader::Loader::loadSection [function] [call site] 00372
4 WasmEdge::Host::WASI::emplace [function] [call site] 00373
4 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00374
4 getLastOffset [function] [call site] 00375
4 getOffset [function] [call site] 00376
3 WasmEdge::Loader::Loader::logLoadError [function] [call site] 00377
3 getLastOffset [function] [call site] 00378
1 WasmEdge::Span<const [call site] 00379
1 std::get_if<std::unique_ptr<WasmEdge::AST::Component::Component>> [function] [call site] 00380
1 WasmEdge::Validator::Validator::validate [function] [call site] 00381
2 spdlog::warn [function] [call site] 00382
2 WasmEdge::Validator::Validator::validateComponent [function] [call site] 00384
3 Catch::throw_logic_error [function] [call site] 00385
3 WasmEdge::ErrInfo::InfoAST [function] [call site] 00386
3 enterComponent [function] [call site] 00387
3 WasmEdge::AST::Component::Component::getSections [function] [call site] 00388
3 EXPECTED_TRY [function] [call site] 00389
3 WasmEdge::Validator::Validator::validate [function] [call site] 00390
3 EXPECTED_TRY [function] [call site] 00391
3 std::visit [function] [call site] 00392
3 exitComponent [function] [call site] 00393
2 const_cast<AST::Component::Component [call site] 00394
1 std::get_if<std::unique_ptr<WasmEdge::AST::Module>> [function] [call site] 00395
1 WasmEdge::Validator::Validator::validate [function] [call site] 00396