[llvm-bugs] [Bug 29069] New: Checking for use of references to an automatic variable outside of its scope
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Aug 20 06:00:52 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29069
Bug ID: 29069
Summary: Checking for use of references to an automatic
variable outside of its scope
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: npm at xionlogic.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17012
--> https://llvm.org/bugs/attachment.cgi?id=17012&action=edit
This archive contains the .cpp file and the makefile described above
Hello, I'd like clang's static code analyser to be able to detect use of
references to an automatic variable outside of its scope. I've attached a
test-case that shows a bit of code that takes pointer to an automatic variable
and use that pointer outside the scope of the original automatic variable. I
have also attached a make file that compiles the .cpp file so that it can be
run with scan-build to run the static code analyser on the .cpp file.
--
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/20160820/af022346/attachment.html>
More information about the llvm-bugs
mailing list