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

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 166 43.1%
gold [1:9] 27 7.01%
yellow [10:29] 77 20.0%
greenyellow [30:49] 4 1.03%
lawngreen 50+ 111 28.8%
All colors 385 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
187 187 2 :

['linear_search', 'abort']

187 187 _ULx86_64_dwarf_callback call site: 00188 /src/libunwind/src/dwarf/Gfind_proc_info-lsb.c:679
138 138 1 :

['_ULx86_64_stash_frame']

138 138 apply_reg_state call site: 00328 /src/libunwind/src/dwarf/Gparser.c:958
49 49 1 :

['dwarf_find_eh_frame_section']

236 376 _ULx86_64_dwarf_callback call site: 00166 /src/libunwind/src/dwarf/Gfind_proc_info-lsb.c:610
30 30 1 :

['_Uelf64_lookup_symbol_from_dynamic']

30 30 _Uelf64_lookup_symbol_closeness call site: 00000 /src/libunwind/src/./elfxx.c:306
22 22 4 :

['__errno_location', 'write', 'strlen', 'strerror']

22 22 unw_init_page_size call site: 00016 /src/libunwind/src/mi/init.c:48
19 19 2 :

['intern_string', '_ULx86_64_Iput_dynamic_unwind_info']

19 19 _ULx86_64_get_proc_name_by_ip call site: 00359 /src/libunwind/src/mi/Gget_proc_name.c:60
12 12 1 :

['_ULx86_64_Iput_dynamic_unwind_info']

12 12 put_unwind_info call site: 00274 /src/libunwind/src/dwarf/Gparser.c:504
6 6 1 :

['dwarf_put']

6 6 _ULx86_64_access_reg call site: 00291 /src/libunwind/src/x86_64/Gregs.c:127
2 104 6 :

['scan_string', 'read', 'skip_whitespace', 'scan_dec', 'scan_hex', 'scan_char']

2 104 maps_next call site: 00000 /src/libunwind/src/./os-linux.h:276
2 69 2 :

['syscall', '_Uelf64_lookup_symbol']

2 69 _Uelf64_get_proc_name_in_image call site: 00000 /src/libunwind/src/./elfxx.c:608
2 2 1 :

['strncpy']

4 12 _Ux86_64_get_elf_image call site: 00000 /src/libunwind/src/os-linux.c:65
2 2 1 :

['syscall']

2 2 _Uelf64_load_debuginfo call site: 00000 /src/libunwind/src/./elfxx.c:964

Runtime coverage analysis

Covered functions
117
Functions that are reachable but not covered
49
Reachable functions
133
Percentage of reachable functions covered
63.16%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
fuzz_libunwind.c 10
libunwindx86_64/Ginit_local.c 2
libunwindx86_64/Gglobal.c 1
libunwindmi/init.c 2
libunwinddwarf/global.c 1
libunwindmi/mempool.c 7
libunwindx86_64/Ginit.c 1
libunwindmi/flush_cache.c 1
libunwind../include/tdep-x86_64/libunwind_i.h 6
libunwindx86_64/init.h 1
libunwindx86_64/Gos-linux.c 8
libunwindx86_64/Gstep.c 2
libunwinddwarf/Gparser.c 23
libunwindmi/Gfind_dynamic_proc_info.c 3
libunwindmi/dyn-info-list.c 1
libunwindmi/Gdyn-extract.c 1
libunwinddwarf/Gfind_proc_info-lsb.c 8
libunwindmi/Gget_accessors.c 1
libunwinddwarf/Gfde.c 3
libunwind../include/dwarf_i.h 10
libunwinddwarf/Gpe.c 1
libunwindos-linux.c 1
libunwind./elfxx.h 2
libunwind./elfxx.c 3
libunwindmi/Gput_dynamic_unwind_info.c 1
libunwindmi/Gget_reg.c 1
libunwindx86_64/Gregs.c 1
libunwinddwarf/Gexpr.c 4
libunwindx86_64/Gstash_frame.c 1
libunwindmi/Gget_proc_name.c 3
libunwind../include/remote.h 1
libunwindx86_64/Gget_save_loc.c 1

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/libunwind/src/dwarf/global.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/Gput_dynamic_unwind_info.c ['fuzz_libunwind'] []
/src/libunwind/src/mi/dyn-info-list.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/os-linux.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/../include/tdep-x86_64/libunwind_i.h ['fuzz_libunwind'] []
/src/libunwind/src/x86_64/init.h ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/../include/dwarf_i.h ['fuzz_libunwind'] []
/src/libunwind/src/mi/Gfind_dynamic_proc_info.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/Gget_accessors.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/./elfxx.c ['fuzz_libunwind'] []
/src/libunwind/src/mi/Gdyn-extract.c ['fuzz_libunwind'] []
/src/libunwind/src/x86_64/Gregs.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/../include/libunwind_i.h [] []
/src/libunwind/src/x86_64/Gos-linux.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/../include/remote.h ['fuzz_libunwind'] []
/src/libunwind/src/mi/mempool.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/Gget_proc_name.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/./os-linux.h [] []
/src/libunwind/src/dwarf/Gpe.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/dwarf/Gfde.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/x86_64/Ginit.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/Gaddress_validator.c [] []
/src/fuzz_libunwind.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/flush_cache.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/dwarf/Gexpr.c ['fuzz_libunwind'] []
/src/libunwind/src/dwarf/Gfind_proc_info-lsb.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/./elfxx.h ['fuzz_libunwind'] []
/src/libunwind/src/dwarf/Gparser.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/x86_64/is_fpreg.c [] []
/src/libunwind/src/x86_64/Gstash_frame.c ['fuzz_libunwind'] []
/src/libunwind/src/x86_64/Ginit_local.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/Gget_reg.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/x86_64/Gget_save_loc.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/x86_64/Gresume.c [] []
/src/libunwind/src/x86_64/Gstep.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/x86_64/Gglobal.c ['fuzz_libunwind'] ['fuzz_libunwind']
/src/libunwind/src/mi/init.c ['fuzz_libunwind'] ['fuzz_libunwind']

Directories in report

Directory
/src/
/src/libunwind/src/x86_64/
/src/libunwind/src/../include/tdep-x86_64/
/src/libunwind/src/dwarf/
/src/libunwind/src/mi/
/src/libunwind/src/
/src/libunwind/src/./
/src/libunwind/src/../include/