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: table_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 598 84.3%
gold [1:9] 98 13.8%
yellow [10:29] 5 0.70%
greenyellow [30:49] 2 0.28%
lawngreen 50+ 6 0.84%
All colors 709 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
446 207 addBackwardRuleWithSingleCell call site: 00207 compileRule
25 75 parseCharsInternal call site: 00075 _lou_getALine
17 188 addForwardRuleWithSingleChar call site: 00188 _lou_logMessage
13 19 getLogLevelFromEnvironment call site: 00019 _lou_logMessage
13 102 getAChar call site: 00102 _lou_getALine
12 57 compileRule call site: 00057 compileHyphenation
10 149 getRuleDotsPattern call site: 00149 compileError
8 655 compileFile call site: 00655 _lou_logMessage
6 33 rpl_free call site: 00033 _lou_outOfMemory
5 137 compileFile call site: 00137 compileError
5 668 compileTable call site: 00668 compileFile
4 70 parseCharsInternal call site: 00070 compileWarning

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
79
Reachable functions
132
Percentage of reachable functions covered
40.15%
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/liblouis/tests/fuzzing/table_fuzzer.cc 1
/src/liblouis/liblouis/compileTranslationTable.c 93
/src/liblouis/liblouis/logging.c 5
/src/liblouis/tools/gnulib/free.c 1
/src/liblouis/liblouis/utils.c 5
/src/liblouis/liblouis/./internal.h 1
/src/liblouis/liblouis/pattern.c 8
/src/liblouis/liblouis/metadata.c 2

Fuzzer: fuzz_backtranslate

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 575 64.6%
gold [1:9] 117 13.1%
yellow [10:29] 75 8.42%
greenyellow [30:49] 35 3.93%
lawngreen 50+ 88 9.88%
All colors 890 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
52 604 compileRule call site: 00604 compileSwap
39 220 compileRule call site: 00220 compileRule
38 310 compileRule call site: 00310 compileBrailleIndicator
37 393 compileRule call site: 00393 compileBrailleIndicator
28 439 compileRule call site: 00439 addRule
25 561 compilePassOpcode call site: 00561 passGetVariableNumber
24 522 compilePassOpcode call site: 00522 appendInstructionChar
22 491 passGetDots call site: 00491 passGetVariableNumber
20 372 compileRule call site: 00372 compileBrailleIndicator
20 695 finalizeTable call site: 00695 finalizeCharacter
18 819 back_selectRule call site: 00819 _lou_pattern_check
14 866 backTranslateString call site: 00866 makeCorrections

Runtime coverage analysis

Covered functions
128
Functions that are reachable but not covered
68
Reachable functions
192
Percentage of reachable functions covered
64.58%
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/liblouis/tests/fuzzing/fuzz_backtranslate.c 2
/src/liblouis/liblouis/logging.c 6
/src/liblouis/liblouis/compileTranslationTable.c 100
/src/liblouis/tools/gnulib/free.c 1
/src/liblouis/liblouis/utils.c 7
/src/liblouis/liblouis/./internal.h 1
/src/liblouis/liblouis/pattern.c 15
/src/liblouis/liblouis/metadata.c 2
/src/liblouis/liblouis/lou_backTranslateString.c 37
/src/liblouis/liblouis/commonTranslationFunctions.c 3

Fuzzer: fuzz_translate_generic

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 520 47.4%
gold [1:9] 181 16.5%
yellow [10:29] 66 6.02%
greenyellow [30:49] 18 1.64%
lawngreen 50+ 311 28.3%
All colors 1096 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 266 compileBrailleIndicator call site: 00266 addRule
22 935 for_selectRule call site: 00935 passDoTest
21 371 compileRule call site: 00371 compileBrailleIndicator
21 401 compileRule call site: 00401 compileBrailleIndicator
18 968 for_selectRule call site: 00968 doCompbrl
17 242 compileGrouping call site: 00242 compileRule
17 698 finalizeCharacter call site: 00698 _lou_logMessage
16 1033 insertNumberSign call site: 01033 checkNumericMode
12 192 addForwardRuleWithSingleChar call site: 00192 _lou_logMessage
10 23 getLogLevelFromEnvironment call site: 00023 _lou_logMessage
10 423 compileRule call site: 00423 compileBrailleIndicator
10 659 compileFile call site: 00659 _lou_logMessage

Runtime coverage analysis

Covered functions
174
Functions that are reachable but not covered
71
Reachable functions
239
Percentage of reachable functions covered
70.29%
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/liblouis/tests/fuzzing/fuzz_translate_generic.c 2
/src/liblouis/liblouis/logging.c 7
/src/liblouis/liblouis/compileTranslationTable.c 100
/src/liblouis/tools/gnulib/free.c 1
/src/liblouis/liblouis/utils.c 8
/src/liblouis/liblouis/./internal.h 1
/src/liblouis/liblouis/pattern.c 15
/src/liblouis/liblouis/metadata.c 2
/src/liblouis/liblouis/lou_translateString.c 74
/src/liblouis/liblouis/commonTranslationFunctions.c 3

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
_lou_getTablePath 44 21 47.72% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
resolveSubtable 66 23 34.84% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
compileRule 1298 535 41.21% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
getLogLevelFromEnvironment 35 5 14.28% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
finalizeCharacter 104 31 29.80% ['fuzz_backtranslate', 'fuzz_translate_generic']
back_passDoAction 53 22 41.50% ['fuzz_backtranslate', 'fuzz_translate_generic']
backTranslateString 260 93 35.76% ['fuzz_backtranslate']
back_selectRule 226 99 43.80% ['fuzz_backtranslate']
handleMultind 49 12 24.48% ['fuzz_backtranslate']
pattern_compile_expression 257 115 44.74% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
pattern_compile_3 61 14 22.95% ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
swapTest 49 22 44.89% ['fuzz_translate_generic']
markSyllables 66 10 15.15% ['fuzz_translate_generic']
resetsEmphMode 36 18 50.0% ['fuzz_translate_generic']
for_selectRule 304 135 44.40% ['fuzz_translate_generic']
insertEmphasesAt 71 28 39.43% ['fuzz_translate_generic']
hyphenateWord 56 12 21.42% ['fuzz_translate_generic']

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/liblouis/liblouis/metadata.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/liblouis/lou_backTranslateString.c ['fuzz_backtranslate'] ['fuzz_backtranslate']
/src/liblouis/liblouis/compileTranslationTable.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/liblouis/./internal.h ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/liblouis/liblouis/pattern.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['fuzz_backtranslate']
/src/liblouis/tools/gnulib/free.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/liblouis/logging.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/tests/fuzzing/fuzz_backtranslate.c ['fuzz_backtranslate'] ['fuzz_backtranslate']
/src/liblouis/liblouis/commonTranslationFunctions.c ['fuzz_backtranslate', 'fuzz_translate_generic'] ['fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/tests/fuzzing/fuzz_translate_generic.c ['fuzz_translate_generic'] ['fuzz_translate_generic']
/src/liblouis/liblouis/utils.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/liblouis/lou_translateString.c ['fuzz_translate_generic'] ['fuzz_translate_generic']
/src/liblouis/tests/fuzzing/table_fuzzer.cc ['table_fuzzer'] ['table_fuzzer']

Directories in report

Directory
/src/liblouis/tests/fuzzing/
/src/liblouis/liblouis/
/src/liblouis/tools/gnulib/
/usr/local/bin/../include/c++/v1/
/src/liblouis/liblouis/./