Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzzer details

Fuzzer: json_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 25 16.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 5 3.26%
lawngreen 50+ 123 80.3%
All colors 153 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
2 2 1 :

['yajl_buf_set_error']

2 2 yajl_buf_ensure_available call site: 00056 /src/yajl-ruby/ext/yajl/yajl_buf.c:129
0 12 2 :

['yajl_buf_len', 'yajl_buf_data']

0 12 yajl_lex_lex call site: 00059 /src/yajl-ruby/ext/yajl/yajl_lex.c:644
0 0 None 10 1449 yajl_do_parse call site: 00140 /src/yajl-ruby/ext/yajl/yajl_parser.c:429
0 0 None 2 2 yajl_buf_ensure_available call site: 00054 /src/yajl-ruby/ext/yajl/yajl_buf.c:106
0 0 None 2 2 yajl_buf_ensure_available call site: 00055 /src/yajl-ruby/ext/yajl/yajl_buf.c:122
0 0 None 0 295 yajl_lex_lex call site: 00032 /src/yajl-ruby/ext/yajl/yajl_lex.c:597
0 0 None 0 14 yajl_alloc call site: 00001 /src/yajl-ruby/ext/yajl/yajl.c:78
0 0 None 0 8 yajl_alloc call site: 00003 /src/yajl-ruby/ext/yajl/yajl.c:103
0 0 None 0 3 yajl_lex_alloc call site: 00003 /src/yajl-ruby/ext/yajl/yajl_lex.c:121
0 0 None 0 0 yajl_alloc call site: 00002 /src/yajl-ruby/ext/yajl/yajl.c:89
0 0 None 0 0 yajl_buf_alloc call site: 00004 /src/yajl-ruby/ext/yajl/yajl_buf.c:142
0 0 None 0 0 yajl_buf_append call site: 00053 /src/yajl-ruby/ext/yajl/yajl_buf.c:160

Runtime coverage analysis

Covered functions
40
Functions that are reachable but not covered
7
Reachable functions
35
Percentage of reachable functions covered
80.0%
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
../../fuzz/json_fuzzer.c 1
yajl.c 4
yajl_alloc.c 1
yajl_lex.c 8
yajl_buf.c 9
./yajl_bytestack.h 2
yajl_parser.c 1
yajl_encode.c 3