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
yyjson_incr_read /src/yyjson/src/yyjson.c 3 ['N/A', 'size_t', 'N/A'] 3 0 20124 3424 1346 8 0 1542 1346
yyjson_mut_patch /src/yyjson/src/yyjson.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 1170 256 100 11 0 448 432
yyjson_read_number /src/yyjson/src/yyjson.c 5 ['N/A', 'N/A', 'int', 'N/A', 'N/A'] 1 0 4232 743 298 3 0 407 298
yyjson_patch /src/yyjson/src/yyjson.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 1192 258 100 12 0 473 100
yyjson_merge_patch /src/yyjson/src/yyjson.c 3 ['N/A', 'N/A', 'N/A'] 2 0 489 102 41 5 1 123 82
yyjson_mut_merge_patch /src/yyjson/src/yyjson.c 3 ['N/A', 'N/A', 'N/A'] 3 0 473 96 39 6 1 110 78
unsafe_yyjson_equals /src/yyjson/src/yyjson.c 2 ['N/A', 'N/A'] 2 0 435 95 33 2 1 68 66
unsafe_yyjson_ptr_getx /src/yyjson/src/yyjson.c 4 ['N/A', 'N/A', 'size_t', 'N/A'] 1 0 517 122 48 1 0 50 48

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

Functions statically reachable by fuzzers
48.0%
41 / 86
Cyclomatic complexity statically reachable by fuzzers
96.0%
6823 / 7093

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