[PATCH] D32449: Modifying PthreadLockChecker.cpp to reduce false positives.

Malhar Thakkar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 24 12:13:39 PDT 2017


malhar1995 created this revision.

I am currently working on to avoid false positives which currently occur as the return values of mutex functions like pthread_mutex_destroy() are not taken into consideration.

The precise description of the bug can be found here: https://bugs.llvm.org/show_bug.cgi?id=32455

Dr. Devin and Dr. Artem have been guiding me to fix PthreadLockChecker to avoid such false positives. The patch I'm attaching is not 100% correct and hence I need your advice to proceed further.

Thank you.


Repository:
  rL LLVM

https://reviews.llvm.org/D32449

Files:
  lib/.DS_Store
  lib/StaticAnalyzer/.DS_Store
  lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32449.96439.patch
Type: text/x-patch
Size: 8007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170424/93cbda22/attachment.bin>


More information about the cfe-commits mailing list