- Feb 26, 2013
-
-
Kostya Serebryany authored
llvm-svn: 176079
-
Kostya Serebryany authored
[asan] fix the output for range accesses (memset, etc); improve the tests; more strict checking in memcmp llvm-svn: 176078
-
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
-
Alexey Samsonov authored
llvm-svn: 176013
-
Alexey Samsonov authored
llvm-svn: 176012
-
- Feb 23, 2013
-
-
Richard Smith authored
llvm-svn: 175948
-
- 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
-
Evgeniy Stepanov authored
MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and dynamically generated code for MSan. llvm-svn: 175883
-
Kostya Serebryany authored
llvm-svn: 175871
-
- Feb 21, 2013
-
-
Alexander Potapenko authored
[ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest. llvm-svn: 175766
-
Alexander Potapenko authored
Because the interceptors will reside in a dylib, not the main executable, we can't just declare them, but must use the interposition machinery. Fix the test expectations in large_func_test.cc affected by the change. This CL should make our Mac buildbots green. llvm-svn: 175763
-
Alexander Potapenko authored
llvm-svn: 175760
-
Alexander Potapenko authored
llvm-svn: 175745
-
Alexander Potapenko authored
llvm-svn: 175743
-
Alexander Potapenko authored
that had been used on OS X only. The INTERCEPTOR() macro on OS X is now responsible for declaring the wrapped function, the wrapper and the pair of pointers to them in __DATA,__interposition section. Thus adding an interceptor requires editing a single file now. llvm-svn: 175740
-
Evgeniy Stepanov authored
llvm-svn: 175737
-
Kostya Serebryany authored
llvm-svn: 175728
-
- 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
-
Alexey Samsonov authored
llvm-svn: 175655
-
Alexander Potapenko authored
[ASan] Delete asan/dynamic dir and temporarily move the interposers declarations to asan_intercepted_functions.h Now that we have only one dependency on asan_intercepted_functions.h, we can unite that code with the interceptors declarations in asan_interceptors.cc and get rid of asan_intercepted_functions.h llvm-svn: 175631
-
Alexander Potapenko authored
llvm-svn: 175629
-
Kostya Serebryany authored
llvm-svn: 175625
-
Kostya Serebryany authored
llvm-svn: 175623
-
Alexey Samsonov authored
llvm-svn: 175622
-
Kostya Serebryany authored
llvm-svn: 175618
-
Evgeniy Stepanov authored
llvm-svn: 175615
-
Kostya Serebryany authored
llvm-svn: 175614
-
- Feb 19, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 175515
-
Kostya Serebryany authored
llvm-svn: 175514
-
Evgeniy Stepanov authored
This way it fits on a random 1G device. llvm-svn: 175513
-
Alexey Samsonov authored
[ASan] Allow ASan default runtime options be overriden at compile time by providing ASAN_DEFAULT_OPTIONS macro llvm-svn: 175512
-
Alexey Samsonov authored
llvm-svn: 175511
-
Evgeniy Stepanov authored
llvm-svn: 175510
-
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
-
Kostya Serebryany authored
llvm-svn: 175498
-