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: jq_fuzz_execute

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_parse_stream

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_parse_extended

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_parse

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_fixed

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_compile

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: jq_fuzz_load_file

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

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
f_match /src/jq/src/builtin.c 7 ['N/A', 'size_t', 'N/A', 'size_t', 'N/A', 'N/A', 'N/A'] 16 0 2157 94 27 617 0 6170 4818
decNumberPower /src/jq/vendor/decNumber/decNumber.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 8 0 1062 161 60 34 0 776 418
onig_regset_search /src/jq/vendor/oniguruma/src/regexec.c 8 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'int', 'int', 'N/A'] 11 0 139 14 5 45 0 1054 106
onig_setup_builtin_monitors_by_ascii_encoded_name /src/jq/vendor/oniguruma/src/regexec.c 1 ['N/A'] 6 0 80 11 4 34 0 184 100
f_delpaths /src/jq/src/builtin.c 5 ['N/A', 'size_t', 'N/A', 'size_t', 'N/A'] 20 0 43 3 2 187 0 1287 96
get_case_fold_codes_by_str /src/jq/vendor/oniguruma/src/utf8.c 4 ['int', 'N/A', 'N/A', 'N/A'] 4 0 28 3 2 8 0 91 79
detect_can_be_slow /src/jq/vendor/oniguruma/src/regcomp.c 4 ['N/A', 'N/A', 'int', 'N/A'] 3 0 626 102 28 2 2 74 74
f_format /src/jq/src/builtin.c 5 ['N/A', 'size_t', 'N/A', 'size_t', 'N/A'] 16 0 2040 188 57 178 0 1297 68
jq_util_input_next_input_cb /src/jq/src/util.c 2 ['N/A', 'N/A'] 17 0 27 3 2 194 0 1365 52
decNumberSquareRoot /src/jq/vendor/decNumber/decNumber.c 3 ['N/A', 'N/A', 'N/A'] 6 0 1046 116 42 26 0 571 42

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

Functions statically reachable by fuzzers
67.0%
939 / 1399
Cyclomatic complexity statically reachable by fuzzers
81.0%
8771 / 10779

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/jq/vendor/oniguruma/src/unicode_unfold_key.c [] []
/src/jq/vendor/decNumber/decContext.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/vendor/oniguruma/src/unicode_fold1_key.c [] []
/src/jq/tests/jq_fuzz_parse.c ['jq_fuzz_parse'] []
/src/jq/tests/jq_fuzz_parse_extended.c ['jq_fuzz_parse_extended'] []
/src/jq/./tests/jq_fuzz_execute.cpp ['jq_fuzz_execute'] []
/src/jq/src/linker.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/parser.y ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/libm.h [] []
/src/jq/tests/jq_fuzz_compile.c ['jq_fuzz_compile'] []
/src/jq/src/builtin.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/jv_print.c ['jq_fuzz_execute', 'jq_fuzz_parse_extended', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/vendor/oniguruma/src/utf8.c [] []
/src/jq/src/jv_dtoa_tsd.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/src/jv.h ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/vendor/oniguruma/src/unicode.c [] []
/src/jq/src/jv_unicode.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/src/jv_parse.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/./src/jv.h ['jq_fuzz_execute', 'jq_fuzz_parse_extended', 'jq_fuzz_fixed'] []
/src/jq/src/jv.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/vendor/oniguruma/src/unicode_fold2_key.c [] []
/src/jq/src/bytecode.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/vendor/oniguruma/src/st.c [] []
/src/jq/tests/jq_fuzz_load_file.c ['jq_fuzz_load_file'] []
/src/jq/vendor/oniguruma/src/unicode_fold3_key.c [] []
/src/jq/vendor/oniguruma/src/regenc.c [] []
/src/jq/./tests/jq_fuzz_fixed.cpp ['jq_fuzz_fixed'] []
/src/jq/vendor/oniguruma/src/regsyntax.c [] []
/src/jq/vendor/oniguruma/src/regcomp.c [] []
/src/jq/vendor/oniguruma/src/./unicode_property_data.c [] []
/src/jq/vendor/decNumber/decNumber.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/vendor/oniguruma/src/regexec.c [] []
/src/jq/src/jv_alloc.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/src/execute.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/jv_aux.c ['jq_fuzz_execute', 'jq_fuzz_parse_extended', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/locfile.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/util.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/tests/jq_fuzz_parse_stream.c ['jq_fuzz_parse_stream'] []
/src/jq/src/jv_dtoa.c ['jq_fuzz_execute', 'jq_fuzz_parse_stream', 'jq_fuzz_parse_extended', 'jq_fuzz_parse', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/src/jv_file.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile', 'jq_fuzz_load_file'] []
/src/jq/src/exec_stack.h ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/lexer.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/vendor/oniguruma/src/regerror.c [] []
/src/jq/src/lexer.l ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/vendor/oniguruma/src/regparse.c [] []
/src/jq/src/compile.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/src/parser.c ['jq_fuzz_execute', 'jq_fuzz_fixed', 'jq_fuzz_compile'] []
/src/jq/vendor/oniguruma/src/ascii.c [] []

Directories in report

Directory
/src/jq/./src/
/src/jq/./tests/
/src/jq/tests/
/src/jq/src/
/src/jq/vendor/oniguruma/src/
/src/jq/vendor/decNumber/
/src/jq/vendor/oniguruma/src/./