[PATCH] D76830: [Analyzer][MallocChecker] No warning for kfree of ZERO_SIZE_PTR.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 12:01:25 PDT 2020


Szelethus accepted this revision.
Szelethus added a comment.

LGTM, thanks!



================
Comment at: clang/test/Analysis/kmalloc-linux-1.c:1
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=unix.Malloc -verify %s
+
----------------
Oh, I almost forgot, the `core` package is supposed to be present :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76830/new/

https://reviews.llvm.org/D76830





More information about the cfe-commits mailing list