From: Eric Blake <eblake@redhat.com>
To: Maria Kustova <maxa@catit.be>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, famz@redhat.com,
Maria Kustova <maria.k@catit.be>,
stefanha@redhat.com
Subject: Re: [Qemu-devel] [RFC 2/3] image-fuzzer: Initial generator of qcow2 fuzzed images
Date: Wed, 18 Jun 2014 09:35:29 -0600 [thread overview]
Message-ID: <53A1B1C1.2020703@redhat.com> (raw)
In-Reply-To: <0d9b1e22db2b42ac007b4e0e5388b4dafaa18e2a.1403103678.git.maria.k@catit.be>
[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]
On 06/18/2014 09:29 AM, Maria Kustova wrote:
> Qcow2 image generator is a python package providing create_image(img_path)
> method required by the test runner.
> It generates files containing fuzzed qcow2 image headers. Files are randomly
> variable not only in fuzzed fields but in valid structure elements like image
> and cluster size.
>
> Signed-off-by: Maria Kustova <maria.k@catit.be>
> ---
> tests/image-fuzzer/qcow2/__init__.py | 1 +
> tests/image-fuzzer/qcow2/fuzz.py | 271 +++++++++++++++++++++++++++++++++++
> tests/image-fuzzer/qcow2/layout.py | 125 ++++++++++++++++
> 3 files changed, 397 insertions(+)
> create mode 100644 tests/image-fuzzer/qcow2/__init__.py
> create mode 100644 tests/image-fuzzer/qcow2/fuzz.py
> create mode 100644 tests/image-fuzzer/qcow2/layout.py
>
> diff --git a/tests/image-fuzzer/qcow2/__init__.py b/tests/image-fuzzer/qcow2/__init__.py
> new file mode 100644
> index 0000000..e2ebe19
> --- /dev/null
> +++ b/tests/image-fuzzer/qcow2/__init__.py
> @@ -0,0 +1 @@
> +from layout import create_image
> diff --git a/tests/image-fuzzer/qcow2/fuzz.py b/tests/image-fuzzer/qcow2/fuzz.py
> new file mode 100644
> index 0000000..214dd7c
> --- /dev/null
> +++ b/tests/image-fuzzer/qcow2/fuzz.py
> @@ -0,0 +1,271 @@
> +# Fuzzing functions for qcow2 fields
> +#
> +# Copyright (C) 2014 Maria Kustova <maria.k@catit.be>
> +#
> +# This program is free software: you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation, either version 3 of the License, or
> +# (at your option) any later version.
Won't work. Qemu HAS to ship as GPLv2 because it contains some
GPLv2-only code; GPLv3+ is incompatible with GPLv2. You'll need to
relax your license (GPLv2+ is ideal, but anything even looser, such as
LGPLv2+ or BSD also works).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2014-06-18 15:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 15:29 [Qemu-devel] [RFC 0/3] image-fuzzer: Initial image generator and extended runner Maria Kustova
2014-06-18 15:29 ` [Qemu-devel] [RFC 1/3] image-fuzzer: runner: Added execution of multiple tests Maria Kustova
2014-06-18 15:29 ` [Qemu-devel] [RFC 2/3] image-fuzzer: Initial generator of qcow2 fuzzed images Maria Kustova
2014-06-18 15:35 ` Eric Blake [this message]
2014-06-23 12:20 ` Markus Armbruster
2014-06-18 15:29 ` [Qemu-devel] [RFC 3/3] image-fuzzer: docs: Added description for the qcow2 image generator Maria Kustova
-- strict thread matches above, loose matches on Subject: below --
2014-06-18 16:14 [Qemu-devel] [RFC 0/3] image-fuzzer: Initial image generator and extended runner Maria Kustova
2014-06-18 16:14 ` [Qemu-devel] [RFC 2/3] image-fuzzer: Initial generator of qcow2 fuzzed images Maria Kustova
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=53A1B1C1.2020703@redhat.com \
--to=eblake@redhat.com \
--cc=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=maria.k@catit.be \
--cc=maxa@catit.be \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.