Contributing fuzz harnesses for the test suite
メンテナーはふだん 23 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cmake, cpp, docker
- 領域
- networking, testing
調査の方向性
Start by reading the existing test layout and build setup, then review the proposed parser and SNP harnesses and their notes about untrusted-byte entry points. The issue asks maintainers to decide where fuzz targets should live and how to build and run them, so seek that direction before preparing a contribution. Done means an agreed structure and integration approach, with harnesses runnable under the chosen setup.
索引モデルが issue の本文から書いたものです。
説明
Hi, in #410 you mentioned you would love to add fuzzing to the test suite. I have been building a set of fuzz harnesses
for GameNetworkingSockets and would like to contribute them upstream if that is useful, and I would rather match your
preferences on structure before sending a PR.
What I have:
- A set of
LLVMFuzzerTestOneInputharnesses (so they run under both libFuzzer and AFL++) over the receive-side parsers
and state machines: the STUN and ICE candidate parsers, the UDP pre-connection handler, the SNP data-chunk decoder
(single-packet, multi-packet and a grammar-shaped variant), the crypto handshake and certificate parsing, the
inline-stats path, and the P2P signaling and connect-request paths. Several are structure-aware (libprotobuf-mutator
over the real protobuf messages) so they get past the framing quickly. - They build against a pinned toolchain in a Docker image (pinned compiler, the current
mastercommit of GNS) and run
under AddressSanitizer + UndefinedBehaviorSanitizer, with authored seed corpora and small dictionaries. - A per-harness note on exactly what untrusted bytes reach which entry point, so the coverage is auditable.
Questions before I send anything:
- Where would you want fuzz targets to live in the tree (a
tests/fuzz/directory, alongside the existing tests, or
elsewhere), and how would you like them wired into the build (a CMake option, standalone)? - Do you want them shaped for OSS-Fuzz integration, or just as in-tree targets runnable locally?
- Any conventions you would like followed for the harness entry points, the seed corpora, or the dictionaries?
I can start with the parser and SNP harnesses (the self-contained ones) and follow your lead on the rest. Anything found
through them I will report privately through your HackerOne program per SECURITY.md, not here.
- 主要言語
- C++
- スター
- 10.1k
- フォーク
- 781
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ValveSoftware/GameNetworkingSockets のほかの issue
-
ICE (native client): relay-only connections time out against a real TURN server; host-socket checks starve the relay pairs再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
ValveSoftware/GameNetworkingSockets#452 ·
メンテナーはふだん 23 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ValveSoftware/GameNetworkingSockets#474 ·
メンテナーはふだん 23 日以内に返信
-
難易度 4/5 1週間以上 初心者へのやさしさ 12/100
ValveSoftware/GameNetworkingSockets#465 ·
メンテナーはふだん 23 日以内に返信
-
Native ICE resolves STUN/TURN hostnames under the global lock対応中かも @tintinhamans が 64 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
ValveSoftware/GameNetworkingSockets#440 ·
メンテナーはふだん 23 日以内に返信
-
WebRTC ICE keeps an idle thread per STUN/TURN hostname lookup対応中かも @tintinhamans が 64 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
ValveSoftware/GameNetworkingSockets#439 · コメント 1 件 ·
メンテナーはふだん 23 日以内に返信
ValveSoftware/GameNetworkingSockets の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
deepseek-ai/DeepGEMM#529 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ucb-bar/libgemmini#10 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Quantinuum/tket#2282 ·
メンテナーはふだん 1 日以内に返信