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

Fuzzer details

Fuzzer: fuzz_manifest

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 53 23.9%
gold [1:9] 87 39.3%
yellow [10:29] 50 22.6%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 31 14.0%
All colors 221 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
18 24 3 :

['use_colors', 'strdup', 'free']

18 24 debug call site: 00000 /src/clib/deps/debug/debug.c:98
2 8 3 :

['malloc', 'strdup', 'strncpy']

2 8 substr call site: 00165 /src/clib/deps/substr/substr.c:24
0 58 2 :

['parse_repo_owner', 'parse_repo_name']

0 862 clib_package_new call site: 00159 /src/clib/src/common/clib-package.c:540
0 32 5 :

['json_array_get_count', 'list_new', 'list_node_new', 'list_rpush', 'json_array_get_string_safe']

0 681 clib_package_new call site: 00181 /src/clib/src/common/clib-package.c:560
0 17 1 :

['substr']

0 17 parse_repo_owner call site: 00163 /src/clib/deps/parse-repo/parse-repo.c:25
0 12 1 :

['json_value_free']

0 12 parse_object_value call site: 00112 /src/clib/deps/parson/parson.c:619
0 0 None 15 21 debug_is_enabled call site: 00154 /src/clib/deps/debug/debug.c:60
0 0 None 8 270 parse_array_value call site: 00066 /src/clib/deps/parson/parson.c:631
0 0 None 6 268 parse_array_value call site: 00069 /src/clib/deps/parson/parson.c:641
0 0 None 2 155 clib_package_dependency_new call site: 00197 /src/clib/src/common/clib-package.c:907
0 0 None 2 155 clib_package_dependency_new call site: 00197 /src/clib/src/common/clib-package.c:911
0 0 None 2 25 parse_repo_name call site: 00173 /src/clib/deps/parse-repo/parse-repo.c:56

Runtime coverage analysis

Covered functions
76
Functions that are reachable but not covered
36
Reachable functions
112
Percentage of reachable functions covered
67.86%
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/fuzzing/fuzz_manifest.c 1
src/common/clib-package.c 10
deps/fs/fs.c 6
deps/console-colors/console-colors.c 5
deps/parson/parson.c 44
deps/strdup/strdup.c 1
deps/asprintf/asprintf.c 2
deps/debug/debug.c 2
deps/wildcardcmp/wildcardcmp.c 1
deps/parse-repo/parse-repo.c 2
deps/substr/substr.c 1
deps/list/list.c 3
deps/list/list_node.c 1

Analyses and suggestions

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/clib/deps/str-ends-with/str-ends-with.c [] []
/src/clib/deps/path-join/path-join.c [] []
/src/clib/deps/list/list_iterator.c [] []
/src/clib/deps/debug/debug.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/strdup/strdup.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/str-flatten/str-flatten.c [] []
/src/clib/deps/hash/hash.c [] []
/src/clib/deps/trim/trim.c [] []
/src/clib/test/fuzzing/fuzz_manifest.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/tinydir/tinydir.h [] []
/src/clib/deps/mkdirp/mkdirp.c [] []
/src/clib/deps/str-starts-with/str-starts-with.c [] []
/src/clib/deps/hash/khash.h [] []
/src/clib/src/clib-configure.c [] []
/src/clib/deps/wildcardcmp/wildcardcmp.c ['fuzz_manifest'] []
/src/clib/deps/parse-repo/parse-repo.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/copy/copy.c [] []
/src/clib/deps/console-colors/console-colors.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/src/common/clib-cache.c [] []
/src/clib/deps/path-normalize/path-normalize.c [] []
/src/clib/deps/list/list_node.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/rimraf/rimraf.c [] []
/src/clib/deps/commander/commander.c [] []
/src/clib/deps/http-get/http-get.c [] []
/src/clib/./deps/hash/hash.h [] []
/src/clib/deps/tempdir/tempdir.c [] []
/src/clib/deps/parson/parson.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/src/common/clib-package.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/hash/hash.h [] []
/src/clib/deps/list/list.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/substr/substr.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/fs/fs.c ['fuzz_manifest'] ['fuzz_manifest']
/src/clib/deps/asprintf/asprintf.c ['fuzz_manifest'] ['fuzz_manifest']

Directories in report

Directory
/src/clib/deps/wildcardcmp/
/src/clib/deps/mkdirp/
/src/clib/deps/asprintf/
/src/clib/./deps/hash/
/src/clib/deps/commander/
/src/clib/deps/list/
/src/clib/deps/path-join/
/src/clib/deps/console-colors/
/src/clib/deps/parson/
/src/clib/deps/substr/
/src/clib/deps/path-normalize/
/src/clib/deps/str-flatten/
/src/clib/deps/hash/
/src/clib/deps/str-starts-with/
/src/clib/src/
/src/clib/deps/str-ends-with/
/src/clib/deps/tempdir/
/src/clib/deps/trim/
/src/clib/deps/http-get/
/src/clib/test/fuzzing/
/src/clib/deps/debug/
/src/clib/deps/tinydir/
/src/clib/deps/strdup/
/src/clib/deps/parse-repo/
/src/clib/deps/copy/
/src/clib/deps/fs/
/src/clib/src/common/
/src/clib/deps/rimraf/