From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFjsr-0006jD-Ic for qemu-devel@nongnu.org; Fri, 08 Aug 2014 09:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFjsj-0007D0-4u for qemu-devel@nongnu.org; Fri, 08 Aug 2014 09:07:01 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:50809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFjsi-0007Cm-U1 for qemu-devel@nongnu.org; Fri, 08 Aug 2014 09:06:53 -0400 Received: by mail-wg0-f50.google.com with SMTP id n12so5535445wgh.33 for ; Fri, 08 Aug 2014 06:06:52 -0700 (PDT) Date: Fri, 8 Aug 2014 14:06:48 +0100 From: Stefan Hajnoczi Message-ID: <20140808130648.GE15209@stefanha-thinkpad.redhat.com> References: <719ffdc070c37efbc7a993fd6b8b35958957f5ea.1407328960.git.maria.k@catit.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dzs2zDY0zgkG72+7" Content-Disposition: inline In-Reply-To: <719ffdc070c37efbc7a993fd6b8b35958957f5ea.1407328960.git.maria.k@catit.be> Subject: Re: [Qemu-devel] [PATCH V5 3/5] fuzz: Fuzzing functions for qcow2 images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Maria Kustova Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, Maria Kustova --Dzs2zDY0zgkG72+7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2014 at 05:12:48PM +0400, Maria Kustova wrote: > The fuzz submodule of the qcow2 image generator contains fuzzing function= s for > image fields. > Each fuzzing function contains a list of constraints and a call of a help= er > function that randomly selects a fuzzed value satisfied to one of constra= ints. > For now constraints include only known as invalid or potentially dangerous > values. But after investigation of code coverage by fuzz tests they will = be > expanded by heuristic values based on inner checks and flows of a program > under test. >=20 > Now fuzzing of a header, header extensions and a backing file name is > supported. >=20 > Signed-off-by: Maria Kustova > --- > tests/image-fuzzer/qcow2/fuzz.py | 327 +++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 327 insertions(+) > create mode 100644 tests/image-fuzzer/qcow2/fuzz.py Reviewed-by: Stefan Hajnoczi --Dzs2zDY0zgkG72+7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT5MtoAAoJEJykq7OBq3PINtAH/j5B44Axn+C17KXkv5Hp5qmJ wFsjjYJ99bonaOMWtkYWC1LSNJ+zhdF5XmkVK002gLXYlZvbkXjZwtRvGikHb2EJ LnaZi4qom7XvsQQB8ctNXB4m8Xrb1IT+GxRmGmUIqzhgZ5AaU8wFES6TQv1zaves nDpdzFyxk35Y6Vy7r5A4jxUkPQArx8weSGWLHaEZklDFv3fWcGHO2MRBhf7wOFrg XSCocV8Xw0IOOE4NzORdJ38KfKlFizNvIydX4QY+Ve+YLrERdhUre9PZyxxT0Td8 uVfyW4Z3jYl5lFan0GVMTOB04b7StRg2iQUE3HI/2LBUvtG97BogkxZvqwZQRqk= =nlJd -----END PGP SIGNATURE----- --Dzs2zDY0zgkG72+7--