Issue metadata
Sign in to add a comment
|
Add support for libprotobuf-mutator to Chrome OS |
||||||||||||||||||||||||
Issue descriptionThere is demand for tooling to write fuzzers that can produce data in a particular format, rather than the byte array produced by libFuzzer. libprotobuf-mutator is a good tool for this. It is used in Chromium for this purpose, but is not yet supported in Chromium OS.
,
Jun 14 2018
,
Jun 15 2018
,
Jun 21 2018
,
Aug 2
,
Aug 16
,
Aug 16
,
Aug 16
Here is an initial ebuild: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/1178463 Unfortunately a cmake bug in FindThreads related to cross compiling breaks it.
,
Aug 16
What error do you see? I was able to build it for amd64-generic (compile only) but had to comment out all code trying to build tests. src_install functions also need to be written to install the built libraries and header.
,
Aug 16
I was able to work around the problem by setting: -DTHREADS_PTHREAD_ARG=-pthread I have uploaded a new patchset that works. I am still testing for arm though.
,
Aug 17
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/6a1593df5d2b6f967bfbc3b48da5c97158a62476 commit 6a1593df5d2b6f967bfbc3b48da5c97158a62476 Author: Allen Webb <allenwebb@google.com> Date: Fri Aug 17 09:13:49 2018 libprotobuf-mutator: Add new ebuild. libprotobuf-mutator implements custom mutators for protocol buffers to enable fuzzing libraries to obtain higher coverage faster. BUG= chromium:853017 TEST=emerge-{BOARD} libprotobuf-mutator Change-Id: I1521324ac263ffc19d375c4d65a567c75e16d283 Signed-off-by: Allen Webb <allenwebb@google.com> Reviewed-on: https://chromium-review.googlesource.com/1178463 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [add] https://crrev.com/6a1593df5d2b6f967bfbc3b48da5c97158a62476/dev-libs/libprotobuf-mutator/libprotobuf-mutator-20180625.ebuild [add] https://crrev.com/6a1593df5d2b6f967bfbc3b48da5c97158a62476/dev-libs/libprotobuf-mutator/Manifest
,
Aug 17
,
Aug 17
Thanks Allen! I'll add something to the Chrome OS docs about this. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by metzman@chromium.org
, Jun 14 2018