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

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 91 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 91 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
90 0 EP call site: 00000 printf

Runtime coverage analysis

Covered functions
1
Functions that are reachable but not covered
82
Reachable functions
82
Percentage of reachable functions covered
0.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/ada-url/fuzz/unicode.cc 1
/src/ada-url/build/singleheader/ada.h 5
/src/ada-url/build/singleheader/ada.cpp 33

Fuzzer: serializers

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 543 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 543 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
542 0 EP call site: 00000 _ZN2tl8expectedIN3ada14url_aggregatorENS1_6errorsEEC2IS3_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_OT_EE5valueEvE4typeELPv0ETnPNS7_IXsr3std14is_convertibleIS9_S3_EE5valueEvE4typeELSD_0EEEONS_10unexpectedIS8_EE

Runtime coverage analysis

Covered functions
1
Functions that are reachable but not covered
305
Reachable functions
305
Percentage of reachable functions covered
0.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/ada-url/fuzz/serializers.cc 1
/src/ada-url/build/singleheader/ada.cpp 61
/src/ada-url/build/singleheader/ada.h 89
/usr/local/bin/../include/c++/v1/optional 8

Fuzzer: idna

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 7.77%
gold [1:9] 3 3.33%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 80 88.8%
All colors 90 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
2 78 LLVMFuzzerTestOneInput call site: 00078 printf
2 81 LLVMFuzzerTestOneInput call site: 00081 printf
2 87 LLVMFuzzerTestOneInput call site: 00087 printf
1 27 ada::idna::find_direction(unsigned int) call site: 00027 __cxa_begin_catch

Runtime coverage analysis

Covered functions
41
Functions that are reachable but not covered
4
Reachable functions
73
Percentage of reachable functions covered
94.52%
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
/src/ada-url/fuzz/idna.cc 1
/src/ada-url/build/singleheader/ada.cpp 34

Fuzzer: url_search_params

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 406 66.9%
gold [1:9] 0 0.0%
yellow [10:29] 9 1.48%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 191 31.5%
All colors 606 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
98 339 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00339 abort
65 476 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00476 abort
47 131 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00131 abort
38 243 ada::url_aggregator::get_hostname() const call site: 00243 abort
32 210 ada::url_aggregator::add_authority_slashes_if_needed() call site: 00210 abort
21 288 ada::url_aggregator::update_base_hostname(std::__1::basic_string_view >) call site: 00288 abort
16 458 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00458 __clang_call_terminate
12 543 ada::url_aggregator::~url_aggregator() call site: 00543 _ZN2tl8expectedIN3ada14url_aggregatorENS1_6errorsEEC2IS3_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_OT_EE5valueEvE4typeELPv0ETnPNS7_IXsr3std14is_convertibleIS9_S3_EE5valueEvE4typeELSD_0EEEONS_10unexpectedIS8_EE
11 317 ada::url_aggregator::clear_search() call site: 00317 abort
10 179 ada::url_aggregator::get_search() const call site: 00179 abort
10 447 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00447
9 196 ada::url_aggregator::update_unencoded_base_hash(std::__1::basic_string_view >) call site: 00196 abort

Runtime coverage analysis

Covered functions
113
Functions that are reachable but not covered
208
Reachable functions
383
Percentage of reachable functions covered
45.69%
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
/src/ada-url/fuzz/url_search_params.cc 1
/src/ada-url/build/singleheader/ada.h 127
/src/ada-url/build/singleheader/ada.cpp 62
/usr/local/bin/../include/c++/v1/optional 8

Fuzzer: can_parse

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 180 28.3%
gold [1:9] 5 0.78%
yellow [10:29] 18 2.83%
greenyellow [30:49] 6 0.94%
lawngreen 50+ 426 67.0%
All colors 635 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
17 341 ada::checkers::is_windows_drive_letter(std::__1::basic_string_view >) call site: 00341 abort
15 58 ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >) call site: 00058 abort
12 148 ada::url_aggregator::clear_hostname() call site: 00148 abort
9 79 ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >) call site: 00079 abort
7 534 ada::url ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url const*) call site: 00534 __clang_call_terminate
6 203 ada::url_aggregator::clear_search() call site: 00203 abort
6 588 LLVMFuzzerTestOneInput call site: 00588
6 621 LLVMFuzzerTestOneInput call site: 00621
5 13 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00013 __clang_call_terminate
5 458 _ZN2tl8expectedIN3ada14url_aggregatorENS1_6errorsEEC2IS3_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_OT_EE5valueEvE4typeELPv0ETnPNS7_IXsr3std14is_convertibleIS9_S3_EE5valueEvE4typeELSD_0EEEONS_10unexpectedIS8_EE call site: 00458 _ZN2tl6detail25expected_copy_assign_baseIN3ada14url_aggregatorENS2_6errorsELb0EECI2NS0_21expected_storage_baseIS3_S4_Lb0ELb1EEEIJS4_ETnPNSt3__19enable_ifIXsr3std16is_constructibleIS4_DpOT_EE5valueEvE4typeELPv0EEENS_10unexpect_tESB_
5 470 _ZN2tl8expectedIN3ada14url_aggregatorENS1_6errorsEEC2IJS2_ETnPNSt3__19enable_ifIXsr3std16is_constructibleIS2_DpOT_EE5valueEvE4typeELPv0EEENS_10in_place_tESA_ call site: 00470 _ZN2tl6detail25expected_copy_assign_baseIN3ada14url_aggregatorENS2_6errorsELb0EECI2NS0_21expected_storage_baseIS3_S4_Lb0ELb1EEEIJS3_ETnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_DpOT_EE5valueEvE4typeELPv0EEENS_10in_place_tESB_
5 555 _ZN2tl8expectedIN3ada3urlENS1_6errorsEEC2IS3_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_OT_EE5valueEvE4typeELPv0ETnPNS7_IXsr3std14is_convertibleIS9_S3_EE5valueEvE4typeELSD_0EEEONS_10unexpectedIS8_EE call site: 00555 _ZN2tl6detail25expected_copy_assign_baseIN3ada3urlENS2_6errorsELb0EECI2NS0_21expected_storage_baseIS3_S4_Lb0ELb1EEEIJS4_ETnPNSt3__19enable_ifIXsr3std16is_constructibleIS4_DpOT_EE5valueEvE4typeELPv0EEENS_10unexpect_tESB_

Runtime coverage analysis

Covered functions
190
Functions that are reachable but not covered
111
Reachable functions
384
Percentage of reachable functions covered
71.09%
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
/src/ada-url/fuzz/can_parse.cc 1
/src/ada-url/build/singleheader/ada.cpp 68
/src/ada-url/build/singleheader/ada.h 130
/usr/local/bin/../include/c++/v1/optional 8

Fuzzer: url_pattern

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 770 42.1%
gold [1:9] 26 1.42%
yellow [10:29] 14 0.76%
greenyellow [30:49] 5 0.27%
lawngreen 50+ 1013 55.4%
All colors 1828 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
63 863 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00863 abort
57 1066 tl::expected ::operator->() call site: 01066 _ZN2tl8expectedINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEN3ada6errorsEEC2IS7_TnPNS1_9enable_ifIXsr3std14is_convertibleIOT_S7_EE5valueEvE4typeELPv0ETnPNSC_IXaaaaaasr3std16is_constructibleIS7_SE_EE5valuentsr3std7is_sameINS1_5decayISD_E4typeENS_10in_place_tEEE5valuentsr3std7is_sameISA_SL_EE5valuentsr3std7is_sameINS_10unexpectedIS9_EESL_EE5valueEvE4typeELSI_0EEESE_
38 630 ada::url_aggregator::get_hostname() const call site: 00630 abort
31 684 ada::url_aggregator::clear_port() call site: 00684 abort
25 780 ada::idna::ascii_map(char*, unsigned long) call site: 00780 __clang_call_terminate
17 730 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00730 abort
15 544 ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >) call site: 00544 abort
13 807 ada::idna::to_ascii(std::__1::basic_string_view >) call site: 00807
12 617 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00617
10 1587 exercise_exec_and_test(ada::url_pattern &, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&) call site: 01587 _ZN2tl8expectedIbN3ada6errorsEEC2IS2_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS2_OT_EE5valueEvE4typeELPv0ETnPNS6_IXsr3std14is_convertibleIS8_S2_EE5valueEvE4typeELSC_0EEEONS_10unexpectedIS7_EE
9 567 ada::url_aggregator::get_search() const call site: 00567 abort
9 1406 ada::url_pattern ::exec(std::__1::variant >, ada::url_pattern_init> const&, std::__1::basic_string_view > const*) call site: 01406 _ZN2tl8expectedINSt3__18optionalIN3ada18url_pattern_resultEEENS3_6errorsEEC2IS6_TnPNS1_9enable_ifIXsr3std16is_constructibleIS6_OT_EE5valueEvE4typeELPv0ETnPNS9_IXsr3std14is_convertibleISB_S6_EE5valueEvE4typeELSF_0EEEONS_10unexpectedISA_EE

Runtime coverage analysis

Covered functions
356
Functions that are reachable but not covered
428
Reachable functions
973
Percentage of reachable functions covered
56.01%
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
/src/ada-url/fuzz/url_pattern.cc 6
/src/ada-url/build/singleheader/ada.h 445
/src/ada-url/build/singleheader/ada.cpp 101
/usr/local/bin/../include/c++/v1/optional 25

Fuzzer: ada_c

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 267 21.5%
gold [1:9] 31 2.5%
yellow [10:29] 7 0.56%
greenyellow [30:49] 15 1.20%
lawngreen 50+ 920 74.1%
All colors 1240 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
20 544 ada::url_aggregator::has_port() const call site: 00544 abort
15 60 ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >) call site: 00060 abort
14 889 ada_get_components call site: 00889 printf
12 160 ada::url_aggregator::clear_hostname() call site: 00160 abort
12 983 _ZNR2tl8expectedIN3ada14url_aggregatorENS1_6errorsEE5valueIS2_TnPNSt3__19enable_ifIXntsr3std7is_voidIT_EE5valueEvE4typeELPv0EEERS8_v call site: 00983 __cxa_allocate_exception
10 392 void ada::helpers::inner_concat > >(std::__1::basic_string , std::__1::allocator >&, char const*, std::__1::basic_string_view >) call site: 00392 abort
9 382 ada::url_aggregator::get_host() const call site: 00382 abort
6 226 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00226
6 494 ada::url_aggregator::set_href(std::__1::basic_string_view >) call site: 00494
6 657 ada::url_aggregator::update_base_password(std::__1::basic_string_view >) call site: 00657 abort
6 959 LLVMFuzzerTestOneInput call site: 00959 ada_free
5 15 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00015 __clang_call_terminate

Runtime coverage analysis

Covered functions
374
Functions that are reachable but not covered
146
Reachable functions
668
Percentage of reachable functions covered
78.14%
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
/src/ada-url/fuzz/ada_c.c 1
/src/ada-url/build/singleheader/ada.cpp 159
/src/ada-url/build/singleheader/ada.h 227
/usr/local/bin/../include/c++/v1/optional 8
/usr/local/bin/../include/c++/v1/__exception/exception.h 2

Fuzzer: parse

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 257 18.8%
gold [1:9] 72 5.27%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1036 75.8%
All colors 1365 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
21 323 ada::url_aggregator::has_hostname() const call site: 00323 abort
15 232 ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >) call site: 00232 abort
12 1293 LLVMFuzzerTestOneInput call site: 01293
11 130 ada::url ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url const*) call site: 00130 __clang_call_terminate
11 520 ada::url_aggregator ada::parser::parse_url_impl (std::__1::basic_string_view >, ada::url_aggregator const*) call site: 00520
10 493 void ada::helpers::inner_concat > >(std::__1::basic_string , std::__1::allocator >&, char const*, std::__1::basic_string_view >) call site: 00493 abort
9 857 LLVMFuzzerTestOneInput call site: 00857 __clang_call_terminate
9 1224 LLVMFuzzerTestOneInput call site: 01224 printf
9 1312 LLVMFuzzerTestOneInput call site: 01312 printf
8 1273 LLVMFuzzerTestOneInput call site: 01273
6 718 ada::url::set_href(std::__1::basic_string_view >) call site: 00718
6 736 ada::url_aggregator::set_href(std::__1::basic_string_view >) call site: 00736

Runtime coverage analysis

Covered functions
303
Functions that are reachable but not covered
94
Reachable functions
524
Percentage of reachable functions covered
82.06%
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
/src/ada-url/fuzz/parse.cc 4
/src/ada-url/build/singleheader/ada.cpp 101
/src/ada-url/build/singleheader/ada.h 158
/usr/local/bin/../include/c++/v1/optional 14

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
ada::url::get_origin()const /src/ada-url/build/singleheader/ada.cpp 2 ['N/A', 'N/A'] 11 0 211 44 41 235 0 1032 61
ada::url_aggregator::get_origin()const /src/ada-url/build/singleheader/ada.cpp 2 ['N/A', 'N/A'] 11 0 227 35 34 307 0 1749 46
ada::url_aggregator::to_string()const /src/ada-url/build/singleheader/ada.cpp 2 ['N/A', 'N/A'] 2 0 603 100 39 23 0 80 42
ada::url::to_string()const /src/ada-url/build/singleheader/ada.cpp 2 ['N/A', 'N/A'] 4 0 421 69 41 22 0 93 41
ada::url_pattern_helpers::canonicalize_port(std::__1::basic_string_view >) /src/ada-url/build/singleheader/ada.cpp 3 ['N/A', 'N/A', 'size_t'] 8 0 237 41 41 43 0 117 41

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

Functions statically reachable by fuzzers
92.0%
910 / 992
Cyclomatic complexity statically reachable by fuzzers
96.0%
7266 / 7573

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/ada-url/fuzz/unicode.cc

Dictionary

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


/src/ada-url/fuzz/serializers.cc

Dictionary

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


/src/ada-url/fuzz/idna.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=['LLVMFuzzerTestOneInput', 'ada::idna::find_direction(unsigned int)']

/src/ada-url/fuzz/url_search_params.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=['ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator::get_hostname() const', 'ada::url_aggregator::add_authority_slashes_if_needed()', 'ada::url_aggregator::update_base_hostname(std::__1::basic_string_view >)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator::~url_aggregator()', 'ada::url_aggregator::clear_search()', 'ada::url_aggregator::get_search() const']

/src/ada-url/fuzz/can_parse.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=['ada::checkers::is_windows_drive_letter(std::__1::basic_string_view >)', 'ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >)', 'ada::url_aggregator::clear_hostname()', 'ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >)', 'ada::url ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url const*)', 'ada::url_aggregator::clear_search()', 'LLVMFuzzerTestOneInput', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', '_ZN2tl8expectedIN3ada14url_aggregatorENS1_6errorsEEC2IS3_TnPNSt3__19enable_ifIXsr3std16is_constructibleIS3_OT_EE5valueEvE4typeELPv0ETnPNS7_IXsr3std14is_convertibleIS9_S3_EE5valueEvE4typeELSD_0EEEONS_10unexpectedIS8_EE']

/src/ada-url/fuzz/url_pattern.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=['ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'tl::expected::operator->()', 'ada::url_aggregator::get_hostname() const', 'ada::url_aggregator::clear_port()', 'ada::idna::ascii_map(char*, unsigned long)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >)', 'ada::idna::to_ascii(std::__1::basic_string_view >)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'exercise_exec_and_test(ada::url_pattern&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)']

/src/ada-url/fuzz/ada_c.c

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=['ada::url_aggregator::has_port() const', 'ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >)', 'ada_get_components', 'ada::url_aggregator::clear_hostname()', '_ZNR2tl8expectedIN3ada14url_aggregatorENS1_6errorsEE5valueIS2_TnPNSt3__19enable_ifIXntsr3std7is_voidIT_EE5valueEvE4typeELPv0EEERS8_v', 'void ada::helpers::inner_concat > >(std::__1::basic_string, std::__1::allocator >&, char const*, std::__1::basic_string_view >)', 'ada::url_aggregator::get_host() const', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'ada::url_aggregator::set_href(std::__1::basic_string_view >)', 'ada::url_aggregator::update_base_password(std::__1::basic_string_view >)']

/src/ada-url/fuzz/parse.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=['ada::url_aggregator::has_hostname() const', 'ada::url_aggregator::update_base_pathname(std::__1::basic_string_view >)', 'LLVMFuzzerTestOneInput', 'ada::url ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url const*)', 'ada::url_aggregator ada::parser::parse_url_impl(std::__1::basic_string_view >, ada::url_aggregator const*)', 'void ada::helpers::inner_concat > >(std::__1::basic_string, std::__1::allocator >&, char const*, std::__1::basic_string_view >)']

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/ada-url/fuzz/parse.cc ['parse'] ['parse']
/src/ada-url/build/singleheader/ada.h ['unicode', 'serializers', 'url_search_params', 'can_parse', 'url_pattern', 'ada_c', 'parse'] ['unicode', 'serializers', 'url_search_params', 'can_parse', 'url_pattern', 'ada_c', 'parse']
/usr/local/bin/../include/c++/v1/optional ['serializers', 'url_search_params', 'can_parse', 'url_pattern', 'ada_c', 'parse'] []
/usr/local/bin/../include/c++/v1/__algorithm/ranges_replace.h [] []
/src/ada-url/fuzz/ada_c.c ['ada_c'] ['ada_c']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/ada-url/fuzz/serializers.cc ['serializers'] []
/src/ada-url/fuzz/idna.cc ['idna'] ['idna']
/src/ada-url/fuzz/can_parse.cc ['can_parse'] ['can_parse']
/usr/local/bin/../include/c++/v1/variant [] []
/src/ada-url/fuzz/url_pattern.cc ['url_pattern'] ['url_pattern']
/src/ada-url/fuzz/unicode.cc ['unicode'] []
/src/ada-url/fuzz/url_search_params.cc ['url_search_params'] ['url_search_params']
/usr/local/bin/../include/c++/v1/string [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['ada_c'] []
/usr/local/bin/../include/c++/v1/__algorithm/ranges_find_if_not.h [] []
/usr/local/bin/../include/c++/v1/__iterator/move_iterator.h [] []
/usr/local/bin/../include/c++/v1/__charconv/from_chars_integral.h [] []
/src/ada-url/build/singleheader/ada.cpp ['unicode', 'serializers', 'idna', 'url_search_params', 'can_parse', 'url_pattern', 'ada_c', 'parse'] ['idna', 'url_search_params', 'can_parse', 'url_pattern', 'ada_c', 'parse']

Directories in report

Directory
/usr/local/bin/../include/c++/v1/__algorithm/
/usr/local/bin/../include/c++/v1/__iterator/
/usr/local/bin/../include/c++/v1/
/src/ada-url/fuzz/
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/bin/../include/c++/v1/__charconv/
/src/ada-url/build/singleheader/