[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
Wed Feb 22 01:19:11 PST 2017


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

Fixed the confused

  State->getSVal(CE->getArg(1), C.getLocationContext());

with

  CE->getArg(1)

issue.


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.89333.patch
Type: text/x-patch
Size: 19889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170222/b6c22391/attachment-0001.bin>


More information about the cfe-commits mailing list