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

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 4 10.0%
gold [1:9] 2 5.0%
yellow [10:29] 1 2.5%
greenyellow [30:49] 1 2.5%
lawngreen 50+ 32 80.0%
All colors 40 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 9 Hunzip::getcode(char const*) call site: 00009
1 6 Hunzip::getcode(char const*) call site: 00006 fprintf
1 33 FileMgr::FileMgr(char const*, char const*) call site: 00033 fprintf

Runtime coverage analysis

Covered functions
13
Functions that are reachable but not covered
5
Reachable functions
30
Percentage of reachable functions covered
83.33%
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/hunspell/./src/tools/hzfuzzer.cxx 1
/src/hunspell/src/hunspell/hunzip.cxx 7
/src/hunspell/src/hunspell/csutil.cxx 1
/src/hunspell/src/hunspell/filemgr.cxx 4

Fuzzer: parserfuzzer

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 15 30.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 35 70.0%
All colors 50 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
12 7 TextParser::check_urls() call site: 00007
3 36 TextParser::next_token(std::__1::basic_string , std::__1::allocator >&) call site: 00036 strncmp

Runtime coverage analysis

Covered functions
17
Functions that are reachable but not covered
14
Reachable functions
47
Percentage of reachable functions covered
70.21%
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/hunspell/./src/tools/parserfuzzer.cxx 1
/src/hunspell/src/parsers/textparser.cxx 15
/src/hunspell/src/hunspell/csutil.cxx 3
/src/hunspell/src/hunspell/./atypes.hxx 1
/src/hunspell/src/hunspell/./csutil.hxx 1
/src/hunspell/src/parsers/./../hunspell/w_char.hxx 1
/src/hunspell/src/parsers/./textparser.hxx 1

Fuzzer: persdicfuzzer

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 26 3.99%
gold [1:9] 2 0.30%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.15%
lawngreen 50+ 622 95.5%
All colors 651 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
7 358 SuggestMgr::testsug(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, std::__1::basic_string , std::__1::allocator > const&, int, int*, std::__1::chrono::time_point > >*, int&) call site: 00358
2 235 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00235
2 269 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00269
2 272 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00272
2 275 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00275
2 278 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00278
2 480 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00480
2 546 HunspellImpl::spell_internal(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00546
1 31 u8_u16(std::__1::vector >&, std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00031
1 187 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char, unsigned short) call site: 00187
1 581 HashMgr::arena_alloc(unsigned long, unsigned long) const call site: 00581
1 609 HashMgr::add_word(std::__1::basic_string , std::__1::allocator > const&, int, unsigned short*, int, std::__1::basic_string , std::__1::allocator > const*, bool, int, bool) call site: 00609

Runtime coverage analysis

Covered functions
271
Functions that are reachable but not covered
17
Reachable functions
366
Percentage of reachable functions covered
95.36%
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/hunspell/./src/tools/persdicfuzzer.cxx 1
/src/hunspell/src/hunspell/hunspell.cxx 22
/src/hunspell/src/hunspell/affixmgr.cxx 43
/src/hunspell/src/hunspell/csutil.cxx 33
/src/hunspell/src/hunspell/./atypes.hxx 3
/src/hunspell/src/hunspell/replist.cxx 3
/src/hunspell/src/hunspell/./replist.hxx 2
/src/hunspell/src/hunspell/./csutil.hxx 5
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 15
/src/hunspell/src/hunspell/./affentry.hxx 15
/src/hunspell/src/hunspell/affentry.cxx 8
/src/hunspell/src/hunspell/suggestmgr.cxx 27

Fuzzer: fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 595 43.3%
gold [1:9] 44 3.20%
yellow [10:29] 15 1.09%
greenyellow [30:49] 6 0.43%
lawngreen 50+ 712 51.8%
All colors 1372 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
58 583 PfxEntry::check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00583
42 788 AffixMgr::compound_check_morph(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator > const*, AffixScratch&) call site: 00788
37 750 AffixMgr::compound_check_morph(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator > const*, AffixScratch&) call site: 00750
36 643 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00643
27 917 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00917 strchr
26 93 PfxEntry::checkword(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00093
23 254 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00254
22 690 AffixMgr::affix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, AffixScratch&, unsigned short, char) call site: 00690
14 144 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char, unsigned short) call site: 00144
12 506 HunspellImpl::spell_internal(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00506
12 958 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00958 strstr
12 1058 mystrsep(std::__1::basic_string , std::__1::allocator > const&, std::__1::__wrap_iter &) call site: 01058

Runtime coverage analysis

Covered functions
311
Functions that are reachable but not covered
65
Reachable functions
509
Percentage of reachable functions covered
87.23%
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/hunspell/./src/tools/fuzzer.cxx 1
/src/hunspell/src/hunspell/hunspell.cxx 34
/src/hunspell/src/hunspell/affixmgr.cxx 56
/src/hunspell/src/hunspell/replist.cxx 3
/src/hunspell/src/hunspell/./replist.hxx 2
/src/hunspell/src/hunspell/csutil.cxx 43
/src/hunspell/src/hunspell/./atypes.hxx 3
/src/hunspell/src/hunspell/./csutil.hxx 6
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 16
/src/hunspell/src/hunspell/./affentry.hxx 23
/src/hunspell/src/hunspell/affentry.cxx 14
/src/hunspell/src/hunspell/suggestmgr.cxx 43
/src/hunspell/src/hunspell/phonet.cxx 3

Fuzzer: morphfuzzer

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 37 3.68%
gold [1:9] 0 0.0%
yellow [10:29] 9 0.89%
greenyellow [30:49] 9 0.89%
lawngreen 50+ 950 94.5%
All colors 1005 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
7 357 SuggestMgr::testsug(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, std::__1::basic_string , std::__1::allocator > const&, int, int*, std::__1::chrono::time_point > >*, int&) call site: 00357
5 707 AffixMgr::compound_check_morph(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator > const*, AffixScratch&) call site: 00707
3 515 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00515
3 562 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00562
3 990 HunspellImpl::generate(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > > const&) call site: 00990
2 234 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00234
2 268 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00268
2 271 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00271
2 274 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00274
2 277 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00277
2 479 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00479
2 861 HunspellImpl::spell_internal(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00861

Runtime coverage analysis

Covered functions
306
Functions that are reachable but not covered
13
Reachable functions
412
Percentage of reachable functions covered
96.84%
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/hunspell/./src/tools/morphfuzzer.cxx 1
/src/hunspell/src/hunspell/hunspell.cxx 28
/src/hunspell/src/hunspell/affixmgr.cxx 53
/src/hunspell/src/hunspell/csutil.cxx 40
/src/hunspell/src/hunspell/./atypes.hxx 3
/src/hunspell/src/hunspell/replist.cxx 3
/src/hunspell/src/hunspell/./replist.hxx 2
/src/hunspell/src/hunspell/./csutil.hxx 5
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 4
/src/hunspell/src/hunspell/./affentry.hxx 18
/src/hunspell/src/hunspell/affentry.cxx 13
/src/hunspell/src/hunspell/suggestmgr.cxx 31

Fuzzer: affdicfuzzer

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 38 2.74%
gold [1:9] 10 0.72%
yellow [10:29] 14 1.01%
greenyellow [30:49] 12 0.86%
lawngreen 50+ 1309 94.6%
All colors 1383 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 800 AffixMgr::compound_check_morph(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string , std::__1::allocator >&, std::__1::basic_string , std::__1::allocator > const*, AffixScratch&) call site: 00800
4 1023 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 01023 strlen
3 608 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00608
3 655 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00655
3 888 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00888
2 235 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00235
2 269 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00269
2 272 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00272
2 275 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00275
2 278 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00278
2 480 HunspellImpl::checkword(std::__1::basic_string , std::__1::allocator > const&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00480
2 546 HunspellImpl::spell_internal(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, int*, std::__1::basic_string , std::__1::allocator >*, std::__1::chrono::time_point > >) call site: 00546

Runtime coverage analysis

Covered functions
350
Functions that are reachable but not covered
18
Reachable functions
529
Percentage of reachable functions covered
96.6%
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/hunspell/./src/tools/affdicfuzzer.cxx 1
/src/hunspell/src/hunspell/hunspell.cxx 38
/src/hunspell/src/hunspell/affixmgr.cxx 62
/src/hunspell/src/hunspell/csutil.cxx 43
/src/hunspell/src/hunspell/./atypes.hxx 3
/src/hunspell/src/hunspell/replist.cxx 3
/src/hunspell/src/hunspell/./replist.hxx 2
/src/hunspell/src/hunspell/./csutil.hxx 6
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 16
/src/hunspell/src/hunspell/./affentry.hxx 23
/src/hunspell/src/hunspell/affentry.cxx 14
/src/hunspell/src/hunspell/suggestmgr.cxx 43
/src/hunspell/src/hunspell/phonet.cxx 3

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
AffixMgr::AffixMgr(charconst*,std::__1::vector >,std::__1::allocator >>>const&,charconst*) /src/hunspell/src/hunspell/affixmgr.cxx 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 421 46 4 239 0 1671 1384
HashMgr::HashMgr(charconst*,charconst*,charconst*) /src/hunspell/src/hunspell/hashmgr.cxx 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 153 19 16 150 0 641 247
Hunspell_suffix_suggest /src/hunspell/src/hunspell/hunspell.cxx 3 ['N/A', 'N/A', 'N/A'] 6 0 21 3 2 63 0 250 87
SuggestMgr::SuggestMgr(std::__1::basic_string ,std::__1::allocator >const&,unsignedint,AffixMgr*) /src/hunspell/src/hunspell/suggestmgr.cxx 4 ['N/A', 'N/A', 'int', 'N/A'] 3 0 314 54 50 29 0 105 57
LLVMFuzzerInitialize /src/hunspell/./src/tools/fuzzer.cxx 2 ['N/A', 'N/A'] 4 0 217 35 27 30 0 92 40

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

Functions statically reachable by fuzzers
79.0%
382 / 484
Cyclomatic complexity statically reachable by fuzzers
95.0%
6362 / 6730

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/hunspell/./src/tools/hzfuzzer.cxx

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=['Hunzip::getcode(char const*)', 'Hunzip::getcode(char const*)', 'FileMgr::FileMgr(char const*, char const*)']

/src/hunspell/./src/tools/parserfuzzer.cxx

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=['TextParser::check_urls()', 'TextParser::next_token(std::__1::basic_string, std::__1::allocator >&)']

/src/hunspell/./src/tools/persdicfuzzer.cxx

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=['SuggestMgr::testsug(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, std::__1::basic_string, std::__1::allocator > const&, int, int*, std::__1::chrono::time_point > >*, int&)', 'HunspellImpl::checkword(std::__1::basic_string, std::__1::allocator > const&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'HunspellImpl::checkword(std::__1::basic_string, std::__1::allocator > const&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)', 'HunspellImpl::spell_internal(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)', 'u8_u16(std::__1::vector >&, std::__1::basic_string, std::__1::allocator > const&, bool)', 'AffixMgr::suffix_check(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char, unsigned short)']

/src/hunspell/./src/tools/fuzzer.cxx

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=['PfxEntry::check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&)', 'AffixMgr::compound_check_morph(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string, std::__1::allocator >&, std::__1::basic_string, std::__1::allocator > const*, AffixScratch&)', 'AffixMgr::compound_check_morph(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string, std::__1::allocator >&, std::__1::basic_string, std::__1::allocator > const*, AffixScratch&)', 'AffixMgr::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', 'SuggestMgr::suggest_hentry_gen(hentry*, char const*)', 'PfxEntry::checkword(std::__1::basic_string, std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::affix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, AffixScratch&, unsigned short, char)', 'AffixMgr::suffix_check(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char, unsigned short)', 'HunspellImpl::spell_internal(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)']

/src/hunspell/./src/tools/morphfuzzer.cxx

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=['SuggestMgr::testsug(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, std::__1::basic_string, std::__1::allocator > const&, int, int*, std::__1::chrono::time_point > >*, int&)', 'AffixMgr::compound_check_morph(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string, std::__1::allocator >&, std::__1::basic_string, std::__1::allocator > const*, AffixScratch&)', 'AffixMgr::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', 'AffixMgr::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', 'HunspellImpl::generate(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&)', 'HunspellImpl::checkword(std::__1::basic_string, std::__1::allocator > const&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)']

/src/hunspell/./src/tools/affdicfuzzer.cxx

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=['AffixMgr::compound_check_morph(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, std::__1::basic_string, std::__1::allocator >&, std::__1::basic_string, std::__1::allocator > const*, AffixScratch&)', 'HunspellImpl::spellml(std::__1::basic_string, std::__1::allocator > const&)', 'AffixMgr::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', 'AffixMgr::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', 'HunspellImpl::analyze_internal(std::__1::basic_string, std::__1::allocator > const&)', 'HunspellImpl::checkword(std::__1::basic_string, std::__1::allocator > const&, int*, std::__1::basic_string, std::__1::allocator >*, std::__1::chrono::time_point > >)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)']

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/hunspell/src/hunspell/suggestmgr.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/hunzip.cxx ['hzfuzzer'] ['hzfuzzer']
/src/hunspell/src/hunspell/./csutil.hxx ['parserfuzzer', 'persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] []
/src/hunspell/./src/tools/parserfuzzer.cxx ['parserfuzzer'] []
/src/hunspell/./src/tools/fuzzer.cxx ['fuzzer'] []
/src/hunspell/./src/tools/morphfuzzer.cxx ['morphfuzzer'] []
/src/hunspell/src/parsers/./textparser.hxx ['parserfuzzer'] []
/src/hunspell/src/hunspell/replist.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/./replist.hxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] []
/src/hunspell/src/hunspell/./w_char.hxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] []
/src/hunspell/src/hunspell/phonet.cxx ['fuzzer', 'affdicfuzzer'] ['fuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/./affentry.hxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] []
/src/hunspell/src/hunspell/hashmgr.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/affentry.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/usr/local/bin/../include/c++/v1/sstream [] []
/src/hunspell/src/hunspell/./phonet.hxx [] []
/src/hunspell/src/parsers/./../hunspell/w_char.hxx ['parserfuzzer'] []
/usr/local/bin/../include/c++/v1/istream [] []
/src/hunspell/./src/tools/hzfuzzer.cxx ['hzfuzzer'] []
/src/hunspell/./src/tools/affdicfuzzer.cxx ['affdicfuzzer'] []
/src/hunspell/src/tools/fuzzer.cxx [] []
/src/hunspell/src/hunspell/./atypes.hxx ['parserfuzzer', 'persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] []
/src/hunspell/src/hunspell/csutil.cxx ['hzfuzzer', 'parserfuzzer', 'persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['hzfuzzer', 'parserfuzzer', 'persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/./baseaffix.hxx [] []
/src/hunspell/src/hunspell/hunspell.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/src/hunspell/filemgr.cxx ['hzfuzzer'] ['hzfuzzer']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/hunspell/src/parsers/textparser.cxx ['parserfuzzer'] ['parserfuzzer']
/usr/local/bin/../include/c++/v1/string [] []
/src/hunspell/src/hunspell/affixmgr.cxx ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer'] ['persdicfuzzer', 'fuzzer', 'morphfuzzer', 'affdicfuzzer']
/src/hunspell/./src/tools/persdicfuzzer.cxx ['persdicfuzzer'] []

Directories in report

Directory
/src/hunspell/src/hunspell/
/src/hunspell/./src/tools/
/usr/local/bin/../include/c++/v1/
/src/hunspell/src/parsers/./
/src/hunspell/src/parsers/./../hunspell/
/src/hunspell/src/hunspell/./
/src/hunspell/src/tools/
/src/hunspell/src/parsers/