[LLVMbugs] [Bug 16811] New: a static analysis check for properly matched va_start()/va_end() would be useful
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Aug 6 17:18:49 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16811
Bug ID: 16811
Summary: a static analysis check for properly matched
va_start()/va_end() would be useful
Product: clang
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: oohrah at mac.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
>From the OS X man page for va_end:
"Note that each call to va_start() must be matched by a call to va_end(), from
within the same function."
It would be nice if the static analyzer checked if this was done correctly for
every va_start() call and warned about missing or extra calls to va_end().
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130807/9c6e8b11/attachment.html>
More information about the llvm-bugs
mailing list