Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

CWE IDs mapped to Klocwork C# checkers

See also C# checker reference.

CWE ID Klocwork Checker Code and Description
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CS.SQL.INJECT.LOCAL  

CWE-192: Integer Coercion Error

CS.FLOAT.EQCHECK  

CS.FRACTION.LOSS  

CWE-248: Uncaught Exception

CS.EMPTY.CATCH  

CWE-327: Use of a Broken or Risky Cryptographic Algorithm

CS.RCA  

CWE-398: Indicator of Poor Code Quality

CS.ASSIGN.SELF  

CS.CTOR.VIRTUAL  

CS.HIDDEN.MEMBER.LOCAL.CLASS  

CS.HIDDEN.MEMBER.LOCAL.STRUCT  

CS.HIDDEN.MEMBER.PARAM.CLASS  

CS.HIDDEN.MEMBER.PARAM.STRUCT  

CS.IFACE.EMPTY  

CS.LOOP.STR.CONCAT  

CWE-404: Improper Resource Shutdown or Release

CS.RLK  

CWE-476: NULL Pointer Dereference

CS.NRE.CHECK.CALL.MIGHT  

CS.NRE.CHECK.CALL.MUST  

CS.NRE.CHECK.MIGHT  

CS.NRE.CHECK.MUST  

CS.NRE.CONST.CALL  

CS.NRE.CONST.DEREF  

CS.NRE.FUNC.CALL.MIGHT  

CS.NRE.FUNC.CALL.MUST  

CS.NRE.FUNC.MIGHT  

CS.NRE.FUNC.MUST  

CS.NRE.GEN.CALL.MIGHT  

CS.NRE.GEN.CALL.MUST  

CS.NRE.GEN.MIGHT  

CS.NRE.GEN.MUST  

CS.RNRE  

CWE-570: Expression is Always False

CS.CMP.VAL.NULL  

CS.CONSTCOND.DO  

CS.CONSTCOND.IF  

CS.CONSTCOND.SWITCH  

CS.CONSTCOND.TERNARY  

CS.CONSTCOND.WHILE  

CWE-596: Incorrect Semantic Object Comparison

CS.WRONGUSE.REFEQ  

CWE-704: Incorrect Type Conversion or Cast

CS.UNCHECKED.CAST  

CS.UNCHECKED.LOOPITER.CAST  

CS.WRONG.CAST  

CS.WRONG.CAST.MIGHT  

CWE-732: Incorrect Permission Assignment for Critical Resource

CS.NPS  

CWE-783: Operator Precedence Logic Error

CS.OVRD.EQUALS  

CS.WRONGSIG.CMPTO  

Support Summary:

  • 12 rules