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

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 18 6.69%
gold [1:9] 1 0.37%
yellow [10:29] 2 0.74%
greenyellow [30:49] 2 0.74%
lawngreen 50+ 246 91.4%
All colors 269 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
3 123 ProcessCommands call site: 00123 SafeDecodeSymbol
2 111 BrotliDecoderDecompressStream call site: 00111 SaveErrorCode
2 135 BrotliTransformDictionaryWord call site: 00135 Shift
1 3 woff2::ComputeWOFF2FinalSize(unsigned char const*, unsigned long) call site: 00003
1 5 woff2::ComputeWOFF2FinalSize(unsigned char const*, unsigned long) call site: 00005 ntohl
1 7 LLVMFuzzerTestOneInput call site: 00007
1 16 woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*) call site: 00016 ntohs
1 77 BrotliDecoderDecompress call site: 00077 SaveErrorCode
1 96 BrotliDecoderDecompressStream call site: 00096 SafeDecodeSymbol
1 121 ProcessCommands call site: 00121 SafeDecodeSymbol
1 128 ProcessCommands call site: 00128 SafeDecodeSymbol
1 130 ProcessCommands call site: 00130 EnsureCompoundDictionaryInitialized

Runtime coverage analysis

Covered functions
162
Functions that are reachable but not covered
18
Reachable functions
155
Percentage of reachable functions covered
88.39%
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
/src/woff2/src/convert_woff2ttf_fuzzer_new_entry.cc 1
/src/woff2/src/woff2_dec.cc 27
/src/woff2/src/./buffer.h 10
/src/woff2/src/woff2_out.cc 1
/src/woff2/./include/woff2/output.h 3
/src/woff2/src/variable_length.cc 2
/src/woff2/src/woff2_common.cc 2
/src/woff2/src/./round.h 2
/src/woff2/src/./store_bytes.h 3
/src/woff2/brotli/c/dec/decode.c 36
/src/woff2/brotli/c/dec/state.c 5
/src/woff2/brotli/c/dec/bit_reader.c 2
/src/woff2/brotli/c/common/shared_dictionary.c 2
/src/woff2/brotli/c/common/dictionary.c 1
/src/woff2/brotli/c/common/transform.c 4
/src/woff2/brotli/c/dec/huffman.c 3

Fuzzer: convert_woff2ttf_fuzzer

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 18 6.76%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.37%
greenyellow [30:49] 1 0.37%
lawngreen 50+ 246 92.4%
All colors 266 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
3 120 ProcessCommands call site: 00120 SafeDecodeSymbol
2 108 BrotliDecoderDecompressStream call site: 00108 SaveErrorCode
2 132 BrotliTransformDictionaryWord call site: 00132 Shift
1 1 LLVMFuzzerTestOneInput call site: 00001
1 9 woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*) call site: 00009 ntohl
1 12 woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*) call site: 00012 ntohs
1 14 woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*) call site: 00014
1 74 BrotliDecoderDecompress call site: 00074 SaveErrorCode
1 93 BrotliDecoderDecompressStream call site: 00093 SafeDecodeSymbol
1 118 ProcessCommands call site: 00118 SafeDecodeSymbol
1 125 ProcessCommands call site: 00125 SafeDecodeSymbol
1 127 ProcessCommands call site: 00127 EnsureCompoundDictionaryInitialized

Runtime coverage analysis

Covered functions
162
Functions that are reachable but not covered
18
Reachable functions
155
Percentage of reachable functions covered
88.39%
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
/src/woff2/src/convert_woff2ttf_fuzzer.cc 1
/src/woff2/src/woff2_out.cc 2
/src/woff2/./include/woff2/output.h 3
/src/woff2/src/woff2_dec.cc 26
/src/woff2/src/./buffer.h 10
/src/woff2/src/variable_length.cc 2
/src/woff2/src/woff2_common.cc 2
/src/woff2/src/./round.h 2
/src/woff2/src/./store_bytes.h 3
/src/woff2/brotli/c/dec/decode.c 36
/src/woff2/brotli/c/dec/state.c 5
/src/woff2/brotli/c/dec/bit_reader.c 2
/src/woff2/brotli/c/common/shared_dictionary.c 2
/src/woff2/brotli/c/common/dictionary.c 1
/src/woff2/brotli/c/common/transform.c 4
/src/woff2/brotli/c/dec/huffman.c 3

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/woff2/src/convert_woff2ttf_fuzzer_new_entry.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['ProcessCommands', 'BrotliDecoderDecompressStream', 'BrotliTransformDictionaryWord', 'woff2::ComputeWOFF2FinalSize(unsigned char const*, unsigned long)', 'woff2::ComputeWOFF2FinalSize(unsigned char const*, unsigned long)', 'LLVMFuzzerTestOneInput', 'woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*)', 'BrotliDecoderDecompress']

/src/woff2/src/convert_woff2ttf_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['ProcessCommands', 'BrotliDecoderDecompressStream', 'BrotliTransformDictionaryWord', 'LLVMFuzzerTestOneInput', 'woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*)', 'woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*)', 'woff2::(anonymous namespace)::ReadWOFF2Header(unsigned char const*, unsigned long, woff2::(anonymous namespace)::WOFF2Header*)', 'BrotliDecoderDecompress']

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
[] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/woff2/./include/woff2/output.h ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] []
/src/woff2/brotli/c/common/transform.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/woff2_out.cc ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/./store_bytes.h ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] []
/src/woff2/src/variable_length.cc ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/./round.h ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] []
/src/woff2/brotli/c/dec/decode.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/woff2_common.cc ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/brotli/c/common/shared_dictionary.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/brotli/c/dec/static_init.c [] []
/src/woff2/brotli/c/common/platform.c [] []
/src/woff2/src/./woff2_common.h [] []
/src/woff2/brotli/c/dec/bit_reader.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/./buffer.h ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] []
/src/woff2/src/convert_woff2ttf_fuzzer.cc ['convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer']
/src/woff2/brotli/c/dec/huffman.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/brotli/c/dec/state.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/brotli/c/common/dictionary.c ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/woff2_dec.cc ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer'] ['convert_woff2ttf_fuzzer_new_entry', 'convert_woff2ttf_fuzzer']
/src/woff2/src/convert_woff2ttf_fuzzer_new_entry.cc ['convert_woff2ttf_fuzzer_new_entry'] ['convert_woff2ttf_fuzzer_new_entry']

Directories in report

Directory
/src/woff2/brotli/c/common/
/src/woff2/./include/woff2/
/src/woff2/brotli/c/dec/
/src/woff2/src/./
/usr/local/bin/../include/c++/v1/
/src/woff2/src/