test(h2h3): ASan/UBSan builds for every HTTP/2, HTTP/3 and QUIC test

オープン 初心者向け
#56 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, shell

調査の方向性

まず mk/h2h3.mk を開いてください。そこには既存の test_h2、test_h2c、test_qpack、test_h3 向けの _asan ビルドが定義されているので、そのパターンを不足しているバイナリにコピーしてください: test_quic、test_quic_interop、test_quic_raw、test_h3c、test_h3c_interop、test_hpack、test_hpack_scalar、test_h2_scalar。次にそれらを CI 実行に追加し、FUZZ= を大きくした実行を含めて成功することを確認してください。完了条件は、すべての H2TESTS バイナリに、CI が正常に実行する _asan ターゲットがあることです。

索引モデルが issue の本文から書いたものです。

説明

P0: release blocker

test_h2, test_h2c, test_qpack and test_h3 have ASan/UBSan builds (mk/h2h3.mk). These don't:

  • test_quic, test_quic_interop, test_quic_raw
  • test_h3c, test_h3c_interop
  • test_hpack, test_hpack_scalar, test_h2_scalar

The missing ones exercise loss, reordering, Retry, 0-RTT, key updates and stream resets: the paths most likely to hide an out-of-bounds read or a use-after-free.

Done when: every H2TESTS binary has a _asan build, CI runs all of them, and they pass, including with FUZZ= scaled runs.

主要言語
C
スター
0
フォーク
0
平均マージ
20時間 4分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

public/cursed-http のほかの issue

public/cursed-http の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。