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 589 84.0%
gold [1:9] 99 14.1%
yellow [10:29] 5 0.71%
greenyellow [30:49] 2 0.28%
lawngreen 50+ 6 0.85%
All colors 701 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
445 199 addBackwardRuleWithSingleCell call site: 00199 compileRule
25 67 parseCharsInternal call site: 00067 _lou_getALine
17 180 addForwardRuleWithSingleChar call site: 00180 _lou_logMessage
13 94 getAChar call site: 00094 _lou_getALine
12 49 compileRule call site: 00049 compileHyphenation
9 140 getRuleDotsPattern call site: 00140 compileError
8 646 compileFile call site: 00646 _lou_logMessage
6 25 rpl_free call site: 00025 _lou_outOfMemory
5 19 getLogLevelFromEnvironment call site: 00019 _lou_logMessage
5 128 compileFile call site: 00128 compileError
5 659 compileTable call site: 00659 compileFile
4 62 parseCharsInternal call site: 00062 compileWarning

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
78
Reachable functions
131
Percentage of reachable functions covered
40.46%
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 4
/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 270 30.5%
gold [1:9] 122 13.8%
yellow [10:29] 125 14.1%
greenyellow [30:49] 29 3.28%
lawngreen 50+ 338 38.2%
All colors 884 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
14 237 compileRule call site: 00237 compileRule
12 368 compileRule call site: 00368 compileBrailleIndicator
12 751 _lou_backTranslate call site: 00751 _lou_outOfMemory
10 650 compileFile call site: 00650 _lou_logMessage
8 396 compileRule call site: 00396 getRuleCharsText
8 408 compileRule call site: 00408 getRuleCharsText
8 431 compileRule call site: 00431 addRule
6 689 finalizeCharacter call site: 00689 _lou_logMessage
5 123 lou_freeTableFiles call site: 00123 compileFile
5 132 compileFile call site: 00132 compileError
5 642 compileSwap call site: 00642 addRule
5 663 compileTable call site: 00663 compileFile

Runtime coverage analysis

Covered functions
170
Functions that are reachable but not covered
25
Reachable functions
191
Percentage of reachable functions covered
86.91%
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 5
/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 335 30.7%
gold [1:9] 127 11.6%
yellow [10:29] 72 6.60%
greenyellow [30:49] 51 4.67%
lawngreen 50+ 505 46.3%
All colors 1090 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
17 234 compileGrouping call site: 00234 compileRule
17 689 finalizeCharacter call site: 00689 _lou_logMessage
13 289 compileRule call site: 00289 addRule
10 650 compileFile call site: 00650 _lou_logMessage
7 398 compileRule call site: 00398 compileBrailleIndicator
7 989 insertEmphasisEnd call site: 00989 beginCount
6 113 getOpcode call site: 00113 includeFile
6 913 syllableBreak call site: 00913 toLowercase
5 123 lou_freeTableFiles call site: 00123 compileFile
5 132 compileFile call site: 00132 compileError
5 611 compileRule call site: 00611 allocateCharacterClasses
5 663 compileTable call site: 00663 compileFile

Runtime coverage analysis

Covered functions
202
Functions that are reachable but not covered
42
Reachable functions
238
Percentage of reachable functions covered
82.35%
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 6
/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

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

Directories in report

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