Just in case it is of interest, here is a (badly) modified version
of Michal Zalewski's mangleme more suitable to tidy testing.
Regards,
----- Original Message -----
From: "Arnaud Desitter" <arnaud.desitter@xxxxxxxxxxxxx>
To: <tidy-develop@xxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, October 25, 2004 11:12 AM
Subject: [Tidy-dev] test case generator for tidy
Hi,
A tool reminiscent of "fuzz" that generates random HTML page in described
and available at:
http://www.securityfocus.com/archive/1/378632
Its name is "mangleme".
It quickly generated test cases that makes tidy crash (for instance,
see bug #1050684) or spin infinitely (see 1050673 and 1053626).
With a bit of experimentation, it seems to be two general categories:
- crash due to dereferencing of NULL pointer. It is usually due to
attribute with no value. These bugs are easily fixed (see 1050684
for instance). Tweaking mangleme to generates shorter attributes
names helps to simplify the test cases.
- infinite loops. Much harder to fix IMO. Disabling the attribute
generation in mangleme helps to generates simpler test cases.
It would be nice to add this test tool to the CVS repository. But
is not my decision.
Regards,
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Tidy-develop mailing list
Tidy-develop@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/tidy-develop
mangle.cmd.c
Description: Binary data
testIt
Description: Binary data
tags.h
Description: Binary data