Nick Jenkins schrieb:
Hi All,
The source code to a MediaWiki Parser fuzz-tester is now available online at:
http://files.nickj.org/MediaWiki/wiki-mangleme.phps
Some of the problems it has found are listed at:
http://nickj.org/MediaWiki
Nice! After hearing about fuzzing on the last CCC in Berlin, I did
wonder if this could be a parser test. Glad someone finally implemented
it, and the results show it was worth the effort.
Just for fun (and to boast of course;-) I ran some of the examples
through my wiki-to-XML parser [1], and it seems impervious to them (the
ones I've tested, anyway), as it renders invalid XML and wiki markup as
plain text. Maybe I should adapt the fuzzer to do testing automatically,
just to be sure (and maybe find some bugs).
Magnus
[1]
http://tools.wikimedia.de/~magnus/wiki2xml/w2x.php