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

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 1 0.84%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 118 99.1%
All colors 119 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
0 0 None 0 87 meshopt_encodeVertexBufferLevel call site: 00086 /src/meshoptimizer/src/vertexcodec.cpp:1698
0 0 None 0 86 meshopt::encodeVertexBlock(unsignedchar*,unsignedchar*,unsignedcharconst*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int,int) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:566
0 0 None 0 0 meshopt_encodeVertexBufferLevel call site: 00062 /src/meshoptimizer/src/vertexcodec.cpp:1666
0 0 None 0 0 meshopt_encodeVertexBufferLevel call site: 00086 /src/meshoptimizer/src/vertexcodec.cpp:1708
0 0 None 0 0 meshopt_decodeVertexBuffer call site: 00041 /src/meshoptimizer/src/vertexcodec.cpp:1857
0 0 None 0 0 meshopt::encodeVertexBlock(unsignedchar*,unsignedchar*,unsignedcharconst*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int,int) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:523
0 0 None 0 0 meshopt::encodeVertexBlock(unsignedchar*,unsignedchar*,unsignedcharconst*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int,int) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:557
0 0 None 0 0 meshopt::encodeBytes(unsignedchar*,unsignedchar*,unsignedcharconst*,unsignedlong,intconst*) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:272
0 0 None 0 0 meshopt::encodeBytes(unsignedchar*,unsignedchar*,unsignedcharconst*,unsignedlong,intconst*) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:283
0 0 None 0 0 meshopt::decodeVertexBlockSimd(unsignedcharconst*,unsignedcharconst*,unsignedchar*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int) call site: 00000 /src/meshoptimizer/src/vertexcodec.cpp:1564

Runtime coverage analysis

Covered functions
45
Functions that are reachable but not covered
2
Reachable functions
59
Percentage of reachable functions covered
96.61%
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
tools/codecfuzz.cpp 3
src/indexcodec.cpp 7
src/vertexcodec.cpp 22

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
meshopt::decodeVertexBlock(unsignedcharconst*,unsignedcharconst*,unsignedchar*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int) /src/meshoptimizer/src/vertexcodec.cpp 8 ['N/A', 'N/A', 'N/A', 'size_t', 'size_t', 'N/A', 'N/A', 'int'] 3 0 382 52 13 17 0 95 91
meshopt_encodeIndexBuffer /src/meshoptimizer/src/indexcodec.cpp 4 ['N/A', 'size_t', 'N/A', 'size_t'] 2 0 957 145 45 17 0 71 65
meshopt::decodeVertexBlockSimd(unsignedcharconst*,unsignedcharconst*,unsignedchar*,unsignedlong,unsignedlong,unsignedchar*,unsignedcharconst*,int) /src/meshoptimizer/src/vertexcodec.cpp 8 ['N/A', 'N/A', 'N/A', 'size_t', 'size_t', 'N/A', 'N/A', 'int'] 3 0 370 48 13 21 0 59 57

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
84.0%
57 / 68
Cyclomatic complexity statically reachable by fuzzers
92.0%
420 / 458

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

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