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 | Fuzzers runtime hit | Func lines hit % | I Count | BB Count | Cyclomatic complexity | Functions reached | Reached by functions | Accumulated cyclomatic complexity | Undiscovered complexity |
---|
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 | 9 | 14.2% |
gold | [1:9] | 0 | 0.0% |
yellow | [10:29] | 2 | 3.17% |
greenyellow | [30:49] | 0 | 0.0% |
lawngreen | 50+ | 52 | 82.5% |
All colors | 63 | 100 |
The following nodes represent call sites where fuzz blockers occur.
Amount of callsites blocked | Calltree index | Parent function | Callsite | Largest blocked function |
---|---|---|---|---|
3 | 35 |
magic_enum::containers::set
|
call site: 00035 | __clang_call_terminate |
3 | 51 |
magic_enum::containers::bitset
|
call site: 00051 | __cxa_allocate_exception |
2 | 3 | _ZN10magic_enum10enum_valueIZ22LLVMFuzzerTestOneInputE8FuzzEnumLNS_6detail12enum_subtypeE0EEENS2_14enable_if_enumIXaasr3stdE9is_enum_vINSt3__15decayIT_E4typeEEL_ZNS5_16is_invocable_r_vIbNS5_8equal_toIvEEJccEEEEES9_E4typeEm | call site: 00003 | __clang_call_terminate |
1 | 28 |
magic_enum::containers::bitset
|
call site: 00028 |
Function name | source code lines | source lines hit | percentage hit |
---|
filename | functions hit |
---|---|
/src/magic_enum_fuzzer.cc | 1 |
/src/magic_enum/include/magic_enum.hpp | 9 |
/src/magic_enum/include/magic_enum_containers.hpp | 23 |
/usr/local/bin/../include/c++/v1/optional | 2 |
/usr/local/bin/../include/c++/v1/stdexcept | 1 |
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 |
---|
Implementing fuzzers that target the above functions will improve reachability such that it becomes:
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 |
---|
This section shows analysis of runtime coverage data.
For futher technical details on how this section is generated, please see the Glossary .
Func name | Function total lines | Lines covered at runtime | percentage covered | Reached by fuzzers |
---|
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
Source file | Reached by | Covered by |
---|---|---|
[] | [] | |
/src/magic_enum/include/magic_enum.hpp | ['magic_enum_fuzzer'] | ['magic_enum_fuzzer'] |
/usr/local/bin/../include/c++/v1/optional | ['magic_enum_fuzzer'] | [] |
/src/magic_enum/include/magic_enum_containers.hpp | ['magic_enum_fuzzer'] | ['magic_enum_fuzzer'] |
/usr/local/bin/../include/c++/v1/stdexcept | ['magic_enum_fuzzer'] | [] |
/src/magic_enum_fuzzer.cc | ['magic_enum_fuzzer'] | ['magic_enum_fuzzer'] |
Directory |
---|
/src/magic_enum/include/ |
/src/ |
/usr/local/bin/../include/c++/v1/ |
This sections shows the raw data that is used to produce this report. This is mainly used for further processing and developer debugging.
Fuzzer | Calltree file | Program data file | Coverage file |
---|---|---|---|
magic_enum_fuzzer | fuzzerLogFile-0-PIkOSQdLPm.data | fuzzerLogFile-0-PIkOSQdLPm.data.yaml | magic_enum_fuzzer.covreport |