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: inspector/light/source_filesexif_from_data_fuzzer.cc

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: inspector/light/source_filesexif_loader_fuzzer.cc

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: inspector/source-codeexif_loader_fuzzer.cc

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: inspector/source-codeexif_from_data_fuzzer.cc

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: exif_loader_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: exif_from_data_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
exif_mnote_data_olympus_get_value /src/libexif/libexif/olympus/exif-mnote-data-olympus.c 4 ['N/A', 'int', 'N/A', 'int'] 4 0 72 11 5 15 0 171 127
exif_mnote_data_canon_get_value /src/libexif/libexif/canon/exif-mnote-data-canon.c 4 ['N/A', 'int', 'N/A', 'int'] 4 0 71 8 4 20 0 131 93
exif_entry_fix /src/libexif/libexif/exif-entry.c 1 ['N/A'] 3 0 929 139 31 35 0 187 55
exif_mnote_data_olympus_load /src/libexif/libexif/olympus/exif-mnote-data-olympus.c 3 ['N/A', 'N/A', 'int'] 2 0 1142 124 44 14 0 106 53
exif_mnote_data_pentax_get_value /src/libexif/libexif/pentax/exif-mnote-data-pentax.c 4 ['N/A', 'int', 'N/A', 'int'] 3 0 63 8 4 11 0 82 48
exif_mnote_data_pentax_load /src/libexif/libexif/pentax/exif-mnote-data-pentax.c 3 ['N/A', 'N/A', 'int'] 2 0 660 72 28 12 0 78 37

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

Functions statically reachable by fuzzers
63.0%
151 / 238
Cyclomatic complexity statically reachable by fuzzers
74.0%
1289 / 1743

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/libexif/libexif/fuji/exif-mnote-data-fuji.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-ifd.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-content.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-format.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-log.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/inspector/source-code/src/exif_loader_fuzzer.cc ['inspector/source-codeexif_loader_fuzzer.cc'] []
/src/libexif/libexif/canon/mnote-canon-tag.c [] []
/src/libexif/libexif/exif-utils.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/olympus/exif-mnote-data-olympus.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/pentax/mnote-pentax-tag.c [] []
/src/exif_loader_fuzzer.cc ['exif_loader_fuzzer'] []
/src/inspector/light/source_files/src/exif_from_data_fuzzer.cc ['inspector/light/source_filesexif_from_data_fuzzer.cc'] []
/src/libexif/libexif/exif-data.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-loader.c ['inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'exif_loader_fuzzer'] []
/src/inspector/light/source_files/src/exif_loader_fuzzer.cc ['inspector/light/source_filesexif_loader_fuzzer.cc'] []
/src/libexif/libexif/pentax/mnote-pentax-entry.c [] []
/src/libexif/libexif/exif-entry.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/fuji/mnote-fuji-entry.c [] []
/src/libexif/libexif/exif-mem.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-gps-ifd.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/exif_from_data_fuzzer.cc ['exif_from_data_fuzzer'] []
/src/inspector/source-code/src/exif_from_data_fuzzer.cc ['inspector/source-codeexif_from_data_fuzzer.cc'] []
/src/libexif/libexif/exif-mnote-data.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/exif-tag.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/canon/exif-mnote-data-canon.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/olympus/mnote-olympus-entry.c [] []
/src/libexif/libexif/canon/mnote-canon-entry.c [] []
/src/libexif/libexif/pentax/exif-mnote-data-pentax.c ['inspector/light/source_filesexif_from_data_fuzzer.cc', 'inspector/light/source_filesexif_loader_fuzzer.cc', 'inspector/source-codeexif_loader_fuzzer.cc', 'inspector/source-codeexif_from_data_fuzzer.cc', 'exif_loader_fuzzer', 'exif_from_data_fuzzer'] []
/src/libexif/libexif/fuji/mnote-fuji-tag.c [] []
/src/libexif/libexif/olympus/mnote-olympus-tag.c [] []

Directories in report

Directory
/src/libexif/libexif/
/src/
/src/libexif/libexif/olympus/
/src/libexif/libexif/pentax/
/src/libexif/libexif/fuji/
/src/libexif/libexif/canon/
/src/inspector/light/source_files/src/
/src/inspector/source-code/src/