Skip to content

OSS-Fuzz: Add new fuzzer targets X509 processing#2170

Open
arthurscchan wants to merge 2 commits into
seladb:devfrom
arthurscchan:new-fuzzer
Open

OSS-Fuzz: Add new fuzzer targets X509 processing#2170
arthurscchan wants to merge 2 commits into
seladb:devfrom
arthurscchan:new-fuzzer

Conversation

@arthurscchan

Copy link
Copy Markdown

This PR adds a new OSS-Fuzz fuzzer targeting X509 processing, together with the fixes of the CMakeList.txt and the OSS-Fuzz build script to accommodate the new fuzzer and the initial seed corpora preparation.

@arthurscchan
arthurscchan requested a review from seladb as a code owner June 25, 2026 19:34
@Dimi1010
Dimi1010 changed the base branch from master to dev June 25, 2026 19:40
@Dimi1010

Copy link
Copy Markdown
Collaborator

Closing and reopening to trigger CI after base branch change.

@Dimi1010 Dimi1010 closed this Jun 25, 2026
@Dimi1010 Dimi1010 reopened this Jun 25, 2026
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.78%. Comparing base (c0c6ec5) to head (61a7d14).

Additional details and impacted files
@@           Coverage Diff            @@
##              dev    #2170    +/-   ##
========================================
  Coverage   82.78%   82.78%            
========================================
  Files         331      331            
  Lines       60050    60043     -7     
  Branches    12427    12660   +233     
========================================
- Hits        49713    49708     -5     
+ Misses       9454     8939   -515     
- Partials      883     1396   +513     
Flag Coverage Δ
23.11.6 7.26% <ø> (ø)
24.11.5 7.26% <ø> (ø)
25.11.1 7.30% <ø> (ø)
alpine320 76.86% <ø> (ø)
fedora42 76.42% <ø> (ø)
macos-14 82.26% <ø> (ø)
macos-15 82.26% <ø> (ø)
mingw32 70.95% <ø> (ø)
mingw64 70.90% <ø> (+0.06%) ⬆️
npcap ?
rhel94 76.23% <ø> (ø)
ubuntu2204 76.29% <ø> (+0.01%) ⬆️
ubuntu2204-icpx 59.29% <ø> (-0.03%) ⬇️
ubuntu2404 76.57% <ø> (+0.02%) ⬆️
ubuntu2404-arm64 76.58% <ø> (+0.02%) ⬆️
ubuntu2604 76.50% <ø> (-0.03%) ⬇️
unittest 82.78% <ø> (+<0.01%) ⬆️
windows-2022 85.81% <ø> (+0.13%) ⬆️
windows-2025 85.54% <ø> (+0.12%) ⬆️
winpcap 85.84% <ø> (+0.20%) ⬆️
xdp 52.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seladb

seladb commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Thanks @arthurscchan for working on it! The new fuzzer doesn't pass CI 😕
Also, please note that pre-commit failed: https://github.com/seladb/PcapPlusPlus/actions/runs/28195869547/job/83522396812?pr=2170

@arthurscchan

Copy link
Copy Markdown
Author

Sorry for dropping that across the weekend. I will fix those CI failed.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan

Copy link
Copy Markdown
Author

I think the 2 CI failed is that the new fuzzer does discover a new issues in the code. I will double check on those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants