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
njs_generate /src/njs/src/njs_generator.c 3 ['N/A', 'N/A', 'N/A'] 40 0 1039 133 7 298 0 3833 602
njs_ext_import_key /src/njs/external/njs_webcrypto_module.c 5 ['N/A', 'N/A', 'int', 'size_t', 'N/A'] 42 0 1123 165 52 286 0 3565 460
njs_engine_njs_process_events /src/njs/external/njs_shell.c 1 ['N/A'] 21 0 150 17 6 245 0 3446 299
njs_regexp_prototype_symbol_replace /src/njs/src/njs_regexp.c 5 ['N/A', 'N/A', 'int', 'size_t', 'N/A'] 37 0 2304 268 96 236 0 3419 279
njs_date_constructor /src/njs/src/njs_date.c 5 ['N/A', 'N/A', 'int', 'size_t', 'N/A'] 36 0 678 73 28 220 0 3381 279
njs_fs_readlink /src/njs/external/njs_fs_module.c 5 ['N/A', 'N/A', 'int', 'size_t', 'N/A'] 43 0 363 56 21 240 0 3395 234
njs_parser_property_definition /src/njs/src/njs_parser.c 3 ['N/A', 'N/A', 'N/A'] 43 0 2715 252 87 245 0 3517 205
njs_engine_njs_eval /src/njs/external/njs_shell.c 2 ['N/A', 'N/A'] 17 0 73 9 4 269 0 3650 198
njs_ext_export_key /src/njs/external/njs_webcrypto_module.c 5 ['N/A', 'N/A', 'int', 'size_t', 'N/A'] 42 0 514 70 21 276 0 3388 183
njs_error_prototype_stack /src/njs/src/njs_error.c 6 ['N/A', 'N/A', 'int', 'N/A', 'N/A', 'N/A'] 37 0 479 56 21 225 0 3321 167

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

Functions statically reachable by fuzzers
37.0%
521 / 1410
Cyclomatic complexity statically reachable by fuzzers
44.0%
6530 / 15004

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/njs/src/njs_strtod.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_sprintf.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_error.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_symbol.c ['njs_process_script_fuzzer'] []
/src/njs/external/njs_regex.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_builtin.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_string.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_mp.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_object.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_buffer.c [] []
/src/njs/external/njs_md5.c [] []
/src/njs/src/njs_utils.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_date.c [] []
/src/njs/src/njs_rbtree.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_parser.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_utils.h [] []
/src/njs/src/njs_iterator.c [] []
/src/njs/external/njs_fs_module.c [] []
/src/njs/src/njs_boolean.c [] []
/src/njs/external/njs_query_string_module.c [] []
/src/njs/src/njs_arr.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_value.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_random.c [] []
/src/njs/src/njs_number.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_encoding.c [] []
/src/njs/external/njs_crypto_module.c [] []
/src/njs/src/njs_scope.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_async.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_typed_array.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_dtoa.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_lexer.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_trace.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_atom.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_str.c [] []
/src/njs/src/njs_dtoa_fixed.c [] []
/src/njs/src/njs_chb.c [] []
/src/njs/src/njs_promise.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_variable.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_array_buffer.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_utf8.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_diyfp.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_flathsh.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_disassembler.c [] []
/src/njs/external/njs_shell.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_math.c [] []
/src/njs/src/njs_vmcode.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_array.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_vm.c ['njs_process_script_fuzzer'] []
/src/njs/external/njs_webcrypto_module.c [] []
/src/njs/src/njs_object_prop.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_module.c ['njs_process_script_fuzzer'] []
/src/njs/external/njs_sha2.c [] []
/src/njs/src/njs_json.c [] []
/src/njs/external/njs_zlib_module.c [] []
/src/njs/src/njs_extern.c [] []
/src/njs/src/njs_djb_hash.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_generator.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_utf16.c [] []
/src/njs/src/njs_malloc.c ['njs_process_script_fuzzer'] []
/src/njs/src/njs_regexp.c ['njs_process_script_fuzzer'] []
/src/njs/external/njs_sha1.c [] []
/src/njs/src/njs_function.c ['njs_process_script_fuzzer'] []

Directories in report

Directory
/src/njs/src/
/src/njs/external/