- Feb 14, 2013
-
-
Evgeniy Stepanov authored
We are still limited by /proc/*/cmdline size (4Kb max on Linux!). llvm-svn: 175145
-
Kostya Serebryany authored
[asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add -I sanitizer_common/tests to asan/tests/CMakeLists.txt llvm-svn: 175142
-
Kostya Serebryany authored
llvm-svn: 175140
-
Kostya Serebryany authored
llvm-svn: 175137
-
- Feb 13, 2013
-
-
Richard Smith authored
base-to-derived casts have undefined behavior if the object is not actually an instance of the derived type. Runtime library part. llvm-svn: 175079
-
Alexander Potapenko authored
[ASan] When re-executing the process on OS X, make sure we update the existing DYLD_INSERT_LIBRARIES correctly. Previously ASan used to hang in an exec loop, because it failed to overwrite the env var value (see https://code.google.com/p/address-sanitizer/issues/detail?id=159). llvm-svn: 175059
-
Dmitry Vyukov authored
better memory range access functions (put only 1 event to trace) (Go) llvm-svn: 175056
-
Kostya Serebryany authored
llvm-svn: 175049
-
Kostya Serebryany authored
[msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options llvm-svn: 175040
-
Kostya Serebryany authored
llvm-svn: 175037
-
- Feb 12, 2013
-
-
Richard Smith authored
llvm-svn: 175013
-
Evgeniy Stepanov authored
llvm-svn: 174971
-
Evgeniy Stepanov authored
llvm-svn: 174970
-
Evgeniy Stepanov authored
In __isoc99_*scanf we don't have to worry about GNUisms, and can parse %a accurately. Patch by Jakub Jelinek. llvm-svn: 174969
-
Evgeniy Stepanov authored
llvm-svn: 174965
-
Evgeniy Stepanov authored
llvm-svn: 174962
-
Evgeniy Stepanov authored
llvm-svn: 174960
-
Kostya Serebryany authored
[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part llvm-svn: 174958
-
Alexey Samsonov authored
llvm-svn: 174956
-
- Feb 11, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 174888
-
Evgeniy Stepanov authored
Respect REAL(scanf) return value and don't report memory stores that could potentially happen, but did not. llvm-svn: 174887
-
Evgeniy Stepanov authored
llvm-svn: 174883
-
Evgeniy Stepanov authored
Handle %a in cases when it is unambiguous. Handle %m. Patch by Jakub Jelinek. llvm-svn: 174882
-
Evgeniy Stepanov authored
Build system setup for MSan lit tests (build with freshly-built clang, run, check output) - a nearly exact copy from ASan. First 2 lit tests for MSan. llvm-svn: 174876
-
Kostya Serebryany authored
llvm-svn: 174875
-
Evgeniy Stepanov authored
llvm-svn: 174861
-
- Feb 08, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 174710
-
Evgeniy Stepanov authored
llvm-svn: 174708
-
Timur Iskhodzhanov authored
llvm-svn: 174707
-
Timur Iskhodzhanov authored
llvm-svn: 174706
-
Evgeniy Stepanov authored
llvm-svn: 174705
-
Evgeniy Stepanov authored
This a rewrite of the scanf parser. The new implementation is pretty close to the spec, with a few shortcuts taken here and there. It is conservative, i.e. it gives up parsing if it does not understand some part of the format string, or runs into an ambiguous % spec. It does not handle some rarely used parts of the spec, like %n$ - for now. I'm also moving parser call to after the original *scanf function completes, so that we can find out the store size of %s directive by the use of strlen() on the target buffer. llvm-svn: 174704
-
Alexey Samsonov authored
llvm-svn: 174699
-
- Feb 07, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 174635
-
Alexander Potapenko authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=10 for the context. llvm-svn: 174629
-
Alexander Potapenko authored
Enable AddressSanitizer.AllocDeallocMismatch tests. llvm-svn: 174628
-
Alexander Potapenko authored
Also fix large_func_test.cc, which got broken when we switched to allocator2: the OOB access was too far from the original allocation, so ASan decided to describe the next one. llvm-svn: 174626
-
Dmitry Vyukov authored
this is required to catch close of file descriptors created in getaddrinfo() llvm-svn: 174624
-
Dmitry Vyukov authored
llvm-svn: 174622
-
Kostya Serebryany authored
llvm-svn: 174617
-