[PATCH] D30771: [analyzer] Teach the MallocChecker about Glib API for two arguments

Leslie Zhai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 18 21:43:52 PDT 2017


xiangzhai updated this revision to Diff 95684.
xiangzhai added a subscriber: cfe-commits.
xiangzhai added a comment.

Hi Artem,

I updated my patch as you suggested: never using `Arg1Val` after `TotalSize` is computed, on all branches. please review it, thanks a lot!

Regards,
Leslie Zhai


Repository:
  rL LLVM

https://reviews.llvm.org/D30771

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30771.95684.patch
Type: text/x-patch
Size: 15296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170419/122fb8c0/attachment-0001.bin>


More information about the cfe-commits mailing list