Uh oh!
There was an error while loading. Please reload this page.
ARROW-1589: [C++] Fuzzing for certain input formats - #1529
Conversation
9ecba95 to
1bd1c97Compare
wesm
left a comment
There was a problem hiding this comment.
I'd prefer to organize this code a little bit closer to the things that are being tested, like the benchmarks and unit tests. So we could have an arrow/ipc/ipc-fuzzing-test.cc executable, etc. Otherwise this looks like a great start, thanks for setting this up
xhochy
commented
Feb 1, 2018
Trying to set this up and stumbled over the missing |
crepererum
commented
Feb 2, 2018
I've reworked the source file organization as @wesm suggested. Also --- as a nice side effect --- I've added a helper to add other fuzzing tests more easily in the future (similar to the way arrow defines tests executables). Regarding |
crepererum
commented
Feb 2, 2018
Does someone know why the tests are failing here? |
xhochy
commented
Feb 2, 2018
@crepererum yes, new brotli version was published on conda-forge today, so no problem in your code. |
wesm
commented
Feb 2, 2018
I will take this for a drive locally and then merge. Thanks @crepererum! |
xhochy
left a comment
There was a problem hiding this comment.
+1, got this to work on Ubuntu 17.04
apt install clang-5.0 libfuzzer-5.0-dev
symlink /usr/lib/libLLVMFuzzer.a to /usr/lib/llvm-5.0/lib/libFuzzer.a
then build in debug mode with the compiler set and it works.
See https://issues.apache.org/jira/browse/ARROW-1589
This only implements the fuzzer for a single input path, but since it also sets up the fuzzing infrastructure, it should be easy to add more tests (feel free to propose some of them to be included in this PR as well).