[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
easy to miss bug (even in structured debug)
- To: <tribble>
 
- Subject: easy to miss bug (even in structured debug)
 
- From: Mark S. Miller <mark>
 
- Date: Mon, 20 Nov 89 20:20:45 PST
 
- Cc: <michael>, <roland>, <xtech>
 
- In-reply-to: <Eric>,09 PST <8911202211.AA25538@xanadu>
 
Date: Mon, 20 Nov 89 14:11:09 PST
   From: tribble (Eric Dean Tribble)
   I occasionally worry about bugs resulting from passing NULL pointers
   rather than pointers to objects.  The 'fetch' operations make this
   especially easy.  I check these by considering the types {Foo *|NULL}
   different from {Foo*} when I walk through the code in my mind.
   Is there an anolgous scheme for structured debug?  Can we add this
   stronger type-checking in xlint?
I'll let Michael address the structured debug issues.  
Roland: let's talk about this tomorrow as well.  I think this is
probably easy (or at least possible) to XLint for.