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

Fuzzer details

Fuzzer: fuzztest_proto3_static

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 61 24.2%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.39%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 190 75.3%
All colors 252 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
15 15 1 :

['pb_field_iter_begin_extension']

15 368 pb_field_set_to_default call site: 00021 /src/nanopb/pb_decode.c:873
5 5 1 :

['encode_callback_field']

5 5 encode_field call site: 00163 /src/nanopb/pb_encode.c:456
0 365 2 :

['pb_message_set_to_defaults', 'pb_field_iter_begin']

0 729 decode_static_field call site: 00096 /src/nanopb/pb_decode.c:535
0 47 2 :

['pb_make_string_substream', 'pb_close_string_substream']

0 430 pb_decode_ex call site: 00011 /src/nanopb/pb_decode.c:1157
0 9 1 :

['pb_write']

0 9 pb_encode_submessage call site: 00213 /src/nanopb/pb_encode.c:743
0 9 1 :

['pb_write']

0 9 encode_array call site: 00180 /src/nanopb/pb_encode.c:176
0 4 1 :

['pb_istream_from_buffer']

0 782 pb_message_set_to_defaults call site: 00015 /src/nanopb/pb_decode.c:957
0 0 None 348 808 pb_decode_inner call site: 00015 /src/nanopb/pb_decode.c:1010
0 0 None 348 808 pb_decode_inner call site: 00015 /src/nanopb/pb_decode.c:1046
0 0 None 348 808 pb_decode_inner call site: 00015 /src/nanopb/pb_decode.c:1058
0 0 None 348 808 pb_decode_inner call site: 00015 /src/nanopb/pb_decode.c:1102
0 0 None 215 454 pb_encode call site: 00156 /src/nanopb/pb_encode.c:518

Runtime coverage analysis

Covered functions
79
Functions that are reachable but not covered
17
Reachable functions
96
Percentage of reachable functions covered
82.29%
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
tests/build/fuzztest/fuzztest.c 6
tests/build/common/malloc_wrappers.c 5
pb_decode.c 37
pb_common.c 10
tests/build/fuzztest/validation.c 3
pb_encode.c 28
tests/build/fuzztest/flakystream.c 2

Fuzzer: fuzztest_proto2_pointer

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 48 16.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 240 83.3%
All colors 288 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
5 5 1 :

['encode_callback_field']

5 5 encode_field call site: 00199 /src/nanopb/pb_encode.c:456
0 365 2 :

['pb_message_set_to_defaults', 'pb_field_iter_begin']

0 729 decode_static_field call site: 00138 /src/nanopb/pb_decode.c:535
0 47 2 :

['pb_make_string_substream', 'pb_close_string_substream']

0 430 pb_decode_ex call site: 00011 /src/nanopb/pb_decode.c:1157
0 24 1 :

['pb_read']

0 24 pb_dec_bytes call site: 00066 /src/nanopb/pb_decode.c:1512
0 9 1 :

['pb_write']

0 9 pb_encode_submessage call site: 00249 /src/nanopb/pb_encode.c:743
0 9 1 :

['pb_write']

0 9 encode_array call site: 00216 /src/nanopb/pb_encode.c:176
0 5 1 :

['free_with_check']

0 5 realloc_with_check call site: 00069 /src/nanopb/tests/build/common/malloc_wrappers.c:108
0 4 1 :

['pb_istream_from_buffer']

0 782 pb_message_set_to_defaults call site: 00015 /src/nanopb/pb_decode.c:957
0 0 None 10 86 validate_static call site: 00154 /src/nanopb/tests/build/fuzztest/validation.c:19
0 0 None 6 82 validate_static call site: 00153 /src/nanopb/tests/build/fuzztest/validation.c:13
0 0 None 6 82 validate_static call site: 00155 /src/nanopb/tests/build/fuzztest/validation.c:38
0 0 None 6 82 validate_static call site: 00156 /src/nanopb/tests/build/fuzztest/validation.c:43

Runtime coverage analysis

Covered functions
92
Functions that are reachable but not covered
10
Reachable functions
102
Percentage of reachable functions covered
90.2%
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
tests/build/fuzztest/fuzztest.c 6
tests/build/common/malloc_wrappers.c 6
pb_decode.c 41
pb_common.c 10
tests/build/fuzztest/validation.c 3
pb_encode.c 28
tests/build/fuzztest/flakystream.c 2

Fuzzer: fuzztest_io_errors

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 20 8.92%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 204 91.0%
All colors 224 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
0 76 1 :

['validate_message']

0 85 do_stream_decode call site: 00012 /src/nanopb/tests/build/fuzztest/fuzztest.c:124
0 5 1 :

['free_with_check']

0 5 realloc_with_check call site: 00071 /src/nanopb/tests/build/common/malloc_wrappers.c:108
0 0 None 0 808 pb_decode_inner call site: 00016 /src/nanopb/pb_decode.c:1010
0 0 None 0 751 pb_message_set_to_defaults call site: 00019 /src/nanopb/pb_decode.c:960
0 0 None 0 751 pb_message_set_to_defaults call site: 00023 /src/nanopb/pb_decode.c:966
0 0 None 0 751 pb_message_set_to_defaults call site: 00023 /src/nanopb/pb_decode.c:972
0 0 None 0 751 pb_message_set_to_defaults call site: 00023 /src/nanopb/pb_decode.c:974
0 0 None 0 441 do_decode call site: 00182 /src/nanopb/tests/build/fuzztest/fuzztest.c:81
0 0 None 0 368 pb_field_set_to_default call site: 00027 /src/nanopb/pb_decode.c:882
0 0 None 0 364 decode_static_field call site: 00142 /src/nanopb/pb_decode.c:542
0 0 None 0 348 decode_extension call site: 00095 /src/nanopb/pb_decode.c:853
0 0 None 0 344 default_extension_decoder call site: 00097 /src/nanopb/pb_decode.c:833

Runtime coverage analysis

Covered functions
70
Functions that are reachable but not covered
7
Reachable functions
76
Percentage of reachable functions covered
90.79%
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
tests/build/fuzztest/fuzztest.c 7
tests/build/common/malloc_wrappers.c 9
tests/build/fuzztest/flakystream.c 2
pb_decode.c 41
pb_common.c 9
tests/build/fuzztest/validation.c 3

Fuzzer: fuzztest_proto3_pointer

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 66 22.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 222 77.0%
All colors 288 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
15 86 2 :

['pb_release_single_field', 'pb_field_iter_begin_extension']

15 96 pb_release_single_field call site: 00032 /src/nanopb/pb_decode.c:1242
15 15 1 :

['pb_field_iter_begin_extension']

15 368 pb_field_set_to_default call site: 00021 /src/nanopb/pb_decode.c:873
5 5 1 :

['encode_callback_field']

5 5 encode_field call site: 00199 /src/nanopb/pb_encode.c:456
0 365 2 :

['pb_message_set_to_defaults', 'pb_field_iter_begin']

0 729 decode_static_field call site: 00138 /src/nanopb/pb_decode.c:535
0 365 2 :

['pb_message_set_to_defaults', 'pb_field_iter_begin']

0 365 pb_field_set_to_default call site: 00025 /src/nanopb/pb_decode.c:906
0 47 2 :

['pb_make_string_substream', 'pb_close_string_substream']

0 430 pb_decode_ex call site: 00011 /src/nanopb/pb_decode.c:1157
0 24 1 :

['pb_read']

0 24 pb_dec_bytes call site: 00066 /src/nanopb/pb_decode.c:1512
0 24 1 :

['pb_read']

0 24 pb_dec_string call site: 00080 /src/nanopb/pb_decode.c:1554
0 9 1 :

['pb_write']

0 9 pb_encode_submessage call site: 00249 /src/nanopb/pb_encode.c:743
0 9 1 :

['pb_write']

0 9 encode_array call site: 00216 /src/nanopb/pb_encode.c:176
0 5 1 :

['free_with_check']

0 5 realloc_with_check call site: 00069 /src/nanopb/tests/build/common/malloc_wrappers.c:108
0 4 1 :

['pb_istream_from_buffer']

0 782 pb_message_set_to_defaults call site: 00015 /src/nanopb/pb_decode.c:957

Runtime coverage analysis

Covered functions
86
Functions that are reachable but not covered
16
Reachable functions
102
Percentage of reachable functions covered
84.31%
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
tests/build/fuzztest/fuzztest.c 6
tests/build/common/malloc_wrappers.c 6
pb_decode.c 41
pb_common.c 10
tests/build/fuzztest/validation.c 3
pb_encode.c 28
tests/build/fuzztest/flakystream.c 2

Fuzzer: fuzztest_proto2_static

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 35 12.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 241 87.3%
All colors 276 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
68 68 1 :

['pb_check_proto3_default_value']

73 526 encode_field call site: 00161 /src/nanopb/pb_encode.c:430
5 5 1 :

['encode_callback_field']

5 5 encode_field call site: 00163 /src/nanopb/pb_encode.c:456
0 47 2 :

['pb_make_string_substream', 'pb_close_string_substream']

0 430 pb_decode_ex call site: 00011 /src/nanopb/pb_decode.c:1157
0 9 1 :

['pb_write']

0 9 pb_encode_submessage call site: 00213 /src/nanopb/pb_encode.c:743
0 9 1 :

['pb_write']

0 9 encode_array call site: 00180 /src/nanopb/pb_encode.c:176
0 0 None 5 458 encode_field call site: 00163 /src/nanopb/pb_encode.c:446
0 0 None 2 1310 do_roundtrip call site: 00146 /src/nanopb/tests/build/fuzztest/fuzztest.c:216
0 0 None 0 808 pb_decode_inner call site: 00015 /src/nanopb/pb_decode.c:1010
0 0 None 0 751 pb_message_set_to_defaults call site: 00017 /src/nanopb/pb_decode.c:960
0 0 None 0 751 pb_message_set_to_defaults call site: 00021 /src/nanopb/pb_decode.c:966
0 0 None 0 751 pb_message_set_to_defaults call site: 00021 /src/nanopb/pb_decode.c:972
0 0 None 0 751 pb_message_set_to_defaults call site: 00021 /src/nanopb/pb_decode.c:974

Runtime coverage analysis

Covered functions
90
Functions that are reachable but not covered
10
Reachable functions
99
Percentage of reachable functions covered
89.9%
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
tests/build/fuzztest/fuzztest.c 9
tests/build/common/malloc_wrappers.c 5
pb_decode.c 37
pb_common.c 10
tests/build/fuzztest/validation.c 3
pb_encode.c 28
tests/build/fuzztest/flakystream.c 2

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/nanopb/pb_common.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/pb_decode.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/pb_encode.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/tests/build/common/malloc_wrappers.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/tests/build/fuzztest/fuzztest.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/tests/build/fuzztest/validation.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']
/src/nanopb/tests/build/fuzztest/flakystream.c ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static'] ['fuzztest_proto3_static', 'fuzztest_proto2_pointer', 'fuzztest_io_errors', 'fuzztest_proto3_pointer', 'fuzztest_proto2_static']

Directories in report

Directory
/src/nanopb/
/src/nanopb/tests/build/common/
/src/nanopb/tests/build/fuzztest/