Merge bitcoin/bitcoin#21849: fuzz: Limit toxic test globals to their …

Merge bitcoin/bitcoin#21849: fuzz: Limit toxic test globals to their respective scope

cf83b82cf04a57223ebed74b8935e56f74ed721b fuzz: Limit toxic test globals to their respective scope (MarcoFalke)

Pull request description:

  Globals in one fuzz target are toxic to all other fuzz targets, because we link all fuzz targets into one binary. Any code called by constructing the global will affect all other targets. This leads to incorrect coverage stats, false-positive crashes, ...

ACKs for top commit:
  practicalswift:
    cr ACK cf83b82cf04a57223ebed74b8935e56f74ed721b: non-toxic is better than toxic!
  laanwj:
    Code review ACK cf83b82cf04a57223ebed74b8935e56f74ed721b

Tree-SHA512: 5b3a37bcb36fce4160c94f877b2c07704527e3e1842092375c793d2eca77b996ae62889326094020855666bb34fa019fcfe92e8ff8430ce0372227f03ab2b907

情報元 - Merge bitcoin/bitcoin#21849: fuzz: Limit toxic test globals to their … · bitcoin/[email protected] · GitHub

Merge bitcoin/bitcoin#21849: fuzz: Limit toxic test globals to their … · bitcoin/bitcoin@3f8f238 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る