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

Fuzzer details

Fuzzer: FlattenFuzzer

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 82 59.8%
gold [1:9] 42 30.6%
yellow [10:29] 12 8.75%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 0.72%
All colors 137 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
38 65 [com.github.wnameless.json.flattener.JsonFlattener].computeKey() call site: 00065 [com.github.wnameless.json.flattener.JsonFlattener].jsonVal2Obj(com.github.wnameless.json.base.JsonValueBase )
15 104 [com.github.wnameless.json.flattener.JsonFlattener].withStringEscapePolicy(com.github.wnameless.json.flattener.CharSequenceTranslatorFactory) call site: 00104 [com.github.wnameless.json.flattener.JsonFlattener].flattenAsMap()
13 22 [com.github.wnameless.json.flattener.JsonFlattener].flattenAsMap() call site: 00022 [com.github.wnameless.json.flattener.JsonFlattener].newJsonifyArrayList()
8 7 [com.example.FlattenFuzzer].myFuzzTest(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00007
4 38 [com.github.wnameless.json.flattener.JsonFlattener].newJsonifyArrayList() call site: 00038 [com.github.wnameless.json.flattener.JsonFlattener].computeKey()
4 49 [com.github.wnameless.json.flattener.JsonFlattener].computeKey() call site: 00049

Runtime coverage analysis

Covered functions
97
Functions that are reachable but not covered
74
Reachable functions
87
Percentage of reachable functions covered
14.94%
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-targets/src/test/java/com/example/FlattenFuzzer.java 10
json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonFlattenerFactory.java 5
json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java 71

Fuzzer: UnflattenFuzzer

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 11 9.09%
gold [1:9] 81 66.9%
yellow [10:29] 28 23.1%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 0.82%
All colors 121 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
11 6 [com.example.UnflattenFuzzer].myFuzzTest(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00006 [com.github.wnameless.json.unflattener.JsonUnflattener].parseJson(String)

Runtime coverage analysis

Covered functions
97
Functions that are reachable but not covered
55
Reachable functions
62
Percentage of reachable functions covered
11.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.
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-targets/src/test/java/com/example/UnflattenFuzzer.java 9
json-flattener/src/main/java/com/github/wnameless/json/unflattener/JsonUnflattenerFactory.java 5
json-flattener/src/main/java/com/github/wnameless/json/unflattener/JsonUnflattener.java 53

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/project-parent/json-flattener/src/test/java/com/github/wnameless/json/unflattener/JsonUnflattenerTest.java [] []
/src/project-parent/fuzz-targets/src/test/java/com/example/UnflattenFuzzer.java ['UnflattenFuzzer'] ['UnflattenFuzzer']
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/flattener/IndexedPeekIteratorTest.java [] []
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/unflattener/JsonUnflattenerFactoryTest.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonifyArrayList.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/KeyTransformer.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/CharSequenceTranslatorFactory.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonFlattenerFactory.java ['FlattenFuzzer'] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/IndexedPeekIterator.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/unflattener/JsonUnflattener.java ['UnflattenFuzzer'] ['UnflattenFuzzer']
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java ['FlattenFuzzer'] ['FlattenFuzzer']
/src/project-parent/fuzz-targets/src/test/java/com/example/FlattenFuzzer.java ['FlattenFuzzer'] ['FlattenFuzzer']
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/unflattener/JsonUnflattenerFactory.java ['UnflattenFuzzer'] []
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/flattener/JsonFlattenerTest.java [] []
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/flattener/JsonFlattenerFactoryTest.java [] []
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/JsonifyLinkedHashMap.java [] []

Directories in report

Directory
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/unflattener/
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/unflattener/
/src/project-parent/json-flattener/src/test/java/com/github/wnameless/json/flattener/
/src/project-parent/fuzz-targets/src/test/java/com/example/
/src/project-parent/json-flattener/src/main/java/com/github/wnameless/json/flattener/