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: decompress_frame_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: compress_hc_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: round_trip_stream_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: round_trip_frame_uncompressed_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: decompress_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: compress_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: round_trip_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: round_trip_hc_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: compress_frame_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: round_trip_frame_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

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
LZ4F_compressBlock /src/lz4/lib/lz4frame.c 7 ['N/A', 'N/A', 'N/A', 'int', 'int', 'int', 'N/A'] 4 0 84 9 4 23 0 1812 1747
LZ4_compress_forceExtDict /src/lz4/lib/lz4.c 4 ['N/A', 'N/A', 'N/A', 'int'] 2 0 9116 1123 282 11 0 310 282
state_loadDictHCRoundTrip /src/lz4/ossfuzz/round_trip_stream_fuzzer.c 1 ['N/A'] 9 0 42 3 2 59 0 1799 150
LZ4_XXH64 /src/lz4/lib/xxhash.c 3 ['N/A', 'size_t', 'size_t'] 2 0 804 90 31 10 0 133 125
LZ4_XXH64_update /src/lz4/lib/xxhash.c 3 ['N/A', 'N/A', 'size_t'] 1 0 1604 184 63 5 0 73 63
LZ4_decompress_fast_continue /src/lz4/lib/lz4.c 4 ['N/A', 'N/A', 'N/A', 'int'] 3 0 542 59 19 7 0 58 49

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

Functions statically reachable by fuzzers
68.0%
178 / 261
Cyclomatic complexity statically reachable by fuzzers
95.0%
5956 / 6239

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

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/lz4/ossfuzz/round_trip_stream_fuzzer.c ['round_trip_stream_fuzzer'] []
/src/lz4/ossfuzz/fuzz_data_producer.c ['decompress_frame_fuzzer', 'compress_hc_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'decompress_fuzzer', 'compress_fuzzer', 'round_trip_fuzzer', 'round_trip_hc_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/round_trip_fuzzer.c ['round_trip_fuzzer'] []
/src/lz4/ossfuzz/round_trip_frame_fuzzer.c ['round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/round_trip_hc_fuzzer.c ['round_trip_hc_fuzzer'] []
/src/lz4/ossfuzz/decompress_fuzzer.c ['decompress_fuzzer'] []
/src/lz4/ossfuzz/lz4_helpers.c ['compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/compress_fuzzer.c ['compress_fuzzer'] []
/src/lz4/lib/lz4hc.c ['compress_hc_fuzzer', 'round_trip_stream_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'round_trip_hc_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/./fuzz_helpers.h ['round_trip_stream_fuzzer'] []
/src/lz4/lib/./lz4.c ['compress_hc_fuzzer', 'round_trip_stream_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'round_trip_hc_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/compress_frame_fuzzer.c ['compress_frame_fuzzer'] []
/src/lz4/lib/xxhash.c ['decompress_frame_fuzzer', 'round_trip_stream_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/decompress_frame_fuzzer.c ['decompress_frame_fuzzer'] []
/src/lz4/lib/lz4.c ['decompress_frame_fuzzer', 'compress_hc_fuzzer', 'round_trip_stream_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'decompress_fuzzer', 'compress_fuzzer', 'round_trip_fuzzer', 'round_trip_hc_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/lib/lz4frame.c ['decompress_frame_fuzzer', 'round_trip_frame_uncompressed_fuzzer', 'compress_frame_fuzzer', 'round_trip_frame_fuzzer'] []
/src/lz4/ossfuzz/compress_hc_fuzzer.c ['compress_hc_fuzzer'] []
/src/lz4/ossfuzz/round_trip_frame_uncompressed_fuzzer.c ['round_trip_frame_uncompressed_fuzzer'] []

Directories in report

Directory
/src/lz4/lib/./
/src/lz4/ossfuzz/./
/src/lz4/lib/
/src/lz4/ossfuzz/