Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzzer details

Fuzzer: lzo_compress_target

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 0 0.0%
gold [1:9] 7 53.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 6 46.1%
All colors 13 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
0 0 None 0 12 __lzo_init_v2 call site: 00001 /src/lzo-2.10/src/lzo_init.c:223
0 0 None 0 0 lzo1x_1_compress call site: 00009 /src/lzo-2.10/src/lzo1x_c.ch:372
0 0 None 0 0 lzo1x_decompress call site: 00011 /src/lzo-2.10/src/lzo1x_d.ch:86
0 0 None 0 0 lzo1x_decompress call site: 00011 /src/lzo-2.10/src/lzo1x_d.ch:170
0 0 None 0 0 lzo1x_decompress call site: 00011 /src/lzo-2.10/src/lzo1x_d.ch:292
0 0 None 0 0 __lzo_init_v2 call site: 00001 /src/lzo-2.10/src/lzo_init.c:211
0 0 None 0 0 __lzo_init_v2 call site: 00002 /src/lzo-2.10/src/lzo_init.c:227

Runtime coverage analysis

Covered functions
11
Functions that are reachable but not covered
1
Reachable functions
8
Percentage of reachable functions covered
87.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.
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
/src/lzo_compress_target.c 1
/src/lzo-2.10/src/lzo_init.c 3
/src/lzo-2.10/src/lzo1x_c.ch 2
/src/lzo-2.10/src/lzo1x_d.ch 1

Fuzzer: lzo_decompress_target

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 0 0.0%
gold [1:9] 7 87.5%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 12.5%
All colors 8 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
0 0 None 0 12 __lzo_init_v2 call site: 00001 /src/lzo-2.10/src/lzo_init.c:223
0 0 None 0 0 __lzo_init_v2 call site: 00001 /src/lzo-2.10/src/lzo_init.c:211
0 0 None 0 0 __lzo_init_v2 call site: 00002 /src/lzo-2.10/src/lzo_init.c:227

Runtime coverage analysis

Covered functions
15
Functions that are reachable but not covered
0
Reachable functions
4
Percentage of reachable functions covered
100.0%
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
/src/lzo_decompress_target.c 1
/src/lzo-2.10/src/lzo_init.c 3

Fuzzer: all_lzo_compress

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 7 31.8%
gold [1:9] 7 31.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 8 36.3%
All colors 22 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
0 0 None 2 2 (anonymousnamespace)::FuzzLzoAlgorithm((anonymousnamespace)::LzoAlgorithmconst&,std::__1::vector >const&) call site: 00000 /src/all_lzo_compress.cc:210
0 0 None 2 2 (anonymousnamespace)::FuzzLzoAlgorithm((anonymousnamespace)::LzoAlgorithmconst&,std::__1::vector >const&) call site: 00000 /src/all_lzo_compress.cc:219
0 0 None 2 2 (anonymousnamespace)::FuzzLzoAlgorithm((anonymousnamespace)::LzoAlgorithmconst&,std::__1::vector >const&) call site: 00000 /src/all_lzo_compress.cc:225
0 0 None 0 242 lzo1b_999_compress_callback call site: 00000 /src/lzo-2.10/src/lzo1b_9x.c:148
0 0 None 0 121 lzo1x_999_compress_internal call site: 00000 /src/lzo-2.10/src/lzo1x_9x.c:557
0 0 None 0 121 lzo1x_999_compress_internal call site: 00000 /src/lzo-2.10/src/lzo1x_9x.c:560
0 0 None 0 121 lzo1x_999_compress_internal call site: 00000 /src/lzo-2.10/src/lzo1x_9x.c:563
0 0 None 0 121 lzo1x_999_compress_internal call site: 00000 /src/lzo-2.10/src/lzo1x_9x.c:569
0 0 None 0 121 lzo1x_999_compress_internal call site: 00000 /src/lzo-2.10/src/lzo1x_9x.c:590
0 0 None 0 20 lzo1c_999_compress_callback call site: 00000 /src/lzo-2.10/src/lzo1c_9x.c:150
0 0 None 0 14 lzo1f_999_compress_callback call site: 00000 /src/lzo-2.10/src/lzo1f_9x.c:166
0 0 None 0 12 __lzo_init_v2 call site: 00003 /src/lzo-2.10/src/lzo_init.c:223

Runtime coverage analysis

Covered functions
92
Functions that are reachable but not covered
6
Reachable functions
18
Percentage of reachable functions covered
66.67%
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
/src/all_lzo_compress.cc 5
/src/lzo-2.10/src/lzo_init.c 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
lzo1z_999_compress /src/lzo-2.10/src/lzo1x_9x.c 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 4 0 32 3 2 20 0 195 195
lzo1b_1_compress /src/lzo-2.10/src/compr1b.h 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 1 0 32 3 2 3 0 62 62
lzo2a_999_compress /src/lzo-2.10/src/lzo2a_9x.c 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 3 0 32 3 2 13 0 134 62
lzo1x_999_compress /src/lzo-2.10/src/lzo1x_9x.c 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 4 0 32 3 2 20 0 191 50
lzo1y_999_compress /src/lzo-2.10/src/lzo1x_9x.c 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 4 0 32 3 2 20 0 191 50
lzo1c_999_compress /src/lzo-2.10/src/lzo1c_9x.c 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 3 0 32 3 2 15 0 135 49
lzo1x_1_11_compress /src/lzo-2.10/src/lzo1x_c.ch 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 0 0 382 50 16 1 0 38 38
lzo1x_1_12_compress /src/lzo-2.10/src/lzo1x_c.ch 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 0 0 382 50 16 1 0 38 38
lzo1x_1_15_compress /src/lzo-2.10/src/lzo1x_c.ch 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 0 0 382 50 16 1 0 38 38
lzo1y_1_compress /src/lzo-2.10/src/lzo1x_c.ch 5 ['char *', 'size_t ', 'char *', 'size_t *', 'char *'] 0 0 382 50 16 1 0 38 38

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
52.4%
53/101
Cyclomatic complexity statically reachable by fuzzers
53.3%
786 / 1474

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 Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

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/lzo-2.10/src/lzo_init.c ['lzo_compress_target', 'lzo_decompress_target', 'all_lzo_compress'] ['lzo_compress_target', 'lzo_decompress_target', 'all_lzo_compress']
/src/lzo-2.10/src/lzo_mchw.ch [] []
/src/lzo-2.10/src/lzo1a_99.c [] []
/src/lzo_compress_target.c ['lzo_compress_target'] ['lzo_compress_target']
/src/lzo-2.10/src/lzo1b_cc.c [] []
/src/lzo-2.10/src/lzo1x_d.ch ['lzo_compress_target'] ['lzo_compress_target']
/src/lzo-2.10/src/lzo1a_cr.ch [] []
/src/lzo_decompress_target.c ['lzo_decompress_target'] ['lzo_decompress_target']
/src/lzo-2.10/src/lzo1x_9x.c [] []
/src/lzo-2.10/src/lzo1f_d.ch [] []
/src/lzo-2.10/src/lzo2a_d.ch [] []
/src/lzo-2.10/src/compr1c.h [] []
/src/lzo-2.10/src/lzo1b_9x.c [] []
/src/lzo-2.10/src/lzo1x_c.ch ['lzo_compress_target'] ['lzo_compress_target']
/src/lzo-2.10/src/lzo1.c [] []
/src/lzo-2.10/src/lzo_func.h [] []
/src/lzo-2.10/src/lzo_swd.ch [] []
/src/lzo-2.10/src/lzo1b_d.ch [] []
/src/lzo-2.10/src/lzo2a_9x.c [] []
/src/lzo-2.10/src/lzo1c_cc.c [] []
/src/lzo-2.10/src/lzo1f_1.c [] []
/src/lzo-2.10/src/lzo1b_r.ch [] []
/src/lzo-2.10/src/compr1b.h [] []
/src/all_lzo_compress.cc ['all_lzo_compress'] ['all_lzo_compress']
/src/lzo-2.10/src/lzo1c_9x.c [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/lzo-2.10/src/lzo1_99.c [] []
/src/lzo-2.10/src/lzo1f_9x.c [] []
/src/lzo-2.10/src/lzo1a.c [] []

Directories in report

Directory
/src/lzo-2.10/src/
/src/
/usr/local/bin/../include/c++/v1/