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
htp_connp_REQ_HEADERS /src/libhtp/htp/htp_request.c 1 ['N/A'] 8 0 407 75 30 89 0 599 513
htp_connp_REQ_LINE /src/libhtp/htp/htp_request.c 1 ['N/A'] 7 0 65 12 5 58 0 510 287
htp_config_register_multipart_parser /src/libhtp/htp/htp_config.c 1 ['N/A'] 8 0 23 6 3 67 0 408 253
htp_mpartp_handle_data /src/libhtp/htp/htp_multipart.c 4 ['N/A', 'N/A', 'size_t', 'int'] 7 0 69 14 6 63 0 379 190
htp_connp_RES_BODY_DETERMINE /src/libhtp/htp/htp_response.c 1 ['N/A'] 6 0 642 130 52 53 0 340 122
htp_parse_request_line_apache_2_2 /src/libhtp/htp/htp_request_apache_2_2.c 1 ['N/A'] 4 0 13 3 2 21 0 179 110
htp_config_register_urlencoded_parser /src/libhtp/htp/htp_config.c 1 ['N/A'] 8 0 24 6 3 56 0 289 76
htp_connp_RES_HEADERS /src/libhtp/htp/htp_response.c 1 ['N/A'] 5 0 736 134 56 31 0 186 68
htp_connp_RES_BODY_CHUNKED_LENGTH /src/libhtp/htp/htp_response.c 1 ['N/A'] 6 0 224 38 16 48 0 549 57
test_run /src/libhtp/test/test.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 10 0 28 3 2 114 0 849 55

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

Functions statically reachable by fuzzers
68.0%
302 / 443
Cyclomatic complexity statically reachable by fuzzers
77.0%
2646 / 3443

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/libhtp/htp/htp_parsers.c [] []
/src/libhtp/htp/htp_urlencoded.c ['fuzz_htp_c'] []
/src/libhtp/htp/strlcat.c [] []
/src/libhtp/htp/htp_response.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_table.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_connection_parser.c ['fuzz_htp_c'] []
/src/libhtp/htp/bstr.c ['fuzz_htp_c'] []
/src/libhtp/test/test.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_base64.c [] []
/src/libhtp/htp/htp_request_generic.c [] []
/src/libhtp/htp/htp_config.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_utf8_decoder.c [] []
/src/libhtp/htp/lzma/LzmaDec.c ['fuzz_htp_c'] []
/usr/include/ctype.h [] []
/src/libhtp/htp/htp_connection.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_cookies.c [] []
/src/libhtp/htp/htp_request.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_response_generic.c [] []
/src/libhtp/test/fuzz/fuzz_htp.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_multipart.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_content_handlers.c [] []
/src/libhtp/htp/htp_request_apache_2_2.c [] []
/src/libhtp/htp/bstr_builder.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_transaction.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_decompressors.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_hooks.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_list.c ['fuzz_htp_c'] []
/src/libhtp/htp/htp_util.c ['fuzz_htp_c'] []

Directories in report

Directory
/src/libhtp/htp/lzma/
/src/libhtp/htp/
/src/libhtp/test/fuzz/
/src/libhtp/test/
/usr/include/