[all-commits] [llvm/llvm-project] 1614e3: [analyzer][MallocChecker] PR46253: Correctly recog...

Kristóf Umann via All-commits all-commits at lists.llvm.org
Tue Jun 16 08:50:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1614e35408275478b24b45621395e2d9a2e9aa68
      https://github.com/llvm/llvm-project/commit/1614e35408275478b24b45621395e2d9a2e9aa68
  Author: Kirstóf Umann <dkszelethus at gmail.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    M clang/test/Analysis/malloc.cpp

  Log Message:
  -----------
  [analyzer][MallocChecker] PR46253: Correctly recognize standard realloc

https://bugs.llvm.org/show_bug.cgi?id=46253

This is an obvious hack because realloc isn't any more affected than other
functions modeled by MallocChecker (or any user of CallDescription really),
but the nice solution will take some time to implement.

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




More information about the All-commits mailing list