Fuzz introspector: fuzzing/bt_fuzzer.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
528 0 EP call site: 00000 BT::VerifyXML

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 BT::BehaviorTreeFactory::BehaviorTreeFactory [function] [call site] 00001
2 std::make_shared<XMLParser> [function] [call site] 00005
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00006
3 BT::BehaviorTreeFactory::registerBuilder [function] [call site] 00007
4 find [function] [call site] 00008
5 begin [function] [call site] 00009
6 primitive_iterator_t::set_begin [function] [call site] 00010
5 end [function] [call site] 00011
6 set_end [function] [call site] 00012
7 JSON_ASSERT [function] [call site] 00013
7 json_reverse_iterator::json_reverse_iterator [function] [call site] 00014
7 json_reverse_iterator::json_reverse_iterator [function] [call site] 00015
7 primitive_iterator_t [function] [call site] 00016
7 set_begin [function] [call site] 00017
7 JSON_ASSERT [function] [call site] 00018
7 begin [function] [call site] 00019
8 primitive_iterator_t::set_begin [function] [call site] 00020
7 begin [function] [call site] 00021
8 primitive_iterator_t::set_begin [function] [call site] 00022
7 set_end [function] [call site] 00023
8 JSON_ASSERT [function] [call site] 00024
8 json_reverse_iterator::json_reverse_iterator [function] [call site] 00025
8 json_reverse_iterator::json_reverse_iterator [function] [call site] 00026
8 primitive_iterator_t [function] [call site] 00027
8 set_begin [function] [call site] 00028
8 JSON_ASSERT [function] [call site] 00029
8 primitive_iterator_t::set_begin [function] [call site] 00033
8 JSON_ASSERT [function] [call site] 00034
7 primitive_iterator_t::set_begin [function] [call site] 00040
7 JSON_ASSERT [function] [call site] 00041
5 m_compare [function] [call site] 00045
5 BT::StrAppend [function] [call site] 00046
6 std::string*::append [function] [call site] 00047
4 BehaviorTreeException [function] [call site] 00052
4 insert [function] [call site] 00053
5 emplace [function] [call site] 00054
6 m_compare [function] [call site] 00057
6 emplace_back [function] [call site] 00058
7 JSON_HEDLEY_UNLIKELY [function] [call site] 00059
7 JSON_THROW [function] [call site] 00062
7 type_error::create [function] [call site] 00063
8 concat [function] [call site] 00064
9 lexy::_detail::pt_buffer::reserve [function] [call site] 00065
10 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00066
11 std::size_t [function] [call site] 00067
11 lexy::_detail::pt_buffer::end [function] [call site] 00068
10 lexy::_detail::pt_buffer::allocate [function] [call site] 00069
11 lexy::_detail::pt_buffer::allocate [function] [call site] 00070
12 lexy::_detail::pt_buffer::allocate [function] [call site] 00071
12 lexy::_detail::parse_context_control_block [function] [call site] 00072
13 LEXY_MOV [function] [call site] 00073
13 static_cast<int> [function] [call site] 00074
11 lexy::_detail::parse_context_control_block [function] [call site] 00075
9 concat_length [function] [call site] 00076
9 concat_into [function] [call site] 00077
9 std::forward<Args> [function] [call site] 00078
8 exception::diagnostics [function] [call site] 00101
8 std::string::c_str [function] [call site] 00102
7 type_name [function] [call site] 00104
7 assert_invariant [function] [call site] 00106
7 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00107
8 std::size_t [function] [call site] 00108
8 lexy::_detail::pt_buffer::end [function] [call site] 00109
7 emplace_back [function] [call site] 00110
8 JSON_HEDLEY_UNLIKELY [function] [call site] 00111
8 JSON_THROW [function] [call site] 00114
8 type_error::create [function] [call site] 00115
8 type_name [function] [call site] 00117
8 assert_invariant [function] [call site] 00119
8 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00120
8 emplace_back [function] [call site] 00121
8 std::forward<Args> [function] [call site] 00122
8 set_parent [function] [call site] 00123
9 static_cast<std::size_t> [function] [call site] 00124
9 static_cast<std::size_t> [function] [call site] 00125
9 JSON_ASSERT [function] [call site] 00126
9 JSON_HEDLEY_UNLIKELY [function] [call site] 00128
9 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00129
9 set_parents [function] [call site] 00130
9 set_parents [function] [call site] 00131
9 static_cast<void> [function] [call site] 00132
9 static_cast<void> [function] [call site] 00133
8 back [function] [call site] 00134
9 JSON_HEDLEY_UNLIKELY [function] [call site] 00135
9 JSON_THROW [function] [call site] 00137
9 out_of_range::create [function] [call site] 00138
10 exception::name [function] [call site] 00140
10 exception::diagnostics [function] [call site] 00141
10 std::string::c_str [function] [call site] 00142
9 back [function] [call site] 00143
10 JSON_HEDLEY_UNLIKELY [function] [call site] 00144
10 JSON_THROW [function] [call site] 00146
10 out_of_range::create [function] [call site] 00147
7 std::forward<Args> [function] [call site] 00149
7 set_parent [function] [call site] 00150
6 std::forward<T> [function] [call site] 00152
6 std::prev [function] [call site] 00153
5 std::move [function] [call site] 00155
3 CreateManifest<T> [function] [call site] 00159
3 CreateBuilder<T> [function] [call site] 00160
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00161
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00162
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00163
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00164
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00165
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00166
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00167
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00168
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00169
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00170
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00171
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00172
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00173
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00174
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00175
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00176
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00177
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00178
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00179
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00180
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00181
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00182
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00183
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00184
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00185
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00186
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00187
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00188
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00189
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00190
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00191
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00192
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00193
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00194
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00195
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00196
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00197
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00198
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00199
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00200
2 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00201
2 std::make_shared<std::unordered_map<std::string, [call site] 00205
1 FuzzedDataProvider::ConsumeBool [function] [call site] 00206
1 FuzzedDataProvider::ConsumeRandomLengthString [function] [call site] 00207
1 BT::BehaviorTreeFactory::createTreeFromText [function] [call site] 00208
2 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00209
3 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00210
2 BT::XMLParser::loadFromText [function] [call site] 00211
3 emplace_back [function] [call site] 00212
4 JSON_HEDLEY_UNLIKELY [function] [call site] 00213
4 JSON_THROW [function] [call site] 00216
4 type_error::create [function] [call site] 00217
4 type_name [function] [call site] 00219
4 assert_invariant [function] [call site] 00221
4 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00222
4 emplace_back [function] [call site] 00223
4 std::forward<Args> [function] [call site] 00224
4 set_parent [function] [call site] 00225
3 XMLDocument [function] [call site] 00227
4 XMLDocument [function] [call site] 00228
5 XMLDocument [function] [call site] 00229
5 TIXMLASSERT [function] [call site] 00230
5 TIXMLASSERT [function] [call site] 00231
5 static_cast<size_t> [function] [call site] 00232
5 FirstChildElement [function] [call site] 00233
6 const_cast<XMLElement*> [function] [call site] 00234
6 const_cast<const [call site] 00235
5 FirstChildElement [function] [call site] 00236
5 XMLDocument [function] [call site] 00237
5 PushDepth [function] [call site] 00238
4 TIXMLASSERT [function] [call site] 00240
4 TIXMLASSERT [function] [call site] 00241
4 static_cast<size_t> [function] [call site] 00242
4 FirstChildElement [function] [call site] 00243
4 FirstChildElement [function] [call site] 00244
4 XMLDocument [function] [call site] 00245
4 PushDepth [function] [call site] 00246
3 back [function] [call site] 00248
4 JSON_HEDLEY_UNLIKELY [function] [call site] 00249
4 JSON_THROW [function] [call site] 00251
4 out_of_range::create [function] [call site] 00252
3 tinyxml2::XMLDocument::Parse [function] [call site] 00254
4 tinyxml2::XMLDocument::Clear [function] [call site] 00255
5 DeleteChildren [function] [call site] 00256
5 tinyxml2::XMLDocument::DeleteNode [function] [call site] 00258
6 TIXMLASSERT [function] [call site] 00259
6 TIXMLASSERT [function] [call site] 00260
6 tinyxml2::XMLNode::DeleteChild [function] [call site] 00261
7 TIXMLASSERT [function] [call site] 00262
7 TIXMLASSERT [function] [call site] 00263
7 TIXMLASSERT [function] [call site] 00264
7 tinyxml2::XMLNode::Unlink [function] [call site] 00265
8 TIXMLASSERT [function] [call site] 00266
8 TIXMLASSERT [function] [call site] 00267
8 TIXMLASSERT [function] [call site] 00268
7 TIXMLASSERT [function] [call site] 00269
7 TIXMLASSERT [function] [call site] 00270
7 TIXMLASSERT [function] [call site] 00271
7 tinyxml2::XMLNode::DeleteNode [function] [call site] 00272
8 TIXMLASSERT [function] [call site] 00273
8 ToDocument [function] [call site] 00274
8 tinyxml2::XMLDocument::MarkInUse [function] [call site] 00275
8 XMLNode*::~XMLNode [function] [call site] 00280
8 tinyxml2::MemPoolT::Free [function] [call site] 00281
9 static_cast<Item*> [function] [call site] 00282
6 tinyxml2::MemPoolT::SetTracked [function] [call site] 00284
6 tinyxml2::XMLNode::DeleteNode [function] [call site] 00285
5 tinyxml2::XMLDocument::ClearError [function] [call site] 00287
5 TIXMLASSERT [function] [call site] 00293
5 CurrentAllocs [function] [call site] 00294
5 Untracked [function] [call site] 00295
5 TIXMLASSERT [function] [call site] 00296
5 CurrentAllocs [function] [call site] 00297
5 Untracked [function] [call site] 00298
5 TIXMLASSERT [function] [call site] 00299
5 CurrentAllocs [function] [call site] 00300
5 Untracked [function] [call site] 00301
5 TIXMLASSERT [function] [call site] 00302
5 CurrentAllocs [function] [call site] 00303
5 Untracked [function] [call site] 00304
4 tinyxml2::XMLDocument::SetError [function] [call site] 00305
5 TIXMLASSERT [function] [call site] 00306
5 lexy::_detail::write_special_char [function] [call site] 00308
6 _detail::write_color<_detail::color::cyan, [call site] 00309
6 lexy::is_set [function] [call site] 00310
6 lexy::_detail::write_str [function] [call site] 00311
6 lexy::_detail::write_str [function] [call site] 00312
6 lexy::is_set [function] [call site] 00314
6 lexy::_detail::write_str [function] [call site] 00315
6 _detail::write_color<_detail::color::reset> [function] [call site] 00316
5 TIXMLASSERT [function] [call site] 00317
5 TIXML_SNPRINTF [function] [call site] 00318
5 tinyxml2::XMLDocument::ErrorIDToName [function] [call site] 00322
6 TIXMLASSERT [function] [call site] 00323
6 TIXMLASSERT [function] [call site] 00324
5 static_cast<int> [function] [call site] 00325
5 static_cast<unsigned [call site] 00326
5 TIXML_SNPRINTF [function] [call site] 00328
5 TIXML_VSNPRINTF [function] [call site] 00331
6 vsnprintf_s [function] [call site] 00332
4 static_cast<size_t> [function] [call site] 00335
4 TIXMLASSERT [function] [call site] 00337
4 lexy::_detail::write_special_char [function] [call site] 00338
4 tinyxml2::XMLDocument::Parse [function] [call site] 00340
5 tinyxml2::XMLDocument::Clear [function] [call site] 00341
5 tinyxml2::XMLDocument::SetError [function] [call site] 00342
5 static_cast<size_t> [function] [call site] 00343
5 TIXMLASSERT [function] [call site] 00345
5 lexy::_detail::write_special_char [function] [call site] 00346
5 tinyxml2::XMLDocument::Parse [function] [call site] 00348
5 DeleteChildren [function] [call site] 00350
5 tinyxml2::XMLDocument::Clear [function] [call site] 00351
5 tinyxml2::XMLDocument::Clear [function] [call site] 00352
5 tinyxml2::XMLDocument::Clear [function] [call site] 00353
5 tinyxml2::XMLDocument::Clear [function] [call site] 00354
4 DeleteChildren [function] [call site] 00356
4 tinyxml2::XMLDocument::Clear [function] [call site] 00357
4 tinyxml2::XMLDocument::Clear [function] [call site] 00358
4 tinyxml2::XMLDocument::Clear [function] [call site] 00359
4 tinyxml2::XMLDocument::Clear [function] [call site] 00360
3 loadDocImpl [function] [call site] 00363
2 BT::XMLParser::instantiateTree [function] [call site] 00364
3 BT::IsReservedAttribute [function] [call site] 00369
3 begin [function] [call site] 00371
4 primitive_iterator_t::set_begin [function] [call site] 00372
3 RuntimeError [function] [call site] 00373
3 RuntimeError [function] [call site] 00374
3 recursivelyCreateSubtree [function] [call site] 00375
3 TryDynamicCastPtr [function] [call site] 00376
4 dynamic_cast<Casted*> [function] [call site] 00377
4 dynamic_cast<Casted*> [function] [call site] 00378
3 BT::Tree::initialize [function] [call site] 00379
4 std::make_shared<WakeUpSignal> [function] [call site] 00380
4 setWakeUpInstance [function] [call site] 00381
2 BT::BehaviorTreeFactory::manifests [function] [call site] 00382
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00383
1 generateFuzzedNodeXML [function] [call site] 00384
2 PickValueInArray [function] [call site] 00385
2 ConsumeIntegralInRange [function] [call site] 00386
2 PickValueInArray [function] [call site] 00387
2 ConsumeRandomLengthString [function] [call site] 00388
2 ConsumeBool [function] [call site] 00389
2 ConsumeIntegralInRange [function] [call site] 00390
2 generateFuzzedNodeXML [function] [call site] 00391
1 BT::Blackboard::create [function] [call site] 00392
2 std::shared_ptr<Blackboard> [function] [call site] 00393
2 BT::Blackboard::Blackboard [function] [call site] 00394
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00395
1 BT::BehaviorTreeFactory::createTreeFromText [function] [call site] 00396
1 BT::VerifyXML [function] [call site] 00397
2 tinyxml2::XMLDocument::Parse [function] [call site] 00398
3 tinyxml2::XMLDocument::Clear [function] [call site] 00399
3 tinyxml2::XMLDocument::SetError [function] [call site] 00400
3 static_cast<size_t> [function] [call site] 00401
3 TIXMLASSERT [function] [call site] 00403
3 lexy::_detail::write_special_char [function] [call site] 00404
3 tinyxml2::XMLDocument::Parse [function] [call site] 00406
3 DeleteChildren [function] [call site] 00408
3 tinyxml2::XMLDocument::Clear [function] [call site] 00409
3 tinyxml2::XMLDocument::Clear [function] [call site] 00410
3 tinyxml2::XMLDocument::Clear [function] [call site] 00411
3 tinyxml2::XMLDocument::Clear [function] [call site] 00412
2 tinyxml2::XMLDocument::ErrorName [function] [call site] 00416
3 tinyxml2::XMLDocument::ErrorIDToName [function] [call site] 00417
2 RuntimeError [function] [call site] 00418
2 RuntimeError [function] [call site] 00421
2 FirstChildElement [function] [call site] 00422
2 NextSiblingElement [function] [call site] 00423
3 const_cast<XMLElement*> [function] [call site] 00424
3 const_cast<const [call site] 00425
2 RootElement [function] [call site] 00426
3 FirstChildElement [function] [call site] 00427
2 BT::IsAllowedPortName [function] [call site] 00429
3 std::isalpha [function] [call site] 00433
3 BT::IsReservedAttribute [function] [call site] 00434
2 RuntimeError [function] [call site] 00435
2 FirstChildElement [function] [call site] 00436
3 const_cast<XMLElement*> [function] [call site] 00437
3 const_cast<const [call site] 00438
2 NextSiblingElement [function] [call site] 00439
2 ThrowError [function] [call site] 00440
2 GetLineNum [function] [call site] 00441
2 FirstChildElement [function] [call site] 00442
2 NextSiblingElement [function] [call site] 00443
2 BT::IsAllowedPortName [function] [call site] 00444
3 std::isalpha [function] [call site] 00447
3 BT::IsReservedAttribute [function] [call site] 00448
2 BT::IsReservedAttribute [function] [call site] 00449
2 ThrowError [function] [call site] 00450
2 GetLineNum [function] [call site] 00451
2 FirstChildElement [function] [call site] 00452
2 NextSiblingElement [function] [call site] 00453
2 ChildrenCount [function] [call site] 00454
2 BT::IsAllowedPortName [function] [call site] 00455
2 BT::IsReservedAttribute [function] [call site] 00456
2 BT::IsReservedAttribute [function] [call site] 00457
2 GetLineNum [function] [call site] 00458
2 ThrowError [function] [call site] 00460
2 ThrowError [function] [call site] 00464
2 ThrowError [function] [call site] 00469
2 ThrowError [function] [call site] 00470
2 ThrowError [function] [call site] 00471
2 ThrowError [function] [call site] 00473
2 ThrowError [function] [call site] 00476
2 ThrowError [function] [call site] 00478
2 ThrowError [function] [call site] 00480
2 FirstChildElement [function] [call site] 00482
3 const_cast<XMLElement*> [function] [call site] 00483
3 const_cast<const [call site] 00484
2 NextSiblingElement [function] [call site] 00485
2 BT::IsAllowedPortName [function] [call site] 00486
2 ThrowError [function] [call site] 00489
2 GetLineNum [function] [call site] 00490
2 ThrowError [function] [call site] 00492
2 ThrowError [function] [call site] 00494
2 ThrowError [function] [call site] 00496
2 FirstChildElement [function] [call site] 00498
2 NextSiblingElement [function] [call site] 00499
2 recursiveStep [function] [call site] 00500
2 FirstChildElement [function] [call site] 00501
2 NextSiblingElement [function] [call site] 00502
2 recursiveStep [function] [call site] 00503
1 BT::BehaviorTreeFactory::registerBehaviorTreeFromText [function] [call site] 00504
2 BT::XMLParser::loadFromText [function] [call site] 00505
3 emplace_back [function] [call site] 00506
3 XMLDocument [function] [call site] 00507
3 tinyxml2::XMLDocument::Parse [function] [call site] 00509
3 loadDocImpl [function] [call site] 00512
1 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00513
2 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00514
1 BT::BehaviorTreeFactory::createTree [function] [call site] 00515
2 BT::XMLParser::instantiateTree [function] [call site] 00516
3 BT::IsReservedAttribute [function] [call site] 00519
3 RuntimeError [function] [call site] 00522
3 RuntimeError [function] [call site] 00523
3 recursivelyCreateSubtree [function] [call site] 00524
3 TryDynamicCastPtr [function] [call site] 00525
3 BT::Tree::initialize [function] [call site] 00526
2 BT::BehaviorTreeFactory::manifests [function] [call site] 00527
1 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00528