-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: bitcoin#27717, #27852, #28147, #28347, #28350, #28396, #28544, #29064, #29230, #29467, #29495 #6985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
be7f51a
5ee733e
0029e6f
404230c
40f0888
59bb099
7a3df4e
0fac60f
39baa23
b84939e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,15 @@ | ||
| # Suppressions should use `sanitize-type:ClassName::MethodName`. | ||
|
|
||
| # -fsanitize=undefined suppressions | ||
| # ================================= | ||
| # The suppressions would be `sanitize-type:ClassName::MethodName`, | ||
| # however due to a bug in clang the symbolizer is disabled and thus no symbol | ||
| # names can be used. | ||
| # See https://github.com/google/sanitizers/issues/1364 | ||
|
|
||
| # -fsanitize=integer suppressions | ||
| # =============================== | ||
| # Dependencies | ||
| # ------------ | ||
| # Suppressions in dependencies that are developed outside this repository. | ||
| unsigned-integer-overflow:*/include/c++/ | ||
| # unsigned-integer-overflow in FuzzedDataProvider's ConsumeIntegralInRange | ||
| unsigned-integer-overflow:FuzzedDataProvider.h | ||
| unsigned-integer-overflow:FuzzedDataProvider::ConsumeIntegralInRange | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainAppropriate suppression for fuzzing infrastructure. The explicit suppression for Since this is a backport PR, please verify that this change matches the upstream Bitcoin Core commits referenced in the PR description. 🏁 Script executed: #!/bin/bash
# Description: Verify the suppression entry matches upstream Bitcoin Core changes.
# Search for FuzzedDataProvider suppressions in the repository
rg -n "FuzzedDataProvider" test/sanitizer_suppressions/Length of output: 105 The search reveals a significant finding: upstream uses I found a discrepancy: upstream Bitcoin Core uses Both formats are valid UBSAN suppression syntax. However, since this is a backport PR, there's a format mismatch with upstream that should be addressed for consistency. Adjust suppression format to match upstream Bitcoin Core. The suppression on line 12 should use the file-based format instead of the function-qualified format to maintain backport fidelity: 🤖 Prompt for AI Agents |
||
| unsigned-integer-overflow:leveldb/ | ||
| unsigned-integer-overflow:minisketch/ | ||
| unsigned-integer-overflow:secp256k1/ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid KeyError when field is absent
json_obj or mempool_info may lack "unbroadcastcount". Use a default.
📝 Committable suggestion
🤖 Prompt for AI Agents