HomePhabricator

fuzz: Link all targets once

Description

fuzz: Link all targets once

Summary:
Dramatically reduce the build time and the disk space consumption.

Backport of core#20560.
https://github.com/bitcoin/bitcoin/pull/20560/commits/44444ba759480237172d83f42374c5c29c76eda0

The second commit is not backported because it brings no value.

Also a backport of core#20733 otherwise the build fails due to duplicated symbols.

Test Plan:
Follow the doc from fuzzing.md, build with AFL and LibFuzzer, run the
fuzzer directly and via test_runner.py for LibFuzzer.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15145

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Dec 3 2020, 15:42
FabienCommitted on Jan 12 2024, 17:38
FabienPushed on Jan 12 2024, 17:38
Reviewer
Restricted Project
Differential Revision
D15145: fuzz: Link all targets once
Parents
rABC976fe3ef8945: Bugfix: Wallet: Soft-fail exceptions within ListWalletDir file checks
Branches
Unknown
Tags
Unknown

Event Timeline