mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
ci: build libFuzzer from source for MSan task #37091
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!37091
Loading…
Reference in a new issue
No description provided.
Delete branch "msan_ci_build_libfuzzer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The libFuzzer shipped by apt.llvm.org is built against libstdc++, rather
libc++, so fails to link against the instrumented libc++.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.
Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
🔵 Suggestion · The MSan libFuzzer revert leaves the earlier false-positive rationale unanswered
The series explains a link fix but does not say whether restoring
fuzzer,memoryaddresses the undiagnosed MSan false positives behindfa70e23or knowingly retries the previous tradeoff.Location:
ci/test/00_setup_env_native_fuzz_with_msan.sh:25(head).🔵 Suggestion · The TSan and plain MSan images also build unused libFuzzer archives
Gating the new libFuzzer build on
USE_INSTRUMENTED_LIBCPPadds an unnecessary compiler-rt configure, build and archive replacement to the TSan and non-fuzz MSan image builds.Location:
ci/test/01_base_install.sh:93(head).Review coverage was incomplete.
Reviewed:
2f97d87cdbd9· Review report · Previous reportspermalink
thx, lgtm
nit: maybe set COMPILER_RT_USE_LIBCXX=ON explicitly and combine this with the above build to unconditionally build all three:
?
This means a sanitizer is needed to get libfuzzer and every sanitizer will have a possibly unused libfuzzer, but that shouldn't matter, because the system libfuzzer is also installed and sits there unused.
nit: Long option name
--machine.Thanks. Added.
Taking a look, but I'm not sure if this will work.