hanchenye-llvm-project/clang/test
Ted Kremenek 17504bea33 Rework StackAddrLeakChecker to find stores of stack memory addresses to global variables
by inspecting the Store bindings instead of iterating over all the global variables
in a translation unit.  By looking at the store directly, we avoid cases where we cannot
directly load from the global variable, such as an array (which can result in an assertion failure)
and it also catches cases where we store stack addresses to non-scalar globals.
Also, but not iterating over all the globals in the translation unit, we maintain cache
locality, and the complexity of the checker becomes restricted to the complexity of the
analyzed function, and doesn't scale with the size of the translation unit.

This fixes PR 7383.

llvm-svn: 106184
2010-06-17 00:24:44 +00:00
..
ASTMerge Hack in some really terrible C++ record PCH support that I need right now. 2010-06-03 19:28:45 +00:00
Analysis Rework StackAddrLeakChecker to find stores of stack memory addresses to global variables 2010-06-17 00:24:44 +00:00
CXX Downgrade the error when using a typedef in the nested-name-specifier 2010-06-16 16:26:47 +00:00
CodeCompletion Make -code-completion-patterns only cover multi-line code 2010-05-28 00:22:41 +00:00
CodeGen Change the test for which ABI/CC to use on ARM to be base on the environment 2010-06-16 19:01:17 +00:00
CodeGenCXX Change the test for which ABI/CC to use on ARM to be base on the environment 2010-06-16 19:01:17 +00:00
CodeGenObjC Fix tests that I missed from my previous commit. 2010-06-16 17:49:52 +00:00
CodeGenObjCXX Moved objective-c++ code gen. tests to their own directory and 2010-06-15 23:49:10 +00:00
Coverage "this patch properly addresses escaping < and > which might appear 2010-05-12 23:27:11 +00:00
Driver Fix typo. 2010-06-15 08:21:35 +00:00
FixIt Tweak test for non-64-bit Darwin 2010-05-31 14:58:57 +00:00
Frontend tests: Update Frontend config to actually run ir-support tests. 2010-06-16 20:04:36 +00:00
Headers Make sure we don't include mm_malloc.h in this test, it includes errno.h which 2010-03-26 20:17:23 +00:00
Index Make the "extra ';' inside a struct or union" diagnostic more 2010-06-16 23:08:59 +00:00
Lexer Daniel re-educated me about what Alias does and does not do. Turn that off for 2010-05-22 02:21:53 +00:00
Misc Testcase for r103712. 2010-05-13 12:04:17 +00:00
PCH Fix PCH issue. Attributes of a declaration were truncated to just one when the decl was read from a PCH file. 2010-06-11 23:09:25 +00:00
Parser Allow an asm label specifier on C++ methods, like GCC does. 2010-06-13 05:34:18 +00:00
Preprocessor fix PR7360: -P mode turns off line markers, but not blank space. 2010-06-12 16:20:56 +00:00
Rewriter Patch to rewrite block pointers as arguments to 2010-05-25 15:56:08 +00:00
Sema Extend format string type-checking to include '%p'. Fixes remaining cases PR 4468. 2010-06-16 21:23:04 +00:00
SemaCXX When parsing cached C++ method declarations/definitions, save the 2010-06-16 23:45:56 +00:00
SemaObjC Extend format string type-checking to include '%p'. Fixes remaining cases PR 4468. 2010-06-16 21:23:04 +00:00
SemaObjCXX Fix the recently-added warning about 'typename' and 'template' 2010-06-16 22:31:08 +00:00
SemaTemplate When we see a 'template' disambiguator that marks the next identifier 2010-06-16 23:00:59 +00:00
CMakeLists.txt Add test cases for r98003 and r98006. 2010-03-08 23:38:27 +00:00
Makefile Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile. 2010-06-08 20:34:18 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg tests: Mangle '-vg' onto the end of the triple when running under valgrind, so 2010-03-20 21:13:08 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl