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
roaring64_bitmap_remove_range /src/croaring/src/roaring64.c 3 ['N/A', 'size_t', 'size_t'] 13 0 27 6 3 137 0 571 123
roaring_bitmap_add_offset /src/croaring/src/roaring.c 2 ['N/A', 'size_t'] 10 0 225 39 16 130 0 600 103
roaring_bitmap_or_many /src/croaring/src/roaring.c 2 ['size_t', 'N/A'] 10 0 64 14 6 130 0 576 85
roaring_bitmap_xor_many /src/croaring/src/roaring.c 2 ['size_t', 'N/A'] 12 0 64 14 6 138 0 596 81
roaring64_bitmap_shrink_to_fit /src/croaring/src/roaring64.c 1 ['N/A'] 6 0 90 14 6 55 0 224 73
roaring64_bitmap_to_uint64_array /src/croaring/src/roaring64.c 2 ['N/A', 'N/A'] 7 0 19 3 2 46 0 190 60
roaring_bitmap_flip /src/croaring/src/roaring.c 3 ['N/A', 'size_t', 'size_t'] 11 0 39 9 4 98 0 424 52
roaring64_bitmap_frozen_view /src/croaring/src/roaring64.c 2 ['N/A', 'size_t'] 7 0 232 27 12 50 0 193 37
roaring_bitmap_rank_many /src/croaring/src/roaring.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 6 0 120 14 6 17 0 105 36
roaring64_bitmap_frozen_serialize /src/croaring/src/roaring64.c 2 ['N/A', 'N/A'] 6 0 188 20 8 41 0 156 35

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

Functions statically reachable by fuzzers
75.0%
734 / 981
Cyclomatic complexity statically reachable by fuzzers
76.0%
4085 / 5352

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/croaring/src/containers/mixed_xor.c ['croaring_fuzzer_cc'] []
/src/croaring/src/roaring_array.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/include/roaring/portability.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/bitset.c [] []
/src/croaring/src/roaring.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/containers/mixed_equal.c ['croaring_fuzzer_cc'] []
/src/croaring/src/containers/mixed_andnot.c ['croaring_fuzzer_cc'] []
/src/croaring/include/roaring/containers/bitset.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/include/roaring/roaring_array.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/include/roaring/containers/array.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/containers/bitset.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/containers/mixed_intersection.c ['croaring_fuzzer_cc'] []
/src/croaring_fuzzer.c ['croaring_fuzzer'] []
/src/croaring/src/containers/run.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/array_util.c ['croaring_fuzzer_cc'] []
/src/croaring/src/containers/array.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/containers/mixed_union.c ['croaring_fuzzer_cc'] []
/src/croaring/src/containers/mixed_negation.c ['croaring_fuzzer_cc'] []
/src/croaring/src/containers/mixed_subset.c ['croaring_fuzzer_cc'] []
/src/croaring/include/roaring/bitset_util.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/include/roaring/containers/containers.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['croaring_fuzzer'] []
/src/croaring/src/isadetection.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/containers/convert.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/roaring64.c ['croaring_fuzzer'] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/croaring_fuzzer_cc.cc ['croaring_fuzzer_cc'] []
/src/croaring/include/roaring/roaring.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/bitset_util.c ['croaring_fuzzer_cc'] []
/src/croaring/src/containers/containers.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/include/roaring/bitset/bitset.h [] []
/src/croaring/include/roaring/array_util.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/cpp/roaring.hh ['croaring_fuzzer_cc'] []
/src/croaring/include/roaring/containers/run.h ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/memory.c ['croaring_fuzzer_cc', 'croaring_fuzzer'] []
/src/croaring/src/art/art.c ['croaring_fuzzer'] []

Directories in report

Directory
/src/croaring/src/
/src/croaring/include/roaring/bitset/
/src/
/src/croaring/src/containers/
/usr/include/x86_64-linux-gnu/bits/
/src/croaring/cpp/
/usr/local/bin/../include/c++/v1/
/src/croaring/src/art/
/src/croaring/include/roaring/
/src/croaring/include/roaring/containers/