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

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 13 68.4%
gold [1:9] 5 26.3%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 5.26%
All colors 19 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
13 1 [StringFuzzer].fuzzerTestOneInput(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00001 [org.stringtemplate.v4.compiler.CompiledST].defineImplicitlyDefinedTemplates(org.stringtemplate.v4.STGroup)

Runtime coverage analysis

Covered functions
137
Functions that are reachable but not covered
5
Reachable functions
7
Percentage of reachable functions covered
28.57%
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
StringFuzzer.java 5
stringtemplate4org/stringtemplate/v4/ST.java 10
stringtemplate4org/stringtemplate/v4/debug/ConstructionEvent.java 1
stringtemplate4org/stringtemplate/v4/compiler/CompiledST.java 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.stringtemplate.v4.STGroup].importTemplates(org.antlr.runtime.Token) 47 0 0.0% []
[org.stringtemplate.v4.Interpreter]._exec(org.stringtemplate.v4.STWriter,org.stringtemplate.v4.InstanceScope) 223 36 16.14% ['StringFuzzer']
[org.stringtemplate.v4.Interpreter].storeArgs(org.stringtemplate.v4.InstanceScope,java.util.Map,org.stringtemplate.v4.ST) 42 0 0.0%
[org.stringtemplate.v4.Interpreter].zip_map(org.stringtemplate.v4.InstanceScope,java.util.List,org.stringtemplate.v4.ST) 42 0 0.0%
[org.stringtemplate.v4.ST].add(java.lang.String,java.lang.Object) 37 15 40.54%
[org.stringtemplate.v4.misc.ErrorType]. () 33 0 0.0%
[org.stringtemplate.v4.misc.TypeRegistry].get(java.lang.Object) 48 17 35.41%
[org.stringtemplate.v4.compiler.STLexer].inside() 50 16 32.0% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STLexer].subTemplate() 36 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].element() 189 38 20.10% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STParser].compoundElement() 61 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].region() 109 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].subtemplate() 89 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].ifstat() 267 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].conditional() 34 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].andConditional() 34 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].notConditional() 37 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].notConditionalExpr() 79 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].exprOptions() 44 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].option() 67 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].exprNoComma() 51 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].mapExpr() 133 43 32.33% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STParser].mapTemplateRef() 108 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].memberExpr() 80 38 47.5% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STParser].includeExpr() 226 73 32.30% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STParser].primary() 161 47 29.19% ['StringFuzzer']
[org.stringtemplate.v4.compiler.STParser].qualifiedId() 73 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].args() 103 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].argExprList() 43 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].namedArg() 35 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].list() 89 0 0.0% []
[org.stringtemplate.v4.compiler.STParser].listElement() 33 0 0.0% []
[org.stringtemplate.v4.compiler.STParser]. () 187 88 47.05%
[org.stringtemplate.v4.compiler.Compiler].compile(java.lang.String,java.lang.String,java.util.List,java.lang.String,org.antlr.runtime.Token) 31 17 54.83%
[org.stringtemplate.v4.compiler.GroupParser].group(org.stringtemplate.v4.STGroup,java.lang.String) 67 0 0.0%
[org.stringtemplate.v4.compiler.GroupParser].oldStyleHeader() 33 0 0.0% []
[org.stringtemplate.v4.compiler.GroupParser].def(java.lang.String) 43 0 0.0%
[org.stringtemplate.v4.compiler.GroupParser].templateDef(java.lang.String) 98 0 0.0%
[org.stringtemplate.v4.compiler.GroupParser].formalArgs() 32 0 0.0% []
[org.stringtemplate.v4.compiler.GroupParser].formalArg(java.util.List) 45 0 0.0%
[org.stringtemplate.v4.compiler.GroupParser].dictPairs(java.util.Map) 44 0 0.0%
[org.stringtemplate.v4.compiler.GroupParser].keyValue() 55 0 0.0% []
[org.stringtemplate.v4.compiler.GroupParser]. () 82 0 0.0%
[org.stringtemplate.v4.compiler.CodeGenerator].element() 76 12 15.78% ['StringFuzzer']
[org.stringtemplate.v4.compiler.CodeGenerator].subtemplate() 84 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator].ifstat(org.antlr.runtime.tree.CommonTree) 67 0 0.0%
[org.stringtemplate.v4.compiler.CodeGenerator].conditional() 57 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator].expr() 81 13 16.04% ['StringFuzzer']
[org.stringtemplate.v4.compiler.CodeGenerator].prop() 37 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator].mapTemplateRef(int) 61 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator].includeExpr() 93 23 24.73% ['StringFuzzer']
[org.stringtemplate.v4.compiler.CodeGenerator].primary() 77 20 25.97% ['StringFuzzer']
[org.stringtemplate.v4.compiler.CodeGenerator].qualifiedId() 61 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator].args() 72 0 0.0% []
[org.stringtemplate.v4.compiler.CodeGenerator]. () 115 48 41.73%
[org.stringtemplate.v4.compiler.GroupLexer].mSTRING() 44 0 0.0% []
[org.stringtemplate.v4.compiler.GroupLexer].mBIGSTRING() 45 0 0.0% []
[org.stringtemplate.v4.compiler.GroupLexer].mTokens() 55 0 0.0% []
[org.stringtemplate.v4.gui.STViz].open() 41 0 0.0% []
[org.stringtemplate.v4.gui.STViewFrame].initComponents() 59 0 0.0% []

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/StringFuzzer.java ['StringFuzzer'] ['StringFuzzer']
/src/stringtemplate4/src/org/stringtemplate/v4/STGroupString.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/Misc.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/Playground.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/Benchmark.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestGroups.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestCoreBasics.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/gUnitBase.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestInterptimeErrors.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STGroupFile.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STGroup.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/ErrorBuffer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/MapModelAdaptor.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/FormalArgument.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STGroupDir.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestIndentation.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STModelAdaptor.java [] []
/src/stringtemplate4/target/generated-sources/antlr3/org/stringtemplate/v4/compiler/GroupLexer.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestLineWrap.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/Compiler.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/CompilationState.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/ST.java ['StringFuzzer'] ['StringFuzzer']
/src/stringtemplate4/src/org/stringtemplate/v4/gui/JTreeASTModel.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/StringTable.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/BaseTest.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestTypeRegistry.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/Order.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/STLexer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/ObjectModelAdaptor.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestAttributes.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/Item.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestGroupSyntaxErrors.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/gui/STViewFrame.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/Helper.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STCompiletimeMessage.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestSubtemplates.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestLexer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/debug/AddAttributeEvent.java [] []
/src/stringtemplate4/target/generated-sources/antlr3/org/stringtemplate/v4/compiler/GroupParser.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestRegions.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/NoIndentWriter.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/Article.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestFunctions.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/ArrayIterator.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestDebugEvents.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/Attributes.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestSTRawGroupDir.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestTreeConstruction.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STMessage.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestAggregates.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/WriteFixedTemplates.java [] []
/src/stringtemplate4/target/generated-sources/antlr3/org/stringtemplate/v4/compiler/STParser.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/debug/ConstructionEvent.java ['StringFuzzer'] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/Interval.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/gui/JTreeScopeStackModel.java [] []
/src/stringtemplate4/target/generated-sources/antlr3/org/stringtemplate/v4/compiler/CodeGenerator.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestNullAndEmptyValues.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestGroupsFromCLASSPATH.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestWhitespace.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/debug/EvalExprEvent.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/Coordinate.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/Aggregate.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestGroupSyntax.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/Customer.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestBuggyDefaultValueRaisesNPETest.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/AggregateModelAdaptor.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/gui/STViz.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestDictionaries.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STNoSuchAttributeException.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STRawGroupDir.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestEarlyEvaluation.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STRuntimeMessage.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STWriter.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestTokensForDollarDelimiters.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/MultiMap.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/ErrorManager.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/Misc.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/STErrorListener.java [] []
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/OliverTest.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestTemplateNames.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestCompiler.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/BytecodeDisassembler.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestLists.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STLexerMessage.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/StringRenderer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/TypeRegistry.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestImports.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/AttributeRenderer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STNoSuchPropertyException.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/Interpreter.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/NumberRenderer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/ModelAdaptor.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestRenderers.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestSyntaxErrors.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestDollarDelimiters.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/DateRenderer.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/AutoIndentWriter.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/debug/InterpEvent.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/CompiledST.java ['StringFuzzer'] ['StringFuzzer']
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestNoNewlineTemplates.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestModelAdaptors.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/misc/STGroupCompiletimeMessage.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestOptions.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestIndirectionAndEarlyEval.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/TestScopes.java [] []
/src/stringtemplate4/test/org/stringtemplate/v4/test/ErrorBufferAllErrors.java [] []
/src/stringtemplate4/src/org/stringtemplate/v4/gui/JTreeSTModel.java [] []

Directories in report

Directory
/src/stringtemplate4/target/generated-sources/antlr3/org/stringtemplate/v4/compiler/
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/oliver/
/src/stringtemplate4/test/org/stringtemplate/v4/test/
/src/stringtemplate4/src/org/stringtemplate/v4/misc/
/src/stringtemplate4/src/org/stringtemplate/v4/
/src/stringtemplate4/src/org/stringtemplate/v4/debug/
/src/stringtemplate4/src/org/stringtemplate/v4/gui/
/src/stringtemplate4/benchmark/org/stringtemplate/v4/benchmark/
/src/stringtemplate4/src/org/stringtemplate/v4/compiler/
/src/