mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-01 17:51:51 +02:00
Merge bitcoin/bitcoin#28875: build: Pass sanitize flags to instrument libsecp256k1
code
cbea49c0d3
build: Pass sanitize flags to instrument `libsecp256k1` code (Hennadii Stepanov) Pull request description: This PR is a revived https://github.com/bitcoin/bitcoin/pull/27991 with an addressed [comment](https://github.com/bitcoin/bitcoin/pull/27991#discussion_r1252148488). Fixes https://github.com/bitcoin/bitcoin/issues/27990. Might be tested as follows: ``` $ ./autogen.sh && ./configure --enable-fuzz --with-sanitizers=fuzzer CC=clang-13 CXX=clang++-13 $ make clean > /dev/null && make $ objdump --disassemble=secp256k1_xonly_pubkey_serialize src/test/fuzz/fuzz | grep __sanitizer_cov 1953bd0:e8 bb c6 05 ff call 9b0290 <__sanitizer_cov_trace_const_cmp8> 1953d32:e8 69 c4 05 ff call 9b01a0 <__sanitizer_cov_trace_pc_indir> 1953d58:e8 43 c4 05 ff call 9b01a0 <__sanitizer_cov_trace_pc_indir> 1953d82:e8 19 c4 05 ff call 9b01a0 <__sanitizer_cov_trace_pc_indir> ``` ACKs for top commit: fanquake: ACKcbea49c0d3
dergoegge: reACKcbea49c0d3
Tree-SHA512: 801994e75b711d20eaf0d675f378da07d693f4a7de026efd93860f5f1deabed855a83eca3561725263e4fe605fcc5f91eb73c021ec91c831864e6deb575e3885
This commit is contained in:
@@ -23,6 +23,7 @@ implicit-integer-sign-change:secp256k1/
|
||||
implicit-signed-integer-truncation:*/include/c++/
|
||||
implicit-signed-integer-truncation:leveldb/
|
||||
implicit-signed-integer-truncation:secp256k1/
|
||||
implicit-signed-integer-truncation,implicit-integer-sign-change:secp256k1_modinv64_posdivsteps_62_var
|
||||
implicit-unsigned-integer-truncation:*/include/c++/
|
||||
implicit-unsigned-integer-truncation:leveldb/
|
||||
implicit-unsigned-integer-truncation:secp256k1/
|
||||
|
Reference in New Issue
Block a user