Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32748

Support CWE mapping in upcoming cppcheck 1.73

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cppcheck-plugin
    • None

      Upcoming cppcheck is going to support mappings of cppcheck errors to CWE ids (see http://cwe.mitre.org/).
      Example error message in XML:

      <error id="resourceLeak" severity="error" msg="Resource leak: hFile" verbose="Resource leak: hFile" cwe="775">
                  <location file="shell/source/win32/shlxthandler/infotips/infotips.cxx" line="136"/>
              </error>
      

      Maye be the plugin can show them as well.

            gbois Gregory Boissinot
            amai Alexander Mai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: