Fuzz introspector: tests/fuzzing/fuzz_proxy_protocol.cc
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
450 0 EP call site: 00000 proxy_protocol_parse

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 reinterpret_cast<char [call site] 00001
1 DiagsPtr::set [function] [call site] 00002
2 DebugInterface::set_instance [function] [call site] 00003
3 Diags::debug_tag_activated [function] [call site] 00007
4 Diags::tag_activated [function] [call site] 00008
5 lock [function] [call site] 00009
6 ink_mutex_acquire [function] [call site] 00010
7 pthread_mutex_lock [function] [call site] 00011
7 ink_abort [function] [call site] 00013
8 abort [function] [call site] 00022
9 TSVConnAbort [function] [call site] 00023
10 sdk_assert [function] [call site] 00024
10 sdk_sanity_check_iocore_structure [function] [call site] 00025
10 reinterpret_cast<VConnection [call site] 00026
10 do_io_close [function] [call site] 00027
11 ink_assert [function] [call site] 00028
9 close [function] [call site] 00029
10 drainReader [function] [call site] 00030
11 reader_avail_more_than [function] [call site] 00031
12 TSIOBufferReaderStart [function] [call site] 00032
13 sdk_assert [function] [call site] 00033
13 sdk_sanity_check_iocore_structure [function] [call site] 00034
13 IOBufferReader::skip_empty_blocks [function] [call site] 00035
14 IOBufferReader::block_read_avail [function] [call site] 00036
15 IOBufferReader::skip_empty_blocks [function] [call site] 00037
16 IOBufferReader::block_read_avail [function] [call site] 00038
15 static_cast<int64_t> [function] [call site] 00041
15 IOBufferReader::end [function] [call site] 00042
16 IOBufferReader::skip_empty_blocks [function] [call site] 00043
16 IOBufferReader::end [function] [call site] 00044
15 IOBufferReader::start [function] [call site] 00045
16 IOBufferReader::skip_empty_blocks [function] [call site] 00046
16 IOBufferReader::start [function] [call site] 00047
13 reinterpret_cast<TSIOBufferBlock> [function] [call site] 00050
13 IOBufferReader::get_current_block [function] [call site] 00051
14 get [function] [call site] 00052
15 static_cast<pcre2_match_data [call site] 00053
12 TSIOBufferBlockReadAvail [function] [call site] 00054
13 sdk_assert [function] [call site] 00055
13 sdk_sanity_check_iocore_structure [function] [call site] 00056
13 sdk_assert [function] [call site] 00057
13 sdk_sanity_check_iocore_structure [function] [call site] 00058
13 IOBufferReader::block_read_avail [function] [call site] 00059
14 IOBufferReader::skip_empty_blocks [function] [call site] 00060
14 static_cast<int64_t> [function] [call site] 00061
14 IOBufferReader::end [function] [call site] 00062
14 IOBufferReader::start [function] [call site] 00063
13 get [function] [call site] 00064
14 static_cast<pcre2_match_data [call site] 00065
12 TSIOBufferBlockNext [function] [call site] 00066
13 sdk_assert [function] [call site] 00067
13 sdk_sanity_check_iocore_structure [function] [call site] 00068
13 get [function] [call site] 00069
14 static_cast<pcre2_match_data [call site] 00070
11 TSIOBufferReaderAvail [function] [call site] 00071
12 sdk_assert [function] [call site] 00072
12 sdk_sanity_check_iocore_structure [function] [call site] 00073
12 IOBufferReader::block_read_avail [function] [call site] 00074
13 IOBufferReader::skip_empty_blocks [function] [call site] 00075
13 static_cast<int64_t> [function] [call site] 00076
13 IOBufferReader::end [function] [call site] 00077
13 IOBufferReader::start [function] [call site] 00078
11 TSIOBufferReaderConsume [function] [call site] 00079
12 sdk_assert [function] [call site] 00080
12 sdk_sanity_check_iocore_structure [function] [call site] 00081
12 sdk_assert [function] [call site] 00082
12 Io_buffer_consume::Io_buffer_consume [function] [call site] 00083
11 TSVIONDoneSet [function] [call site] 00084
12 sdk_assert [function] [call site] 00085
12 sdk_sanity_check_iocore_structure [function] [call site] 00086
12 sdk_assert [function] [call site] 00087
11 TSVIONDoneGet [function] [call site] 00088
12 sdk_assert [function] [call site] 00089
12 sdk_sanity_check_iocore_structure [function] [call site] 00090
7 static_cast<void [call site] 00092
5 unlock [function] [call site] 00095
6 ink_mutex_release [function] [call site] 00096
7 pthread_mutex_unlock [function] [call site] 00097
7 ink_abort [function] [call site] 00099
7 static_cast<void [call site] 00100
1 Diags::Diags [function] [call site] 00102
2 ink_release_assert [function] [call site] 00103
2 ink_mutex_init [function] [call site] 00105
3 x_pthread_mutexattr_t::x_pthread_mutexattr_t [function] [call site] 00106
4 pthread_mutexattr_init [function] [call site] 00107
4 pthread_mutexattr_settype [function] [call site] 00108
3 pthread_mutex_init [function] [call site] 00109
3 ink_abort [function] [call site] 00111
2 ats_strdup [function] [call site] 00113
2 ats_strdup [function] [call site] 00114
2 BaseLogFile::BaseLogFile [function] [call site] 00117
2 BaseLogFile::BaseLogFile [function] [call site] 00121
2 open_file [function] [call site] 00122
3 std::fstream::open [function] [call site] 00123
3 std::fstream::is_open [function] [call site] 00124
3 std::fstream::clear [function] [call site] 00125
3 std::fstream::open [function] [call site] 00126
3 std::fstream::is_open [function] [call site] 00127
3 swoc::SWOC_VERSION_NS::bwprint [function] [call site] 00128
4 swoc::SWOC_VERSION_NS::bwprint_v [function] [call site] 00129
5 std::string::size [function] [call site] 00130
5 FixedBufferWriter [function] [call site] 00131
5 std::string::capacity [function] [call site] 00133
5 std::string::resize [function] [call site] 00135
4 std::forward_as_tuple [function] [call site] 00137
2 open_file [function] [call site] 00139
2 Diags::setup_diagslog [function] [call site] 00142
3 open_file [function] [call site] 00143
4 std::fstream::open [function] [call site] 00144
4 std::fstream::is_open [function] [call site] 00145
4 std::fstream::clear [function] [call site] 00146
4 std::fstream::open [function] [call site] 00147
4 std::fstream::is_open [function] [call site] 00148
4 swoc::SWOC_VERSION_NS::bwprint [function] [call site] 00149
3 log_log_error [function] [call site] 00151
1 ProxyProtocol::ProxyProtocol [function] [call site] 00153
1 proxy_protocol_parse [function] [call site] 00154
2 RegexMatches::size [function] [call site] 00155
2 swoc::SWOC_VERSION_NS::TextView::starts_with [function] [call site] 00156
3 RegexMatches::size [function] [call site] 00157
3 std::string_view::size [function] [call site] 00158
3 swoc::SWOC_VERSION_NS::memcmp [function] [call site] 00159
4 swoc::SWOC_VERSION_NS::MemSpan<T>::size [function] [call site] 00160
4 swoc::SWOC_VERSION_NS::MemSpan<T>::count [function] [call site] 00161
4 swoc::SWOC_VERSION_NS::MemSpan<T>::count [function] [call site] 00162
4 swoc::SWOC_VERSION_NS::MemSpan<T>::count [function] [call site] 00163
4 swoc::SWOC_VERSION_NS::MemSpan<T>::count [function] [call site] 00164
4 swoc::SWOC_VERSION_NS::MemSpan<T>::size [function] [call site] 00165
4 swoc::SWOC_VERSION_NS::memcmp [function] [call site] 00166
3 swoc::SWOC_VERSION_NS::TextView::data [function] [call site] 00169
4 FetchSM::ext_read_data [function] [call site] 00170
3 std::string_view::size [function] [call site] 00172
2 proxy_protocol_v1_parse [function] [call site] 00173
3 ink_release_assert [function] [call site] 00174
3 RegexMatches::size [function] [call site] 00175
3 TS_OCSP_resp_find [function] [call site] 00176
4 static_cast<int> [function] [call site] 00178
4 sk_TS_OCSP_SINGLERESP_num [function] [call site] 00179
4 sk_TS_OCSP_SINGLERESP_value [function] [call site] 00180
4 TS_OCSP_id_cmp [function] [call site] 00181
5 TS_OCSP_id_issuer_cmp [function] [call site] 00182
6 ASN1_OCTET_STRING_cmp [function] [call site] 00184
6 ASN1_OCTET_STRING_cmp [function] [call site] 00185
5 ASN1_INTEGER_cmp [function] [call site] 00186
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00189
4 swoc::SWOC_VERSION_NS::TextView::split_prefix [function] [call site] 00190
5 RegexMatches::size [function] [call site] 00191
5 swoc::SWOC_VERSION_NS::TextView::prefix [function] [call site] 00192
6 swoc::SWOC_VERSION_NS::TextView::data [function] [call site] 00193
6 RegexMatches::size [function] [call site] 00195
5 swoc::SWOC_VERSION_NS::TextView::remove_prefix [function] [call site] 00196
6 cripts::StringViewMixin::remove_prefix [function] [call site] 00197
7 cripts::StringViewMixin::remove_prefix [function] [call site] 00198
8 cripts::StringViewMixin::remove_prefix [function] [call site] 00199
6 RegexMatches::size [function] [call site] 00201
5 RegexMatches::size [function] [call site] 00203
4 TS_OCSP_resp_find [function] [call site] 00204
5 static_cast<int> [function] [call site] 00206
5 sk_TS_OCSP_SINGLERESP_num [function] [call site] 00207
5 sk_TS_OCSP_SINGLERESP_value [function] [call site] 00208
5 TS_OCSP_id_cmp [function] [call site] 00209
3 RegexMatches::size [function] [call site] 00210
3 static_cast<int> [function] [call site] 00212
3 RegexMatches::size [function] [call site] 00213
3 static_cast<int> [function] [call site] 00215
3 static_cast<int> [function] [call site] 00219
3 RegexMatches::size [function] [call site] 00220
3 swoc::SWOC_VERSION_NS::TextView::starts_with [function] [call site] 00222
3 swoc::SWOC_VERSION_NS::TextView::starts_with [function] [call site] 00224
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00225
3 RegexMatches::size [function] [call site] 00226
3 swoc::SWOC_VERSION_NS::TextView::starts_with [function] [call site] 00227
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00228
3 RegexMatches::size [function] [call site] 00229
3 static_cast<int> [function] [call site] 00231
3 RegexMatches::size [function] [call site] 00232
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00234
3 RegexMatches::size [function] [call site] 00235
3 static_cast<int> [function] [call site] 00237
3 RegexMatches::size [function] [call site] 00238
3 ats_ip_pton [function] [call site] 00240
4 ats_ip_invalidate [function] [call site] 00241
4 ats_ip_parse [function] [call site] 00242
5 ink_zero [function] [call site] 00243
6 static_cast<void [call site] 00245
5 swoc::TextView::ltrim_if [function] [call site] 00248
5 swoc::SWOC_VERSION_NS::TextView::take_prefix_at [function] [call site] 00249
6 swoc::SWOC_VERSION_NS::TextView::take_prefix [function] [call site] 00250
7 RegexMatches::size [function] [call site] 00252
7 swoc::SWOC_VERSION_NS::TextView::prefix [function] [call site] 00253
7 swoc::SWOC_VERSION_NS::TextView::remove_prefix [function] [call site] 00254
7 RegexMatches::size [function] [call site] 00256
6 TS_OCSP_resp_find [function] [call site] 00257
5 cripts::StringViewMixin::rfind [function] [call site] 00258
6 cripts::StringViewMixin::rfind [function] [call site] 00259
7 cripts::StringViewMixin::rfind [function] [call site] 00260
5 TS_OCSP_resp_find [function] [call site] 00261
5 swoc::SWOC_VERSION_NS::TextView::take_prefix [function] [call site] 00262
6 RegexMatches::size [function] [call site] 00264
6 swoc::SWOC_VERSION_NS::TextView::prefix [function] [call site] 00265
6 swoc::SWOC_VERSION_NS::TextView::remove_prefix [function] [call site] 00266
6 RegexMatches::size [function] [call site] 00268
5 swoc::SWOC_VERSION_NS::TextView::clear [function] [call site] 00269
6 DLL<C, [call site] 00270
5 swoc::TextView::ltrim_if [function] [call site] 00271
5 swoc::SWOC_VERSION_NS::TextView::assign [function] [call site] 00274
6 swoc::SWOC_VERSION_NS::TextView::assign [function] [call site] 00275
7 swoc::SWOC_VERSION_NS::TextView::assign [function] [call site] 00276
7 RegexMatches::size [function] [call site] 00278
6 RegexMatches::size [function] [call site] 00280
5 RegexMatches::size [function] [call site] 00282
5 std::string_view [function] [call site] 00283
5 std::string_view*::empty [function] [call site] 00287
4 std::string_view::size [function] [call site] 00288
4 static_cast<char [call site] 00289
4 std::string_view::size [function] [call site] 00291
4 memcpy [function] [call site] 00292
5 std::string_view::size [function] [call site] 00295
4 std::string_view::size [function] [call site] 00297
4 std::string_view::size [function] [call site] 00298
4 std::string_view [function] [call site] 00299
4 std::string_view::size [function] [call site] 00300
4 std::string_view::find [function] [call site] 00301
4 inet_pton [function] [call site] 00302
4 ats_ip6_set [function] [call site] 00304
5 ats_ip_sa_cast [function] [call site] 00307
6 static_cast<sockaddr [call site] 00308
6 static_cast<void [call site] 00309
4 inet_aton [function] [call site] 00310
4 ats_ip4_set [function] [call site] 00312
5 ats_ip_sa_cast [function] [call site] 00314
4 ats_is_ip [function] [call site] 00315
4 ats_ip_port_cast [function] [call site] 00316
5 ats_is_ip4 [function] [call site] 00317
5 ats_ip4_cast [function] [call site] 00318
6 static_cast<sockaddr_in [call site] 00319
6 static_cast<void [call site] 00320
5 ats_is_ip6 [function] [call site] 00321
5 ats_ip6_cast [function] [call site] 00322
6 static_cast<sockaddr_in6 [call site] 00323
6 static_cast<void [call site] 00324
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00329
3 RegexMatches::size [function] [call site] 00330
3 static_cast<int> [function] [call site] 00332
3 RegexMatches::size [function] [call site] 00333
3 ats_ip_pton [function] [call site] 00335
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00336
3 RegexMatches::size [function] [call site] 00337
3 static_cast<int> [function] [call site] 00339
3 RegexMatches::size [function] [call site] 00340
3 swoc::SWOC_VERSION_NS::svtoi [function] [call site] 00342
4 uintmax_t [function] [call site] 00344
4 TextView::ltrim_if [function] [call site] 00346
4 swoc::SWOC_VERSION_NS::svtou [function] [call site] 00348
5 APIHooks::clear [function] [call site] 00349
6 ink_abort [function] [call site] 00350
5 TextView::ltrim_if [function] [call site] 00351
5 swoc::SWOC_VERSION_NS::svto_radix [function] [call site] 00353
6 RegexMatches::size [function] [call site] 00355
5 swoc::SWOC_VERSION_NS::svto_radix [function] [call site] 00356
5 swoc::SWOC_VERSION_NS::svto_radix [function] [call site] 00357
5 swoc::SWOC_VERSION_NS::svto_radix [function] [call site] 00358
5 RegexMatches::size [function] [call site] 00360
5 static_cast<unsigned [call site] 00361
5 uintmax_t [function] [call site] 00362
5 HostDBInfo::assign [function] [call site] 00363
6 ip_addr_set [function] [call site] 00364
7 static_cast<in6_addr [call site] 00365
7 static_cast<in_addr_t [call site] 00366
7 ats_ip_invalidate [function] [call site] 00367
4 HostDBInfo::assign [function] [call site] 00371
4 swoc::SWOC_VERSION_NS::TextView::data_end [function] [call site] 00372
5 swoc::SWOC_VERSION_NS::TextView::data [function] [call site] 00373
5 RegexMatches::size [function] [call site] 00374
4 std::min<uintmax_t> [function] [call site] 00375
3 static_cast<int> [function] [call site] 00380
3 RegexMatches::size [function] [call site] 00381
3 IpEndpoint::network_order_port [function] [call site] 00383
4 ats_ip_port_cast [function] [call site] 00384
3 swoc::SWOC_VERSION_NS::TextView::split_prefix_at [function] [call site] 00386
3 RegexMatches::size [function] [call site] 00387
3 TS_OCSP_resp_find [function] [call site] 00388
3 static_cast<int> [function] [call site] 00390
3 RegexMatches::size [function] [call site] 00391
3 swoc::SWOC_VERSION_NS::svtoi [function] [call site] 00393
3 static_cast<int> [function] [call site] 00395
3 RegexMatches::size [function] [call site] 00396
3 IpEndpoint::network_order_port [function] [call site] 00398
4 ats_ip_port_cast [function] [call site] 00399
2 RegexMatches::size [function] [call site] 00401
2 swoc::SWOC_VERSION_NS::TextView::starts_with [function] [call site] 00402
2 proxy_protocol_v2_parse [function] [call site] 00403
3 ink_release_assert [function] [call site] 00404
3 RegexMatches::size [function] [call site] 00405
3 reinterpret_cast<const [call site] 00406
3 RegexMatches::size [function] [call site] 00409
3 ProxyProtocol::set_ipv4_addrs [function] [call site] 00413
4 HostDBInfo::assign [function] [call site] 00414
5 ip_addr_set [function] [call site] 00415
4 HostDBInfo::assign [function] [call site] 00416
5 ip_addr_set [function] [call site] 00417
3 reinterpret_cast<in_addr_t> [function] [call site] 00418
3 reinterpret_cast<in_addr_t> [function] [call site] 00419
3 ProxyProtocol::set_ipv6_addrs [function] [call site] 00421
4 HostDBInfo::assign [function] [call site] 00422
4 HostDBInfo::assign [function] [call site] 00423
3 reinterpret_cast<in6_addr [call site] 00424
3 reinterpret_cast<in6_addr [call site] 00425
3 ProxyProtocol::set_additional_data [function] [call site] 00427
3 swoc::SWOC_VERSION_NS::TextView::substr [function] [call site] 00441
4 RegexMatches::size [function] [call site] 00442
4 RegexMatches::size [function] [call site] 00444
4 swoc::SWOC_VERSION_NS::TextView::data [function] [call site] 00445
2 RegexMatches::size [function] [call site] 00449