Devin Coughlin

Results comments of Devin Coughlin

Leslie, r290023 changed checkPreStmt to not call any of the check() methods when the function is defined inside a namespace. You can see just the changes in that commit at:...

Oops, never mind. I see you already did. https://reviews.llvm.org/D22419 Thanks!

Thanks for the bug report and the patch! It looks good to me, but would you be willing to put it up on Phabricator so others can take a look?...

Aleksei Sidorin is working on a checker for this in https://reviews.llvm.org/D19979 This particular example is also something the StackAddrEscapeChecker could be extended to check because the bad pointer persists across...

Is it possible the checker is confusing boost::mutex and std::mutex? Also, the alpha checkers are completely unsupported and often unfinished so I wouldn't advise running *all* of them on your...

Fixed this (and a similar issue with kmalloc()) in r284335.

Although this does trigger a warning: test_alloca.c:1:6: warning: incompatible redeclaration of library function 'alloca' [-Wincompatible-library-redeclaration]

Thanks for the report! It looks like the MallocChecker isn't robust against declarations of alloca() that don't match the arity of the standard alloca.