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 573 85.3%
gold [1:9] 87 12.9%
yellow [10:29] 4 0.59%
greenyellow [30:49] 1 0.14%
lawngreen 50+ 6 0.89%
All colors 671 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
440 194 addBackwardRuleWithSingleCell call site: 00194 compileRule
25 70 parseCharsInternal call site: 00070 _lou_getALine
16 19 getLogLevelFromEnvironment call site: 00019 _lou_outOfMemory
15 177 addForwardRuleWithSingleChar call site: 00177 _lou_logMessage
12 52 compileRule call site: 00052 compileHyphenation
10 138 getRuleDotsPattern call site: 00138 compileError
8 97 getAChar call site: 00097 _lou_getALine
5 126 compileFile call site: 00126 compileError
5 645 compileTable call site: 00645 compileFile
4 65 parseCharsInternal call site: 00065 compileWarning
3 13 compileTable call site: 00013 compileError
3 163 putCharDotsMapping call site: 00163 _lou_outOfMemory

Runtime coverage analysis

Covered functions
55
Functions that are reachable but not covered
80
Reachable functions
132
Percentage of reachable functions covered
39.39%
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 95
/src/liblouis/liblouis/logging.c 5
/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 366 43.6%
gold [1:9] 111 13.2%
yellow [10:29] 69 8.22%
greenyellow [30:49] 19 2.26%
lawngreen 50+ 274 32.6%
All colors 839 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
38 207 compileRule call site: 00207 compileRule
33 337 compileRule call site: 00337 compileBrailleIndicator
21 581 compileRule call site: 00581 getCharacters
20 378 compileRule call site: 00378 compileBrailleIndicator
14 670 finalizeCharacter call site: 00670 _lou_logMessage
13 309 compileRule call site: 00309 compileBrailleIndicator
13 415 compileRule call site: 00415 addRule
10 23 getLogLevelFromEnvironment call site: 00023 _lou_logMessage
8 111 getOpcode call site: 00111 includeFile
8 632 compileSwap call site: 00632 includeFile
7 456 verifyStringOrDots call site: 00456 passGetString
7 548 compilePassOpcode call site: 00548 appendInstructionChar

Runtime coverage analysis

Covered functions
163
Functions that are reachable but not covered
36
Reachable functions
195
Percentage of reachable functions covered
81.54%
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 102
/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 40
/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 514 49.3%
gold [1:9] 152 14.6%
yellow [10:29] 53 5.09%
greenyellow [30:49] 23 2.20%
lawngreen 50+ 299 28.7%
All colors 1041 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
44 252 compileBrailleIndicator call site: 00252 addRule
39 330 compileNumber call site: 00330 compileBrailleIndicator
26 905 onlyLettersAhead call site: 00905 doCompbrl
17 228 compileGrouping call site: 00228 compileRule
16 978 insertNumberSign call site: 00978 checkNumericMode
14 670 finalizeCharacter call site: 00670 _lou_logMessage
12 377 compileRule call site: 00377 compileBrailleIndicator
11 884 for_selectRule call site: 00884 noCompbrlAhead
10 23 getLogLevelFromEnvironment call site: 00023 _lou_logMessage
10 399 compileRule call site: 00399 compileBrailleIndicator
9 572 compileRule call site: 00572 addRule
9 841 translateString call site: 00841 doCompTrans

Runtime coverage analysis

Covered functions
173
Functions that are reachable but not covered
72
Reachable functions
239
Percentage of reachable functions covered
69.87%
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 102
/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/./internal.h ['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_translate_generic.c ['fuzz_translate_generic'] ['fuzz_translate_generic']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/liblouis/liblouis/commonTranslationFunctions.c ['fuzz_backtranslate', 'fuzz_translate_generic'] ['fuzz_backtranslate', 'fuzz_translate_generic']
/src/liblouis/tests/fuzzing/fuzz_backtranslate.c ['fuzz_backtranslate'] ['fuzz_backtranslate']
/src/liblouis/liblouis/metadata.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/liblouis/compileTranslationTable.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['table_fuzzer', '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/liblouis/pattern.c ['table_fuzzer', 'fuzz_backtranslate', 'fuzz_translate_generic'] ['fuzz_backtranslate']
/src/liblouis/liblouis/lou_backTranslateString.c ['fuzz_backtranslate'] ['fuzz_backtranslate']
/src/liblouis/tests/fuzzing/table_fuzzer.cc ['table_fuzzer'] ['table_fuzzer']

Directories in report

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