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

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
Pistache::Rest::Swagger::install(Pistache::Rest::Router&)::$_0::operator()(Pistache::Rest::Requestconst&,Pistache::Http::ResponseWriter)const /src/pistache/src/common/description.cc 3 ['N/A', 'N/A', 'N/A'] 17 0 333 67 52 527 0 1953 865
Pistache::Tcp::Transport::onReady(Pistache::Aio::FdSetconst&) /src/pistache/src/common/transport.cc 2 ['N/A', 'N/A'] 8 0 237 38 7 306 0 839 674
Pistache::Http::Header::Accept::parseRaw(charconst*,unsignedlong) /src/pistache/src/common/http_header.cc 3 ['N/A', 'N/A', 'size_t'] 6 0 222 62 53 87 0 392 307
Pistache::Rest::Private::RouterHandler::onRequest(Pistache::Http::Requestconst&,Pistache::Http::ResponseWriter) /src/pistache/src/server/router.cc 3 ['N/A', 'N/A', 'N/A'] 18 0 29 5 5 579 0 1964 215
Pistache::Http::Private::RequestLineStep::apply(Pistache::StreamCursor&) /src/pistache/src/common/http.cc 2 ['N/A', 'N/A'] 5 0 556 147 131 66 0 238 160
Pistache::Http::Handler::onInput(charconst*,unsignedlong,std::__1::shared_ptr const&) /src/pistache/src/common/http.cc 4 ['N/A', 'N/A', 'size_t', 'N/A'] 17 0 418 85 58 569 0 1897 126
Pistache::Aio::AsyncImpl::Worker::Worker(Pistache::Aio::Reactor*,std::__1::basic_string ,std::__1::allocator >const&) /src/pistache/src/common/reactor.cc 3 ['N/A', 'N/A', 'N/A'] 10 0 44 10 8 76 0 248 124
Pistache::Http::Private::HeadersStep::apply(Pistache::StreamCursor&) /src/pistache/src/common/http.cc 2 ['N/A', 'N/A'] 19 0 435 112 88 451 0 1050 120
Pistache::Async::Private::impl::Continuation ,std::__1::allocator >const&,Pistache::Http::Mime::MediaTypeconst&)::$_1,Pistache::Async::Private::Throw,Pistache::Async::Promise (long)>::doResolve(std::__1::shared_ptr >const&) /src/pistache/src/../include/pistache/async.h 2 ['N/A', 'N/A'] 11 0 33 5 5 133 0 312 112
Pistache::Aio::SyncImpl::runOnce() /src/pistache/src/common/reactor.cc 1 ['N/A'] 4 0 131 27 26 41 0 123 109

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

Functions statically reachable by fuzzers
51.0%
800 / 1584
Cyclomatic complexity statically reachable by fuzzers
63.0%
5474 / 8658

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

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/pistache/src/../include/pistache/cookie.h [] []
/src/pistache/src/../include/pistache/reactor.h [] []
/src/pistache/src/common/transport.cc [] []
/src/pistache/src/common/http.cc ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/string [] []
/src/pistache/src/../include/pistache/flags.h [] []
/src/pistache/src/../include/pistache/typeid.h [] []
/usr/include/ctype.h ['fuzz_parsers'] []
/src/pistache/src/server/router.cc ['fuzz_parsers'] []
/src/pistache/src/common/os.cc [] []
/src/pistache/src/../include/pistache/tcp.h [] []
/src/pistache/src/../subprojects/hinnant-date/include/date/date.h ['fuzz_parsers'] []
/src/pistache/build/../include/pistache/mime.h ['fuzz_parsers'] []
/src/pistache/build/../include/pistache/cookie.h ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/optional ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/stdexcept ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/__charconv/from_chars_integral.h [] []
/src/pistache/src/../include/pistache/mime.h [] []
/src/pistache/src/../include/pistache/base64.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/prototype.h [] []
/src/pistache/build/../include/pistache/net.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/async.h [] []
/src/pistache/src/../include/pistache/iterator_adapter.h [] []
/src/pistache/src/common/pist_syslog.cc [] []
/src/pistache/src/../include/pistache/http.h ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/sstream [] []
/src/pistache/build/../include/pistache/http_headers.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/transport.h [] []
/src/pistache/build/../tests/fuzzers/fuzz_parser.cpp ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/net.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/http_headers.h ['fuzz_parsers'] []
/src/pistache/src/common/peer.cc [] []
/src/pistache/src/../include/pistache/os.h [] []
/src/pistache/src/common/net.cc ['fuzz_parsers'] []
/src/pistache/src/common/http_defs.cc ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/http_header.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/http_defs.h ['fuzz_parsers'] []
/src/pistache/src/common/ps_strl.cc [] []
/usr/local/bin/../include/c++/v1/__exception/exception_ptr.h [] []
/src/pistache/src/common/base64.cc ['fuzz_parsers'] []
/src/pistache/src/common/description.cc [] []
/src/pistache/build/../include/pistache/http_defs.h ['fuzz_parsers'] []
/src/pistache/src/common/cookie.cc ['fuzz_parsers'] []
/usr/include/x86_64-linux-gnu/sys/stat.h [] []
/src/pistache/src/common/http_headers.cc [] []
/src/pistache/src/common/ps_basename.cc [] []
/src/pistache/src/../include/pistache/mailbox.h [] []
/src/pistache/src/common/http_header.cc ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/stream.h ['fuzz_parsers'] []
/src/pistache/build/../include/pistache/http.h ['fuzz_parsers'] []
/src/pistache/build/../include/pistache/http_header.h ['fuzz_parsers'] []
/usr/local/bin/../include/c++/v1/__exception/exception.h [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h [] []
/src/pistache/src/common/tcp.cc [] []
/src/pistache/build/../include/pistache/stream.h ['fuzz_parsers'] []
/src/pistache/src/../include/pistache/router.h [] []
/src/pistache/src/common/reactor.cc [] []
/src/pistache/src/../include/pistache/description.h [] []
/src/pistache/build/../include/pistache/router.h ['fuzz_parsers'] []
/src/pistache/src/common/stream.cc ['fuzz_parsers'] []
/src/pistache/src/common/mime.cc ['fuzz_parsers'] []

Directories in report

Directory
/usr/include/x86_64-linux-gnu/sys/
/src/pistache/src/../subprojects/hinnant-date/include/date/
/src/pistache/build/../tests/fuzzers/
/usr/include/x86_64-linux-gnu/bits/
/usr/include/
/src/pistache/src/../include/pistache/
/src/pistache/build/../include/pistache/
/src/pistache/src/common/
/usr/local/bin/../include/c++/v1/
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/bin/../include/c++/v1/__charconv/
/src/pistache/src/server/