Project: file

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage failing: Build log
Build status: Fuzz Introspector failing: Build log
Fuzzer count 3
Lines of code 10724
Lines covered 7931
Code coverage 73.96%
Code coverage report Report link
Static reachability 95.02%
Fuzz Introspector report Report link (from 2024-11-19)

Historical 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
file_fsmagic /src/file/src/fsmagic.c 2687 6.01%
magic_file /src/file/src/magic.c 2627 0.0%
LLVMFuzzerInitialize /src/magic_fuzzer_fd.cc 962 0.0%
Environment::Environment(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>) /src/magic_fuzzer_fd.cc 948 0.0%
magic_list /src/file/src/magic.c 923 0.0%
cdf_file_catalog_info /src/file/src/readcdf.c 178 0.0%
magic_load_buffers /src/file/src/magic.c 159 0.0%
buffer_apprentice /src/file/src/apprentice.c 156 0.0%
do_os_note /src/file/src/readelf.c 142 16.66%
do_core_note /src/file/src/readelf.c 122 19.37%