Project: libdwarf

Language c
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 33
Lines of code 44831
Lines covered 31871
Code coverage 71.09%
Code coverage report Report link
Static reachability 83.68%
Fuzz Introspector report Report link (from 2025-03-17)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_aranges 18.54% (avg: 18.39%, max: 18.38%) 2025-03-17
fuzz_crc 92.45% (avg: 92.45%, max: 92.45%) 2025-03-17
fuzz_crc_32 15.07% (avg: 14.89%, max: 14.88%) 2025-03-17
fuzz_debug_addr_access 16.15% (avg: 15.98%, max: 15.97%) 2025-03-17
fuzz_debug_str 15.21% (avg: 15.04%, max: 15.03%) 2025-03-17
fuzz_debuglink 16.26% (avg: 16.1%, max: 16.09%) 2025-03-17
fuzz_die_cu 28.53% (avg: 28.34%, max: 28.44%) 2025-03-17
fuzz_die_cu_attrs 32.89% (avg: 32.84%, max: 32.84%) 2025-03-17
fuzz_die_cu_attrs_loclist 32.87% (avg: 32.49%, max: 32.8%) 2025-03-17
fuzz_die_cu_e 29.56% (avg: 29.35%, max: 29.46%) 2025-03-17
fuzz_die_cu_e_print 29.79% (avg: 29.61%, max: 29.71%) 2025-03-17
fuzz_die_cu_info1 30.14% (avg: 29.93%, max: 30.07%) 2025-03-17
fuzz_die_cu_offset 29.53% (avg: 29.39%, max: 29.44%) 2025-03-17
fuzz_die_cu_print 29.66% (avg: 29.52%, max: 29.57%) 2025-03-17
fuzz_dnames 19.09% (avg: 18.87%, max: 18.93%) 2025-03-17
fuzz_findfuncbypc 39.84% (avg: 39.4%, max: 39.81%) 2025-03-17
fuzz_gdbindex 16.36% (avg: 16.21%, max: 16.26%) 2025-03-17
fuzz_globals 22.71% (avg: 22.58%, max: 22.58%) 2025-03-17
fuzz_gnu_index 18.71% (avg: 18.57%, max: 18.59%) 2025-03-17
fuzz_init_b 15.04% (avg: 14.87%, max: 14.97%) 2025-03-17
fuzz_init_binary 14.71% (avg: 14.54%, max: 14.53%) 2025-03-17
fuzz_init_path 17.41% (avg: 17.24%, max: 17.3%) 2025-03-17
fuzz_macro_dwarf4 17.09% (avg: 16.87%, max: 16.93%) 2025-03-17
fuzz_macro_dwarf5 35.35% (avg: 35.26%, max: 35.33%) 2025-03-17
fuzz_rng 17.46% (avg: 17.3%, max: 17.29%) 2025-03-17
fuzz_set_frame_all 25.86% (avg: 25.75%, max: 25.75%) 2025-03-17
fuzz_showsectgrp 15.22% (avg: 15.04%, max: 15.03%) 2025-03-17
fuzz_simplereader_tu 0.25% (avg: 0.25%, max: 0.25%) 2025-03-17
fuzz_srcfiles 39.31% (avg: 39.26%, max: 39.29%) 2025-03-17
fuzz_stack_frame_access 29.39% (avg: 29.21%, max: 29.29%) 2025-03-17
fuzz_str_offsets 16.49% (avg: 16.24%, max: 16.32%) 2025-03-17
fuzz_tie 14.75% (avg: 14.57%, max: 14.56%) 2025-03-17
fuzz_xuindex 14.8% (avg: 14.62%, max: 14.61%) 2025-03-17

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
dwarf_get_macro_context_by_offset /src/libdwarf/src/lib/libdwarf/dwarf_macro5.c 2543 0.0%
dwarf_rnglists_get_rle_head /src/libdwarf/src/lib/libdwarf/dwarf_rnglists.c 2101 0.0%
_dwarf_fill_in_rle_head /src/libdwarf/src/lib/libdwarf/dwarf_rnglists.c 2068 0.0%
_dwarf_entrypc /src/libdwarf/src/lib/libdwarf/dwarf_query.c 2042 0.0%
build_array_of_rle /src/libdwarf/src/lib/libdwarf/dwarf_rnglists.c 2037 0.0%
dwarf_get_ranges_baseaddress /src/libdwarf/src/lib/libdwarf/dwarf_ranges.c 2027 0.0%
dwarf_die_from_hash_signature /src/libdwarf/src/lib/libdwarf/dwarf_die_deliv.c 2023 5.194%
cook_loclists_contents /src/libdwarf/src/lib/libdwarf/dwarf_loc.c 2014 0.0%
_dwarf_determine_die_range_offset /src/libdwarf/src/lib/libdwarf/dwarf_ranges.c 2013 0.0%
cook_gnu_loclist_contents /src/libdwarf/src/lib/libdwarf/dwarf_loc.c 2008 0.0%