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 44 6.85%
gold [1:9] 2 0.31%
yellow [10:29] 0 0.0%
greenyellow [30:49] 2 0.31%
lawngreen 50+ 594 92.5%
All colors 642 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
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 537 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: 00537
2 547 LLVMFuzzerTestOneInput call site: 00547
2 626 LLVMFuzzerTestOneInput call site: 00626
2 631 LLVMFuzzerTestOneInput call site: 00631
1 1 LLVMFuzzerTestOneInput call site: 00001
1 13 LLVMFuzzerTestOneInput call site: 00013
1 31 u8_u16(std::__1::vector >&, std::__1::basic_string , std::__1::allocator > const&, bool) call site: 00031

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 382 38.3%
gold [1:9] 81 8.12%
yellow [10:29] 38 3.81%
greenyellow [30:49] 17 1.70%
lawngreen 50+ 479 48.0%
All colors 997 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
18 924 AffixMgr::morphgen(char const*, int, unsigned short const*, unsigned short, char const*, char const*, int) call site: 00924 strcmp
13 818 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: 00818
11 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
10 807 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: 00807
10 946 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00946 strstr
9 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
9 786 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00786
9 855 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: 00855
8 403 SuggestMgr::swapchar_utf(std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >&, std::__1::vector > const&, int, int&) call site: 00403
8 693 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: 00693
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
7 865 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00865

Runtime coverage analysis

Covered functions
273
Functions that are reachable but not covered
46
Reachable functions
400
Percentage of reachable functions covered
88.5%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
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 657 48.0%
gold [1:9] 33 2.41%
yellow [10:29] 21 1.53%
greenyellow [30:49] 5 0.36%
lawngreen 50+ 652 47.6%
All colors 1368 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 574 PfxEntry::check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00574
42 777 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: 00777
36 633 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00633
36 740 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: 00740
27 910 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00910 strchr
26 92 PfxEntry::checkword(std::__1::basic_string , std::__1::allocator > const&, int, int, char, unsigned short, AffixScratch&) call site: 00092
23 253 AffixMgr::compound_check(std::__1::basic_string , std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&) call site: 00253
22 680 AffixMgr::affix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, AffixScratch&, unsigned short, char) call site: 00680
14 143 AffixMgr::suffix_check(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00143
13 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 950 SuggestMgr::suggest_hentry_gen(hentry*, char const*) call site: 00950 strstr
12 1050 mystrsep(std::__1::basic_string , std::__1::allocator > const&, std::__1::__wrap_iter &) call site: 01050

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 107 7.75%
gold [1:9] 18 1.30%
yellow [10:29] 33 2.39%
greenyellow [30:49] 14 1.01%
lawngreen 50+ 1207 87.5%
All colors 1379 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
8 895 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 00895 strstr
7 552 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 00552 strlen
5 789 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: 00789
5 979 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: 00979
4 874 HunspellImpl::analyze_internal(std::__1::basic_string , std::__1::allocator > const&) call site: 00874
4 1013 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: 01013 strlen
3 598 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00598
3 645 AffixMgr::suffix_check_morph(std::__1::basic_string , std::__1::allocator > const&, int, int, int, PfxEntry*, AffixScratch&, unsigned short, unsigned short, char) call site: 00645
3 988 HunspellImpl::spellml(std::__1::basic_string , std::__1::allocator > const&) call site: 00988
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

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 / 480
Cyclomatic complexity statically reachable by fuzzers
95.0%
6333 / 6699

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&)', '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::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 > >)', 'LLVMFuzzerTestOneInput']

/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=['AffixMgr::morphgen(char const*, int, unsigned short const*, unsigned short, char const*, char const*, int)', '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 > >)', 'HunspellImpl::generate(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&)', '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 > >)', 'SuggestMgr::suggest_hentry_gen(hentry*, char const*)', 'AffixMgr::compound_check(std::__1::basic_string, std::__1::allocator > const&, short, short, short, short, hentry**, hentry**, char, char, int*, AffixScratch&)', 'HunspellImpl::analyze_internal(std::__1::basic_string, std::__1::allocator > const&)', '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 > >)', 'SuggestMgr::swapchar_utf(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >&, std::__1::vector > const&, int, 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&)']

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

Directories in report

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