From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,ee0a9566a4262cc7 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,1f3c2a608dce465a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-04-02 10:34:04 PST Xref: sparky comp.arch:4684 comp.sys.dec:2388 Newsgroups: comp.arch,comp.sys.dec Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!lindsay From: lindsay+@cs.cmu.edu (Donald Lindsay) Subject: Re: Use of "crashme" Message-ID: <1992Apr02.183404.170282@cs.cmu.edu> Date: Thu, 02 Apr 92 18:34:04 GMT Organization: School of Computer Science, Carnegie Mellon Nntp-Posting-Host: gandalf.cs.cmu.edu References: <30532@skye.dcs.ed.ac.uk> <1992Apr1.023104.23047@e2big.mko.dec.com> <26872@wraxall.inmos.co.uk> des@frogland.inmos.co.uk (David Shepherd) writes: >when applying formal methods to the t800 fpu ucode i found a bug that >could only have been found by testing by evaluating > (x * 0) + y, where abs(y) < abs(x) >how long 'till a random code sequence gets that? Right. I recall a program that was extensively machine-tested, using randomly generated parameters. In spite of this, the first real user promptly crashed it. They'd forgotten that most random number generators are tuned to never generate a zero. On the other hand, static methods often incorporate incorrect assumptions, a common one being that the tools are bug-free. When practical, use *all* test methods. -- Don D.C.Lindsay Carnegie Mellon Computer Science