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

Fuzzers overview

Fuzzer Fuzzer filename Functions Reached Functions unreached Fuzzer depth Files reached Basic blocks reached Cyclomatic complexity Details
inspector/source-codesettings_fuzzer.c inspector/source-codesettings_fuzzer.c 142 1794 12 14 2063 952 source-codesettings_fuzzer.c
instance_enumerate_fuzzer instance_enumerate_fuzzer.c 190 1746 13 15 3011 1360 instance_enumerate_fuzzer.c
inspector/light/source_filessettings_fuzzer.c inspector/light/source_filessettings_fuzzer.c 142 1794 12 14 2063 952 source_filessettings_fuzzer.c
json_load_fuzzer json_load_fuzzer.c 60 1873 10 9 969 434 json_load_fuzzer.c
settings_fuzzer settings_fuzzer.c 142 1794 12 14 2063 952 settings_fuzzer.c
inspector/light/source_filesinstance_enumerate_fuzzer.c inspector/light/source_filesinstance_enumerate_fuzzer.c 190 1746 13 15 3011 1360 source_filesinstance_enumerate_fuzzer.c
inspector/source-codeinstance_create_fuzzer.c inspector/source-codeinstance_create_fuzzer.c 244 1692 12 16 4365 1954 source-codeinstance_create_fuzzer.c
inspector/source-codeinstance_enumerate_fuzzer.c inspector/source-codeinstance_enumerate_fuzzer.c 190 1746 13 15 3011 1360 source-codeinstance_enumerate_fuzzer.c
inspector/light/source_filesinstance_create_fuzzer.c inspector/light/source_filesinstance_create_fuzzer.c 244 1692 12 16 4365 1954 source_filesinstance_create_fuzzer.c
instance_create_fuzzer instance_create_fuzzer.c 244 1692 12 16 4365 1954 instance_create_fuzzer.c
inspector/source-codejson_load_fuzzer.c inspector/source-codejson_load_fuzzer.c 60 1873 10 9 969 434 source-codejson_load_fuzzer.c
inspector/light/source_filesjson_load_fuzzer.c inspector/light/source_filesjson_load_fuzzer.c 60 1873 10 9 969 434 source_filesjson_load_fuzzer.c

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/source-codesettings_fuzzer.c

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: instance_enumerate_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: inspector/light/source_filessettings_fuzzer.c

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: json_load_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: settings_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: inspector/light/source_filesinstance_enumerate_fuzzer.c

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-codeinstance_create_fuzzer.c

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-codeinstance_enumerate_fuzzer.c

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_filesinstance_create_fuzzer.c

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: instance_create_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: inspector/source-codejson_load_fuzzer.c

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_filesjson_load_fuzzer.c

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
vkGetDeviceProcAddr /src/vulkan-loader/loader/trampoline.c 2 ['N/A', 'N/A'] 3 0 187 36 17 8 0 1076 1066
vkGetInstanceProcAddr /src/vulkan-loader/loader/trampoline.c 2 ['N/A', 'N/A'] 7 0 75 19 8 41 0 968 822
terminator_EnumeratePhysicalDeviceGroups /src/vulkan-loader/loader/loader.c 3 ['N/A', 'N/A', 'N/A'] 5 0 1252 210 79 42 0 393 233
vkCreateDevice /src/vulkan-loader/loader/trampoline.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 31 5 2 53 0 365 132
loader_gpa_instance_terminator /src/vulkan-loader/loader/loader.c 2 ['N/A', 'N/A'] 6 0 247 48 23 34 0 339 125
terminator_CreateInstance /src/vulkan-loader/loader/loader.c 3 ['N/A', 'N/A', 'N/A'] 6 0 866 156 60 38 0 341 77
terminator_DebugReportMessageEXT /src/vulkan-loader/loader/debug_utils.c 8 ['N/A', 'int', 'int', 'size_t', 'size_t', 'int', 'N/A', 'N/A'] 3 0 66 12 5 8 0 79 71
vkEnumeratePhysicalDeviceGroups /src/vulkan-loader/loader/trampoline.c 3 ['N/A', 'N/A', 'N/A'] 6 0 87 17 7 27 0 223 70
terminator_CreateDisplayPlaneSurfaceKHR /src/vulkan-loader/loader/wsi.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 99 8 4 32 0 224 59
terminator_CreateDevice /src/vulkan-loader/loader/loader.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 6 0 719 120 47 31 0 235 51

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

Functions statically reachable by fuzzers
25.0%
279 / 1132
Cyclomatic complexity statically reachable by fuzzers
66.0%
4650 / 7004

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
[] []
/usr/include/stdlib.h ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/instance_enumerate_fuzzer.c ['instance_enumerate_fuzzer'] []
/src/inspector/source-code/src/settings_fuzzer.c ['inspector/source-codesettings_fuzzer.c'] []
/src/vulkan-loader/loader/terminator.c [] []
/src/vulkan-loader/loader/unknown_function_handling.c [] []
/src/json_load_fuzzer.c ['json_load_fuzzer'] []
/src/vulkan-loader/loader/trampoline.c ['instance_enumerate_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/dev_ext_trampoline.c [] []
/src/vulkan-loader/loader/cJSON.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/vulkan-loader/loader/loader.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/gpa_helper.c [] []
/src/inspector/source-code/src/instance_create_fuzzer.c ['inspector/source-codeinstance_create_fuzzer.c'] []
/src/vulkan-loader/loader/wsi.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/loader_linux.c [] []
/src/vulkan-loader/loader/phys_dev_ext.c [] []
/src/vulkan-loader/loader/generated/vk_loader_extensions.c ['inspector/source-codeinstance_create_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/log.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/vulkan-loader/loader/settings.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/debug_utils.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/vulkan-loader/loader/extension_manual.c [] []
/src/inspector/light/source_files/src/settings_fuzzer.c ['inspector/light/source_filessettings_fuzzer.c'] []
/src/settings_fuzzer.c ['settings_fuzzer'] []
/usr/include/x86_64-linux-gnu/sys/stat.h ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/inspector/light/source_files/src/instance_enumerate_fuzzer.c ['inspector/light/source_filesinstance_enumerate_fuzzer.c'] []
/src/vulkan-loader/loader/generated/vk_object_types.h ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/vulkan-loader/loader/loader_json.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/vulkan-loader/loader/loader_environment.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer'] []
/src/inspector/light/source_files/src/instance_create_fuzzer.c ['inspector/light/source_filesinstance_create_fuzzer.c'] []
/src/inspector/light/source_files/src/json_load_fuzzer.c ['inspector/light/source_filesjson_load_fuzzer.c'] []
/src/inspector/source-code/src/instance_enumerate_fuzzer.c ['inspector/source-codeinstance_enumerate_fuzzer.c'] []
/src/instance_create_fuzzer.c ['instance_create_fuzzer'] []
/src/vulkan-loader/loader/loader.h [] []
/src/vulkan-loader/loader/allocation.c ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []
/src/inspector/source-code/src/json_load_fuzzer.c ['inspector/source-codejson_load_fuzzer.c'] []
/src/vulkan-loader/loader/vk_loader_platform.h ['inspector/source-codesettings_fuzzer.c', 'instance_enumerate_fuzzer', 'inspector/light/source_filessettings_fuzzer.c', 'json_load_fuzzer', 'settings_fuzzer', 'inspector/light/source_filesinstance_enumerate_fuzzer.c', 'inspector/source-codeinstance_create_fuzzer.c', 'inspector/source-codeinstance_enumerate_fuzzer.c', 'inspector/light/source_filesinstance_create_fuzzer.c', 'instance_create_fuzzer', 'inspector/source-codejson_load_fuzzer.c', 'inspector/light/source_filesjson_load_fuzzer.c'] []

Directories in report

Directory
/src/inspector/light/source_files/src/
/src/vulkan-loader/loader/
/src/vulkan-loader/loader/generated/
/src/
/usr/include/x86_64-linux-gnu/sys/
/usr/include/
/src/inspector/source-code/src/