freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ft-devel] tests


From: George Williams
Subject: RE: [ft-devel] tests
Date: 06 Feb 2005 14:50:20 -0800

Back in the days when I was writing compilers, I stumbled on a testing
system (which I've never seen anyone else use) which finds lots of
parser bugs and is very easy to implement:

Take a collection of good input (programs that parse, real fonts,
whatevers).
Randomly choose one of these.
Find a random offset in that file, and randomly change a single
character.
Parse it.
If the parser crashes, save the file.
Repeat.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]