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

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 19 2.57%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 718 97.4%
All colors 737 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
3 682 _cbor_map_add_value call site: 00682 cbor_decref
2 588 cbor_bytestring_add_chunk call site: 00588 cbor_decref
2 620 cbor_string_add_chunk call site: 00620 cbor_decref
2 643 cbor_array_push call site: 00643 cbor_decref
2 656 cbor_copy call site: 00656 cbor_decref
2 697 cbor_tag_set_item call site: 00697 cbor_intermediate_decref
1 511 limited_free(void*) call site: 00511 abort
1 574 cbor_copy call site: 00574 cbor_decref
1 607 cbor_copy call site: 00607 cbor_decref
1 634 cbor_copy call site: 00634 cbor_decref
1 654 cbor_copy call site: 00654 cbor_decref
1 735 LLVMFuzzerTestOneInput call site: 00735 abort

Runtime coverage analysis

Covered functions
210
Functions that are reachable but not covered
5
Reachable functions
183
Percentage of reachable functions covered
97.27%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/libcbor/oss_fuzz_build/../oss-fuzz/cbor_load_fuzzer.cc 3
/src/libcbor/src/cbor.c 8
/src/libcbor/src/cbor/internal/stack.c 2
/src/libcbor/src/cbor/streaming.c 2
/src/libcbor/src/cbor/internal/loaders.c 8
/src/libcbor/src/cbor/common.h 2
/src/libcbor/src/cbor/common.c 17
/src/libcbor/src/cbor/bytestrings.c 11
/src/libcbor/src/cbor/strings.c 12
/src/libcbor/src/cbor/arrays.c 8
/src/libcbor/src/cbor/maps.c 9
/src/libcbor/src/cbor/ints.c 20
/src/libcbor/src/cbor/tags.c 5
/src/libcbor/src/cbor/floats_ctrls.c 20
/src/libcbor/src/cbor/serialization.c 12
/src/libcbor/src/cbor/internal/memory_utils.c 6
/src/libcbor/src/cbor/encoding.c 23
/src/libcbor/src/cbor/internal/encoders.c 5
/src/libcbor/src/cbor/internal/unicode.c 2
/work/include/cbor/common.h 1

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/libcbor/src/cbor/internal/stack.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/internal/loaders.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/bytestrings.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/ints.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/common.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/serialization.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/allocators.c [] []
/src/libcbor/src/cbor/streaming.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/oss_fuzz_build/../oss-fuzz/cbor_load_fuzzer.cc ['cbor_load_fuzzer'] []
/src/libcbor/src/cbor/strings.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/maps.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/common.h ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/arrays.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/internal/memory_utils.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/internal/builder_callbacks.c [] []
/src/libcbor/src/cbor/internal/encoders.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/internal/unicode.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/encoding.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/floats_ctrls.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/work/include/cbor/common.h ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']
/src/libcbor/src/cbor/tags.c ['cbor_load_fuzzer'] ['cbor_load_fuzzer']

Directories in report

Directory
/src/libcbor/oss_fuzz_build/../oss-fuzz/
/work/include/cbor/
/src/libcbor/src/cbor/internal/
/src/libcbor/src/
/src/libcbor/src/cbor/