From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH RFC v2 0/7] Fuzzing targets for oss-fuzz
Date: Fri, 9 Dec 2016 12:23:18 +0000 [thread overview]
Message-ID: <1481286205-4373-1-git-send-email-wei.liu2@citrix.com> (raw)
Hi all
This series adds two fuzzing targets to run in Google's oss-fuzz
infrastructure.
There will be some other patches on the oss-fuzz side. Their recommendation is
to have all the fuzzing targets committed in our tree so that they can be
kept up to date.
The fuzzing targets aren't very sophiscated at the moment. The purpose of
this series is to gather feedback at this early stage.
We can always improve the fuzzing code in the future.
Wei.
v2:
1. Share more code between existing test code and fuzzing target.
2. More details in README.
Wei Liu (7):
tools/fuzz: introduce libelf target
x86emul/test: factor out emul_test_make_stack_executable
x86emul/test: factor out emul_test_{read_cr,cpuid}
x86emul/test: remove unused macros
tools/fuzz: introduce x86 instruction emulator target
tools: hook up fuzz directory
tools/fuzz: add README
.gitignore | 1 +
tools/Makefile | 1 +
tools/fuzz/Makefile | 11 +
tools/fuzz/README | 39 +++
tools/fuzz/libelf/Makefile | 31 +++
tools/fuzz/libelf/libelf-fuzzer.c | 32 +++
tools/fuzz/x86_instruction_emulator/Makefile | 31 +++
.../x86-insn-emulator-fuzzer.c | 262 +++++++++++++++++++++
tools/tests/x86_emulator/test_x86_emulator.c | 93 +-------
tools/tests/x86_emulator/x86_emulate.c | 61 +++++
tools/tests/x86_emulator/x86_emulate.h | 22 ++
xen/common/libelf/libelf-private.h | 2 +
12 files changed, 502 insertions(+), 84 deletions(-)
create mode 100644 tools/fuzz/Makefile
create mode 100644 tools/fuzz/README
create mode 100644 tools/fuzz/libelf/Makefile
create mode 100644 tools/fuzz/libelf/libelf-fuzzer.c
create mode 100644 tools/fuzz/x86_instruction_emulator/Makefile
create mode 100644 tools/fuzz/x86_instruction_emulator/x86-insn-emulator-fuzzer.c
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2016-12-09 12:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-09 12:23 Wei Liu [this message]
2016-12-09 12:23 ` [PATCH RFC v2 1/7] tools/fuzz: introduce libelf target Wei Liu
2016-12-09 12:23 ` [PATCH RFC v2 2/7] x86emul/test: factor out emul_test_make_stack_executable Wei Liu
2016-12-09 13:10 ` Jan Beulich
2016-12-09 12:23 ` [PATCH RFC v2 3/7] x86emul/test: factor out emul_test_{read_cr, cpuid} Wei Liu
2016-12-09 13:13 ` Jan Beulich
2016-12-09 13:35 ` Wei Liu
2016-12-09 12:23 ` [PATCH RFC v2 4/7] x86emul/test: remove unused macros Wei Liu
2016-12-09 13:15 ` Jan Beulich
2016-12-09 13:35 ` Wei Liu
2016-12-09 12:23 ` [PATCH RFC v2 5/7] tools/fuzz: introduce x86 instruction emulator target Wei Liu
2016-12-09 13:22 ` Jan Beulich
2016-12-09 12:23 ` [PATCH RFC v2 6/7] tools: hook up fuzz directory Wei Liu
2016-12-09 12:23 ` [PATCH RFC v2 7/7] tools/fuzz: add README Wei Liu
2016-12-09 13:07 ` [PATCH RFC v2 0/7] Fuzzing targets for oss-fuzz Jan Beulich
2016-12-09 13:09 ` Wei Liu
2016-12-09 13:25 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481286205-4373-1-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).