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
534 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 zmq::detail::ranges::end [function] [call site] 00046
6 zmq::detail::ranges::end [function] [call site] 00047
6 std::forward<T> [function] [call site] 00048
6 zmq::detail::ranges::end [function] [call site] 00049
6 std::forward<T> [function] [call site] 00050
4 BehaviorTreeException [function] [call site] 00053
4 insert [function] [call site] 00054
5 emplace [function] [call site] 00055
6 m_compare [function] [call site] 00058
6 emplace_back [function] [call site] 00059
7 JSON_HEDLEY_UNLIKELY [function] [call site] 00060
7 JSON_THROW [function] [call site] 00063
7 type_error::create [function] [call site] 00064
8 concat [function] [call site] 00065
9 lexy::_detail::pt_buffer::reserve [function] [call site] 00066
10 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00067
11 std::size_t [function] [call site] 00068
11 lexy::_detail::pt_buffer::end [function] [call site] 00069
10 lexy::_detail::pt_buffer::allocate [function] [call site] 00070
11 lexy::_detail::pt_buffer::allocate [function] [call site] 00071
12 lexy::_detail::pt_buffer::allocate [function] [call site] 00072
12 lexy::_detail::parse_context_control_block [function] [call site] 00073
13 LEXY_MOV [function] [call site] 00074
13 static_cast<int> [function] [call site] 00075
11 lexy::_detail::parse_context_control_block [function] [call site] 00076
9 concat_length [function] [call site] 00077
9 concat_into [function] [call site] 00078
9 std::forward<Args> [function] [call site] 00079
8 exception::diagnostics [function] [call site] 00102
8 std::string::c_str [function] [call site] 00103
7 type_name [function] [call site] 00105
7 assert_invariant [function] [call site] 00107
7 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00108
8 std::size_t [function] [call site] 00109
8 lexy::_detail::pt_buffer::end [function] [call site] 00110
7 emplace_back [function] [call site] 00111
8 JSON_HEDLEY_UNLIKELY [function] [call site] 00112
8 JSON_THROW [function] [call site] 00115
8 type_error::create [function] [call site] 00116
8 type_name [function] [call site] 00118
8 assert_invariant [function] [call site] 00120
8 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00121
8 emplace_back [function] [call site] 00122
8 std::forward<Args> [function] [call site] 00123
8 set_parent [function] [call site] 00124
9 static_cast<std::size_t> [function] [call site] 00125
9 static_cast<std::size_t> [function] [call site] 00126
9 JSON_ASSERT [function] [call site] 00127
9 JSON_HEDLEY_UNLIKELY [function] [call site] 00129
9 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00130
9 set_parents [function] [call site] 00131
9 set_parents [function] [call site] 00132
9 static_cast<void> [function] [call site] 00133
9 static_cast<void> [function] [call site] 00134
8 back [function] [call site] 00135
9 JSON_HEDLEY_UNLIKELY [function] [call site] 00136
9 JSON_THROW [function] [call site] 00138
9 out_of_range::create [function] [call site] 00139
10 exception::name [function] [call site] 00141
10 exception::diagnostics [function] [call site] 00142
10 std::string::c_str [function] [call site] 00143
9 back [function] [call site] 00144
10 JSON_HEDLEY_UNLIKELY [function] [call site] 00145
10 JSON_THROW [function] [call site] 00147
10 out_of_range::create [function] [call site] 00148
7 std::forward<Args> [function] [call site] 00150
7 set_parent [function] [call site] 00151
6 std::forward<T> [function] [call site] 00153
6 std::prev [function] [call site] 00154
5 std::move [function] [call site] 00156
3 CreateManifest<T> [function] [call site] 00160
3 CreateBuilder<T> [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 BT::BehaviorTreeFactory::registerNodeType [function] [call site] 00202
2 std::make_shared<std::unordered_map<std::string, [call site] 00206
1 FuzzedDataProvider::ConsumeBool [function] [call site] 00207
1 FuzzedDataProvider::ConsumeRandomLengthString [function] [call site] 00208
1 BT::BehaviorTreeFactory::createTreeFromText [function] [call site] 00209
2 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00210
3 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00211
2 BT::XMLParser::loadFromText [function] [call site] 00212
3 emplace_back [function] [call site] 00213
4 JSON_HEDLEY_UNLIKELY [function] [call site] 00214
4 JSON_THROW [function] [call site] 00217
4 type_error::create [function] [call site] 00218
4 type_name [function] [call site] 00220
4 assert_invariant [function] [call site] 00222
4 lexy::_detail::pt_buffer::remaining_capacity [function] [call site] 00223
4 emplace_back [function] [call site] 00224
4 std::forward<Args> [function] [call site] 00225
4 set_parent [function] [call site] 00226
3 XMLDocument [function] [call site] 00228
4 XMLDocument [function] [call site] 00229
5 XMLDocument [function] [call site] 00230
5 TIXMLASSERT [function] [call site] 00231
5 TIXMLASSERT [function] [call site] 00232
5 static_cast<size_t> [function] [call site] 00233
5 FirstChildElement [function] [call site] 00234
6 const_cast<XMLElement*> [function] [call site] 00235
6 const_cast<const [call site] 00236
5 FirstChildElement [function] [call site] 00237
5 XMLDocument [function] [call site] 00238
5 PushDepth [function] [call site] 00239
4 TIXMLASSERT [function] [call site] 00241
4 TIXMLASSERT [function] [call site] 00242
4 static_cast<size_t> [function] [call site] 00243
4 FirstChildElement [function] [call site] 00244
4 FirstChildElement [function] [call site] 00245
4 XMLDocument [function] [call site] 00246
4 PushDepth [function] [call site] 00247
3 back [function] [call site] 00249
4 JSON_HEDLEY_UNLIKELY [function] [call site] 00250
4 JSON_THROW [function] [call site] 00252
4 out_of_range::create [function] [call site] 00253
3 tinyxml2::XMLDocument::Parse [function] [call site] 00255
4 tinyxml2::XMLDocument::Clear [function] [call site] 00256
5 DeleteChildren [function] [call site] 00257
5 tinyxml2::XMLDocument::DeleteNode [function] [call site] 00259
6 TIXMLASSERT [function] [call site] 00260
6 TIXMLASSERT [function] [call site] 00261
6 tinyxml2::XMLNode::DeleteChild [function] [call site] 00262
7 TIXMLASSERT [function] [call site] 00263
7 TIXMLASSERT [function] [call site] 00264
7 TIXMLASSERT [function] [call site] 00265
7 tinyxml2::XMLNode::Unlink [function] [call site] 00266
8 TIXMLASSERT [function] [call site] 00267
8 TIXMLASSERT [function] [call site] 00268
8 TIXMLASSERT [function] [call site] 00269
7 TIXMLASSERT [function] [call site] 00270
7 TIXMLASSERT [function] [call site] 00271
7 TIXMLASSERT [function] [call site] 00272
7 tinyxml2::XMLNode::DeleteNode [function] [call site] 00273
8 TIXMLASSERT [function] [call site] 00274
8 ToDocument [function] [call site] 00275
8 tinyxml2::XMLDocument::MarkInUse [function] [call site] 00276
8 XMLNode*::~XMLNode [function] [call site] 00281
8 tinyxml2::MemPoolT::Free [function] [call site] 00282
9 static_cast<Item*> [function] [call site] 00283
6 tinyxml2::MemPoolT::SetTracked [function] [call site] 00285
6 tinyxml2::XMLNode::DeleteNode [function] [call site] 00286
5 tinyxml2::XMLDocument::ClearError [function] [call site] 00288
5 TIXMLASSERT [function] [call site] 00294
5 CurrentAllocs [function] [call site] 00295
5 Untracked [function] [call site] 00296
5 TIXMLASSERT [function] [call site] 00297
5 CurrentAllocs [function] [call site] 00298
5 Untracked [function] [call site] 00299
5 TIXMLASSERT [function] [call site] 00300
5 CurrentAllocs [function] [call site] 00301
5 Untracked [function] [call site] 00302
5 TIXMLASSERT [function] [call site] 00303
5 CurrentAllocs [function] [call site] 00304
5 Untracked [function] [call site] 00305
4 tinyxml2::XMLDocument::SetError [function] [call site] 00306
5 TIXMLASSERT [function] [call site] 00307
5 lexy::_detail::write_special_char [function] [call site] 00309
6 _detail::write_color<_detail::color::cyan, [call site] 00310
6 lexy::is_set [function] [call site] 00311
6 lexy::_detail::write_str [function] [call site] 00312
6 lexy::_detail::write_str [function] [call site] 00313
6 lexy::is_set [function] [call site] 00315
6 lexy::_detail::write_str [function] [call site] 00316
6 _detail::write_color<_detail::color::reset> [function] [call site] 00317
5 TIXMLASSERT [function] [call site] 00318
5 TIXML_SNPRINTF [function] [call site] 00319
5 tinyxml2::XMLDocument::ErrorIDToName [function] [call site] 00323
6 TIXMLASSERT [function] [call site] 00324
6 TIXMLASSERT [function] [call site] 00325
5 TIXML_SNPRINTF [function] [call site] 00327
5 TIXML_VSNPRINTF [function] [call site] 00330
6 vsnprintf_s [function] [call site] 00331
4 static_cast<size_t> [function] [call site] 00334
4 TIXMLASSERT [function] [call site] 00336
4 lexy::_detail::write_special_char [function] [call site] 00337
4 tinyxml2::XMLDocument::Parse [function] [call site] 00339
5 tinyxml2::XMLDocument::Clear [function] [call site] 00340
5 tinyxml2::XMLDocument::SetError [function] [call site] 00341
5 static_cast<size_t> [function] [call site] 00342
5 TIXMLASSERT [function] [call site] 00344
5 lexy::_detail::write_special_char [function] [call site] 00345
5 tinyxml2::XMLDocument::Parse [function] [call site] 00347
5 DeleteChildren [function] [call site] 00349
5 tinyxml2::XMLDocument::Clear [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
4 DeleteChildren [function] [call site] 00355
4 tinyxml2::XMLDocument::Clear [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
3 loadDocImpl [function] [call site] 00362
2 BT::XMLParser::instantiateTree [function] [call site] 00363
3 BT::IsReservedAttribute [function] [call site] 00368
3 begin [function] [call site] 00370
4 primitive_iterator_t::set_begin [function] [call site] 00371
3 RuntimeError [function] [call site] 00372
3 RuntimeError [function] [call site] 00373
3 recursivelyCreateSubtree [function] [call site] 00374
3 TryDynamicCastPtr [function] [call site] 00375
4 dynamic_cast<Casted*> [function] [call site] 00376
4 dynamic_cast<Casted*> [function] [call site] 00377
3 BT::Tree::initialize [function] [call site] 00378
4 std::make_shared<WakeUpSignal> [function] [call site] 00379
4 setWakeUpInstance [function] [call site] 00380
2 BT::BehaviorTreeFactory::manifests [function] [call site] 00381
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00382
1 generateFuzzedNodeXML [function] [call site] 00383
2 PickValueInArray [function] [call site] 00384
2 ConsumeIntegralInRange [function] [call site] 00385
2 PickValueInArray [function] [call site] 00386
2 ConsumeRandomLengthString [function] [call site] 00387
2 ConsumeBool [function] [call site] 00388
2 ConsumeIntegralInRange [function] [call site] 00389
2 generateFuzzedNodeXML [function] [call site] 00390
1 BT::Blackboard::create [function] [call site] 00391
2 std::shared_ptr<Blackboard> [function] [call site] 00392
2 BT::Blackboard::Blackboard [function] [call site] 00393
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00394
1 BT::BehaviorTreeFactory::createTreeFromText [function] [call site] 00395
1 BT::VerifyXML [function] [call site] 00396
2 tinyxml2::XMLDocument::Parse [function] [call site] 00397
3 tinyxml2::XMLDocument::Clear [function] [call site] 00398
3 tinyxml2::XMLDocument::SetError [function] [call site] 00399
3 static_cast<size_t> [function] [call site] 00400
3 TIXMLASSERT [function] [call site] 00402
3 lexy::_detail::write_special_char [function] [call site] 00403
3 tinyxml2::XMLDocument::Parse [function] [call site] 00405
3 DeleteChildren [function] [call site] 00407
3 tinyxml2::XMLDocument::Clear [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
2 tinyxml2::XMLDocument::ErrorName [function] [call site] 00415
3 tinyxml2::XMLDocument::ErrorIDToName [function] [call site] 00416
2 RuntimeError [function] [call site] 00417
2 RuntimeError [function] [call site] 00420
2 FirstChildElement [function] [call site] 00421
2 NextSiblingElement [function] [call site] 00422
3 const_cast<XMLElement*> [function] [call site] 00423
3 const_cast<const [call site] 00424
2 RootElement [function] [call site] 00425
3 FirstChildElement [function] [call site] 00426
2 BT::IsAllowedPortName [function] [call site] 00428
3 std::isalpha [function] [call site] 00432
3 BT::IsReservedAttribute [function] [call site] 00433
2 RuntimeError [function] [call site] 00434
2 FirstChildElement [function] [call site] 00435
3 const_cast<XMLElement*> [function] [call site] 00436
3 const_cast<const [call site] 00437
2 NextSiblingElement [function] [call site] 00438
2 ThrowError [function] [call site] 00439
2 GetLineNum [function] [call site] 00440
2 FirstChildElement [function] [call site] 00441
2 NextSiblingElement [function] [call site] 00442
2 BT::IsAllowedPortName [function] [call site] 00443
3 std::isalpha [function] [call site] 00446
3 BT::IsReservedAttribute [function] [call site] 00447
2 BT::IsReservedAttribute [function] [call site] 00448
2 ThrowError [function] [call site] 00449
2 GetLineNum [function] [call site] 00450
2 FirstChildElement [function] [call site] 00451
2 NextSiblingElement [function] [call site] 00452
2 ChildrenCount [function] [call site] 00453
2 BT::IsAllowedPortName [function] [call site] 00454
2 BT::IsReservedAttribute [function] [call site] 00455
2 BT::IsReservedAttribute [function] [call site] 00456
2 GetLineNum [function] [call site] 00457
2 ThrowError [function] [call site] 00458
2 ThrowError [function] [call site] 00460
2 ThrowError [function] [call site] 00461
2 ThrowError [function] [call site] 00463
2 ThrowError [function] [call site] 00464
2 ThrowError [function] [call site] 00466
2 ThrowError [function] [call site] 00467
2 ThrowError [function] [call site] 00469
2 ThrowError [function] [call site] 00470
2 ThrowError [function] [call site] 00472
2 ThrowError [function] [call site] 00477
2 ThrowError [function] [call site] 00479
2 ThrowError [function] [call site] 00480
2 ThrowError [function] [call site] 00482
2 ThrowError [function] [call site] 00485
2 ThrowError [function] [call site] 00488
2 ThrowError [function] [call site] 00490
2 FirstChildElement [function] [call site] 00492
3 const_cast<XMLElement*> [function] [call site] 00493
3 const_cast<const [call site] 00494
2 NextSiblingElement [function] [call site] 00495
2 BT::IsAllowedPortName [function] [call site] 00496
2 ThrowError [function] [call site] 00499
2 GetLineNum [function] [call site] 00500
2 ThrowError [function] [call site] 00502
2 FirstChildElement [function] [call site] 00504
2 NextSiblingElement [function] [call site] 00505
2 recursiveStep [function] [call site] 00506
2 FirstChildElement [function] [call site] 00507
2 NextSiblingElement [function] [call site] 00508
2 recursiveStep [function] [call site] 00509
1 BT::BehaviorTreeFactory::registerBehaviorTreeFromText [function] [call site] 00510
2 BT::XMLParser::loadFromText [function] [call site] 00511
3 emplace_back [function] [call site] 00512
3 XMLDocument [function] [call site] 00513
3 tinyxml2::XMLDocument::Parse [function] [call site] 00515
3 loadDocImpl [function] [call site] 00518
1 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00519
2 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00520
1 BT::BehaviorTreeFactory::createTree [function] [call site] 00521
2 BT::XMLParser::instantiateTree [function] [call site] 00522
3 BT::IsReservedAttribute [function] [call site] 00525
3 RuntimeError [function] [call site] 00528
3 RuntimeError [function] [call site] 00529
3 recursivelyCreateSubtree [function] [call site] 00530
3 TryDynamicCastPtr [function] [call site] 00531
3 BT::Tree::initialize [function] [call site] 00532
2 BT::BehaviorTreeFactory::manifests [function] [call site] 00533
1 BT::BehaviorTreeFactory::registeredBehaviorTrees [function] [call site] 00534