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
CClient::ReadLine(CStringconst&) /src/znc/src/Client.cpp 2 ['N/A', 'N/A'] 33 0 1592 347 213 2040 0 18009 16963
CWebSock::OnPageRequest(CStringconst&) /src/znc/src/WebModules.cpp 2 ['N/A', 'N/A'] 11 0 81 16 12 491 0 4491 3782
CIRCSock::ReadLine(CStringconst&) /src/znc/src/IRCSock.cpp 2 ['N/A', 'N/A'] 29 0 1185 251 136 1264 0 7163 3531
CZNC::ParseConfig(CStringconst&,CString&) /src/znc/src/znc.cpp 3 ['N/A', 'N/A', 'N/A'] 33 0 100 17 17 1362 0 8625 1403
CZNC::WriteNewConfig(CStringconst&) /src/znc/src/znc.cpp 2 ['N/A', 'N/A'] 10 0 4192 845 527 381 0 1981 811
CSocketManager::Loop() /src/znc/build/src/Csocket.cpp 1 ['N/A'] 7 0 790 141 129 147 0 679 568
CConnectQueueTimer::RunJob() /src/znc/src/znc.cpp 1 ['N/A'] 9 0 139 30 27 338 0 1041 396

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

Functions statically reachable by fuzzers
60.0%
1415 / 2376
Cyclomatic complexity statically reachable by fuzzers
81.0%
28346 / 34968

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/znc/include/znc/Config.h [] []
/src/znc/third_party/cctz/src/zone_info_source.cc [] []
/src/znc/include/znc/Utils.h [] []
/src/znc/third_party/cctz/src/time_zone_if.h ['msg_parse_fuzzer'] []
/src/znc/src/Template.cpp [] []
/src/znc/include/znc/IRCSock.h [] []
/src/znc/include/znc/MD5.h [] []
/src/znc/src/User.cpp [] []
/src/znc/third_party/cctz/src/time_zone_fixed.cc ['msg_parse_fuzzer'] []
/src/znc/include/znc/Listener.h [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/znc/include/znc/znc.h [] []
/src/znc/include/znc/Query.h [] []
/src/znc/third_party/cctz/include/cctz/civil_time_detail.h ['msg_parse_fuzzer'] []
/src/znc/include/znc/FileUtils.h [] []
/src/znc/src/FileUtils.cpp [] []
/src/znc/include/znc/Message.h ['msg_parse_fuzzer'] []
/src/znc/src/Message.cpp ['msg_parse_fuzzer'] []
/src/znc/src/SHA256.cpp [] []
/src/znc/src/Socket.cpp [] []
/src/znc/src/Buffer.cpp [] []
/src/znc/include/znc/Modules.h [] []
/src/znc/include/znc/Socket.h [] []
/src/znc/src/IRCNetwork.cpp [] []
/src/znc/src/Chan.cpp [] []
/src/znc/src/Client.cpp [] []
/src/znc/src/Server.cpp [] []
/src/znc/src/Config.cpp [] []
/src/znc/third_party/cctz/src/time_zone_libc.h [] []
/src/znc/src/ClientCommand.cpp [] []
/src/znc/include/znc/Chan.h [] []
/src/znc/third_party/cctz/src/time_zone_libc.cc ['msg_parse_fuzzer'] []
/src/znc/third_party/cctz/src/time_zone_if.cc ['msg_parse_fuzzer'] []
/src/znc/third_party/cctz/src/time_zone_lookup.cc ['msg_parse_fuzzer'] []
/src/znc/include/znc/ZNCString.h ['msg_parse_fuzzer'] []
/src/znc/src/HTTPSock.cpp [] []
/src/znc/include/znc/Nick.h [] []
/src/znc/src/Modules.cpp [] []
/src/znc/third_party/cctz/include/cctz/zone_info_source.h [] []
/src/znc/build/include/znc/Csocket.h [] []
/src/znc/third_party/cctz/src/time_zone_format.cc ['msg_parse_fuzzer'] []
/src/znc/src/Nick.cpp ['msg_parse_fuzzer'] []
/src/znc/src/Utils.cpp ['msg_parse_fuzzer'] []
/src/znc/include/znc/User.h [] []
/src/znc/include/znc/Buffer.h [] []
/src/znc/include/znc/IRCNetwork.h [] []
/src/znc/third_party/cctz/include/cctz/time_zone.h ['msg_parse_fuzzer'] []
/src/znc/third_party/cctz/src/time_zone_info.h ['msg_parse_fuzzer'] []
/src/znc/src/Translation.cpp [] []
/src/znc/build/src/Csocket.cpp [] []
/src/znc/include/znc/Template.h [] []
/src/znc/include/znc/ZNCDebug.h [] []
/usr/local/bin/../include/c++/v1/variant [] []
/src/znc/src/WebModules.cpp [] []
/src/znc/src/MD5.cpp [] []
/usr/local/bin/../include/c++/v1/sstream [] []
/src/znc/third_party/cctz/src/time_zone_posix.h ['msg_parse_fuzzer'] []
/src/znc/src/IRCSock.cpp [] []
/src/znc/src/ZNCDebug.cpp [] []
/src/znc/src/Listener.cpp [] []
/src/znc/src/Query.cpp [] []
/src/znc/include/znc/WebModules.h [] []
/src/znc/third_party/cctz/src/time_zone_info.cc ['msg_parse_fuzzer'] []
/src/msg_parse_fuzzer.cpp ['msg_parse_fuzzer'] []
/src/znc/third_party/cctz/src/time_zone_posix.cc ['msg_parse_fuzzer'] []
/src/znc/src/ZNCString.cpp ['msg_parse_fuzzer'] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/znc/src/znc.cpp [] []
/src/znc/include/znc/HTTPSock.h [] []
/src/znc/third_party/cctz/src/time_zone_impl.h ['msg_parse_fuzzer'] []
/src/znc/include/znc/Translation.h [] []
/src/znc/include/znc/Threads.h [] []
/src/znc/src/Threads.cpp [] []
/src/znc/include/znc/Server.h [] []
/src/znc/third_party/cctz/src/time_zone_impl.cc ['msg_parse_fuzzer'] []
/src/znc/include/znc/Client.h [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h [] []

Directories in report

Directory
/src/znc/build/src/
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/bin/../include/c++/v1/
/src/znc/include/znc/
/src/znc/build/include/znc/
/src/
/src/znc/src/
/src/znc/third_party/cctz/src/
/src/znc/third_party/cctz/include/cctz/