[all-commits] [llvm/llvm-project] eda098: [clang][analyzer] Fix a crash in alpha.unix.BlockI...

Endre Fülöp via All-commits all-commits at lists.llvm.org
Wed May 15 07:26:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda098aadea3e542f95b5f0d4173f00eae42dc72
      https://github.com/llvm/llvm-project/commit/eda098aadea3e542f95b5f0d4173f00eae42dc72
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
    A clang/test/Analysis/block-in-critical-section.c

  Log Message:
  -----------
  [clang][analyzer] Fix a crash in alpha.unix.BlockInCriticalSection (#90030)

When analyzing C code with function pointers the checker crashes because
of how the implementation extracts `IdentifierInfo`. Without the fix, this
test crashes.



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


More information about the All-commits mailing list