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

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 11 17.4%
gold [1:9] 42 66.6%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 10 15.8%
All colors 63 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
5 50 get_supported_implementations() call site: 00050 abort
5 57 test_find_char16(std::__1::span , char16_t) call site: 00057 abort
1 37 simdutf::internal::available_implementation_list::begin() const call site: 00037 __cxa_begin_catch

Runtime coverage analysis

Covered functions
106
Functions that are reachable but not covered
7
Reachable functions
52
Percentage of reachable functions covered
86.54%
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/simdutf/fuzz/find.cpp 3
/src/simdutf/fuzz/helpers/common.h 2
/src/simdutf/src/implementation.cpp 9
/src/simdutf/include/simdutf/implementation.h 2
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3

Fuzzer: with_replacement

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 17 24.6%
gold [1:9] 42 60.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 10 14.4%
All colors 69 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
10 50 get_supported_implementations() call site: 00050 _ZN10FNV1A_hash14fnv1ahash_implIcQ11is_hashableIT_EEEmRKNSt3__16vectorIS1_NS2_9allocatorIS1_EEEE
6 62 test_utf16be_with_replacement(std::__1::span ) call site: 00062 abort
1 37 simdutf::internal::available_implementation_list::begin() const call site: 00037 __cxa_begin_catch

Runtime coverage analysis

Covered functions
223
Functions that are reachable but not covered
13
Reachable functions
58
Percentage of reachable functions covered
77.59%
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/simdutf/fuzz/with_replacement.cpp 3
/src/simdutf/fuzz/helpers/common.h 5
/src/simdutf/src/implementation.cpp 9
/src/simdutf/include/simdutf/implementation.h 2
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 21 17.2%
gold [1:9] 43 35.2%
yellow [10:29] 4 3.27%
greenyellow [30:49] 4 3.27%
lawngreen 50+ 50 40.9%
All colors 122 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
8 113 to_well_formed_utf16(std::__1::span ) call site: 00113 abort
4 107 validate_utf16_as_ascii(std::__1::span ) call site: 00107 abort
3 59 validate_ascii_with_err(std::__1::span ) call site: 00059 _ZN6nameof11nameof_enumIN7simdutf10error_codeEEENSt3__19enable_ifIXsr3stdE9is_enum_vIu7__decayIT_EEENS3_17basic_string_viewIcNS3_11char_traitsIcEEEEE4typeES5_
1 37 simdutf::internal::available_implementation_list::begin() const call site: 00037 __cxa_begin_catch
1 50 get_supported_implementations() call site: 00050 abort
1 53 detect(std::__1::span ) call site: 00053 abort
1 56 validate_ascii(std::__1::span ) call site: 00056 abort
1 70 std::__1::basic_string , std::__1::allocator > FNV1A_hash::as_str > >(std::__1::vector > const&) call site: 00070 abort
1 82 simdutf::trim_partial_utf8(char const*, unsigned long) call site: 00082 abort

Runtime coverage analysis

Covered functions
360
Functions that are reachable but not covered
10
Reachable functions
107
Percentage of reachable functions covered
90.65%
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/simdutf/fuzz/misc.cpp 9
/src/simdutf/fuzz/helpers/common.h 7
/src/simdutf/src/implementation.cpp 17
/src/simdutf/include/simdutf/implementation.h 4
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3
/src/simdutf/fuzz/helpers/nameof.hpp 1
/src/simdutf/include/simdutf/scalar/utf16.h 2
/src/simdutf/include/simdutf/scalar/swap_bytes.h 3
/src/simdutf/include/simdutf/scalar/utf8.h 1
/src/simdutf/include/simdutf/scalar/latin1_to_utf8/latin1_to_utf8.h 1

Fuzzer: base64_details

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 8 10.8%
gold [1:9] 42 56.7%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 24 32.4%
All colors 74 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 59 simdutf::full_result::operator simdutf::result() const call site: 00059 abort
2 54 simdutf::implementation::maximal_binary_length_from_base64(char const*, unsigned long) const call site: 00054 abort
2 68 void test_details (std::__1::span , simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00068 abort
1 39 simdutf::internal::available_implementation_list::begin() const call site: 00039 __cxa_begin_catch

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
14
Reachable functions
79
Percentage of reachable functions covered
82.28%
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/simdutf/fuzz/base64_details.cpp 8
/src/simdutf/fuzz/helpers/common.h 4
/src/simdutf/src/implementation.cpp 11
/src/simdutf/include/simdutf/implementation.h 2
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3
/src/simdutf/include/simdutf/scalar/base64.h 2
/work/include/simdutf/error.h 2

Fuzzer: safe_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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 7 6.19%
gold [1:9] 42 37.1%
yellow [10:29] 4 3.53%
greenyellow [30:49] 1 0.88%
lawngreen 50+ 59 52.2%
All colors 113 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 77 _ZN7simdutf22convert_latin1_to_utf8ITkNS_6detail23input_span_of_byte_likeENSt3__14spanIKhLm18446744073709551615EEETkNS1_24output_span_of_byte_likeERNS2_6vectorIcNS2_9allocatorIcEEEEEEmRKT_OT0_ call site: 00077 abort
1 36 simdutf::internal::available_implementation_list::begin() const call site: 00036 __cxa_begin_catch
1 69 simdutf::convert_latin1_to_utf8_safe(char const*, unsigned long, char*, unsigned long) call site: 00069 abort
1 101 simdutf::convert_utf16_to_utf8_safe(char16_t const*, unsigned long, char*, unsigned long) call site: 00101 abort
1 111 test_utf16_to_utf8(std::__1::span , unsigned long) call site: 00111 abort

Runtime coverage analysis

Covered functions
116
Functions that are reachable but not covered
8
Reachable functions
95
Percentage of reachable functions covered
91.58%
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/simdutf/fuzz/safe_conversion.cpp 5
/src/simdutf/src/implementation.cpp 20
/src/simdutf/include/simdutf/implementation.h 4
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3
/work/include/simdutf/implementation.h 7
/src/simdutf/include/simdutf/scalar/latin1_to_utf8/latin1_to_utf8.h 1
/src/simdutf/include/simdutf/scalar/utf16.h 1
/src/simdutf/include/simdutf/scalar/utf16_to_utf8/utf16_to_utf8.h 1
/src/simdutf/include/simdutf/error.h 1

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 53 24.8%
gold [1:9] 57 26.7%
yellow [10:29] 1 0.46%
greenyellow [30:49] 1 0.46%
lawngreen 50+ 101 47.4%
All colors 213 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
6 80 void decode (std::__1::span , simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00080 _ZN6nameof11nameof_enumIN7simdutf10error_codeEEENSt3__19enable_ifIXsr3stdE9is_enum_vIu7__decayIT_EEENS3_17basic_string_viewIcNS3_11char_traitsIcEEEEE4typeES5_
6 108 simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end (char const*, unsigned long, simdutf::base64_options) call site: 00108 __clang_call_terminate
5 184 simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end (char16_t const*, unsigned long, simdutf::base64_options) call site: 00184 __clang_call_terminate
4 123 simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl (char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00123
4 195 simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl (char*, unsigned long, char16_t const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00195
3 65 void roundtrip (std::__1::span , simdutf::base64_options, simdutf::last_chunk_handling_options, unsigned long) call site: 00065 abort
3 74 void roundtrip (std::__1::span , simdutf::base64_options, simdutf::last_chunk_handling_options, unsigned long) call site: 00074 abort
3 115 simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end (char const*, unsigned long, simdutf::base64_options) call site: 00115
3 146 simdutf::scalar::(anonymous namespace)::base64::patch_tail_result(simdutf::full_result, unsigned long, unsigned long, unsigned long, unsigned long, simdutf::last_chunk_handling_options) call site: 00146 __clang_call_terminate
2 105 simdutf::result simdutf::base64_to_binary_safe_impl (char const*, unsigned long, char*, unsigned long&, simdutf::base64_options, simdutf::last_chunk_handling_options, bool) call site: 00105
2 173 void decode_safe (std::__1::span , simdutf::base64_options, unsigned long, simdutf::last_chunk_handling_options) call site: 00173 abort
2 176 void decode_safe (std::__1::span , simdutf::base64_options, unsigned long, simdutf::last_chunk_handling_options) call site: 00176 abort

Runtime coverage analysis

Covered functions
220
Functions that are reachable but not covered
22
Reachable functions
163
Percentage of reachable functions covered
86.5%
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/simdutf/fuzz/base64.cpp 9
/src/simdutf/fuzz/helpers/common.h 7
/src/simdutf/src/implementation.cpp 19
/src/simdutf/include/simdutf/implementation.h 10
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3
/src/simdutf/include/simdutf/scalar/base64.h 16
/work/include/simdutf/implementation.h 1
/work/include/simdutf/scalar/base64.h 2
/src/simdutf/fuzz/helpers/nameof.hpp 1
/src/simdutf/include/simdutf/base64_implementation.h 4
/src/simdutf/include/simdutf/error.h 4

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 111 51.8%
gold [1:9] 21 9.81%
yellow [10:29] 2 0.93%
greenyellow [30:49] 1 0.46%
lawngreen 50+ 79 36.9%
All colors 214 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
57 42 simdutf::internal::detect_supported_architectures() call site: 00042 printf
6 126 simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end (char const*, unsigned long, simdutf::base64_options) call site: 00126 __clang_call_terminate
6 150 simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl (char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00150
6 200 LLVMFuzzerTestOneInput call site: 00200 abort
6 207 LLVMFuzzerTestOneInput call site: 00207 printf
5 140 simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl (char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00140
3 104 LLVMFuzzerTestOneInput call site: 00104
3 133 simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end (char const*, unsigned long, simdutf::base64_options) call site: 00133
3 164 simdutf::scalar::(anonymous namespace)::base64::patch_tail_result(simdutf::full_result, unsigned long, unsigned long, unsigned long, unsigned long, simdutf::last_chunk_handling_options) call site: 00164 __clang_call_terminate
3 193 LLVMFuzzerTestOneInput call site: 00193
2 123 simdutf::result simdutf::base64_to_binary_safe_impl (char const*, unsigned long, char*, unsigned long&, simdutf::base64_options, simdutf::last_chunk_handling_options, bool) call site: 00123
2 161 simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl (char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options) call site: 00161

Runtime coverage analysis

Covered functions
584
Functions that are reachable but not covered
15
Reachable functions
102
Percentage of reachable functions covered
85.29%
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/simdutf/fuzz/roundtrip.cpp 2
/src/simdutf/src/implementation.cpp 16
/src/simdutf/include/simdutf/implementation.h 8
/src/simdutf/src/simdutf/icelake/implementation.h 1
/src/simdutf/src/simdutf/haswell/implementation.h 1
/src/simdutf/src/simdutf/westmere/implementation.h 1
/src/simdutf/src/simdutf/fallback/implementation.h 1
/src/simdutf/include/simdutf/internal/isadetection.h 3
/src/simdutf/include/simdutf/scalar/base64.h 9
/src/simdutf/include/simdutf/base64_implementation.h 2
/src/simdutf/include/simdutf/error.h 4

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 4 100.%
All colors 4 100

Runtime coverage analysis

Covered functions
1287
Functions that are reachable but not covered
2
Reachable functions
5
Percentage of reachable functions covered
60.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
/src/simdutf/fuzz/conversion.cpp 2

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'] 8 0 181 21 21 111 0 460 375
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'] 8 0 181 21 21 109 0 457 370
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'] 8 0 181 21 21 73 0 390 326
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'] 8 0 181 21 21 73 0 390 304
simdutf::westmere::implementation::base64_to_binary(charconst*,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'] 8 0 181 21 21 109 0 457 242
simdutf::haswell::implementation::base64_to_binary(char16_tconst*,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'] 8 0 181 21 21 111 0 460 242
populate_functions()::$_0::__invoke(std::__1::span ) /src/simdutf/fuzz/conversion.cpp 2 ['N/A', 'size_t'] 10 0 22 3 2 95 0 348 229

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

Functions statically reachable by fuzzers
11.0%
269 / 2498
Cyclomatic complexity statically reachable by fuzzers
22.0%
3539 / 15921

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

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/simdutf/fuzz/find.cpp

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=['get_supported_implementations()', 'test_find_char16(std::__1::span, char16_t)', 'simdutf::internal::available_implementation_list::begin() const']

/src/simdutf/fuzz/with_replacement.cpp

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=['get_supported_implementations()', 'test_utf16be_with_replacement(std::__1::span)', 'simdutf::internal::available_implementation_list::begin() const']

/src/simdutf/fuzz/misc.cpp

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=['to_well_formed_utf16(std::__1::span)', 'validate_utf16_as_ascii(std::__1::span)', 'validate_ascii_with_err(std::__1::span)', 'simdutf::internal::available_implementation_list::begin() const', 'get_supported_implementations()', 'detect(std::__1::span)', 'validate_ascii(std::__1::span)', 'std::__1::basic_string, std::__1::allocator > FNV1A_hash::as_str > >(std::__1::vector > const&)', 'simdutf::trim_partial_utf8(char const*, unsigned long)']

/src/simdutf/fuzz/base64_details.cpp

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=['simdutf::full_result::operator simdutf::result() const', 'simdutf::implementation::maximal_binary_length_from_base64(char const*, unsigned long) const', 'void test_details(std::__1::span, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'simdutf::internal::available_implementation_list::begin() const']

/src/simdutf/fuzz/safe_conversion.cpp

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=['_ZN7simdutf22convert_latin1_to_utf8ITkNS_6detail23input_span_of_byte_likeENSt3__14spanIKhLm18446744073709551615EEETkNS1_24output_span_of_byte_likeERNS2_6vectorIcNS2_9allocatorIcEEEEEEmRKT_OT0_', 'simdutf::internal::available_implementation_list::begin() const', 'simdutf::convert_latin1_to_utf8_safe(char const*, unsigned long, char*, unsigned long)', 'simdutf::convert_utf16_to_utf8_safe(char16_t const*, unsigned long, char*, unsigned long)', 'test_utf16_to_utf8(std::__1::span, unsigned long)']

/src/simdutf/fuzz/base64.cpp

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=['void decode(std::__1::span, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end(char const*, unsigned long, simdutf::base64_options)', 'simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end(char16_t const*, unsigned long, simdutf::base64_options)', 'simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl(char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl(char*, unsigned long, char16_t const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'void roundtrip(std::__1::span, simdutf::base64_options, simdutf::last_chunk_handling_options, unsigned long)', 'void roundtrip(std::__1::span, simdutf::base64_options, simdutf::last_chunk_handling_options, unsigned long)', 'simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end(char const*, unsigned long, simdutf::base64_options)', 'simdutf::scalar::(anonymous namespace)::base64::patch_tail_result(simdutf::full_result, unsigned long, unsigned long, unsigned long, unsigned long, simdutf::last_chunk_handling_options)', 'simdutf::result simdutf::base64_to_binary_safe_impl(char const*, unsigned long, char*, unsigned long&, simdutf::base64_options, simdutf::last_chunk_handling_options, bool)']

/src/simdutf/fuzz/roundtrip.cpp

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=['simdutf::internal::detect_supported_architectures()', 'simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end(char const*, unsigned long, simdutf::base64_options)', 'simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl(char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'LLVMFuzzerTestOneInput', 'simdutf::full_result simdutf::scalar::(anonymous namespace)::base64::base64_tail_decode_impl(char*, unsigned long, char const*, unsigned long, unsigned long, simdutf::base64_options, simdutf::last_chunk_handling_options)', 'simdutf::scalar::(anonymous namespace)::base64::reduced_input simdutf::scalar::(anonymous namespace)::base64::find_end(char const*, unsigned long, simdutf::base64_options)', 'simdutf::scalar::(anonymous namespace)::base64::patch_tail_result(simdutf::full_result, unsigned long, unsigned long, unsigned long, unsigned long, simdutf::last_chunk_handling_options)']

/src/simdutf/fuzz/conversion.cpp

Dictionary

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


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
test_find_char(std::__1::span ,char) 46 25 54.34% ['find']
test_find_char16(std::__1::span ,char16_t) 47 25 53.19% ['find']
test_utf16le_with_replacement(std::__1::span ) 76 41 53.94% ['with_replacement']
test_utf16be_with_replacement(std::__1::span ) 76 41 53.94% ['with_replacement']
validate_utf16_as_ascii(std::__1::span ) 51 25 49.01% ['misc']
voidtest_details (std::__1::span ,simdutf::base64_options,simdutf::last_chunk_handling_options) 77 40 51.94% ['base64_details']
voidtest_details (std::__1::span ,simdutf::base64_options,simdutf::last_chunk_handling_options) 77 40 51.94% ['base64_details']
unsignedintsimdutf::haswell::(anonymousnamespace)::block64::to_base64_mask (longlong__vector(4)*,unsignedint*) 118 62 52.54% ['base64', 'base64_details']
voiddecode (std::__1::span ,simdutf::base64_options,simdutf::last_chunk_handling_options) 51 23 45.09% ['base64']
voiddecode (std::__1::span ,simdutf::base64_options,simdutf::last_chunk_handling_options) 51 23 45.09% ['base64']
unsignedlongsimdutf::haswell::(anonymousnamespace)::avx2_encode_base64_impl (char*,charconst*,unsignedlong,simdutf::base64_options,unsignedlong) 212 93 43.86% ['base64']
unsignedlongsimdutf::haswell::(anonymousnamespace)::avx2_encode_base64_impl (char*,charconst*,unsignedlong,simdutf::base64_options,unsignedlong) 212 93 43.86% ['base64', 'roundtrip']
unsignedlongsimdutf::westmere::(anonymousnamespace)::encode_base64_impl (char*,charconst*,unsignedlong,simdutf::base64_options,unsignedlong) 174 74 42.52% ['base64']
unsignedlongsimdutf::westmere::(anonymousnamespace)::encode_base64_impl (char*,charconst*,unsignedlong,simdutf::base64_options,unsignedlong) 174 74 42.52% ['base64', 'roundtrip']
Conversion<(UtfEncodings)0,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)0,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)0,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)0,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)0,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)0,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)1,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char16_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char16_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char32_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char32_tconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char32_tconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)3,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(char32_tconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(char32_tconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)4,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(charconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)2,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,simdutf::result(simdutf::implementation::*)(charconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char32_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)3,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char32_t*)noexceptconst>::do_conversion(std::__1::span ,std::__1::vector >const&,bool)const 81 43 53.08% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)0,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::do_conversion(std::__1::span ,std::__1::vector >const&,bool)const 81 43 53.08% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)1,unsignedlong(simdutf::implementation::*)(unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char16_t*)noexceptconst>::do_conversion(std::__1::span ,std::__1::vector >const&,bool)const 81 43 53.08% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char*)noexceptconst>::calculate_length(std::__1::span ,bool)const 34 17 50.0% ['conversion']
Conversion<(UtfEncodings)4,(UtfEncodings)2,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong)noexceptconst,unsignedlong(simdutf::implementation::*)(charconst*,unsignedlong,char*)noexceptconst>::do_conversion(std::__1::span ,std::__1::vector >const&,bool)const 81 43 53.08% ['conversion']

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

Directories in report

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