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 25 3.96%
gold [1:9] 2 0.31%
yellow [10:29] 0 0.0%
greenyellow [30:49] 3 0.47%
lawngreen 50+ 600 95.2%
All colors 630 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 354 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: 00354
2 231 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: 00231
2 265 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00265
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 476 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: 00476
2 534 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: 00534
1 29 u8_u16(std::__1::vector >&, std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00029
1 183 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00183
1 567 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: 00567
1 595 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: 00595

Runtime coverage analysis

Covered functions
258
Functions that are reachable but not covered
16
Reachable functions
349
Percentage of reachable functions covered
95.42%
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/./csutil.hxx 5
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 13
/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 67 6.74%
gold [1:9] 5 0.50%
yellow [10:29] 10 1.00%
greenyellow [30:49] 3 0.30%
lawngreen 50+ 908 91.4%
All colors 993 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 354 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: 00354
5 702 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: 00702
4 401 SuggestMgr::swapchar_utf(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, std::__1::vector > const&, int, int&) call site: 00401
4 748 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00748
3 472 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: 00472 strlen
3 511 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00511
3 558 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00558
3 858 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00858
3 978 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: 00978
3 984 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: 00984
2 231 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: 00231
2 265 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00265

Runtime coverage analysis

Covered functions
289
Functions that are reachable but not covered
15
Reachable functions
396
Percentage of reachable functions covered
96.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/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/./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 587 43.3%
gold [1:9] 37 2.73%
yellow [10:29] 14 1.03%
greenyellow [30:49] 15 1.10%
lawngreen 50+ 702 51.8%
All colors 1355 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
57 571 PfxEntry::check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00571
42 774 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: 00774
36 630 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00630
36 737 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: 00737
27 906 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00906 strchr
26 89 PfxEntry::checkword(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00089
23 250 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00250
22 677 AffixMgr::affix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, AffixScratch&, unsigned short, char) call site: 00677
14 140 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00140
12 492 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: 00492
12 946 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00946 strstr
12 1044 mystrsep(std::__1::basic_string , std::__1::allocator > const&, std::__1::__wrap_iter &) call site: 01044

Runtime coverage analysis

Covered functions
300
Functions that are reachable but not covered
60
Reachable functions
494
Percentage of reachable functions covered
87.85%
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/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 14
/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 109 7.97%
gold [1:9] 30 2.19%
yellow [10:29] 18 1.31%
greenyellow [30:49] 10 0.73%
lawngreen 50+ 1199 87.7%
All colors 1366 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
11 1016 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 01016
10 889 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 00889 strstr
7 1085 HashMgr::add_hidden_capitalized_word(std::__1::basic_string , std::__1::allocator > const&, int, unsigned short*, int, std::__1::basic_string , std::__1::allocator > const*, int) call site: 01085
6 796 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: 00796
6 963 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00963 strstr
5 786 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: 00786
5 975 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: 00975
5 1010 HunspellImpl::generate(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&) call site: 01010 strlen
4 832 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00832
3 595 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00595
3 642 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00642
3 810 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: 00810

Runtime coverage analysis

Covered functions
328
Functions that are reachable but not covered
27
Reachable functions
514
Percentage of reachable functions covered
94.75%
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/./csutil.hxx 6
/src/hunspell/src/hunspell/./w_char.hxx 2
/src/hunspell/src/hunspell/hashmgr.cxx 14
/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 225 0 1634 1354
HashMgr::HashMgr(charconst*,charconst*,charconst*) /src/hunspell/src/hunspell/hashmgr.cxx 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 144 19 16 143 0 635 251
Hunspell_suffix_suggest /src/hunspell/src/hunspell/hunspell.cxx 3 ['N/A', 'N/A', 'N/A'] 6 0 21 3 2 63 0 254 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%
369 / 467
Cyclomatic complexity statically reachable by fuzzers
95.0%
6298 / 6649

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::swapchar_utf(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, std::__1::vector > const&, int, int&)', 'HunspellImpl::analyze_internal(std::__1::basic_string, std::__1::allocator > const&)', '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::analyze_internal(std::__1::basic_string, std::__1::allocator > const&)', 'HunspellImpl::generate(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&)', 'HunspellImpl::generate(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&)']

/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&)', 'HunspellImpl::spellml(std::__1::basic_string, std::__1::allocator > const&)', 'HashMgr::add_hidden_capitalized_word(std::__1::basic_string, std::__1::allocator > const&, int, unsigned short*, int, std::__1::basic_string, std::__1::allocator > const*, 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::suggest_hentry_gen(hentry*, char 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::generate(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)', 'HunspellImpl::analyze_internal(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)']

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

Directories in report

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