New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 853017 link

Starred by 2 users

Issue metadata

Status: Fixed
Closed: Aug 17
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

issue 648042
issue 853195

Sign in to add a comment

Add support for libprotobuf-mutator to Chrome OS

Project Member Reported by, Jun 14

Issue description

There 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.

Blocking: 648042
Components: Tools>ChromeOS-Toolchain
Labels: OS-Chrome
Blocking: 853195
Status: Assigned (was: Available)
Here is an initial ebuild:

Unfortunately a cmake bug in FindThreads related to cross compiling breaks it.
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.
4.2 KB Download
I was able to work around the problem by setting:
I have uploaded a new patchset that works. I am still testing for arm though.
Project Member

Comment 11 by, Aug 17

The following revision refers to this bug:

commit 6a1593df5d2b6f967bfbc3b48da5c97158a62476
Author: Allen Webb <>
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 <>
Reviewed-by: Manoj Gupta <>
Reviewed-by: Mike Frysinger <>


Status: Fixed (was: Assigned)
Thanks Allen!
I'll add something to the Chrome OS docs about this.

Sign in to add a comment