[cfe-commits] r58045 - /cfe/trunk/tools/scan-view/Reporter.py
Ted Kremenek
kremenek at apple.com
Thu Oct 23 14:36:53 PDT 2008
Author: kremenek
Date: Thu Oct 23 16:36:52 2008
New Revision: 58045
URL: http://llvm.org/viewvc/llvm-project?rev=58045&view=rev
Log:
For Radar reporting, null dereferences should be default classified as "Crash/Hang/Data loss" <rdar://problem/6315624>
Modified:
cfe/trunk/tools/scan-view/Reporter.py
Modified: cfe/trunk/tools/scan-view/Reporter.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-view/Reporter.py?rev=58045&r1=58044&r2=58045&view=diff
==============================================================================
--- cfe/trunk/tools/scan-view/Reporter.py (original)
+++ cfe/trunk/tools/scan-view/Reporter.py Thu Oct 23 16:36:52 2008
@@ -164,6 +164,8 @@
def getValue(self,r,bugtype,getConfigOption):
if bugtype.startswith("leak"):
return '3'
+ elif bugtype.find("dereference") != -1:
+ return '2'
else:
return '7'
More information about the cfe-commits
mailing list