Commit cc033ff
Merge bitcoin#28875: build: Pass sanitize flags to instrument
cbea49c build: Pass sanitize flags to instrument `libsecp256k1` code (Hennadii Stepanov)
Pull request description:
This PR is a revived bitcoin#27991 with an addressed [comment](bitcoin#27991 (comment)).
Fixes bitcoin#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:
ACK cbea49c
dergoegge:
reACK cbea49c
Tree-SHA512: 801994e75b711d20eaf0d675f378da07d693f4a7de026efd93860f5f1deabed855a83eca3561725263e4fe605fcc5f91eb73c021ec91c831864e6deb575e3885libsecp256k1 code1 parent 9a35783 commit cc033ff
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
| 426 | + | |
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
| |||
1919 | 1920 | | |
1920 | 1921 | | |
1921 | 1922 | | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
1922 | 1926 | | |
1923 | 1927 | | |
1924 | 1928 | | |
| |||
1980 | 1984 | | |
1981 | 1985 | | |
1982 | 1986 | | |
1983 | | - | |
| 1987 | + | |
1984 | 1988 | | |
1985 | 1989 | | |
1986 | | - | |
1987 | | - | |
| 1990 | + | |
| 1991 | + | |
1988 | 1992 | | |
1989 | 1993 | | |
1990 | 1994 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments