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

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzzer details

Fuzzer: sse_parser_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 2 8.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 23 92.0%
All colors 25 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
1 2 (anonymous namespace)::parse_in_chunks(std::__1::basic_string , std::__1::allocator > const&, unsigned long, unsigned long) call site: 00002
1 20 (anonymous namespace)::parse_in_chunks(std::__1::basic_string , std::__1::allocator > const&, unsigned long, unsigned long) call site: 00020

Runtime coverage analysis

Covered functions
18
Functions that are reachable but not covered
5
Reachable functions
34
Percentage of reachable functions covered
85.29%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/sse_parser_fuzzer.cc 2
/src/cpp-httplib/test/fuzzing/../../httplib.h 15

Fuzzer: multipart_parser_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 45 37.8%
gold [1:9] 2 1.68%
yellow [10:29] 1 0.84%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 71 59.6%
All colors 119 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
20 76 httplib::detail::insertion_ordered_multimap , std::__1::allocator >, std::__1::equal_to , std::__1::allocator > > >::make_iter(unsigned long, unsigned long) call site: 00076
17 58 httplib::detail::FormDataParser::parse_content_disposition(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator >&) const call site: 00058
5 51 httplib::detail::FormDataParser::start_with_case_ignore(std::__1::basic_string , std::__1::allocator > const&, char const*, unsigned long) const call site: 00051
2 116 LLVMFuzzerTestOneInput call site: 00116
1 2 httplib::detail::FormDataParser::FormDataParser() call site: 00002

Runtime coverage analysis

Covered functions
40
Functions that are reachable but not covered
44
Reachable functions
128
Percentage of reachable functions covered
65.62%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/multipart_parser_fuzzer.cc 1
/src/cpp-httplib/test/fuzzing/../../httplib.h 63

Fuzzer: url_parser_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 2 3.84%
gold [1:9] 1 1.92%
yellow [10:29] 0 0.0%
greenyellow [30:49] 2 3.84%
lawngreen 50+ 47 90.3%
All colors 52 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
1 8 httplib::detail::split(char const*, char const*, char, unsigned long, std::__1::function ) call site: 00008
1 32 httplib::detail::parse_url(std::__1::basic_string , std::__1::allocator > const&, httplib::detail::UrlComponents&) call site: 00032

Runtime coverage analysis

Covered functions
40
Functions that are reachable but not covered
10
Reachable functions
67
Percentage of reachable functions covered
85.07%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/url_parser_fuzzer.cc 1
/src/cpp-httplib/test/fuzzing/../../httplib.h 32

Fuzzer: header_parser_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 1 2.63%
gold [1:9] 5 13.1%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 2.63%
lawngreen 50+ 31 81.5%
All colors 38 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
1 28 httplib::detail::parse_disposition_params(std::__1::basic_string , std::__1::allocator > const&, httplib::detail::insertion_ordered_multimap , std::__1::allocator >, std::__1::equal_to , std::__1::allocator > > >&) call site: 00028

Runtime coverage analysis

Covered functions
47
Functions that are reachable but not covered
5
Reachable functions
46
Percentage of reachable functions covered
89.13%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/header_parser_fuzzer.cc 1
/src/cpp-httplib/test/fuzzing/../../httplib.h 21

Fuzzer: websocket_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 29 18.8%
gold [1:9] 3 1.94%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.64%
lawngreen 50+ 121 78.5%
All colors 154 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
20 132 httplib::detail::insertion_ordered_multimap , std::__1::allocator >, httplib::detail::case_ignore::equal_to>::iterator_t , std::__1::allocator >, std::__1::basic_string , std::__1::allocator > > const>::operator++() call site: 00132
4 103 httplib::detail::read_headers(httplib::Stream&, httplib::detail::insertion_ordered_multimap , std::__1::allocator >, httplib::detail::case_ignore::equal_to>&) call site: 00103
3 43 httplib::detail::read_response_head(httplib::Stream&, int&, httplib::detail::insertion_ordered_multimap , std::__1::allocator >, httplib::detail::case_ignore::equal_to>&) call site: 00043 memchr
1 20 httplib::ws::impl::read_websocket_frame(httplib::Stream&, httplib::ws::Opcode&, std::__1::basic_string , std::__1::allocator >&, bool&, bool, unsigned long) call site: 00020
1 38 LLVMFuzzerTestOneInput call site: 00038

Runtime coverage analysis

Covered functions
73
Functions that are reachable but not covered
31
Reachable functions
170
Percentage of reachable functions covered
81.76%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/websocket_fuzzer.cc 1
/src/cpp-httplib/test/fuzzing/../../httplib.h 82

Fuzzer: server_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 231 30.6%
gold [1:9] 21 2.78%
yellow [10:29] 2 0.26%
greenyellow [30:49] 15 1.98%
lawngreen 50+ 485 64.3%
All colors 754 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
51 521 httplib::detail::insertion_ordered_multimap , std::__1::allocator >, httplib::detail::case_ignore::equal_to>::begin() const call site: 00521 gmtime_r
29 472 httplib::Server::write_response_with_content(httplib::Stream&, bool, httplib::Request const&, httplib::Response&) call site: 00472 setsockopt
16 455 httplib::detail::is_websocket_upgrade(httplib::Request const&) call site: 00455 __cxa_guard_acquire
15 504 httplib::Server::handle_file_request(httplib::Request&, httplib::Response&) call site: 00504 realpath
13 305 httplib::Server::write_response_core(httplib::Stream&, bool, httplib::Request const&, httplib::Response&, bool) call site: 00305
13 336 bool httplib::detail::process_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}>(httplib::Request const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}) call site: 00336
10 16 httplib::Server::process_request(httplib::Stream&, std::__1::basic_string , std::__1::allocator > const&, int, std::__1::basic_string , std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*) call site: 00016
10 421 httplib::Server::process_request(httplib::Stream&, std::__1::basic_string , std::__1::allocator > const&, int, std::__1::basic_string , std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*) call site: 00421 inet_pton
9 96 httplib::detail::gzip_compressor::gzip_compressor() call site: 00096
8 267 httplib::detail::set_framing_headers(httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&) call site: 00267
8 725 httplib::Server::process_request(httplib::Stream&, std::__1::basic_string , std::__1::allocator > const&, int, std::__1::basic_string , std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*) call site: 00725
5 136 httplib::detail::is_prohibited_header_name(std::__1::basic_string , std::__1::allocator > const&) call site: 00136 __cxa_allocate_exception

Runtime coverage analysis

Covered functions
336
Functions that are reachable but not covered
193
Reachable functions
662
Percentage of reachable functions covered
70.85%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/server_fuzzer.cc 1
/src/cpp-httplib/test/fuzzing/./fuzzed_stream.h 3
/src/cpp-httplib/test/fuzzing/../../httplib.h 311
/usr/local/bin/../include/c++/v1/stdexcept 1

Fuzzer: server_mount_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 275 36.3%
gold [1:9] 23 3.03%
yellow [10:29] 1 0.13%
greenyellow [30:49] 2 0.26%
lawngreen 50+ 456 60.2%
All colors 757 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
29 473 httplib::Server::write_response_with_content(httplib::Stream&, bool, httplib::Request const&, httplib::Response&) call site: 00473 setsockopt
25 600 httplib::Server::routing(httplib::Request&, httplib::Response&, httplib::Stream&, bool) call site: 00600
25 661 httplib::detail::is_hex(char, int&) call site: 00661 strcmp
19 628 bool httplib::detail::read_content (httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function , std::__1::function , bool) call site: 00628 inflateInit2_
18 454 httplib::detail::is_websocket_upgrade(httplib::Request const&) call site: 00454 __cxa_guard_acquire
13 337 bool httplib::detail::process_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}>(httplib::Request const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string , std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}) call site: 00337
12 648 httplib::detail::read_content (httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function , std::__1::function , bool)::{lambda(std::__1::function const&)#1}::operator()(std::__1::function const&) const call site: 00648
12 702 bool httplib::detail::prepare_content_receiver (httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function , std::__1::function , bool)::{lambda(std::__1::function const&)#1}>(httplib::Request&, int&, std::__1::function , bool, unsigned long, bool&, httplib::detail::read_content (httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function , std::__1::function , bool)::{lambda(std::__1::function const&)#1}) call site: 00702
10 17 httplib::Server::process_request(httplib::Stream&, std::__1::basic_string , std::__1::allocator > const&, int, std::__1::basic_string , std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*) call site: 00017
10 422 httplib::Server::process_request(httplib::Stream&, std::__1::basic_string , std::__1::allocator > const&, int, std::__1::basic_string , std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*) call site: 00422 inet_pton
9 91 httplib::Server::apply_ranges(httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator >&) const call site: 00091 deflateInit2_
9 196 httplib::Server::apply_ranges(httplib::Request const&, httplib::Response&, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator >&) const call site: 00196 __assert_fail

Runtime coverage analysis

Covered functions
281
Functions that are reachable but not covered
198
Reachable functions
667
Percentage of reachable functions covered
70.31%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/server_mount_fuzzer.cc 2
/src/cpp-httplib/test/fuzzing/./fuzzed_stream.h 4
/src/cpp-httplib/test/fuzzing/../../httplib.h 311
/usr/local/bin/../include/c++/v1/stdexcept 1

Fuzzer: client_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 128 29.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 312 70.9%
All colors 440 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
16 153 httplib::ClientImpl::add_credential_headers(httplib::Request&) call site: 00153 inet_pton
12 328 httplib::ClientImpl::process_request(httplib::Stream&, httplib::Request&, httplib::Response&, bool, httplib::Error&) call site: 00328 __cxa_allocate_exception
11 226 httplib::ClientImpl::write_request_body(httplib::Stream&, httplib::Request&, httplib::Error&) call site: 00226 deflateInit2_
10 26 FuzzableClient::ProcessFuzzedResponse(FuzzedStream&, std::__1::basic_string , std::__1::allocator > const&) call site: 00026
10 192 httplib::detail::insertion_ordered_multimap , std::__1::allocator >, std::__1::equal_to , std::__1::allocator > > >::end() const call site: 00192 snprintf
7 145 httplib::detail::add_authorization_header(httplib::Request&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00145
6 135 httplib::detail::add_default_user_agent_header(httplib::Request&) call site: 00135
4 17 httplib::ClientImpl::close_socket(httplib::ClientImpl::Socket&) call site: 00017 close
4 91 httplib::detail::has_header_token(httplib::detail::insertion_ordered_multimap , std::__1::allocator >, httplib::detail::case_ignore::equal_to> const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&) call site: 00091
4 115 httplib::ClientImpl::prepare_default_headers(httplib::Request&, bool, std::__1::basic_string , std::__1::allocator > const&) call site: 00115
4 174 httplib::detail::encode_request_target(std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00174 snprintf
4 302 httplib::ClientImpl::process_request(httplib::Stream&, httplib::Request&, httplib::Response&, bool, httplib::Error&) call site: 00302

Runtime coverage analysis

Covered functions
173
Functions that are reachable but not covered
122
Reachable functions
439
Percentage of reachable functions covered
72.21%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/cpp-httplib/test/fuzzing/client_fuzzer.cc 6
/src/cpp-httplib/test/fuzzing/../../httplib.h 208
/usr/local/bin/../include/c++/v1/stdexcept 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
httplib::Server::process_and_close_socket(int) /src/cpp-httplib/test/fuzzing/../../httplib.h 2 ['N/A', 'int'] 17 0 92 10 8 715 0 2949 143
LLVMFuzzerInitialize /src/cpp-httplib/test/fuzzing/server_fuzzer.cc 2 ['N/A', 'N/A'] 7 0 199 34 23 37 0 143 133
httplib::ClientImpl::create_and_connect_socket(httplib::ClientImpl::Socket&,httplib::Error&) /src/cpp-httplib/test/fuzzing/../../httplib.h 3 ['N/A', 'N/A', 'N/A'] 12 0 42 6 3 88 0 208 107
httplib::ws::WebSocket::start_heartbeat()::{lambda()#1}::operator()()const /src/cpp-httplib/test/fuzzing/../../httplib.h 1 ['N/A'] 5 0 147 30 25 39 0 185 102
FuzzableServer::FuzzableServer() /src/cpp-httplib/test/fuzzing/./fuzzed_stream.h 1 ['N/A'] 6 0 16 3 2 34 2 82 78
httplib::detail::write_content_chunked ,std::__1::allocator >const&,std::__1::basic_string ,std::__1::allocator >const&)::{lambda()#1},httplib::detail::compressor>(httplib::Stream&,std::__1::function const&,httplib::Server::write_content_with_provider(httplib::Stream&,httplib::Requestconst&,httplib::Response&,std::__1::basic_string ,std::__1::allocator >const&,std::__1::basic_string ,std::__1::allocator >const&)::{lambda()#1}const&,httplib::detail::compressor&,httplib::Error&)::{lambda(httplib::detail::insertion_ordered_multimap ,std::__1::allocator >,httplib::detail::case_ignore::equal_to>const&)#1}::operator()(httplib::detail::insertion_ordered_multimap ,std::__1::allocator >,httplib::detail::case_ignore::equal_to>const&)const /src/cpp-httplib/test/fuzzing/../../httplib.h 2 ['N/A', 'N/A'] 7 0 20 3 2 58 0 157 64
httplib::detail::write_content_chunked (httplib::Stream&,std::__1::function const&,httplib::ClientImpl::write_content_with_provider(httplib::Stream&,httplib::Requestconst&,httplib::Error&)const::{lambda()#1}const&,httplib::detail::compressor&,httplib::Error&)::{lambda(httplib::detail::insertion_ordered_multimap ,std::__1::allocator >,httplib::detail::case_ignore::equal_to>const&)#1}::operator()(httplib::detail::insertion_ordered_multimap ,std::__1::allocator >,httplib::detail::case_ignore::equal_to>const&)const /src/cpp-httplib/test/fuzzing/../../httplib.h 2 ['N/A', 'N/A'] 7 0 20 3 2 58 0 157 62
httplib::Server::Server()::{lambda()#1}::operator()()const /src/cpp-httplib/test/fuzzing/../../httplib.h 1 ['N/A'] 3 0 84 14 14 17 0 74 58
httplib::detail::parse_disposition_params(std::__1::basic_string ,std::__1::allocator >const&,httplib::detail::insertion_ordered_multimap ,std::__1::allocator >,std::__1::equal_to ,std::__1::allocator >>>&)::{lambda(charconst*,charconst*)#1}::operator()(charconst*,charconst*)const /src/cpp-httplib/test/fuzzing/../../httplib.h 3 ['N/A', 'N/A', 'N/A'] 3 0 171 30 24 18 0 64 46
httplib::detail::parse_accept_header(std::__1::basic_string ,std::__1::allocator >const&,std::__1::vector ,std::__1::allocator >,std::__1::allocator ,std::__1::allocator >>>&)::{lambda(charconst*,charconst*)#1}::operator()(charconst*,charconst*)const /src/cpp-httplib/test/fuzzing/../../httplib.h 3 ['N/A', 'N/A', 'N/A'] 4 0 150 25 24 24 0 104 42

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
67.0%
556 / 829
Cyclomatic complexity statically reachable by fuzzers
80.0%
4852 / 6058

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/cpp-httplib/test/fuzzing/sse_parser_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['(anonymous namespace)::parse_in_chunks(std::__1::basic_string, std::__1::allocator > const&, unsigned long, unsigned long)', '(anonymous namespace)::parse_in_chunks(std::__1::basic_string, std::__1::allocator > const&, unsigned long, unsigned long)']

/src/cpp-httplib/test/fuzzing/multipart_parser_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::detail::insertion_ordered_multimap, std::__1::allocator >, std::__1::equal_to, std::__1::allocator > > >::make_iter(unsigned long, unsigned long)', 'httplib::detail::FormDataParser::parse_content_disposition(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator >&) const', 'httplib::detail::FormDataParser::start_with_case_ignore(std::__1::basic_string, std::__1::allocator > const&, char const*, unsigned long) const', 'LLVMFuzzerTestOneInput', 'httplib::detail::FormDataParser::FormDataParser()']

/src/cpp-httplib/test/fuzzing/url_parser_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::detail::split(char const*, char const*, char, unsigned long, std::__1::function)', 'httplib::detail::parse_url(std::__1::basic_string, std::__1::allocator > const&, httplib::detail::UrlComponents&)']

/src/cpp-httplib/test/fuzzing/header_parser_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::detail::parse_disposition_params(std::__1::basic_string, std::__1::allocator > const&, httplib::detail::insertion_ordered_multimap, std::__1::allocator >, std::__1::equal_to, std::__1::allocator > > >&)']

/src/cpp-httplib/test/fuzzing/websocket_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::detail::insertion_ordered_multimap, std::__1::allocator >, httplib::detail::case_ignore::equal_to>::iterator_t, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > > const>::operator++()', 'httplib::detail::read_headers(httplib::Stream&, httplib::detail::insertion_ordered_multimap, std::__1::allocator >, httplib::detail::case_ignore::equal_to>&)', 'httplib::detail::read_response_head(httplib::Stream&, int&, httplib::detail::insertion_ordered_multimap, std::__1::allocator >, httplib::detail::case_ignore::equal_to>&)', 'httplib::ws::impl::read_websocket_frame(httplib::Stream&, httplib::ws::Opcode&, std::__1::basic_string, std::__1::allocator >&, bool&, bool, unsigned long)', 'LLVMFuzzerTestOneInput']

/src/cpp-httplib/test/fuzzing/server_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::detail::insertion_ordered_multimap, std::__1::allocator >, httplib::detail::case_ignore::equal_to>::begin() const', 'httplib::Server::write_response_with_content(httplib::Stream&, bool, httplib::Request const&, httplib::Response&)', 'httplib::detail::is_websocket_upgrade(httplib::Request const&)', 'httplib::Server::handle_file_request(httplib::Request&, httplib::Response&)', 'httplib::Server::write_response_core(httplib::Stream&, bool, httplib::Request const&, httplib::Response&, bool)', 'bool httplib::detail::process_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}>(httplib::Request const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1})', 'httplib::Server::process_request(httplib::Stream&, std::__1::basic_string, std::__1::allocator > const&, int, std::__1::basic_string, std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*)', 'httplib::Server::process_request(httplib::Stream&, std::__1::basic_string, std::__1::allocator > const&, int, std::__1::basic_string, std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*)', 'httplib::detail::gzip_compressor::gzip_compressor()', 'httplib::detail::set_framing_headers(httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)']

/src/cpp-httplib/test/fuzzing/server_mount_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::Server::write_response_with_content(httplib::Stream&, bool, httplib::Request const&, httplib::Response&)', 'httplib::Server::routing(httplib::Request&, httplib::Response&, httplib::Stream&, bool)', 'httplib::detail::is_hex(char, int&)', 'bool httplib::detail::read_content(httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function, std::__1::function, bool)', 'httplib::detail::is_websocket_upgrade(httplib::Request const&)', 'bool httplib::detail::process_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1}>(httplib::Request const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#1}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(std::__1::basic_string, std::__1::allocator > const&)#2}, httplib::detail::write_multipart_ranges_data, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1}>(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, unsigned long, httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)::{lambda()#1} const&)::{lambda(unsigned long, unsigned long)#1})', 'httplib::detail::read_content(httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function, std::__1::function, bool)::{lambda(std::__1::function const&)#1}::operator()(std::__1::function const&) const', 'bool httplib::detail::prepare_content_receiver(httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function, std::__1::function, bool)::{lambda(std::__1::function const&)#1}>(httplib::Request&, int&, std::__1::function, bool, unsigned long, bool&, httplib::detail::read_content(httplib::Stream&, httplib::Request&, unsigned long, int&, std::__1::function, std::__1::function, bool)::{lambda(std::__1::function const&)#1})', 'httplib::Server::process_request(httplib::Stream&, std::__1::basic_string, std::__1::allocator > const&, int, std::__1::basic_string, std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*)', 'httplib::Server::process_request(httplib::Stream&, std::__1::basic_string, std::__1::allocator > const&, int, std::__1::basic_string, std::__1::allocator > const&, int, bool, bool&, std::__1::function const&, bool*)']

/src/cpp-httplib/test/fuzzing/client_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['httplib::ClientImpl::add_credential_headers(httplib::Request&)', 'httplib::ClientImpl::process_request(httplib::Stream&, httplib::Request&, httplib::Response&, bool, httplib::Error&)', 'httplib::ClientImpl::write_request_body(httplib::Stream&, httplib::Request&, httplib::Error&)', 'FuzzableClient::ProcessFuzzedResponse(FuzzedStream&, std::__1::basic_string, std::__1::allocator > const&)', 'httplib::detail::insertion_ordered_multimap, std::__1::allocator >, std::__1::equal_to, std::__1::allocator > > >::end() const', 'httplib::detail::add_authorization_header(httplib::Request&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, bool)', 'httplib::detail::add_default_user_agent_header(httplib::Request&)', 'httplib::ClientImpl::close_socket(httplib::ClientImpl::Socket&)', 'httplib::detail::has_header_token(httplib::detail::insertion_ordered_multimap, std::__1::allocator >, httplib::detail::case_ignore::equal_to> const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)', 'httplib::ClientImpl::prepare_default_headers(httplib::Request&, bool, std::__1::basic_string, std::__1::allocator > const&)']

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/cpp-httplib/test/fuzzing/server_fuzzer.cc ['server_fuzzer'] ['server_fuzzer']
/usr/local/bin/../include/c++/v1/string [] []
/src/cpp-httplib/test/fuzzing/multipart_parser_fuzzer.cc ['multipart_parser_fuzzer'] ['multipart_parser_fuzzer']
/src/cpp-httplib/test/fuzzing/../../httplib.h ['sse_parser_fuzzer', 'multipart_parser_fuzzer', 'url_parser_fuzzer', 'header_parser_fuzzer', 'websocket_fuzzer', 'server_fuzzer', 'server_mount_fuzzer', 'client_fuzzer'] []
/usr/local/bin/../include/c++/v1/stdexcept ['server_fuzzer', 'server_mount_fuzzer', 'client_fuzzer'] []
/src/cpp-httplib/test/fuzzing/url_parser_fuzzer.cc ['url_parser_fuzzer'] ['url_parser_fuzzer']
/usr/local/bin/../include/c++/v1/__exception/exception.h [] []
/src/cpp-httplib/test/fuzzing/./fuzzed_stream.h ['server_fuzzer', 'server_mount_fuzzer'] []
/src/cpp-httplib/test/fuzzing/header_parser_fuzzer.cc ['header_parser_fuzzer'] ['header_parser_fuzzer']
/src/cpp-httplib/test/fuzzing/server_mount_fuzzer.cc ['server_mount_fuzzer'] ['server_mount_fuzzer']
/src/cpp-httplib/test/fuzzing/client_fuzzer.cc ['client_fuzzer'] ['client_fuzzer']
/src/cpp-httplib/test/fuzzing/websocket_fuzzer.cc ['websocket_fuzzer'] ['websocket_fuzzer']
/src/cpp-httplib/test/fuzzing/sse_parser_fuzzer.cc ['sse_parser_fuzzer'] ['sse_parser_fuzzer']

Directories in report

Directory
/src/cpp-httplib/test/fuzzing/../../
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/bin/../include/c++/v1/
/src/cpp-httplib/test/fuzzing/
/src/cpp-httplib/test/fuzzing/./