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: fuzz_conv

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 17 9.04%
gold [1:9] 11 5.85%
yellow [10:29] 6 3.19%
greenyellow [30:49] 2 1.06%
lawngreen 50+ 152 80.8%
All colors 188 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 4 LLVMFuzzerTestOneInput call site: 00004 fprintf
2 94 wc_output_init call site: 00094 fprintf
1 68 LLVMFuzzerTestOneInput call site: 00068 Strnew_size
1 70 Strnew_size call site: 00070 exit
1 72 Strnew_size call site: 00072 exit
1 74 Strnew_charp_n call site: 00074 exit
1 76 Strnew_charp_n call site: 00076 exit
1 89 Strcat_charp_n call site: 00089 exit
1 99 wc_output_init call site: 00099 wc_get_ucs_table
1 121 wc_ucs_to_ccs call site: 00121 wc_map_range_search
1 131 Strgrow call site: 00131 exit
1 140 wc_push_iso2022_esc call site: 00140 Strgrow

Runtime coverage analysis

Covered functions
142
Functions that are reachable but not covered
17
Reachable functions
72
Percentage of reachable functions covered
76.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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libwc/../fuzz/fuzz-conv.c 2
libwc/wtf.c 3
libwc/charset.c 5
Str.c 6
libwc/conv.c 4
libwc/detect.c 2
libwc/status.c 2
libwc/iso2022.c 4
libwc/./../alloc.h 1
libwc/ucs.c 7
libwc/sjis.c 1
libwc/gbk.c 1
libwc/gb18030.c 1
libwc/big5.c 1
libwc/hkscs.c 1
libwc/johab.c 2
libwc/uhc.c 1
libwc/viet.c 2
libwc/search.c 4
libwc/hz.c 1
libwc/utf8.c 3
libwc/utf7.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/w3m/libwc/search.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/gbk.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/utf8.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/Str.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/uhc.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/wtf.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/conv.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/gb18030.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/priv.c [] []
/src/w3m/libwc/status.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/viet.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/hz.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/iso2022.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/./../alloc.h ['fuzz_conv'] []
/src/w3m/libwc/utf7.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/johab.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/combining.c [] []
/src/w3m/libwc/../fuzz/fuzz-conv.c ['fuzz_conv'] []
/src/w3m/libwc/jis.c [] []
/src/w3m/libwc/./ucs.map [] []
/src/w3m/libwc/detect.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/sjis.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/hkscs.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/ucs.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/charset.c ['fuzz_conv'] ['fuzz_conv']
/src/w3m/libwc/big5.c ['fuzz_conv'] ['fuzz_conv']

Directories in report

Directory
/src/w3m/libwc/./
/src/w3m/libwc/../fuzz/
/src/w3m/libwc/./../
/src/w3m/libwc/
/src/w3m/