ASF GitHub Bot commented on ARROW-1589:

crepererum commented on issue #1529: ARROW-1589: [C++] Fuzzing for certain 
input formats
URL: https://github.com/apache/arrow/pull/1529#issuecomment-362577439
   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 `libLLVMFuzzer.a` (@xhochy):
   I've used [this 
 some months ago, but I doesn't work anymore since libfuzzer was integrated 
into `compiler-rt`. I think you can just build `compiler-rt` (you should figure 
out where your `llvm-config` binary is) on it's own and use 
`libclang_rt.fuzzer_osx.a` for that purpose (clone source from 
[here](https://github.com/llvm-mirror/compiler-rt) and use the guide on [this 
page](https://compiler-rt.llvm.org/) for compilation). Or you wait until the 
next LLVM release where this is hopefully integrated by default.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> [C++] Fuzzing for certain input formats
> ---------------------------------------
>                 Key: ARROW-1589
>                 URL: https://issues.apache.org/jira/browse/ARROW-1589
>             Project: Apache Arrow
>          Issue Type: Test
>            Reporter: Marco Neumann
>            Assignee: Marco Neumann
>            Priority: Major
>              Labels: pull-request-available
> The arrow lib should have fuzzing tests for certain input formats, e.g. for 
> reading record batches from streams. Ideally, malformed input must not crash 
> the system but must report a proper error. This could easily be implemented 
> e.g. w/ [libfuzzer|https://llvm.org/docs/LibFuzzer.html] in combination with 
> address sanitizer (that's already implemented by Arrow's build system).

This message was sent by Atlassian JIRA

Reply via email to