- Aug 09, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161576
-
Alexey Samsonov authored
[ASan] Small fix to please tests on Windows, where stack unwinding using provided pc/bp works too bad llvm-svn: 161575
-
Alexey Samsonov authored
llvm-svn: 161574
-
Alexander Potapenko authored
Otherwise Clang eliminates everything after the first interface symbol that is marked noreturn. llvm-svn: 161573
-
Alexey Samsonov authored
llvm-svn: 161572
-
Alexey Samsonov authored
llvm-svn: 161571
-
Alexey Samsonov authored
llvm-svn: 161570
-
Alexey Samsonov authored
llvm-svn: 161569
-
Alexey Samsonov authored
[ASan] Create new files asan_report.{h,cc} as a preparation for refactoring of ASan error reporting code. Currently ASan reports many kinds of errors, and the code that actually prints error messages can be found inside allocator, OS-specific files, interceptors code etc. An example of maintenance troubles this situation causes: There is currently an ASan interface function that registers callback which should take the char buffer with error report printed by ASan. This function is now broken, as one has to insert callback calls to all the places in ASan code where the error reports are printed, surprisingly it is not only "__asan_report_error" function... llvm-svn: 161568
-
- Aug 08, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161485
-
- Aug 07, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161412
-
Alexey Samsonov authored
llvm-svn: 161411
-
Alexey Samsonov authored
llvm-svn: 161406
-
- Aug 06, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161322
-
Alexey Samsonov authored
[ASan] add new ASan option 'strip_path_prefix' to remove useless prefices from filenames in stack traces llvm-svn: 161321
-
Alexander Potapenko authored
AllocationSize(ptr) should check that |ptr| actually points to the beginning of the chunk it belongs to. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=86 llvm-svn: 161320
-
- Aug 02, 2012
-
-
Alexander Potapenko authored
llvm-svn: 161181
-
Alexander Potapenko authored
Some refactoring for asan_symbolize.py: introduced the Symbolizer class and implemented DarwinSymbolizer for atos-based symbolization, BreakpadSymbolizer for breakpad-based symbolization (files produced by the dump_syms tool, http://code.google.com/p/google-breakpad/source/browse/#svn%2Ftrunk%2Fsrc%2Ftools%2Fmac%2Fdump_syms) and ChainSymbolizer to allow falling back if a symbolizer hadn't succeeded. Fixed pylint warnings. llvm-svn: 161176
-
Alexey Samsonov authored
llvm-svn: 161170
-
Alexey Samsonov authored
llvm-svn: 161169
-
Alexey Samsonov authored
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type llvm-svn: 161168
-
Alexander Potapenko authored
Make strcat() and strncat() more standard-compliant (check for invalid parameters even if zero bytes is copied, more accurate overlap check) Fix the tests that were relying on the incorrect behavior. llvm-svn: 161167
-
Alexey Samsonov authored
llvm-svn: 161166
-
- Aug 01, 2012
-
-
Alexander Potapenko authored
Add support for "movsbl %sil,%ecx" (x86_64) and "movsbl $imm(%ebp), %edx" (i386) to our fork of mach_override. This is an extended version of a patch by Rafael Avila de Espindola (rafael.espindola@gmail.com) llvm-svn: 161116
-
Alexey Samsonov authored
llvm-svn: 161113
-
Alexey Samsonov authored
[ASan] cleanup interceptors code - prefer ASAN_INTERCEPT_FUNCTION_NAME macro to _WIN32, __APPLE__ etc. llvm-svn: 161109
-
- Jul 31, 2012
-
-
Alexey Samsonov authored
First tiny move towards integrating AddressSanitizer regressions test into LLVM lit-based testing infrastructure. The goal is to be able to run ASan tests by simply running "make check-asan" command from CMake build tree: * tests should use fresh clang binary from current build tree. * tests should use the same RUN-lines syntax as llvm/clang reg tests. Next steps: - restricting tests to machines where target is equal to host, i.e. where we can produce working binaries. - moving AddressSanitizer unit tests to lit as well. llvm-svn: 161050
-
Alexander Potapenko authored
llvm-svn: 161046
-
Alexey Samsonov authored
[Sanitizer] Wrapper around llvm::DIContext from LLVM DebugInfo library. If a macro SANITIZER_USES_LLVM_LIBS is defined (by default it is not), then sanitizer runtime includes llvm headers and tries to use LLVM libs for in-process symbolization. To make it functional, we have to link with these LLVM libs - either pass them to linker from Clang driver, or link them into static ASan runtime when we build it. llvm-svn: 161045
-
- Jul 30, 2012
-
-
Alexey Samsonov authored
llvm-svn: 160957
-
Alexey Samsonov authored
llvm-svn: 160955
-
- Jul 28, 2012
-
-
Dmitry Vyukov authored
fix clock setup for finalizer goroutine (Go runtime) llvm-svn: 160918
-
- Jul 27, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 160875
-
Dmitry Vyukov authored
llvm-svn: 160863
-
Dmitry Vyukov authored
llvm-svn: 160861
-
Dmitry Vyukov authored
llvm-svn: 160860
-
Kostya Serebryany authored
llvm-svn: 160853
-
- Jul 26, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 160797
-
- Jul 25, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 160728
-
Dmitry Vyukov authored
llvm-svn: 160723
-