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] 0 0.0%
lawngreen 50+ 33 82.5%
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 4.05%
gold [1:9] 2 0.31%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.15%
lawngreen 50+ 612 95.4%
All colors 641 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 356 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: 00356
2 233 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: 00233
2 267 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00267
2 270 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00270
2 273 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00273
2 276 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00276
2 478 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: 00478
2 536 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: 00536
1 31 u8_u16(std::__1::vector >&, std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00031
1 185 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00185
1 571 HashMgr::arena_alloc(unsigned long, unsigned long) const call site: 00571
1 599 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: 00599

Runtime coverage analysis

Covered functions
267
Functions that are reachable but not covered
17
Reachable functions
358
Percentage of reachable functions covered
95.25%
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 21
/src/hunspell/src/hunspell/affixmgr.cxx 42
/src/hunspell/src/hunspell/csutil.cxx 31
/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: 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 47 4.71%
gold [1:9] 6 0.60%
yellow [10:29] 11 1.10%
greenyellow [30:49] 1 0.10%
lawngreen 50+ 931 93.4%
All colors 996 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 356 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: 00356
5 704 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: 00704
3 474 SuggestMgr::twowords(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, std::__1::basic_string , std::__1::allocator > const&, int, bool, int&) call site: 00474 strlen
3 513 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00513
3 560 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00560
3 981 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: 00981
2 233 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: 00233
2 267 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00267
2 270 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00270
2 273 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00273
2 276 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00276
2 478 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: 00478

Runtime coverage analysis

Covered functions
298
Functions that are reachable but not covered
15
Reachable functions
400
Percentage of reachable functions covered
96.25%
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 27
/src/hunspell/src/hunspell/affixmgr.cxx 52
/src/hunspell/src/hunspell/csutil.cxx 36
/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: 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 589 43.1%
gold [1:9] 40 2.93%
yellow [10:29] 20 1.46%
greenyellow [30:49] 7 0.51%
lawngreen 50+ 709 51.9%
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
46 584 PfxEntry::check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00584
42 776 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: 00776
36 632 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00632
36 739 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: 00739
27 909 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00909 strchr
26 91 PfxEntry::checkword(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00091
23 252 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00252
22 679 AffixMgr::affix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, AffixScratch&, unsigned short, char) call site: 00679
14 142 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00142
12 494 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: 00494
12 949 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00949 strstr
12 1049 mystrsep(std::__1::basic_string , std::__1::allocator > const&, std::__1::__wrap_iter &) call site: 01049

Runtime coverage analysis

Covered functions
308
Functions that are reachable but not covered
63
Reachable functions
503
Percentage of reachable functions covered
87.48%
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 55
/src/hunspell/src/hunspell/replist.cxx 3
/src/hunspell/src/hunspell/./replist.hxx 2
/src/hunspell/src/hunspell/csutil.cxx 41
/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: 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 67 4.86%
gold [1:9] 14 1.01%
yellow [10:29] 33 2.39%
greenyellow [30:49] 12 0.87%
lawngreen 50+ 1250 90.8%
All colors 1376 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 892 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 00892 strstr
5 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
5 978 SuggestMgr::suggest_gen(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > > const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::chrono::time_point > >) call site: 00978
4 849 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00849
4 1014 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 01014 strlen
3 597 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00597
3 644 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00644
3 875 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00875
2 233 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: 00233
2 267 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00267
2 270 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00270
2 273 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00273

Runtime coverage analysis

Covered functions
344
Functions that are reachable but not covered
20
Reachable functions
523
Percentage of reachable functions covered
96.18%
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 61
/src/hunspell/src/hunspell/csutil.cxx 41
/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%
379 / 478
Cyclomatic complexity statically reachable by fuzzers
95.0%
6328 / 6690

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)']

/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&)', 'SuggestMgr::twowords(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, std::__1::basic_string, std::__1::allocator > const&, int, bool, int&)', '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&)']

/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::suffix_check_morph(std::__1::basic_string, std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char)', '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&)', '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)', '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/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=['HunspellImpl::spellml(std::__1::basic_string, std::__1::allocator > const&)', '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&)', 'SuggestMgr::suggest_gen(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::chrono::time_point > >)', 'HunspellImpl::analyze_internal(std::__1::basic_string, std::__1::allocator > const&)', '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&)']

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

Directories in report

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