diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-10-23 21:36:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-10-23 21:36:52 +0000 |
commit | 7ab944725ece84b62a19dbefe3ec3e39f066faaa (patch) | |
tree | 9f2d172cd722c6defcf8482595290226e9d20301 /tools/scan-view | |
parent | 57c856b96e6bbfc64c2d61b950b116b523dc3e46 (diff) |
For Radar reporting, null dereferences should be default classified as "Crash/Hang/Data loss" <rdar://problem/6315624>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-view')
-rw-r--r-- | tools/scan-view/Reporter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scan-view/Reporter.py b/tools/scan-view/Reporter.py index d2c107b62e..25c41bcc12 100644 --- a/tools/scan-view/Reporter.py +++ b/tools/scan-view/Reporter.py @@ -164,6 +164,8 @@ class RadarClassificationParameter(SelectionParameter): def getValue(self,r,bugtype,getConfigOption): if bugtype.startswith("leak"): return '3' + elif bugtype.find("dereference") != -1: + return '2' else: return '7' |