[all-commits] [llvm/llvm-project] d65379: [analyzer] Remove the loop from the exploded graph...

isuckatcs via All-commits all-commits at lists.llvm.org
Fri Mar 3 17:02:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d65379c8d4768ddae143672f5d4827acafe22553
      https://github.com/llvm/llvm-project/commit/d65379c8d4768ddae143672f5d4827acafe22553
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M clang/include/clang/Analysis/ProgramPoint.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
    A clang/test/Analysis/PR60412.cpp
    A clang/test/Analysis/analysis-after-multiple-dtors.cpp
    M clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp

  Log Message:
  -----------
  [analyzer] Remove the loop from the exploded graph caused by missing information in program points

This patch adds CFGElementRef to ProgramPoints
and helps the analyzer to differentiate between
two otherwise identically looking ProgramPoints.

Fixes #60412

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




More information about the All-commits mailing list