cpp-httplib: fix broken build#53
Open
tc-agent wants to merge 2 commits into
Open
Conversation
tc-agent
force-pushed
the
master
branch
2 times, most recently
from
May 9, 2026 05:25
1161025 to
c655e12
Compare
Fuzzing Coverage ReportTested: project
Per-harness
Δ = (after − before) / before, to accommodate that denominators may change. "new" when before is 0; "deleted" when after is 0. |
tc-agent
force-pushed
the
master
branch
26 times, most recently
from
May 13, 2026 18:37
d39b4ee to
6779759
Compare
tc-agent
force-pushed
the
master
branch
12 times, most recently
from
May 21, 2026 13:42
9a36aa8 to
6a4a93d
Compare
tc-agent
force-pushed
the
master
branch
3 times, most recently
from
May 27, 2026 06:33
6125235 to
e512e7e
Compare
tc-agent
force-pushed
the
update-cpp-httplib-fuzzing
branch
from
May 27, 2026 07:53
c599575 to
fc93a1b
Compare
tc-agent
force-pushed
the
master
branch
7 times, most recently
from
May 28, 2026 02:55
a7587cd to
b952f62
Compare
tc-agent
force-pushed
the
update-cpp-httplib-fuzzing
branch
from
May 28, 2026 03:35
fc93a1b to
1fd175d
Compare
tc-agent
force-pushed
the
master
branch
4 times, most recently
from
May 28, 2026 18:05
af7f9a7 to
806b281
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The coverage build for cpp-httplib has been failing daily since 2026-04-29 (last successful coverage build: 2026-04-28). Fuzz Introspector currently reports code coverage as N/A.
Root cause
Upstream PR yhirose/cpp-httplib#2412 (commit 831b64b, 2026-03-28) added two new fuzz targets,
url_parser_fuzzerandheader_parser_fuzzer, totest/fuzzing/Makefile. Unlike the existingserver_fuzzerandclient_fuzzerrules, the new rules do not runzip -q -r ${target}_seed_corpus.zip corpus, so no*_seed_corpus.zipis produced for the new targets.The breakage surfaced when #15426 (commit fa7217d, 2026-04-28) switched
build.shfrommake -j$(nproc) server_fuzzertomake -j$(nproc) all, which started compiling all four fuzzers and triggering corpus downloads for them. ClusterFuzz has no corpus backup for the two new targets, so the coverage runner ends up with an HTML/XML error response written to/corpus/${target}.zip,unzipfails, and the build aborts withFailed to unpack the corpus for url_parser_fuzzer.Providing${target}_seed_corpus.zipin$OUTlets the runner fall back to seed corpora when the backup is missing.Change
In
build.sh, aftermake all, generate the missing seed-corpus zips forurl_parser_fuzzerandheader_parser_fuzzer, reusing the existingtest/fuzzing/corpus/directory in the same way the upstream Makefile does forserver_fuzzer/client_fuzzer. The[ -f ... ] ||guard skips the zip if the upstream Makefile starts producing one.Coverage after fix
5-minute libfuzzer/address run from seed corpora:
For prior-state comparison, Fuzz Introspector reports 23.85% line coverage on
server_fuzzerfrom production fuzzing (last data 2026-04-28); the local 5-minute number is lower because the run is much shorter and starts only from the seed corpus.