- Mar 13, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 176938
-
Evgeniy Stepanov authored
llvm-svn: 176937
-
Alexey Samsonov authored
llvm-svn: 176935
-
Alexey Samsonov authored
llvm-svn: 176932
-
Alexey Samsonov authored
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev. llvm-svn: 176931
-
- Mar 12, 2013
-
-
Kostya Serebryany authored
[sanitizer] use fewer size classes in the allocator to reduce the memory footprint. There is no all-size-fits-all constant here, but this change is positive or neutral on several large apps I've tested llvm-svn: 176855
-
Kostya Serebryany authored
[sanitizer] simplify the allocator's SizeClassMap: do not require an extra template parameter, instead compute it in flight. No functionality change llvm-svn: 176853
-
- Mar 11, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176805
-
Alexander Potapenko authored
[ASan] Reduce the local buffer size in Report() not to fail the check enforced when building TSan runtime. llvm-svn: 176804
-
Alexander Potapenko authored
[ASan] Try to use a small (512 bytes) stack-local buffer in Report() for short messages, fall back to MmapOrDie() in the case of a failure. This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie(). llvm-svn: 176802
-
Alexander Potapenko authored
llvm-svn: 176800
-
Kostya Serebryany authored
llvm-svn: 176799
-
- Mar 06, 2013
-
-
Reid Kleckner authored
pthread_join() returns an error code, not the result of the pthread_create() function like I thought. llvm-svn: 176554
-
Reid Kleckner authored
Summary: Adds a test for this case, which was reduced from a chromium build of WebKit's DumpRenderTree. Reviewers: eugenis CC: glider Differential Revision: http://llvm-reviews.chandlerc.com/D495 llvm-svn: 176552
-
- Mar 05, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176479
-
Alexey Samsonov authored
llvm-svn: 176478
-
- Mar 01, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 176338
-
- Feb 28, 2013
-
-
Alexey Samsonov authored
[Sanitizer] Relax ThreadLister tests to allow possible pre-existing threads. Do proper mutex destruction. Patch by Sergey Matveev llvm-svn: 176249
-
- Feb 27, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176183
-
Alexey Samsonov authored
[UBSan] Use common report decorator to print colorful diagnostics in UBSan, and be more consistent w/ Printf/RawWrite llvm-svn: 176182
-
Kostya Serebryany authored
ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code. Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself. Patch by Sergey Matveev llvm-svn: 176179
-
Kostya Serebryany authored
llvm-svn: 176175
-
- Feb 26, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176091
-
Kostya Serebryany authored
[sanitizer] A low-level vector implementation to be used in leak checking code. Patch by Sergey Matveev llvm-svn: 176089
-
Kostya Serebryany authored
llvm-svn: 176085
-
Kostya Serebryany authored
llvm-svn: 176077
-
- Feb 25, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176020
-
Alexey Samsonov authored
[Sanitizer] fix signed/unsigned compare warnings in sanitizer_stacktrace_test. Build sanitizer_common tests with -Werror as we use predictable just-built Clang for building them llvm-svn: 176014
-
- Feb 22, 2013
-
-
Reid Kleckner authored
Summary: The test sets up fake x86-style fp+retaddr frames, since that's all the unwinder works with. Reviewers: kcc CC: eugenis Differential Revision: http://llvm-reviews.chandlerc.com/D445 llvm-svn: 175893
-
- Feb 20, 2013
-
-
Reid Kleckner authored
Using > instead of >= ensures that each frame deref makes progress and that we eventually terminate. Issue: https://code.google.com/p/address-sanitizer/issues/detail?id=162 llvm-svn: 175661
-
Alexander Potapenko authored
llvm-svn: 175629
-
Alexey Samsonov authored
llvm-svn: 175622
-
Evgeniy Stepanov authored
llvm-svn: 175615
-
- Feb 19, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 175515
-
Evgeniy Stepanov authored
This way it fits on a random 1G device. llvm-svn: 175513
-
Alexey Samsonov authored
llvm-svn: 175511
-
Kostya Serebryany authored
This patch makes asan instrument memory accesses with unusual sizes (e.g. 5 bytes or 10 bytes), e.g. long double or packed structures. Instrumentation is done with two 1-byte checks (first and last bytes) and if the error is found __asan_report_load_n(addr, real_size) or __asan_report_store_n(addr, real_size) is called. asan-rt part Also fix lint. llvm-svn: 175508
-
Evgeniy Stepanov authored
execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable program name. Execute /proc/self/exe instead. llvm-svn: 175504
-
Evgeniy Stepanov authored
llvm-svn: 175503
-
Evgeniy Stepanov authored
llvm-svn: 175499
-