:sparkles: Support for C++ fuzz functions in the fuzzing check, add more const LanguageNames for clients
What kind of change does this PR introduce?
- Add support for C++ built-in fuzz functions check as a part of scorecard's fuzzing check.
- Add corresponding unit tests for C++ fuzz func matching
- Add more const LanguageNames in
clients/languages.go.
- [x] PR title follows the guidelines defined in our pull request documentation
What is the current behavior?
Scorecard supports (1) ClusterFuzzLite, (2) OSS-Fuzz, and (3) Go built-in Fuzzing in the fuzzing check.
What is the new behavior (if this is a feature change)?**
Checking for C++ fuzz functions now is included in the fuzzing check.
- [x] Tests for the changes have been added (for bug fixes/features)
Special notes for your reviewer
Does this PR introduce a user-facing change?
Yes, same as in PR #1979.
(In particular, describe what changes users might need to make in their application as a result of this pull request.)
Users now can check for C++ fuzz functions in their repo as a part of the fuzzing check, and with param `--details`, detailed fuzz function names and positions can be seen in the result.
Codecov Report
Merging #2001 (05dec6d) into main (7f0258e) will increase coverage by
2.45%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #2001 +/- ##
==========================================
+ Coverage 42.79% 45.25% +2.45%
==========================================
Files 93 93
Lines 7695 7695
==========================================
+ Hits 3293 3482 +189
+ Misses 4146 3950 -196
- Partials 256 263 +7
Integration tests success for [9a0f160dc39b50b0810c07369ead27417492f5dd] (https://github.com/ossf/scorecard/actions/runs/2545920065)
Integration tests success for [fc5d95deba3f044f193ecdb777a5d1500ca3bb00] (https://github.com/ossf/scorecard/actions/runs/2550757294)
@oliverchang @navidem @metzman can you take a look?
Integration tests success for [1f77a103ad5ab693b0a7eb47b4d0b318de266ab1] (https://github.com/ossf/scorecard/actions/runs/2627578516)
Integration tests success for [f815c6ee738aa56c31ad74ff6800bad2a5293956] (https://github.com/ossf/scorecard/actions/runs/2627578037)
Integration tests success for [863cbb2df1c161166858e67c4b200f382d5be066] (https://github.com/ossf/scorecard/actions/runs/2632676896)
Integration tests success for [7ce218656271bfaf676c2b859df753ebd447f923] (https://github.com/ossf/scorecard/actions/runs/2632928747)
Integration tests success for [150ffcd0ca724587839a65e715128c2f63aaf9b8] (https://github.com/ossf/scorecard/actions/runs/2716406414)
Integration tests success for [53358bf87be10bca2a62cc901d82c8ec8c9d3c9a] (https://github.com/ossf/scorecard/actions/runs/2777794788)
Integration tests success for [05dec6d9c250094ebda86cbf41f2fd745bd0a6c2] (https://github.com/ossf/scorecard/actions/runs/2806557237)
Stale pull request message
Keep this PR active.
Stale pull request message
Stale pull request message
Stale pull request message