scorecard icon indicating copy to clipboard operation
scorecard copied to clipboard

:sparkles: Support for C++ fuzz functions in the fuzzing check, add more const LanguageNames for clients

Open aidenwang9867 opened this issue 3 years ago • 13 comments

What kind of change does this PR introduce?

  1. Add support for C++ built-in fuzz functions check as a part of scorecard's fuzzing check.
  2. Add corresponding unit tests for C++ fuzz func matching
  3. Add more const LanguageNames in clients/languages.go.

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.

aidenwang9867 avatar Jun 23 '22 00:06 aidenwang9867

Codecov Report

Merging #2001 (05dec6d) into main (7f0258e) will increase coverage by 2.45%. The diff coverage is n/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     

codecov[bot] avatar Jun 23 '22 00:06 codecov[bot]

Integration tests success for [9a0f160dc39b50b0810c07369ead27417492f5dd] (https://github.com/ossf/scorecard/actions/runs/2545920065)

github-actions[bot] avatar Jun 23 '22 00:06 github-actions[bot]

Integration tests success for [fc5d95deba3f044f193ecdb777a5d1500ca3bb00] (https://github.com/ossf/scorecard/actions/runs/2550757294)

github-actions[bot] avatar Jun 23 '22 17:06 github-actions[bot]

@oliverchang @navidem @metzman can you take a look?

laurentsimon avatar Jun 23 '22 23:06 laurentsimon

Integration tests success for [1f77a103ad5ab693b0a7eb47b4d0b318de266ab1] (https://github.com/ossf/scorecard/actions/runs/2627578516)

github-actions[bot] avatar Jul 07 '22 06:07 github-actions[bot]

Integration tests success for [f815c6ee738aa56c31ad74ff6800bad2a5293956] (https://github.com/ossf/scorecard/actions/runs/2627578037)

github-actions[bot] avatar Jul 07 '22 06:07 github-actions[bot]

Integration tests success for [863cbb2df1c161166858e67c4b200f382d5be066] (https://github.com/ossf/scorecard/actions/runs/2632676896)

github-actions[bot] avatar Jul 07 '22 22:07 github-actions[bot]

Integration tests success for [7ce218656271bfaf676c2b859df753ebd447f923] (https://github.com/ossf/scorecard/actions/runs/2632928747)

github-actions[bot] avatar Jul 07 '22 23:07 github-actions[bot]

Integration tests success for [150ffcd0ca724587839a65e715128c2f63aaf9b8] (https://github.com/ossf/scorecard/actions/runs/2716406414)

github-actions[bot] avatar Jul 22 '22 05:07 github-actions[bot]

Integration tests success for [53358bf87be10bca2a62cc901d82c8ec8c9d3c9a] (https://github.com/ossf/scorecard/actions/runs/2777794788)

github-actions[bot] avatar Aug 01 '22 21:08 github-actions[bot]

Integration tests success for [05dec6d9c250094ebda86cbf41f2fd745bd0a6c2] (https://github.com/ossf/scorecard/actions/runs/2806557237)

github-actions[bot] avatar Aug 05 '22 22:08 github-actions[bot]

Stale pull request message

github-actions[bot] avatar Aug 16 '22 03:08 github-actions[bot]

Keep this PR active.

laurentsimon avatar Aug 16 '22 14:08 laurentsimon

Stale pull request message

github-actions[bot] avatar Aug 27 '22 03:08 github-actions[bot]

Stale pull request message

github-actions[bot] avatar Sep 11 '22 02:09 github-actions[bot]

Stale pull request message

github-actions[bot] avatar Sep 23 '22 02:09 github-actions[bot]