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: json_load_dump_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 69 16.9%
gold [1:9] 20 4.91%
yellow [10:29] 6 1.47%
greenyellow [30:49] 6 1.47%
lawngreen 50+ 306 75.1%
All colors 407 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
16 308 diff call site: 00308 lshift
7 284 pow5mult call site: 00284 pow5mult
7 295 lshift call site: 00295 lshift
5 260 jsonp_dtostr call site: 00260 nrv_alloc
4 148 seed_from_urandom call site: 00148 seed_from_timestamp_and_pid
3 276 pow5mult call site: 00276 Balloc
2 10 jsonp_error_set_source call site: 00010 error_set
2 124 jsonp_stringn_nocheck_own call site: 00124 jsonp_strndup
2 236 hashtable_set call site: 00236 json_decref
2 303 quorem call site: 00303 diff
1 49 stream_unget call site: 00049 __assert_fail
1 51 lex_unget_unsave call site: 00051 __assert_fail

Runtime coverage analysis

Covered functions
133
Functions that are reachable but not covered
25
Reachable functions
159
Percentage of reachable functions covered
84.28%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
test/ossfuzz/json_load_dump_fuzzer.cc 2
src/load.c 24
src/error.c 4
src/strbuffer.c 8
src/memory.c 4
src/utf.c 4
src/strconv.c 4
src/value.c 33
src/hashtable_seed.c 5
src/hashtable.c 20
src/./lookup3.h 1
src/./jansson.h 1
src/dump.c 7
src/dtoa.c 17
test/ossfuzz/../../src/jansson.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/jansson/test/ossfuzz/json_load_dump_fuzzer.cc ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/hashtable_seed.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/memory.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/dtoa.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/load.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/dump.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/test/ossfuzz/../../src/jansson.h ['json_load_dump_fuzzer'] []
/src/jansson/src/value.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/strbuffer.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/./jansson.h ['json_load_dump_fuzzer'] []
/src/jansson/src/strconv.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/utf.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/error.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']
/src/jansson/src/./lookup3.h ['json_load_dump_fuzzer'] []
/src/jansson/src/hashtable.c ['json_load_dump_fuzzer'] ['json_load_dump_fuzzer']

Directories in report

Directory
/src/jansson/src/./
/src/jansson/test/ossfuzz/../../src/
/src/jansson/test/ossfuzz/
/src/jansson/src/