Generate HTML output for Clang Static Analyzer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The analyzer supports generating HTML reports with detailed information about each failure. You can see an example by creating a simple program:

      int foo() {
        return 0;
      }
      
      int main() {
        return 3 / foo();
      }
      

      And running the following command:

      /opt/mongodbtoolchain/v4/bin/clang --analyze -Xclang -analyzer-output=html -o html test.cpp
      

      The goal is to make the toolchain generate HTML reports for Clang Static Analyzer failures.

       

      See additional context in this doc: https://docs.google.com/document/d/1N6NGj6oD6_jRPaDN3D4FQ5g5T-ozzAiOeruAUq3G9-Y/edit?tab=t.g752n4njzbkl

            Assignee:
            Unassigned
            Reporter:
            Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: