No description provided.
build: Allow to configure --with-sanitizers=fuzzer #15047
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1812-buildSanFuzz changing 2 files +33 −10-
MarcoFalke commented at 9:49 PM on December 27, 2018: member
- MarcoFalke added the label Build system on Dec 27, 2018
- MarcoFalke added the label Needs gitian build on Dec 27, 2018
- fanquake requested review from theuni on Dec 27, 2018
-
practicalswift commented at 8:20 PM on December 28, 2018: contributor
Concept ACK
-
laanwj commented at 10:44 AM on January 2, 2019: member
Might be useful to document this somewhere.
- MarcoFalke force-pushed on Jan 2, 2019
- MarcoFalke force-pushed on Jan 2, 2019
- MarcoFalke force-pushed on Jan 5, 2019
- MarcoFalke force-pushed on Jan 5, 2019
-
build: Allow to configure --with-sanitizers=fuzzer fad058a79f
- MarcoFalke force-pushed on Jan 5, 2019
-
MarcoFalke commented at 6:06 PM on January 5, 2019: member
Added documentation
-
fanquake commented at 6:04 AM on January 7, 2019: member
Concept/utACK fad058a
Annoyingly, this doesn't work out of the box on macOS:
checking whether C++ compiler accepts -Werror... yes checking whether C++ compiler accepts -fsanitize=fuzzer,address... yes checking whether the linker accepts -fsanitize=fuzzer,address... no configure: error: linker did not accept requested flags, you are missing required librariesSeemingly because
Xcode 10doesn't include a copy oflibclang_rt.fuzzer_osx.a. i.e:clang++ -fsanitize=fuzzer -o fuzzme fuzzme.cpp ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.fuzzer_osx.a clang: error: linker command failed with exit code 1 (use -v to see invocation)Configuring Core with all other sanitizers,
address,thread,undefinedetc, works correctly.Will test in a Linux env shortly.
-
DrahtBot commented at 10:55 PM on January 9, 2019: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #15043 (test: Build fuzz targets into seperate executables by MarcoFalke)
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.
-
DrahtBot commented at 5:13 PM on January 10, 2019: member
<!--a722867cd34abeea1fadc8d60700f111-->
Gitian builds for commit 5da08e0ac51682376767d823e76d2a92c61a5d97 (master):
574a62ba3eda4501fe338f6ad7e6b45e...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gz8262f3dbda1a4fa114f1a0fdb9b1c636...bitcoin-0.17.99-aarch64-linux-gnu.tar.gzb7489d9e4e1b46f35e0ac38018257c46...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gz51b7569f84bdec97af4bb644f88c56bf...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gz547a6963b223c0e3944dc848d9f07776...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gz659899840c700f74237333d1ab3e1dfd...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gzbaaf4246b88a8d758e77e5572c7d157a...bitcoin-0.17.99-osx-unsigned.dmga0754c64caa534e2a0bd9ff347b7eda2...bitcoin-0.17.99-osx64.tar.gz68d0802f90707ffbc7ada3acdd343bd3...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gzfb8e7ae257f8c9a4cf5af9c51be6fa72...bitcoin-0.17.99-riscv64-linux-gnu.tar.gz077474f868da4a0a8e4b82895f59abdf...bitcoin-0.17.99-win32-debug.zip01b8be4d3a17ad7ea58bc1496fa5102a...bitcoin-0.17.99-win32-setup-unsigned.exebe13b17faf7623da306ea7992db3fcfe...bitcoin-0.17.99-win32.zip997e3f62a66adcbca3ef2b07c1cbfe47...bitcoin-0.17.99-win64-debug.zip8bb455306a8f553e112384523562ee4f...bitcoin-0.17.99-win64-setup-unsigned.exeac9d9f43f9664f86eeda71561b281e99...bitcoin-0.17.99-win64.zip7991393c06aa30c38c400f919a744f50...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gz2742b8080d00e361d35e15420e6a84b6...bitcoin-0.17.99-x86_64-linux-gnu.tar.gze323b38552b584ce61049b9f9823c90b...bitcoin-0.17.99.tar.gzbbcbcf3b6ebcbbe9013e7cce35d2c33c...bitcoin-linux-0.18-res.ymlb8d740789191efcb78ff6e39fcba8346...bitcoin-linux-build.log3af4cf65c896cf2d5709163744370eb9...bitcoin-osx-0.18-res.yml2d6428ec525c6d8665575c4c97fa1c16...bitcoin-osx-build.log3452dc2b5efddd8ed6becdfb2b93a4f2...bitcoin-win-0.18-res.yml5ab2c4fe58392d6eb53762fd5578b828...bitcoin-win-build.log
Gitian builds for commit 830fd7c66bef66cac0acd33d4300f04cea47a8c1 (master and this pull):
c9066fbb8d8c8d14012733eff43571cd...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gzeee552e72d9a252626bfe97ccd3fd7f0...bitcoin-0.17.99-aarch64-linux-gnu.tar.gz5e351a50e9f5534952107047b7da4cf8...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gza9b8428ec340186068cc89aceaddd134...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gz2849807e7c9435f2234c1cc6a7a97941...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gz8849a799a72210b16169cfc352b40941...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gzfea5444de3338d1bb392f619000b8ce9...bitcoin-0.17.99-osx-unsigned.dmg637b14159e0a6ab9fbc4a9c609272d84...bitcoin-0.17.99-osx64.tar.gz911ce38dc94367a0d22a6eb6bbd229f9...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gz8b6d6f0a0d1bcc08aad10fffb03459e5...bitcoin-0.17.99-riscv64-linux-gnu.tar.gzf5c65fd4ed1416a08237d7c51f79114a...bitcoin-0.17.99-win32-debug.zipdd2461039b53b06f0a61929d0d42d332...bitcoin-0.17.99-win32-setup-unsigned.exed4b0ff45f62d0fbe793f4ec221e2cbb0...bitcoin-0.17.99-win32.zip39aeb39961672e76f4d705d8e7871012...bitcoin-0.17.99-win64-debug.zip8fdfa44fd0ec9dce7c3514a5897dfe37...bitcoin-0.17.99-win64-setup-unsigned.exe314ae1da7ea2eff3be50b49f21719ee6...bitcoin-0.17.99-win64.zipbd5a020c957b48c09e0ae2b271e2bee2...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gz33e68b4e85efa071933d0f98c6206e17...bitcoin-0.17.99-x86_64-linux-gnu.tar.gzfb01d27dd2814690127acddf013f5204...bitcoin-0.17.99.tar.gz7c48d9dbe94d6b8a0dd3bf5a631f68e6...bitcoin-linux-0.18-res.ymlbb2f90c4ad57bf82148a20f72205833e...bitcoin-linux-build.logfb9d09a37539377322656904ab836504...bitcoin-osx-0.18-res.yml70b15b2a3557992ed3fb5989d852ec1c...bitcoin-osx-build.logd644e2aa4ddb37dccd2078ff534ddc62...bitcoin-win-0.18-res.ymlc5e186d962b1d1ce5e0f8bdd4f6f8567...bitcoin-win-build.log
- DrahtBot removed the label Needs gitian build on Jan 10, 2019
-
practicalswift commented at 5:26 PM on January 10, 2019: contributor
utACK fad058a79fe6f8d85e408d1c1954de8b86944039
- MarcoFalke merged this on Jan 10, 2019
- MarcoFalke closed this on Jan 10, 2019
- MarcoFalke referenced this in commit b68bac83d9 on Jan 10, 2019
- MarcoFalke deleted the branch on Jan 10, 2019
- random-zebra referenced this in commit 44b5327e61 on May 28, 2021
- PastaPastaPasta referenced this in commit 50221d6ef8 on Jun 26, 2021
- PastaPastaPasta referenced this in commit 5983a8877d on Jun 28, 2021
- MarcoFalke locked this on Dec 16, 2021