[all-commits] [llvm/llvm-project] d1b2a5: [clang-tidy] Add signal-handler-check for SEI CERT...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Wed Nov 4 07:36:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1b2a523191e22806aee381d54015b94b9dcad7a
      https://github.com/llvm/llvm-project/commit/d1b2a523191e22806aee381d54015b94b9dcad7a
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
    M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
    A clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
    A clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
    M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/bugprone-signal-handler.rst
    A clang-tools-extra/docs/clang-tidy/checks/cert-sig30-c.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h
    A clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stdlib.h
    A clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler.c

  Log Message:
  -----------
  [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C

SIG30-C. Call only asynchronous-safe functions within signal handlers

First version of this check, only minimal list of functions is allowed
("strictly conforming" case), for C only.

Differential Revision: https://reviews.llvm.org/D87449




More information about the All-commits mailing list