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

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: base64

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: roundtrip

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: conversion

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

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
simdutf::haswell::implementation::base64_to_binary(charconst*,unsignedlong,char*,simdutf::base64_options,simdutf::last_chunk_handling_options)const /src/simdutf/src/haswell/implementation.cpp 6 ['N/A', 'N/A', 'size_t', 'N/A', 'size_t', 'size_t'] 7 0 187 21 21 107 0 401 332
simdutf::westmere::implementation::base64_to_binary(char16_tconst*,unsignedlong,char*,simdutf::base64_options,simdutf::last_chunk_handling_options)const /src/simdutf/src/westmere/implementation.cpp 6 ['N/A', 'N/A', 'size_t', 'N/A', 'size_t', 'size_t'] 7 0 187 21 21 105 0 398 326
simdutf::icelake::implementation::base64_to_binary(charconst*,unsignedlong,char*,simdutf::base64_options,simdutf::last_chunk_handling_options)const /src/simdutf/src/icelake/implementation.cpp 6 ['N/A', 'N/A', 'size_t', 'N/A', 'size_t', 'size_t'] 7 0 187 21 21 71 0 334 272
simdutf::icelake::implementation::base64_to_binary(char16_tconst*,unsignedlong,char*,simdutf::base64_options,simdutf::last_chunk_handling_options)const /src/simdutf/src/icelake/implementation.cpp 6 ['N/A', 'N/A', 'size_t', 'N/A', 'size_t', 'size_t'] 7 0 187 21 21 71 0 334 250
populate_functions()::$_0::__invoke(std::__1::span ) /src/simdutf/fuzz/conversion.cpp 2 ['N/A', 'size_t'] 10 0 23 3 2 95 0 361 240
populate_functions()::$_34::__invoke(std::__1::span ) /src/simdutf/fuzz/conversion.cpp 2 ['N/A', 'size_t'] 10 0 23 3 2 91 0 355 210
simdutf::westmere::implementation::detect_encodings(charconst*,unsignedlong)const /src/simdutf/src/westmere/implementation.cpp 3 ['N/A', 'N/A', 'size_t'] 10 0 1498 141 60 124 0 204 200

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

Functions statically reachable by fuzzers
13.0%
290 / 2236
Cyclomatic complexity statically reachable by fuzzers
18.0%
2658 / 14670

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

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/simdutf/src/scalar/utf32.h [] []
/src/simdutf/src/generic/base64.h [] []
/src/simdutf/src/generic/utf8_to_utf32/utf8_to_utf32.h [] []
/src/simdutf/src/scalar/utf16_to_utf8/valid_utf16_to_utf8.h [] []
/src/simdutf/src/generic/utf8_to_utf16/valid_utf8_to_utf16.h [] []
/src/simdutf/src/icelake/icelake_utf8_length_from_utf16.inl.cpp [] []
/src/simdutf/src/scalar/utf16_to_utf32/valid_utf16_to_utf32.h [] []
/src/simdutf/src/scalar/utf8_to_utf32/valid_utf8_to_utf32.h [] []
/src/simdutf/src/simdutf/westmere/bitmanipulation.h [] []
/src/simdutf/src/scalar/utf32_to_utf16/valid_utf32_to_utf16.h [] []
/src/simdutf/src/haswell/avx2_convert_utf32_to_utf16.cpp [] []
/src/simdutf/src/westmere/sse_convert_latin1_to_utf32.cpp [] []
/src/simdutf/src/scalar/utf32_to_utf8/utf32_to_utf8.h [] []
/src/simdutf/src/scalar/utf32_to_latin1/utf32_to_latin1.h [] []
/src/simdutf/src/icelake/icelake_ascii_validation.inl.cpp [] []
/src/simdutf/src/haswell/avx2_convert_latin1_to_utf8.cpp [] []
/work/include/simdutf/error.h [] []
/src/simdutf/src/westmere/sse_convert_utf16_to_latin1.cpp [] []
/src/simdutf/src/icelake/icelake_convert_utf16_to_utf32.inl.cpp [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/simdutf/fuzz/roundtrip.cpp ['roundtrip'] []
/src/simdutf/src/icelake/icelake_find.inl.cpp [] []
/src/simdutf/src/scalar/utf32_to_latin1/valid_utf32_to_latin1.h [] []
/src/simdutf/src/generic/utf8_to_utf32/valid_utf8_to_utf32.h [] []
/src/simdutf/src/haswell/avx2_convert_utf32_to_utf8.cpp [] []
/src/simdutf/include/simdutf/implementation.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/fuzz/helpers/nameof.hpp ['misc', 'base64'] []
/src/simdutf/src/westmere/sse_convert_latin1_to_utf16.cpp [] []
/src/simdutf/src/simdutf/haswell/simd32-inl.h [] []
/src/simdutf/src/scalar/latin1_to_utf16/latin1_to_utf16.h [] []
/src/simdutf/src/generic/utf32.h [] []
/src/simdutf/src/icelake/icelake_convert_utf8_to_utf16.inl.cpp [] []
/src/simdutf/src/westmere/sse_convert_utf16_to_utf8.cpp [] []
/src/simdutf/src/westmere/sse_convert_utf32_to_latin1.cpp [] []
/src/simdutf/src/westmere/sse_utf16fix.cpp [] []
/src/simdutf/src/scalar/utf16.h ['misc'] []
/src/simdutf/src/westmere/sse_convert_utf8_to_latin1.cpp [] []
/src/simdutf/src/generic/buf_block_reader.h [] []
/src/simdutf/src/haswell/implementation.cpp [] []
/src/simdutf/src/simdutf/haswell/simd.h [] []
/src/simdutf/src/haswell/avx2_convert_utf8_to_latin1.cpp [] []
/usr/local/bin/../include/c++/v1/__functional/perfect_forward.h [] []
/src/simdutf/src/scalar/utf8.h ['misc'] []
/src/simdutf/src/icelake/icelake_convert_utf32_to_utf8.inl.cpp [] []
/src/simdutf/src/simdutf/icelake/simd16-inl.h [] []
/src/simdutf/src/encoding_types.cpp ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/simdutf/fallback/implementation.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/icelake/icelake_common.inl.cpp [] []
/src/simdutf/src/generic/validate_utf32.h [] []
/src/simdutf/src/westmere/sse_convert_utf32_to_utf16.cpp [] []
/src/simdutf/src/scalar/utf32_to_utf16/utf32_to_utf16.h [] []
/src/simdutf/src/westmere/sse_convert_utf32_to_utf8.cpp [] []
/src/simdutf/src/simdutf/icelake/bitmanipulation.h [] []
/src/simdutf/src/haswell/avx2_base64.cpp [] []
/src/simdutf/src/haswell/avx2_convert_utf16_to_utf8.cpp [] []
/src/simdutf/src/generic/utf8_to_latin1/valid_utf8_to_latin1.h [] []
/src/simdutf/src/icelake/icelake_from_valid_utf8.inl.cpp [] []
/src/simdutf/src/scalar/latin1_to_utf8/latin1_to_utf8.h ['misc'] []
/src/simdutf/src/haswell/avx2_validate_utf16.cpp [] []
/src/simdutf/src/simdutf/westmere/simd.h [] []
/src/simdutf/src/scalar/ascii.h [] []
/src/simdutf/src/scalar/swap_bytes.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/icelake/icelake_convert_utf8_to_latin1.inl.cpp [] []
/src/simdutf/src/generic/utf8_to_utf16/utf8_to_utf16.h [] []
/src/simdutf/src/icelake/icelake_utf8_common.inl.cpp [] []
/src/simdutf/src/scalar/utf8_to_utf16/utf8_to_utf16.h [] []
/src/simdutf/src/westmere/internal/write_v_u16_11bits_to_utf8.cpp [] []
/src/simdutf/src/haswell/avx2_utf16fix.cpp [] []
/src/simdutf/src/icelake/icelake_convert_utf16_to_latin1.inl.cpp [] []
/src/simdutf/src/implementation.cpp ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/generic/utf8.h [] []
/src/simdutf/src/scalar/utf8_to_latin1/utf8_to_latin1.h [] []
/src/simdutf/src/generic/utf16.h [] []
/src/simdutf/src/haswell/avx2_convert_utf8_to_utf16.cpp [] []
/src/simdutf/src/icelake/icelake_base64.inl.cpp [] []
/src/simdutf/src/icelake/icelake_convert_utf32_to_latin1.inl.cpp [] []
/src/simdutf/src/simdutf/haswell/simd64-inl.h [] []
/src/simdutf/src/icelake/icelake_convert_utf16_to_utf8.inl.cpp [] []
/src/simdutf/src/simdutf/westmere/simd64-inl.h [] []
/src/simdutf/src/generic/validate_utf16.h [] []
/src/simdutf/src/scalar/utf16_to_utf8/utf16_to_utf8.h [] []
/src/simdutf/src/icelake/icelake_utf8_validation.inl.cpp [] []
/src/simdutf/fuzz/misc.cpp ['misc'] []
/src/simdutf/src/westmere/sse_convert_latin1_to_utf8.cpp [] []
/src/simdutf/src/scalar/utf8_to_utf16/valid_utf8_to_utf16.h [] []
/src/simdutf/src/scalar/utf16_to_latin1/valid_utf16_to_latin1.h [] []
/src/simdutf/include/simdutf/internal/isadetection.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/icelake/icelake_from_utf8.inl.cpp [] []
/src/simdutf/fuzz/helpers/common.h ['misc', 'base64'] []
/src/simdutf/src/scalar/utf32_to_utf8/valid_utf32_to_utf8.h [] []
/src/simdutf/src/generic/utf16/utf8_length_from_utf16_bytemask.h [] []
/src/simdutf/src/haswell/avx2_convert_utf8_to_utf32.cpp [] []
/src/simdutf/src/generic/utf8_validation/utf8_validator.h [] []
/src/simdutf/src/simdutf/icelake/implementation.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/westmere/sse_convert_utf16_to_utf32.cpp [] []
/src/simdutf/src/simdutf/haswell/bitmanipulation.h [] []
/src/simdutf/fuzz/base64.cpp ['base64'] []
/src/simdutf/src/generic/ascii_validation.h [] []
/src/simdutf/src/haswell/avx2_convert_utf16_to_utf32.cpp [] []
/src/simdutf/src/icelake/icelake_convert_utf32_to_utf16.inl.cpp [] []
/src/simdutf/src/scalar/base64.h ['base64', 'roundtrip'] []
/src/simdutf/src/icelake/icelake_utf32_validation.inl.cpp [] []
/src/simdutf/src/icelake/icelake_convert_valid_utf8_to_latin1.inl.cpp [] []
/src/simdutf/src/simdutf/haswell/implementation.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/westmere/sse_convert_utf8_to_utf16.cpp [] []
/src/simdutf/include/simdutf/error.h ['base64', 'roundtrip'] []
/src/simdutf/src/fallback/implementation.cpp [] []
/src/simdutf/src/scalar/utf8_to_latin1/valid_utf8_to_latin1.h [] []
/src/simdutf/src/westmere/sse_base64.cpp [] []
/src/simdutf/src/haswell/avx2_convert_utf32_to_latin1.cpp [] []
/src/simdutf/src/icelake/icelake_convert_latin1_to_utf32.inl.cpp [] []
/src/simdutf/src/scalar/utf16_to_latin1/utf16_to_latin1.h [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/simdutf/src/westmere/sse_validate_utf16.cpp [] []
/src/simdutf/src/icelake/icelake_utf16fix.cpp [] []
/src/simdutf/src/simdutf/haswell/simd16-inl.h [] []
/src/simdutf/src/generic/find.h [] []
/src/simdutf/src/icelake/implementation.cpp [] []
/src/simdutf/src/scalar/utf16_to_utf32/utf16_to_utf32.h [] []
/src/simdutf/src/scalar/latin1.h [] []
/src/simdutf/src/simdutf/icelake/simd32-inl.h [] []
/src/simdutf/src/simdutf/westmere/simd32-inl.h [] []
/src/simdutf/src/generic/utf8/utf16_length_from_utf8_bytemask.h [] []
/src/simdutf/fuzz/conversion.cpp ['conversion'] []
/src/simdutf/src/westmere/sse_convert_utf8_to_utf32.cpp [] []
/src/simdutf/src/simdutf/westmere/implementation.h ['misc', 'base64', 'roundtrip'] []
/src/simdutf/src/scalar/latin1_to_utf32/latin1_to_utf32.h [] []
/src/simdutf/src/haswell/avx2_convert_latin1_to_utf16.cpp [] []
/src/simdutf/src/generic/utf8_validation/utf8_lookup4_algorithm.h [] []
/src/simdutf/src/simdutf/westmere/simd16-inl.h [] []
/src/simdutf/src/icelake/icelake_convert_latin1_to_utf8.inl.cpp [] []
/src/simdutf/src/westmere/implementation.cpp [] []
/src/simdutf/src/icelake/icelake_convert_latin1_to_utf16.inl.cpp [] []
/src/simdutf/src/scalar/utf8_to_utf32/utf8_to_utf32.h [] []
/src/simdutf/src/haswell/avx2_convert_utf16_to_latin1.cpp [] []
/src/simdutf/src/haswell/avx2_convert_latin1_to_utf32.cpp [] []
/src/simdutf/src/generic/utf8_to_latin1/utf8_to_latin1.h [] []

Directories in report

Directory
/usr/local/bin/../include/c++/v1/__functional/
/src/simdutf/src/simdutf/haswell/
/src/simdutf/src/scalar/latin1_to_utf32/
/src/simdutf/src/generic/
/src/simdutf/src/scalar/utf16_to_utf8/
/src/simdutf/src/scalar/utf32_to_utf8/
/src/simdutf/src/generic/utf8_validation/
/src/simdutf/src/scalar/utf16_to_utf32/
/src/simdutf/src/generic/utf8_to_utf16/
/src/simdutf/src/scalar/utf16_to_latin1/
/src/simdutf/include/simdutf/
/src/simdutf/src/scalar/latin1_to_utf8/
/src/simdutf/src/scalar/utf8_to_utf32/
/src/simdutf/src/haswell/
/work/include/simdutf/
/src/simdutf/src/scalar/utf32_to_latin1/
/src/simdutf/src/scalar/
/src/simdutf/src/generic/utf8_to_latin1/
/src/simdutf/src/simdutf/fallback/
/src/simdutf/src/scalar/latin1_to_utf16/
/src/simdutf/fuzz/
/src/simdutf/src/
/src/simdutf/src/generic/utf16/
/src/simdutf/src/scalar/utf32_to_utf16/
/src/simdutf/src/generic/utf8/
/src/simdutf/src/icelake/
/src/simdutf/src/simdutf/icelake/
/src/simdutf/include/simdutf/internal/
/src/simdutf/src/generic/utf8_to_utf32/
/src/simdutf/src/scalar/utf8_to_utf16/
/src/simdutf/fuzz/helpers/
/src/simdutf/src/westmere/
/src/simdutf/src/scalar/utf8_to_latin1/
/src/simdutf/src/westmere/internal/
/src/simdutf/src/simdutf/westmere/
/usr/local/bin/../include/c++/v1/
/src/simdutf/src/fallback/