Project: mercurial

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 10
Lines of code 155476
Lines covered 40574
Code coverage 26.10%
Code coverage report Report link
Static reachability 10.01%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
bdiff_fuzzer 71.72% (avg: 71.72%, max: 71.72%) 2025-03-27
dirs_fuzzer 18.49% (avg: 18.49%, max: 18.49%) 2025-03-27
dirstate_fuzzer 18.15% (avg: 18.15%, max: 18.17%) 2025-03-27
fm1readmarkers_fuzzer 19.0% (avg: 19.0%, max: 19.0%) 2025-03-27
fncache_fuzzer 23.99% (avg: 23.99%, max: 24.0%) 2025-03-27
jsonescapeu8fast_fuzzer 17.97% (avg: 17.97%, max: 17.98%) 2025-03-27
manifest_fuzzer 19.05% (avg: 19.05%, max: 19.05%) 2025-03-27
mpatch_fuzzer 83.76% (avg: 83.76%, max: 83.76%) 2025-03-27
revlog_fuzzer 18.84% (avg: 18.84%, max: 18.84%) 2025-03-27
xdiff_fuzzer 84.26% (avg: 84.26%, max: 84.26%) 2025-03-27

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
WinMain /src/Python-3.8.3/PC/bdist_wininst/install.c 9195 0.0%
_tmain /src/mercurial/mercurial/exewrapper.c 9185 0.0%
test_audit_run_command /src/Python-3.8.3/Programs/_testembed.c 9168 0.0%
test_audit_run_file /src/Python-3.8.3/Programs/_testembed.c 9168 0.0%
test_initialize_pymain /src/Python-3.8.3/Programs/_testembed.c 9167 0.0%
main /src/Python-3.8.3/Programs/python.c 9161 0.0%
pymain_main /src/Python-3.8.3/Modules/main.c 9161 0.0%
Py_Main /src/Python-3.8.3/Modules/main.c 9161 0.0%
Py_BytesMain /src/Python-3.8.3/Modules/main.c 9161 0.0%
wWinMain /src/Python-3.8.3/PC/WinMain.c 9161 0.0%