[PATCH] D28348: [analyzer] Taught the analyzer about Glib API to check Memory-leak

Leslie Zhai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 18:13:03 PST 2017


xiangzhai updated this revision to Diff 84209.
xiangzhai added a comment.

Hi Anna,

Thanks for your review!

I process them (for example, g_malloc_n, take a different number of arguments) separately.

And I run the testcases for Analysis/malloc.c and Analysis/gmalloc.c

Regards,
Leslie Zhai


Repository:
  rL LLVM

https://reviews.llvm.org/D28348

Files:
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  test/Analysis/gmalloc.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28348.84209.patch
Type: text/x-patch
Size: 13264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170113/469cc4fb/attachment-0001.bin>


More information about the cfe-commits mailing list