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

Fuzzer details

Fuzzer: JsonJavaFuzzer

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 141 66.5%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 71 33.4%
All colors 212 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
67 106 [org.json.JSONObject].writeValue(java.io.Writer,java.lang.Object,int,int) call site: 00106
17 36 [org.json.JSONTokener].nextValue() call site: 00036
11 189 [org.json.JSONObject].write(java.io.Writer,int,int) call site: 00189
9 201 [org.json.JSONObject].put(java.lang.String,java.lang.Object) call site: 00201
7 59 [org.json.JSONObject].stringToNumber(java.lang.String) call site: 00059
6 10 [org.json.JSONTokener].syntaxError(java.lang.String) call site: 00010
6 73 [org.json.JSONObject].writeValue(java.io.Writer,java.lang.Object,int,int) call site: 00073
3 1 [JsonJavaFuzzer].fuzzerTestOneInput(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00001
3 88 [org.json.JSONArray].write(java.io.Writer,int,int) call site: 00088
2 95 [org.json.JSONObject].testValidity(java.lang.Object) call site: 00095
1 5 [org.json.JSONTokener].nextClean() call site: 00005
1 7 [org.json.JSONTokener].next() call site: 00007

Runtime coverage analysis

Covered functions
36
Functions that are reachable but not covered
4
Reachable functions
5
Percentage of reachable functions covered
20.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
JsonJavaFuzzer 1
org.json.JSONObject 33
org.json.JSONTokener 15
org.json.JSONException 3
org.json.JSONArray 13
org.json.JSONPointer 2
org.json.XML$1$1 3
org.json.JSONObject$Null 2
org.json.JSONStringer 1
org.json.XML$1 1
com.code_intelligence.jazzer.api.FuzzedDataProvider 1

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
[org.json.JSONPointer].toURIFragment() 65 0 0.0% []
[org.json.JSONTokener].nextValue() 39 17 43.58% []
[org.json.XML].indent(int) 326 0 0.0% []
[org.json.JSONML].toString(org.json.JSONObject) 198 0 0.0% []
[org.json.Cookie].unescape(java.lang.String) 80 0 0.0% []
[org.json.CDL].toString(org.json.JSONArray,org.json.JSONArray) 87 0 0.0% []
[org.json.JSONObject].wrongValueFormatException(java.lang.String,java.lang.String,java.lang.Object,java.lang.Throwable) 231 40 17.31% []
[org.json.JSONObject].opt(java.lang.String) 130 1 0.769% []
[org.json.JSONObject].getAnnotationDepth(java.lang.reflect.Method,java.lang.Class) 33 0 0.0% []
[org.json.JSONObject].remove(java.lang.String) 41 0 0.0% []
[org.json.JSONObject].write(java.io.Writer,int,int) 60 30 50.0% []
[org.json.XMLTokener].skipPast(java.lang.String) 137 0 0.0% []
[org.json.HTTP].toString(org.json.JSONObject) 48 0 0.0% []
[org.json.JSONArray].wrongValueFormatException(int,java.lang.String,java.lang.Object,java.lang.Throwable) 56 27 48.21% []
[org.json.JSONArray].iterator() 80 0 0.0% []
[org.json.JSONArray].length() 99 1 1.010% []
[org.json.JSONArray].put(java.lang.Object) 73 0 0.0% []
[org.json.JSONArray].write(java.io.Writer,int,int) 40 20 50.0% []
[org.json.JSONWriter].value(java.lang.Object) 115 0 0.0% []