[webkit-changes] [WebKit/WebKit] bc1c19: [Static Analyzer CI] Rename scripts and processes ...

Brianna Fan noreply at github.com
Wed Oct 2 21:46:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc1c19d5d9028c4bed727da393f371de3997f17e
      https://github.com/WebKit/WebKit/commit/bc1c19d5d9028c4bed727da393f371de3997f17e
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M Tools/CISupport/build-webkit-org/config.json
    M Tools/CISupport/build-webkit-org/factories.py
    M Tools/CISupport/build-webkit-org/factories_unittest.py
    M Tools/CISupport/build-webkit-org/steps.py
    M Tools/CISupport/build-webkit-org/steps_unittest.py
    M Tools/CISupport/ews-build/config.json
    M Tools/CISupport/ews-build/events.py
    M Tools/CISupport/ews-build/factories.py
    M Tools/CISupport/ews-build/factories_unittest.py
    M Tools/CISupport/ews-build/loadConfig.py
    M Tools/CISupport/ews-build/steps.py
    M Tools/CISupport/ews-build/steps_unittest.py
    R Tools/Scripts/smart-pointer-tool
    A Tools/Scripts/update-safer-cpp-expectations

  Log Message:
  -----------
  [Static Analyzer CI] Rename scripts and processes from smart pointer to safer CPP
https://bugs.webkit.org/show_bug.cgi?id=280729
rdar://137096120

Reviewed by Ryosuke Niwa and Ryan Haddad.

Reflect the nature of our static analysis better by changing references to smart pointer
to safer cpp or static analysis.

Also updated build summary for build-webkit-org DisplaySaferCPPResults to be more accurate
and useful based on the results. Added unittests for DisplaySaferCPPResults.

* Tools/Scripts/update-safer-cpp-expectations:
    Renamed from Tools/Scripts/smart-pointer-tool.
    Allow the user to pass in any filename if arguments are specified correctly.
(parser): Add arguments for adding and removing failures, specifying project name.
(modify_expectations_for_checker):
(update_expectations):
(is_expected_file):
(main):

* Tools/CISupport/build-webkit-org/config.json:
* Tools/CISupport/build-webkit-org/factories.py:
(SaferCPPStaticAnalyzerFactory):
(SaferCPPStaticAnalyzerFactory.__init__):
* Tools/CISupport/build-webkit-org/factories_unittest.py:
(TestExpectedBuildSteps):
* Tools/CISupport/build-webkit-org/steps.py:
(ScanBuild):
(ScanBuild.run):
(DisplaySaferCPPResults):
(UpdateSaferCPPBaseline):
* Tools/CISupport/build-webkit-org/steps_unittest.py:
* Tools/CISupport/ews-build/config.json:
* Tools/CISupport/ews-build/events.py:
(Events):
* Tools/CISupport/ews-build/factories.py:
(SaferCPPStaticAnalyzerFactory):
(SaferCPPStaticAnalyzerFactory.__init__):
* Tools/CISupport/ews-build/factories_unittest.py:
(TestExpectedBuildSteps):
* Tools/CISupport/ews-build/loadConfig.py:
* Tools/CISupport/ews-build/steps.py:
(UpdatePullRequest.hideStepIf):
(ScanBuild):
(ScanBuildWithoutChange):
(FindUnexpectedStaticAnalyzerResults.run):
(DisplaySaferCPPResults):
(DisplaySaferCPPResults.getResultSummary):
* Tools/CISupport/ews-build/steps_unittest.py:

Canonical link: https://commits.webkit.org/284596@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list