LWN.net Logo

Definition of Defects

Definition of Defects

Posted Dec 15, 2003 18:52 UTC (Mon) by JoeBuck (subscriber, #2330)
In reply to: Definition of Defects by ncm
Parent article: Reasoning Study Reveals Code Quality of MySQL

Tools like valgrind can only find a flaw if you have a testcase that tweaks the flaw. If the code contains a buffer overflow, valgrind won't help you find it if no input testcase overflows the buffer.

Static analysis, on the other hand, can find many buffer overflows without any test cases.


(Log in to post comments)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds