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

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 585 65.7%
gold [1:9] 226 25.3%
yellow [10:29] 28 3.14%
greenyellow [30:49] 4 0.44%
lawngreen 50+ 47 5.28%
All colors 890 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
54 272 tg3__parse_from_json call site: 00272 tg3__parse_extras_and_extensions
52 155 tg3__json_to_value call site: 00155 tg3json_stringify
42 357 tg3__parse_bool call site: 00357 tg3__parse_accessor_sparse
42 510 tg3__parse_double call site: 00510 tg3__parse_normal_texture_info
42 829 tg3__validate_spec call site: 00829 tg3__spec_report
36 407 tg3__parse_from_json call site: 00407 tg3__parse_primitive
35 762 tg3__validate_model call site: 00762 tg3__error_pushf
34 451 tg3__parse_from_json call site: 00451 tg3__parse_extras_and_extensions
27 616 tg3__parse_from_json call site: 00616 tg3__parse_extras_and_extensions
24 800 tg3__validate_model call site: 00800 tg3__validate_range_in_buffer_view
23 651 tg3__parse_from_json call site: 00651 tg3__parse_extras_and_extensions
20 698 tg3__parse_from_json call site: 00698 tg3__parse_light

Runtime coverage analysis

Covered functions
74
Functions that are reachable but not covered
88
Reachable functions
160
Percentage of reachable functions covered
45.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
tests/v3/fuzzer/fuzz_gltf_v3_c.c 2
tiny_gltf_v3.c 115
./tinygltf_json_c.h 38

Fuzzer: fuzz_gltf_v3

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 601 66.6%
gold [1:9] 272 30.1%
yellow [10:29] 25 2.77%
greenyellow [30:49] 2 0.22%
lawngreen 50+ 2 0.22%
All colors 902 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
64 690 tg3__parse_from_json(tg3__parse_ctx*, tg3json_value const*, tg3_model*) call site: 00690 tg3json_object_get
61 141 tg3__parse_extras_and_extensions(tg3__parse_ctx*, tg3json_value const*, tg3_extras_ext*) call site: 00141 tg3json_stringify
42 352 tg3__parse_bool(tg3__parse_ctx*, tg3json_value const*, char const*, int*, int, char const*) call site: 00352 tg3json_array_get
36 402 tg3__parse_from_json(tg3__parse_ctx*, tg3json_value const*, tg3_model*) call site: 00402 tg3json_array_get
29 267 tg3__parse_from_json(tg3__parse_ctx*, tg3json_value const*, tg3_model*) call site: 00267 tg3_is_data_uri
28 757 tg3__validate_model(tg3__parse_ctx*, tg3_model const*) call site: 00757
27 611 tg3__parse_from_json(tg3__parse_ctx*, tg3json_value const*, tg3_model*) call site: 00611 tg3json_array_get
24 297 tg3__strlen(char const*) call site: 00297 memchr
24 795 tg3__validate_model(tg3__parse_ctx*, tg3_model const*) call site: 00795 tg3_component_size
22 458 tg3__parse_number_to_fixed(tg3json_value const*, char const*, double*, unsigned int) call site: 00458 tg3json_object_get
21 845 tg3__validate_spec(tg3__parse_ctx*, tg3_model const*) call site: 00845 tg3json_value_free
17 652 tg3__str_eq_cstr(tg3_str const*, char const*) call site: 00652 tg3_str_equals_cstr

Runtime coverage analysis

Covered functions
81
Functions that are reachable but not covered
155
Reachable functions
299
Percentage of reachable functions covered
48.16%
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/v3/fuzzer/fuzz_gltf_v3.cc 5
./tiny_gltf_v3.c 115
./tinygltf_json_c.h 38

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
tg3_parse_glb 52 19 36.53% ['fuzz_gltf_v3_c', 'fuzz_gltf_v3']
tg3__validate_indices 207 45 21.73% ['fuzz_gltf_v3_c']
tg3__validate_resources 125 8 6.4% ['fuzz_gltf_v3_c']
tg3__parse_string_array 37 11 29.72% ['fuzz_gltf_v3_c']
tg3__parse_int_array 46 11 23.91% ['fuzz_gltf_v3_c']
tg3__parse_extras_and_extensions 59 32 54.23% ['fuzz_gltf_v3_c']
tg3__parse_glb_header 35 19 54.28% ['fuzz_gltf_v3_c']
tg3json__parse_string_raw 75 41 54.66% ['fuzz_gltf_v3_c']
tg3__validate_indices(tg3__parse_ctx*,tg3_modelconst*) 207 59 28.50% ['fuzz_gltf_v3']
tg3__validate_resources(tg3__parse_ctx*,tg3_modelconst*) 125 8 6.4% ['fuzz_gltf_v3']
tg3__parse_string_array(tg3__parse_ctx*,tg3json_valueconst*,charconst*,tg3_strconst**,unsignedint*,int,charconst*) 37 11 29.72% ['fuzz_gltf_v3']
tg3__parse_int_array(tg3__parse_ctx*,tg3json_valueconst*,charconst*,intconst**,unsignedint*,int,charconst*) 46 11 23.91% ['fuzz_gltf_v3']
tg3__parse_extras_and_extensions(tg3__parse_ctx*,tg3json_valueconst*,tg3_extras_ext*) 59 13 22.03% ['fuzz_gltf_v3']
tg3__parse_glb_header(unsignedcharconst*,unsignedlong,unsignedcharconst**,unsignedlong*,unsignedcharconst**,unsignedlong*,int*,tg3_error_stack*) 35 12 34.28% ['fuzz_gltf_v3']
tg3__glb_frame_parse(unsignedcharconst*,unsignedlong,tg3__glb_frame*) 52 22 42.30% ['fuzz_gltf_v3']
tg3json__parse_array(tg3json__parser*,unsignedlong,tg3json_value*) 53 26 49.05% ['fuzz_gltf_v3']
tg3json__parse_number(tg3json__parser*,tg3json_value*) 47 25 53.19% ['fuzz_gltf_v3']