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: 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: instance_create_advanced_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: instance_enumerate_fuzzer_split_input

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

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 166 36 17 8 0 1082 1072
vkGetInstanceProcAddr /src/vulkan-loader/loader/trampoline.c 2 ['N/A', 'N/A'] 7 0 70 19 8 37 0 948 827
terminator_EnumeratePhysicalDeviceGroups /src/vulkan-loader/loader/loader.c 3 ['N/A', 'N/A', 'N/A'] 5 0 1102 221 83 36 0 367 236
vkCreateDevice /src/vulkan-loader/loader/trampoline.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 26 5 2 48 0 337 132
loader_gpa_instance_terminator /src/vulkan-loader/loader/loader.c 2 ['N/A', 'N/A'] 6 0 234 48 23 30 0 313 125
vkEnumeratePhysicalDevices /src/vulkan-loader/loader/trampoline.c 3 ['N/A', 'N/A', 'N/A'] 5 0 159 31 12 45 0 309 116
terminator_CreateInstance /src/vulkan-loader/loader/loader.c 3 ['N/A', 'N/A', 'N/A'] 6 0 808 166 64 33 0 318 81
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 53 12 5 8 0 79 71
terminator_CreateDisplayPlaneSurfaceKHR /src/vulkan-loader/loader/wsi.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 82 10 5 27 0 197 59
vkEnumeratePhysicalDeviceGroups /src/vulkan-loader/loader/trampoline.c 3 ['N/A', 'N/A', 'N/A'] 6 0 157 30 12 35 0 257 54

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

Functions statically reachable by fuzzers
26.0%
305 / 1167
Cyclomatic complexity statically reachable by fuzzers
67.0%
4895 / 7324

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/vulkan-loader/loader/gpa_helper.c [] []
/src/vulkan-loader/loader/generated/vk_loader_extensions.c ['instance_create_advanced_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/loader_json.c ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/generated/vk_object_types.h ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/trampoline.c ['instance_create_advanced_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/settings.c ['instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/log.c ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/allocation.c ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/vk_loader_platform.h ['instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/loader.h [] []
/src/settings_fuzzer.c ['settings_fuzzer'] []
/src/vulkan-loader/loader/unknown_function_handling.c [] []
/src/vulkan-loader/loader/dev_ext_trampoline.c [] []
/src/vulkan-loader/loader/wsi.c ['instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/cJSON.c ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/json_load_fuzzer.c ['json_load_fuzzer'] []
/src/vulkan-loader/loader/extension_manual.c [] []
/src/vulkan-loader/loader/loader.c ['instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/instance_enumerate_fuzzer.c ['instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer'] []
/src/vulkan-loader/loader/loader_environment.c ['instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/terminator.c [] []
/src/instance_create_fuzzer.c ['instance_create_fuzzer'] []
/src/instance_create_advanced_fuzzer.c ['instance_create_advanced_fuzzer'] []
/src/vulkan-loader/loader/phys_dev_ext.c [] []
/src/fuzz_header.h ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/debug_utils.c ['json_load_fuzzer', 'instance_create_advanced_fuzzer', 'settings_fuzzer', 'instance_enumerate_fuzzer_split_input', 'instance_enumerate_fuzzer', 'instance_create_fuzzer'] []
/src/vulkan-loader/loader/loader_linux.c [] []

Directories in report

Directory
/src/
/src/vulkan-loader/loader/generated/
/src/vulkan-loader/loader/