- Aug 17, 2012
-
-
Alexander Potapenko authored
as a shared library on Mac OS. This will provide an alternative to mach_override. llvm-svn: 162091
-
- Aug 15, 2012
-
-
Alexander Potapenko authored
llvm-svn: 161954
-
Alexander Potapenko authored
Introduce asan_intercepted_functions.h which contains the declarations wrapped functions and their wrappers. Those declarations are going to be shared between asan_interceptors.cc and the dynamic runtime library on Mac OS. llvm-svn: 161952
-
Alexey Samsonov authored
[ASan] lit tests: use nm instead of llvm-nm, until llvm-nm becomes usable on Mac. Port output test change in r161948 to lit llvm-svn: 161951
-
Alexander Potapenko authored
Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries. llvm-svn: 161948
-
Alexander Potapenko authored
Fixes the problem with -PIE binaries. llvm-svn: 161947
-
Alexander Potapenko authored
llvm-svn: 161946
-
Alexander Potapenko authored
Move the prototype of __CFInitialize to asan_mac.h so that asan_malloc_mac.cc may use it in the dynamic library mode. llvm-svn: 161945
-
Alexander Potapenko authored
Export CheckFailed, asan_malloc, asan_free, asan_memalign, AsanStackTrace::CompressStack, AsanStackTrace::UncompressStack from the dynamic runtime library. llvm-svn: 161943
-
Alexander Potapenko authored
Make __asan::asan_{malloc,free,memalign} globally visible, so that the dynamic version of the runtime will export them. llvm-svn: 161942
-
Alexey Samsonov authored
[ASan] Port (the last one) tricky interface_test to lit, and a *huge* chunks of boilerplate to run tests for 32/64 bits and all optimization levels. Alas, lit doesn't support for loops in RUN-lines... llvm-svn: 161941
-
Alexander Potapenko authored
llvm-svn: 161939
-
Alexander Potapenko authored
llvm-svn: 161938
-
Alexey Samsonov authored
llvm-svn: 161936
-
Alexey Samsonov authored
[ASan] port remaining output and feature tests to lit. TODO: we should in fact run most of the tests for 32/64 bits and for all optimization levels llvm-svn: 161935
-
Alexey Samsonov authored
llvm-svn: 161933
-
Alexey Samsonov authored
llvm-svn: 161932
-
- Aug 14, 2012
-
-
Kostya Serebryany authored
llvm-svn: 161874
-
Alexey Samsonov authored
llvm-svn: 161873
-
Alexey Samsonov authored
llvm-svn: 161869
-
Alexey Samsonov authored
llvm-svn: 161864
-
- Aug 13, 2012
-
-
Alexey Samsonov authored
[ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks to cool test by glider@) llvm-svn: 161756
-
Alexey Samsonov authored
[ASan] Add __asan_set_on_error_callback() interface function that allows user to set a callback to be called right when ASan detects an error llvm-svn: 161754
-
Alexey Samsonov authored
[ASan] If ASan finds second error report, wait for some time and die (instead of running in a busy loop) to make sure ASan won't hang if it finds error while reporting an error in the same thread llvm-svn: 161749
-
- Aug 10, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161666
-
Alexey Samsonov authored
llvm-svn: 161665
-
Alexander Potapenko authored
llvm-svn: 161662
-
http://code.google.com/p/address-sanitizer/issues/detail?id=99Alexander Potapenko authored
when trying to free memory that actually belongs to the system purgeable zone, use malloc_zone_free(malloc_default_purgeable_zone(), ptr) instead of asan_free(). llvm-svn: 161661
-
- Aug 09, 2012
-
-
Alexander Potapenko authored
Add a test checking that all the "__asan_" interface functions are present in a binary built with -dead_strip. Fix force_interface_symbols() so that none of the interface symbols is stripped. llvm-svn: 161582
-
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 07, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161412
-
Alexey Samsonov authored
llvm-svn: 161411
-