6793ea5a9b2b75bb424df38fae3abf6dec7defcd |
09-Aug-2013 |
Stephen Hines <srhines@google.com> |
Merge commit '653e4526c70eb3d47780ed57553bc41c4b3cc1d6' into merge-20130807
|
653e4526c70eb3d47780ed57553bc41c4b3cc1d6 |
07-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Fix free_race.c by removing `not` from the test invocation that doesn't fail. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187889 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_race.c
|
45c652e3b3068f5a0626977e4506c71cfdba8ad3 |
07-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Let the users suppress use-after-free errors using the "race:" suppressions. If there's a race between a memory access and a free() call in the client program, it can be reported as a use-after-free (if the access occurs after the free()) or an ordinary race (if free() occurs after the access). We've decided to use a single "race:" prefix for both cases instead of introducing a "use-after-free:" one, because in many cases this allows us to keep a single suppression for both the use-after-free and free-after-use. This may be misleading if the use-after-free occurs in a non-racy way (e.g. in a single-threaded program). But normally such bugs shall not be suppressed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187885 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_race.c
san/lit_tests/free_race.c.supp
san/rtl/tsan_suppressions.cc
|
ead14cf28f1d2684c6197b569cb812774dc6cbcd |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix one more test case for pipefail git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187881 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Darwin/malloc_zone-protected.cc
|
244a8e02f5c99a62f0c92cf854b859f34ca1d8b5 |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Distinguish 32-bit ASan from 64-bit ASan in lit configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187878 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
f2366a95ae2b54569bf556c11580a14481f8700f |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for ASan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187877 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/heavy_uar_test.cc
san/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
san/lit_tests/TestCases/Linux/interception_malloc_test.cc
san/lit_tests/TestCases/Linux/interception_test.cc
san/lit_tests/TestCases/Linux/malloc-in-qsort.cc
san/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
san/lit_tests/TestCases/Linux/overflow-in-qsort.cc
san/lit_tests/TestCases/Linux/ptrace.cc
san/lit_tests/TestCases/Linux/rlimit_mmap_test.cc
san/lit_tests/TestCases/Linux/syscalls.cc
san/lit_tests/TestCases/Linux/zero-base-shadow32.cc
san/lit_tests/TestCases/Linux/zero-base-shadow64.cc
san/lit_tests/TestCases/allow_user_segv.cc
san/lit_tests/TestCases/asan-symbolize-sanity-test.cc
san/lit_tests/TestCases/deep_stack_uaf.cc
san/lit_tests/TestCases/deep_tail_call.cc
san/lit_tests/TestCases/deep_thread_stack.cc
san/lit_tests/TestCases/double-free.cc
san/lit_tests/TestCases/global-demangle.cc
san/lit_tests/TestCases/global-overflow.cc
san/lit_tests/TestCases/huge_negative_hea_oob.cc
san/lit_tests/TestCases/init-order-atexit.cc
san/lit_tests/TestCases/initialization-bug.cc
san/lit_tests/TestCases/invalid-free.cc
san/lit_tests/TestCases/ioctl.cc
san/lit_tests/TestCases/memcmp_strict_test.cc
san/lit_tests/TestCases/memcmp_test.cc
san/lit_tests/TestCases/on_error_callback.cc
san/lit_tests/TestCases/partial_right.cc
san/lit_tests/TestCases/readv.cc
san/lit_tests/TestCases/sanity_check_pure_c.c
san/lit_tests/TestCases/shared-lib-test.cc
san/lit_tests/TestCases/sleep_before_dying.c
san/lit_tests/TestCases/stack-frame-demangle.cc
san/lit_tests/TestCases/stack-oob-frames.cc
san/lit_tests/TestCases/stack-overflow.cc
san/lit_tests/TestCases/strdup_oob_test.cc
san/lit_tests/TestCases/strip_path_prefix.c
san/lit_tests/TestCases/symbolize_callback.cc
san/lit_tests/TestCases/time_interceptor.cc
san/lit_tests/TestCases/unaligned_loads_and_stores.cc
san/lit_tests/TestCases/use-after-poison.cc
san/lit_tests/TestCases/use-after-scope-dtor-order.cc
san/lit_tests/TestCases/use-after-scope-inlined.cc
san/lit_tests/TestCases/use-after-scope.cc
san/lit_tests/TestCases/wait.cc
san/lit_tests/lit.cfg
|
84ba74c10ad43c6dff77302f87efae72623d2a1b |
07-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sched_getaffinity. Re-applying with a more reliable test case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187876 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
0172c8cd8ec72ae11e7b2a2b65b54466ea75de9c |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for TSan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187875 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/atomic_free.cc
san/lit_tests/atomic_free2.cc
san/lit_tests/atomic_race.cc
san/lit_tests/atomic_stack.cc
san/lit_tests/fd_location.cc
san/lit_tests/fd_pipe_race.cc
san/lit_tests/fd_stdout_race.cc
san/lit_tests/free_race.c
san/lit_tests/free_race2.c
san/lit_tests/global_race.cc
san/lit_tests/heap_race.cc
san/lit_tests/inlined_memcpy_race.cc
san/lit_tests/java_lock_rec_race.cc
san/lit_tests/java_race.cc
san/lit_tests/java_race_move.cc
san/lit_tests/lit.cfg
san/lit_tests/load_shared_lib.cc
san/lit_tests/longjmp3.cc
san/lit_tests/longjmp4.cc
san/lit_tests/malloc_stack.cc
san/lit_tests/memcpy_race.cc
san/lit_tests/mop_with_offset.cc
san/lit_tests/mop_with_offset2.cc
san/lit_tests/mutex_destroy_locked.cc
san/lit_tests/mutexset1.cc
san/lit_tests/mutexset2.cc
san/lit_tests/mutexset3.cc
san/lit_tests/mutexset4.cc
san/lit_tests/mutexset5.cc
san/lit_tests/mutexset6.cc
san/lit_tests/mutexset7.cc
san/lit_tests/mutexset8.cc
san/lit_tests/oob_race.cc
san/lit_tests/race_on_barrier.c
san/lit_tests/race_on_barrier2.c
san/lit_tests/race_on_heap.cc
san/lit_tests/race_on_mutex.c
san/lit_tests/race_on_mutex2.c
san/lit_tests/race_on_read.cc
san/lit_tests/race_on_write.cc
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/signal_errno.cc
san/lit_tests/signal_malloc.cc
san/lit_tests/sigsuspend.cc
san/lit_tests/simple_race.c
san/lit_tests/simple_race.cc
san/lit_tests/simple_stack.c
san/lit_tests/simple_stack2.cc
san/lit_tests/sleep_sync.cc
san/lit_tests/sleep_sync2.cc
san/lit_tests/stack_race.cc
san/lit_tests/stack_race2.cc
san/lit_tests/static_init3.cc
san/lit_tests/suppress_same_address.cc
san/lit_tests/suppress_same_stacks.cc
san/lit_tests/thread_leak3.c
san/lit_tests/thread_leak5.c
san/lit_tests/thread_name.cc
san/lit_tests/tiny_race.c
san/lit_tests/tls_race.cc
san/lit_tests/tls_race2.cc
san/lit_tests/unaligned_race.cc
san/lit_tests/vptr_harmful_race.cc
san/lit_tests/vptr_harmful_race2.cc
san/lit_tests/write_in_reader_lock.cc
|
cc5a4acd26ea0e8975c7af3cba906440153cf072 |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for LSan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187873 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/disabler.cc
san/lit_tests/TestCases/do_leak_check_override.cc
san/lit_tests/TestCases/ignore_object.cc
san/lit_tests/TestCases/large_allocation_leak.cc
san/lit_tests/TestCases/link_turned_off.cc
san/lit_tests/TestCases/stale_stack_leak.cc
san/lit_tests/TestCases/suppressions_default.cc
san/lit_tests/TestCases/suppressions_file.cc
san/lit_tests/TestCases/use_globals_initialized.cc
san/lit_tests/TestCases/use_globals_uninitialized.cc
san/lit_tests/TestCases/use_registers.cc
san/lit_tests/TestCases/use_stacks.cc
san/lit_tests/TestCases/use_stacks_threaded.cc
san/lit_tests/TestCases/use_tls_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_static.cc
san/lit_tests/TestCases/use_tls_static.cc
san/lit_tests/TestCases/use_unaligned.cc
san/lit_tests/lit.common.cfg
|
212008328600e3b966fe5363e84d7fa824eafe77 |
07-Aug-2013 |
David Blaikie <dblaikie@gmail.com> |
Revert "[sanitizer] Intercept sched_getaffinity." This reverts commit r187788. The test case is unreliable (as the test may be run in a situation in which it has no affinity with cpu0). This can be recommitted with a more reliable test - possibly using CPU_COUNT != 0 instead (I wasn't entirely sure that a process was guaranteed to have at least one affinity, though it seems reasonable, or I'd have made the change myself). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187841 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a74047af8eb56e41cbb765d296b79e07ce4803b3 |
06-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Drive-by fix for -Wempty-body in sanitizer_common_syscalls.inc This makes the file consistently use { } around the if statements containing the PRE_/POST_ macros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187797 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
39d68edd461abb5058a4b96fd16f1741ad89bba7 |
06-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix NULL arg handling in setitimer/getitimer interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187789 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
b2dc6137eaa16f45401a6905f5aff1e894ae0975 |
06-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sched_getaffinity. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187788 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
53fbbf419e1db6c03132650f189d725d23f51a42 |
05-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Lint fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187726 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_common_syscalls.inc
anitizer_common/scripts/check_lint.sh
|
5c48a8c4a8b3f7cd3f03f26c6aadc0ee606fc9b7 |
02-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allocator statistics interface and malloc hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187653 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_hook.cc
san/msan.h
san/msan_allocator.cc
san/msan_interface_internal.h
san/tests/msan_test.cc
anitizer_common/sanitizer_allocator.h
|
08104e6f77f4e5279f8cb4a74784ffb7afd5073f |
02-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix unused function warning in the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187648 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
41f15402521b7af66c2aa8e0ad4a056fc8166dd9 |
01-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add leak_check_at_exit flag. We needed a way to tell LSan to invoke leak checking only if __do_leak_check() is called explicitly. This can now be achieved by setting leak_check_at_exit=false. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187578 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lit_tests/TestCases/leak_check_at_exit.cc
san/lsan.cc
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
|
534e2ba5188e1a74b340f9507755806357835f62 |
01-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept setenv, putenv. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187575 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
3ff67e64a39d28ece8fc4a191095e5321cb56e50 |
31-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix msan tests with pipefail option. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187485 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/dso-origin.cc
san/lit_tests/ioctl_custom.cc
san/lit_tests/lit.cfg
|
74422e9f7cf31ee3cff478f6c36ca3faa46e1ebd |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Tweak read syscall handler signature for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187417 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
9d34659cd3570423fb1fa49248887e2bd4b762f9 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] read() syscall hook. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187414 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/syscalls.cc
anitizer_common/sanitizer_common_syscalls.inc
|
6567092b06b37195cd93d57204bcbfe6843b2a48 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept pthread_join. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187413 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
5ec19bc74b52fd962f079086c2fa615d6d3f0864 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept confstr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187412 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
103e5b744497fdc57be9efe5e6ef40a896736993 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Limit fake stack size to a reasonable value when running with unlimited stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187411 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.cc
|
933a5d2fd96e8758dd12890ed263def8e80f6f02 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Raise thread stack size limit. It's a sanity check, mostly, and we've seen threads with >256Mb stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187408 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux_libcdep.cc
|
d054abef27369471e154ec5693949538c2fdffd9 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable ForEachMappedRegion on Android. It needs interface that is missing from the NDK, and it is not used on Android anyway. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187407 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
f50b0fc601aea71d9fb22f01a11c7e206c666edc |
29-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Fix warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187373 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
2e75ac983cb233daa1abfa35fb33d2bafffe2ab1 |
29-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Move UnpoisonMappedDSO to sanitizer_common. This is so DFSan will be able to use it. Differential Revision: http://llvm-reviews.chandlerc.com/D1206 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187372 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.h
san/msan_interceptors.cc
san/msan_linux.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
|
ce502588cc5ac2da2dd11e83700767a3c8ce236b |
27-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Turn off pipefail on msan tests to match the other sanitizers until someone can go through and update the RUN lines appropriately for the new pipefail behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187298 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
bdeb86ce38d8971fa9a5706643e9331b48981dfa |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Disable pipefail for lsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187274 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.common.cfg
|
8c6046b9a8c384b630ae5c1376ee8c0cb1abe406 |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
disable pipefail for ubsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187273 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/lit.cfg
|
55a932680a6a94e9eadc11f7bc905d8fed1c831a |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Disable pipefail for ThreadSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187272 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
0738e2f85ca6896fcd980d7752f55651744eb08c |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
disable pipefail on asan for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187269 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
ae894455254b9a15b6f11df7c2362f5f45586862 |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Change strip_path_prefix flag behavior. Previously (in tools other than TSan) the entire prefix of the path had to mach the argument. With this change, only some suffix of the prefix has to match. This is the same way this flag works in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186837 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
62519eb72ec1005d794685c1ec09df7c37631b27 |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Make __lsan_do_leak_check() honor the detect_leaks flag. Also move detect_leaks to common flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186821 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/lsan.cc
san/lsan_common.cc
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
|
841b6f29df24642cfbaa6e6fba5632d1712569ae |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Print direct leaks first. Direct leaks are higher priority, so it makes sense to have them on top. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186819 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
28f2f82b56bf498dd3e8ab2ca3afaf907a90de25 |
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Fix another instance of -ccc-cxx vs. --driver-mode=g++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186609 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/vptr.cpp
|
f021f4fb9e41d7ff3368556962c89119391fe025 |
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186607 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
san/lit_tests/lit.common.cfg
san/lit_tests/lit.cfg
san/lit_tests/lit.cfg
|
f93fa97b9fb49c6aaeeadf94fc54c76374b580bd |
18-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_do_leak_check() to the public interface. Let users override the normal behavior to run leak checking earlier in the process. Also fix a couple nits here and there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186581 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/do_leak_check_override.cc
san/lsan_common.cc
|
158ca5237af46076225d5d82a38ae0f733f57f31 |
18-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: treat SIGSYS as synchronous signal It is required for chromium sandboxing code. From the description it seems to be indeed synchronous -- called back on syscall with incorrect arguments, but seems to be unused in practice. So this should be fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186579 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
2ec879ebd7261c9182d4fdee95fb615439dda67d |
18-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix leaks in ASan tests found by LSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186577 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
7aaaee4cab08096d46e9886c5fea8564732ad2ff |
17-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Always provide --default-arch argument to llvm-symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186513 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
48016bcefb6088b464555efe2e606f6a4d01fa00 |
17-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable one more interceptor that causes recursion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186497 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
e57f26b5c99cedd56de76f3a10cadcecece768bd |
17-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix unitialized read warning under newer gcc (it does not have visibility into asm) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186495 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
6092c21b37146ad5f859f3f23b6ddf80f3d8f3d4 |
17-Jul-2013 |
Anton Korobeynikov <asl@math.spbu.ru> |
Give compiler-rt a chance to compile with mingw-w64. Patch by C. Bergström! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186463 91177308-0d34-0410-b5e6-96231b3b80d8
printf.c
nt_util.c
|
55e6f3f4e6b799e0affd13f28137661f8707133f |
16-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: extend suppressions format with ^ and $ symbols not it's possible to write more precise suppressions, e.g. "^foo$" won't match "blafoobar" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186424 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_suppressions.cc
anitizer_common/tests/sanitizer_suppressions_test.cc
|
67505a8a0cf9621243ed21b67dfa041224c78e4b |
16-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move strcpy and strncpy to common interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186408 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_interceptors.cc
|
b6bde4d2bc5231cd1b38ff92e51afb3f6e157386 |
16-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Bump min supported Mac OS X version to 10.6 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186404 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
fbeab51e1cddbeb73ad0d86d1f650081178c1dd8 |
16-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support sigsuspend() call Intercepting it makes it process pending signal before return. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186400 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/sigsuspend.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
bb7f2d880c843dd5ee1c5e53d2517f7ca9058e66 |
16-Jul-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Use less shadow on Win 32-bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186393 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
31f78fda9c511f9ab4afc3494f54cb24450e28e6 |
16-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Cache the OSX version to avoid calling sysctl() on every GetMacosVersion() call. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186389 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
|
ad2ae5464b3c0f947f72908671ba1e6d753855a5 |
16-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add support for OS X Mavericks to GetMacosVersion. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186386 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
|
eaca82cf249021afa31dbc970278f2f28ea2a1aa |
15-Jul-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix check_lint warnings in sanitizers' runtime libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186328 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_syscalls.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
098c58fc48a934dd51df31e92efa236a5e1916e2 |
12-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Completely revert all mbstowcs-and-friends changes from r186109. They were unintentional git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186158 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
bac1f7b034d9b3bb15d98db755a2bc091c8ce005 |
12-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase the hardcoded limit on number of leaks. We never expected to see so many leaks in the real world. Until we did. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186157 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
e43d2108ec7622afb34b8281005a12fcdb26d6fa |
12-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Revert some parts of r186109 related to mbstowcs-and-friends interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186155 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
5a482cd54a75bf821fb8c61f2fe4e84ae9efb714 |
11-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a veritable conucopia of bugs in the readdir_r interceptors. First, the reason I came here: I forgot to look at readdir64_r which had the exact same bug as readdir_r. However, upon applying the same quick-fix and testing it I discovered that it still didn't work at all. As a consequence, I spent some time studying the code and thinking about it and fixed several other problems. Second, the code was checking for a null entry and result pointer, but there is no indication that null pointers are viable here. Certainly, the spec makes it extremely clear that there is no non-error case where the implementation of readdir_r fails to dereference the 'result' pointer and store NULL to it. Thus, our checking for a non-null 'result' pointer before reflecting that write in the instrumentation was trivially dead. Remove it. Third, the interceptor was marking the write to the actual dirent struct by looking at the entry pointer, but nothing in the spec requires that the dirent struct written is actually written into the entry structure provided. A threadlocal buffer would be just as conforming, and the spec goes out of its way to say the pointer to the *actual* result dirent struct is stored into *result, so *that* is where the interceptor should reflect a write occuring. This also obviates the need to even consider whether the 'entry' parameter is null. Fourth, I got to the bottom of why nothing at all worked in readdir64_r -- the interceptor structure for dirent64 was completely wrong in that it was the same as dirent. I fixed this struct to be correct (64-bit inode and 64-bit offset! just a 64-bit offset isn't enough!) and added several missing tests for the size and layout of this struct. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186109 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
ec29e26885a224627c2523422760e415c02cf225 |
11-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Remove optional arguments from clone() invocation. Unbreaks compilation on older systems. Patch by Andy Jost. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186103 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
57a1095fca7b95db8a0ec87fce7a6f0e331a5b99 |
10-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More checks in mbstowcs-like interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186004 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
9b21ba6f661a6b14e3e81bb4f06ffb769be028c4 |
10-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix handling of edge cases in mbstowcs-like interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186002 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
d26cb23c22c1330e1cce383180818f4c3dcc7d18 |
10-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a bug in the readdir_r interceptor: when we reach the end of the directory stream, the entry is not written to, instead *result is set to NULL and the entry is not written to at all. I'm still somewhat suspicious of the correct instrumention here -- I feel like it should be marking the written range as the pointer in *result and the length (*result)->d_reclen in case the implementation decides not to use the passed-in entry (if that's even allowed). Finally, the definition of 'struct dirent' analog used in the interceptor is wrong in 32-bit mode with _FILE_OFFSET_BITS=64 as it hard codes the use of a pointer-sized offset. I've added a somewhat goofy test for the bug I fixed via ASan -- suggestions on how to better test the interceptor logic itself welcome. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185998 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
d907702719a9bc7a86490cd4a4c706959607ca4d |
10-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[asan] Update blacklists to use categories. Differential Revision: http://llvm-reviews.chandlerc.com/D1094 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185980 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_blacklist.txt
san/lit_tests/TestCases/Helpers/initialization-blacklist.txt
|
57876cfc5357e2a04d17c56ee51e69c593a536be |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Update glob64 interceptor to handle GLOB_ALTDIRFUNC as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185935 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/glob.cc
san/lit_tests/Linux/glob_altdirfunc.cc
anitizer_common/sanitizer_common_interceptors.inc
|
3fa122e6a8e12db6583793861f6cf776fe1c98a0 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Support GLOB_ALTDIRFUNC in glob interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185932 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/Linux/glob_altdirfunc.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_interceptors.cc
|
12eb79dd701d9d40551759330a9257316601373b |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept realpath and canonicalize_file_name. Handle realpath(path, NULL) form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185921 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
cb2509aaa26619d9f0082999bdcb54edbd1246a9 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Wrap lines >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185920 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
ae4e6fd0300b13812a02a779619b1a451478cdd1 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185917 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
8b40073a28ed435862e250ae01b8ff85d6a2063f |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Syscall handlers for clock_gettime and clock_getres. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185913 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/syscalls.cc
anitizer_common/sanitizer_common_syscalls.inc
|
577a4b5ed22815b16a3af5fcb0b0a01481b004f3 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185817 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/fork_threaded.cc
|
c6ac98d7fcc81768b2ef7ddc785c27e3fc1bdef6 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Handle fork() correctly. Update the main thread's os_id on every pthread_create, and before initiating leak checking. This ensures that we have the correct os_id even if we have forked after Init(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185815 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_thread.cc
san/asan_thread.h
san/lit_tests/TestCases/fork.cc
san/lit_tests/TestCases/fork_threaded.cc
san/lsan_common.cc
san/lsan_common.h
san/lsan_interceptors.cc
san/lsan_thread.cc
san/lsan_thread.h
|
99560bf109ca14b1a48e1ae1206bcc11cdb7eae4 |
08-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use overridable hook to report error summary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185805 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
8be684c5970389c6c86b01592e98ed5a3bc4f78d |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185706 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
737da2f031badfad5bc5b762cc50d789fbcb6ef8 |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept pthread_key_create. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185693 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
22d8767a45f08218b4d725146c5a8484a183be29 |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable ptrace interception on non-x86(_64). Patch by Hal Finkel. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185686 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
2e6a1fb50f0252b673c37a272773a83508d4f927 |
04-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Close stderr before launching atos in asan_symbolize.py git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185631 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
ea72768894e32f367607c2142a7dfab603310da0 |
04-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept tcgetattr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185626 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/tcgetattr.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
ff6c9fb3ee83529dc28cd60a3797a8b783f3e892 |
04-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More interceptors. bcopy strtoimax, strtoumax mbstowcs, mbsrtowcs, mbsnrtowcs wcstombs, wcsrtombs, wcsnrtombs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185624 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
e1f1661581889fb2fdd9a33f83cba414ea529294 |
04-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not protect the malloc zone created by malloc_zone_create() on Snow Leopard and earlier systems. Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=208 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185621 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
1adf52b7a65a9556fdf649869a63ad4379a91fa7 |
03-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix memory leak in sanitizer_common discovered by LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185536 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux_libcdep.cc
|
1cdae25bd9628901627faafd1c14742eedf5028c |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185432 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
353c99693581d49509a553bb8d0cc9c68f43aa79 |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept mempcpy, wmempcpy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185431 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
906f2c11e854539f316f737b1f661c0f6bc66fab |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix GLOB_NOMATCH behaviour and refactor the interceptor a bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185428 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/glob_nomatch.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
801448950d645813efb398575bbc62b48e5b1dfc |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept mbtowc, mbrtowc, get_current_dir_name. Move getcwd to common interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185424 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
3cae6040ebb4ce14123b8ba000b79b4383dbd48a |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept setlocale. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185416 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/setlocale.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
b9a928497168e177791f10f5042ff6f5e4e8a881 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] try to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185345 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
9465cbdbe73590746b57916f46ea1aa4bf3dd13d |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Properly disable strict init-order checking when pthread_create is called git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185342 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/TestCases/Helpers/init-order-pthread-create-extra.cc
san/lit_tests/TestCases/init-order-pthread-create.cc
|
4bbbe136fe6a19a8288a6d92af29075756dd8fa5 |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept stpcpy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185340 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
9eedf489075c24b2b1ed9f88bf5102066fffdeb1 |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getnameinfo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185338 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
7ef67083ecf12c9b83dffd91eac0b3c739fa7a89 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Change __sanitizer_symbolize_demangle hook return type to 'int' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185326 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_libcdep.cc
|
f21e025112d5f82b2b475eb1d8e690824883fc97 |
01-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Cache atos processes to make Darwin symbolication faster. Patch by Jesse Ruderman<jruderman@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185325 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
5d2104281930f0c1af3d586d950e2878cd1a16e1 |
01-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Use the correct macro to check glibc version. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185324 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux_libcdep.cc
|
997aede5a27c48d0b1a086212b24cb6101fb8351 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add sanity test for asan_symbolize.py script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185318 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/SharedLibs/shared-lib-test-so.cc
san/lit_tests/TestCases/asan-symbolize-sanity-test.cc
san/lit_tests/lit.cfg
|
b2b01945cfb060d67536f19063bbbf87e947e9ba |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with older kernels. PTRACE_SETREGSET & PTRACE_GETREGSET may be missing from linux headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185317 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
ed936c1d3a8db321b45d2e249159ec48c6450043 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Remove leading underscores from function names in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185315 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/zero-base-shadow32.cc
san/lit_tests/TestCases/Linux/zero-base-shadow64.cc
san/lit_tests/TestCases/global-overflow.cc
san/lit_tests/TestCases/heap-overflow.cc
san/lit_tests/TestCases/ioctl.cc
san/lit_tests/TestCases/large_func_test.cc
san/lit_tests/TestCases/null_deref.cc
san/lit_tests/TestCases/shared-lib-test.cc
san/lit_tests/TestCases/stack-overflow.cc
san/lit_tests/TestCases/strncpy-overflow.cc
san/lit_tests/TestCases/use-after-free-right.cc
san/lit_tests/TestCases/use-after-free.cc
san/lit_tests/TestCases/use-after-scope-inlined.cc
san/lit_tests/TestCases/use-after-scope-temp.cc
san/lit_tests/TestCases/use-after-scope.cc
san/lit_tests/TestCases/wait.cc
|
c8c312adee610a1f9284f567a35562f6f8dc15e0 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Hide mlock/munlock info message under verbosity flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185314 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/rtl/tsan_interceptors.cc
|
fe18723033b4e06adcd339f67e9a63054380a63f |
30-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Define the path to llvm-symbolizer tool in a common config to reduce copy-paste git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185286 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
it.common.cfg
san/lit_tests/lit.common.cfg
san/lit_tests/lit.cfg
san/lit_tests/lit.cfg
|
f2c29a5dc56feed66e81a7fb3f03ef2c5ea76870 |
29-Jun-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix typo found by Clang fix for extern "C" function handling. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185234 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
ec2ee9b51256b37ce637eee766fd9a454c02da2b |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Remove %symbolize from lit tests: we now use external symbolizer instead of python script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185163 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/heavy_uar_test.cc
san/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
san/lit_tests/TestCases/Linux/malloc-in-qsort.cc
san/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
san/lit_tests/TestCases/Linux/overflow-in-qsort.cc
san/lit_tests/TestCases/Linux/ptrace.cc
san/lit_tests/TestCases/Linux/syscalls.cc
san/lit_tests/TestCases/Linux/time_null_regtest.cc
san/lit_tests/TestCases/Linux/zero-base-shadow32.cc
san/lit_tests/TestCases/Linux/zero-base-shadow64.cc
san/lit_tests/TestCases/deep_stack_uaf.cc
san/lit_tests/TestCases/deep_tail_call.cc
san/lit_tests/TestCases/deep_thread_stack.cc
san/lit_tests/TestCases/double-free.cc
san/lit_tests/TestCases/global-demangle.cc
san/lit_tests/TestCases/global-overflow.cc
san/lit_tests/TestCases/heap-overflow.cc
san/lit_tests/TestCases/initialization-bug.cc
san/lit_tests/TestCases/invalid-free.cc
san/lit_tests/TestCases/ioctl.cc
san/lit_tests/TestCases/large_func_test.cc
san/lit_tests/TestCases/memcmp_strict_test.cc
san/lit_tests/TestCases/memcmp_test.cc
san/lit_tests/TestCases/null_deref.cc
san/lit_tests/TestCases/partial_right.cc
san/lit_tests/TestCases/readv.cc
san/lit_tests/TestCases/sanity_check_pure_c.c
san/lit_tests/TestCases/shared-lib-test.cc
san/lit_tests/TestCases/stack-frame-demangle.cc
san/lit_tests/TestCases/stack-oob-frames.cc
san/lit_tests/TestCases/stack-overflow.cc
san/lit_tests/TestCases/stack-use-after-return.cc
san/lit_tests/TestCases/strdup_oob_test.cc
san/lit_tests/TestCases/strncpy-overflow.cc
san/lit_tests/TestCases/time_interceptor.cc
san/lit_tests/TestCases/unaligned_loads_and_stores.cc
san/lit_tests/TestCases/use-after-free-right.cc
san/lit_tests/TestCases/use-after-free.cc
san/lit_tests/TestCases/use-after-poison.cc
san/lit_tests/TestCases/use-after-scope-dtor-order.cc
san/lit_tests/TestCases/use-after-scope-inlined.cc
san/lit_tests/TestCases/use-after-scope-temp.cc
san/lit_tests/TestCases/use-after-scope.cc
san/lit_tests/TestCases/wait.cc
san/lit_tests/lit.cfg
|
ad75ce5309adaad82104d77e5ceeee2882a0746d |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build again. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185157 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/ignore_object_errors.cc
|
0b5a1b79121f96d36d0d75ae2b8931a39aac93a2 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185156 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/ignore_object.cc
|
9b4ba948f1c19adafde8e78c520ce30ac7bb1033 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] When verbosity > 1, always print suppressions and summary (even if no leaks found). Also fix an output bug. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185153 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
b33cfeb6004d3a93e6d35749c14db0190c6c2b4c |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add suppression support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185152 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/AsanConfig/lit.cfg
san/lit_tests/LsanConfig/lit.cfg
san/lit_tests/TestCases/suppressions_default.cc
san/lit_tests/TestCases/suppressions_file.cc
san/lit_tests/TestCases/suppressions_file.cc.supp
san/lit_tests/lit.common.cfg
san/lsan_common.cc
san/lsan_common.h
anitizer_common/sanitizer_suppressions.cc
anitizer_common/sanitizer_suppressions.h
anitizer_common/tests/sanitizer_suppressions_test.cc
|
d50d29ecfafbdbdb033f7d94b7ff88c1fce40452 |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable all ptrace-related definitions on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185150 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
2a9609814d6f187d5a949787e5a638911978283d |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Migrate lit tests to external symbolizer from asan_symbolize.py script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185148 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
anitizer_common/sanitizer_symbolizer_win.cc
|
6b30cf07c92eafecf5d06ae6cafa7b60f4ed7512 |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Demangle names using pluggable internal symbolizer if possible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185146 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_itanium.cc
anitizer_common/sanitizer_symbolizer_libcdep.cc
|
3678cf9323d4134887a3fee16e849332d97f03eb |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix an unfortunate typo and disable ptrace interception on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185145 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
52d08d8412bfa4ccfa38384d781b51e8774807a7 |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Pass --default-arch flag to external symbolizer. Fix line lengths. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185144 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
341b9e63f63a8eacf1b699d4c79edee55241ebe6 |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept ptrace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185142 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/TestCases/Linux/ptrace.cc
san/lit_tests/ptrace.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
6b233edfdb741fa75faec815ff3940724e8126a5 |
28-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan][OSX] Make sure the zones created by malloc_create_zone() are write-protected. Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185140 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
san/lit_tests/TestCases/Darwin/malloc_zone-protected.cc
|
66ad412170787fb0d9f4832708a22d47d74633c5 |
28-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan][OSX] Fix the incorrect malloc_create_zone() implementation that led to out-of-bounds mprotect()s (https://code.google.com/p/address-sanitizer/issues/detail?id=203) Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185138 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
san/lit_tests/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
|
007a9771d648ff5e8f6e01a3984f007272e87e37 |
27-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Revert hack that omits errno on Darwin platforms. We now have an acceptable 'errno' header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185106 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
134da448d092f82bfd5ddcdfa203c5c652c51474 |
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Support padding with spaces in Printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185082 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
anitizer_common/tests/sanitizer_printf_test.cc
|
7ddf3c9899c39485d6a70fe294a1e4893897f424 |
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix flaky test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185079 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/link_turned_off.cc
|
1d55ed1fccd11c77af78a174499238776d609cb8 |
27-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: revert dynamic symbols file to the old incorrect one full proper list of dynamic symbols crashes old gold (see bug 16468). the culprit is 'memcpy' function, if it's added to syms file, gold crashes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185078 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/rtl/tsan.syms
|
66385c9cbdc16c18f9875cc04da70149578cc07a |
27-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove non-existent functions from syms file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185077 91177308-0d34-0410-b5e6-96231b3b80d8
san/gen_dynamic_list.sh
san/rtl/tsan.syms
|
263800ba59720f9be69735b4dad625fca92430bc |
27-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Optionally disable 2 tests (dlopen & gethostbyname). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185076 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
a0379b5566f7c04536a313e40c450c6aef4b3ec5 |
27-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix dirent interceptors. The new version reads d_reclen for (struct dirent) size. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185067 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
9fbfd96608070eb71e11fbfe42ec9e84016429ae |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Add the way to disable LSan at link time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185066 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/link_turned_off.cc
san/lsan_common.cc
san/lsan_common.h
|
c11d3034b22be77d9c7f175350ea67a576ef375e |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] try to fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185063 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
c2918bf11fc65b1f9551eee03719e9bdf02eedd5 |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Rename __msan_unpoision_param to __msan::UnpoisonParam - it shouldn't be in interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185062 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_interceptors.cc
san/msan_interface_internal.h
|
f2c844564c14e5438494083bf6db304a33673df2 |
26-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[tsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184963 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
|
a52e5c6f371bcc66e89792db1219a557664aab8d |
26-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[tsan] Move some suppressions-related code to common. Factor out code to be reused in LSan. Also switch from linked list to vector. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184957 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_suppressions.cc
anitizer_common/sanitizer_suppressions.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_suppressions_test.cc
san/rtl/tsan_defs.h
san/rtl/tsan_rtl.h
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
san/tests/unit/CMakeLists.txt
san/tests/unit/tsan_suppressions_test.cc
|
b5cf98f76fd62236f2945bff17b3cdb4e8a5c2f4 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] readdir and readdir_r interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184950 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
7a0bba457ee05ced3adf37a0c0790d0ed23a5446 |
26-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184934 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.cc
san/asan_fake_stack.h
san/asan_report.cc
san/asan_thread.cc
san/asan_thread.h
|
eb7c24bb2e6fd20410d34006759caf76852d0600 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Reformat line >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184926 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
4f116ad082a3419f98ac000f76a76e0badc0e611 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with OSS4 kernel headers. This fixes PR16453. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184925 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
cf5fb62c0206c6544c464fa1b414bbfa26cb3244 |
26-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a use after free I introduced and that Bill caught in code review (thanks!) by deferring the free of the filename until we finish writing the coverage data to that file. Bill, let me know if you'd prefer a different approach! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184895 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
7caabbd43ef867fa93317bef61924197b97ea1c7 |
25-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Don't use 'errno.h' on Apple just yet. This breaks for some of our buildbots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184878 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
1dcabd115668f9efba615f7c4e190244a4df361f |
25-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing __attribute__((visibility("default"))) to interface functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184858 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
d16d7233510f4ebb3b5bcafdee2db373c53c5c56 |
25-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Define interceptors more correctly. Also, always clear allocated memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184849 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_interceptors.cc
|
b6246066a271e3b01732d1b4381ef745152747d2 |
25-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move log_path to common flag and use it in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184836 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/msan.cc
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
|
254abfa43326c2d49143529c26a86a27356e1243 |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Address a few of the issues in GCDAProfiling I noted when looking through Bill's patch: 1) Correctly test the file descriptor after the sceond attempt at creating the file. 2) Make the filename a global so that we can issue error messages from other routines. 3) Check errno in several places and print it out so that errors are easier to track down. I don't really expect any of these to fix the current failures I'm seeing, but I'm hopeful they'll at least let me debug them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184799 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
e97262dc8ddfc6aa52871692569059b17c01d193 |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Remove the sysroot restriction from building GCDAProfiling.c. We really need the C standard library to be available to implement the profiling runtime library reasonably, and replicating everything in the SDKs tree really isn't addressing any problems we have. Notably, all of the sanitizer runtimes take the same approach, and this isn't a library which could end up in a bootstrapping problem where the system headers aren't even available. This will hopefully prevent subsequent changes which start using various other bits of C standard library to make things more debuggable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184798 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/CMakeLists.txt
|
fb53992c309ed7b9cb2bf15343bf347fead90c02 |
24-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make the test more robust currently it episodically fails the hypothesis it is due to racy race detection algorithm the sleep should make it more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184752 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/tiny_race.c
|
6d817380fcfb73f213505c8cd998476532ade3df |
24-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update dynamic export syms file now it includes proper functions (including interceptors) and does not include local functions that lead to build failures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184747 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/gen_dynamic_list.sh
san/rtl/tsan.syms
|
359d7fc7daf099ab8ef9a860564542d2581544aa |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sysinfo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184739 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
90a65aa532dc1e60ce3413b05cd2f3bf3e166058 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix TSan build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184736 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
9d60087654f89e3452841350d9eca97644edca9d |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept inet_aton. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184735 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
b8e323e34e375fc40dbf178ef49b03c912837355 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison param-tls in signal handler wrapper. This an entry point from uninstrumented code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184734 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
b916e6a9b3efa4907b70a2dcd418c76b044171e7 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept readv, preadv, writev, pwritev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184717 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/readv.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
c87f737d972a96a05c85ef9be03d0f40890c653f |
24-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184704 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
ac78d0087281e9b40bb043f827fbde8c05c6505a |
24-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
Revert to C-style callbacks for iteration over allocator chunks. Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184700 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lit_tests/TestCases/disabler_in_tsd_destructor.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
c3b30b378741f3ec0f4d615ef172b68e1cf97e39 |
22-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Add cmake rules for building LSan common on Mac OS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184639 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/lit_tests/TestCases/Linux/lsan_annotations.cc
san/lit_tests/TestCases/lsan_annotations.cc
san/CMakeLists.txt
|
21e024eb4f1aa3c42bb9dbd1d93a4299807f9555 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Try REALLY hard to fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184557 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lsan_common.cc
|
2439cd96e9af5004f82f0a954c55b0e4d9600b52 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] This time really fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184556 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
ca74cff8d0f3c003a3c379bc88cc1771d8bbe1be |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184555 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
ef89d6b576bd8f5084b70e2d908cd53c37fab9f9 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase allocator space; minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184554 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_allocator.cc
san/lsan_common.cc
|
200afbd8ba4904241c1ebcef4fa79d739ca01f73 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Move lsan_disabled out of thread context. Fix for the case where disabler is used in pthread key destructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184553 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_thread.cc
san/asan_thread.h
san/lit_tests/TestCases/disabler_in_tsd_destructor.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
|
d530d892b4958a9ae54e57472d5d0a0bae1f6ad8 |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] reimplement strdup() interceptor to get nicer stack traces for memory chunks allocated there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184546 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/TestCases/strdup_oob_test.cc
|
0797ed4bfc4adaa1436dbd153b276ed9c917f1b7 |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept (v)asprintf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184545 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
bb881c736eff073a84cc640d431ae1e58a5e07d4 |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add keep_going runtime flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184542 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/keep-going-dso.cc
san/lit_tests/keep-going.cc
san/msan.cc
san/msan_flags.h
san/msan_interceptors.cc
san/msan_interface_internal.h
|
18a918929b0690043964f97936e69c0eae10edd8 |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make test for LSan annotations Linux-only for now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184541 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Linux/lsan_annotations.cc
san/lit_tests/TestCases/lsan_annotations.cc
|
5326ee1a227cf3ee764ecb3d0b7220d45581036c |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Check that ASan user may include and use LSan headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184540 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/lsan_annotations.cc
|
bb273d554d61c1a851158b0c79c2d3f51a845bbd |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[santizer] Disable several EVIOxxx ioctls on older kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184539 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
48e54204b82ba982ed7992847413dd0043fdc700 |
20-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix potential false positive race on fd git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184430 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_close_norace2.cc
san/rtl/tsan_fd.cc
|
9b618a7ec2ec78e602d8897008c6f02cba673794 |
20-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Define LSan annotations as no-ops if leak detection is not supported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184422 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lsan_common.cc
|
851e22ad83fe5f389ca845731fe0abf749a86214 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix unused function warning w/o changing compiler flags. We have way too many different build systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184409 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_ioctl_test.cc
|
132d51c45af60185e61724fe16d5694eecd0d5e0 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184407 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
|
e8b83078b1090dc23b8bb9dde20f251d3e253a9f |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove an outdated comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184406 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
|
4612abac2e172e077246cec0fcbed291f55a1d02 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Handle EVIOxxxx ioctls. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184405 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_ioctl_test.cc
|
a292152eb471edc44021b94e974059a71e8bed13 |
20-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Clear allocation magic value before recycling the chunk. This led to spurious crashes in LSan when it walked through reused chunks. Don't know how to create not-brittle test case for this. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184404 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
5f672c4bd8485af39b6bbc3500a8f1b71de1002f |
19-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Prevent inlining of WipeStack(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184312 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
c085fe807836b566b4fce7ccdfb307bb025693c5 |
19-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Move symbolization and reporting out of StopTheWorld callback. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184303 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/large_allocation_leak.cc
san/lit_tests/TestCases/stale_stack_leak.cc
san/lit_tests/TestCases/use_globals_initialized.cc
san/lit_tests/TestCases/use_globals_uninitialized.cc
san/lit_tests/TestCases/use_registers.cc
san/lit_tests/TestCases/use_stacks.cc
san/lit_tests/TestCases/use_stacks_threaded.cc
san/lit_tests/TestCases/use_tls_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_static.cc
san/lit_tests/TestCases/use_tls_static.cc
san/lit_tests/TestCases/use_unaligned.cc
san/lsan_common.cc
anitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
89d1eee9f468823cc7f01b0d5281a5c9f64a4c31 |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix struct ifconf definition on Mac and restore the size checks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184296 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
3f9f877480e751a9dd7f5df871121f52f1379a33 |
19-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete excessive 'extern "C"' around mlock* interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184294 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
22ec6d98e074a007d2767cc473a42e7838d273c1 |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184293 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
b588bfd486433ec3875f4d467e8cea41be205e1c |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build on RHEL 6.3, 6.4. linux/if_ppp.h is broken in certain kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184290 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
8301c7355309518084903611ba96665bd31c15f8 |
18-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a rare failure in fast unwinder, found by asan/clang bootstrap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184190 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
02d7f32f66ef13cedd66a69aad864b6d5a4b81ae |
18-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Set current_thread_tid correctly for main thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184189 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan.cc
|
7028c1ee187302ace4fa3530769458c0b3caf946 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184187 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
5ec47415ad09e8cb652a100253ab26cec7501d48 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove a set of deprecated ioctls. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184185 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
7965e957a57011241334c444fec69d14116a9fdf |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Replace ext2_ ioctls with generic fs_ ioctls. They are actually the same, but ext2_fs.h header is not available in userspace with newer kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184184 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
2557a1b4517971c9cf1aff62425fc48561db9949 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Symbolic ioctl names. Replace hardcoded ioctl request ids with symbolic names. Disable certain ioctls on platforms where such names are not found in the system headers. Fix a bug in ioctl_lookup. Reenable ioctl test on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184183 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/ioctl.cc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
e7718bcc1372d25fc21100e403cf41b166d42f9b |
17-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: consistently use return pc as top frame pc always substract 1 from the top pc this allows to get correct stacks with -O2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184112 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_java.cc
san/rtl/tsan_rtl_report.cc
|
441a21644ad802b278c45b4e87153113639b2fcc |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Properly install LSan interface header, rely on sanitizer header presence in lit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183977 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/interface_test.cc
san/lit_tests/TestCases/unaligned_loads_and_stores.cc
san/lit_tests/TestCases/disabler.cc
san/lit_tests/TestCases/ignore_object.cc
san/lit_tests/TestCases/ignore_object_errors.cc
|
0a05e5fa28a7424f8146549057c53b4590f3a251 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use InternalMmapVector to store fired suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183974 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
dbeb48d34bb6447c33a0ef99aaf9ba36f7f4b852 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use a typedef for frontier vector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183973 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
|
a64d4359902f1f64992aedfe10d8882ae7c66f40 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename InternalVector to InternalMmapVector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183972 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_stoptheworld.h
anitizer_common/tests/sanitizer_common_test.cc
|
485f73812dec2204e9f1b184bf01420859ca7f31 |
13-Jun-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r183849. Android.mk updates: Remove sanitizer_symbolizer.cc Add sanitizer_common_libcdep.cc Add sanitizer_linux_libcdep.cc Add sanitizer_posix_libcdep.cc Add sanitizer_symbolizer_libcdep.cc Add sanitizer_symbolizer_linux_libcdep.cc Add sanitizer_symbolizer_posix_libcdep.cc Change-Id: Ibc62c8980d8cb5973dc312dfd8ecb1de0bfda03d
san/Android.mk
|
9c4d7a4e5fc1b49757ac733fec72c5e89948fefb |
13-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Windows Go crash git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183898 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
5c127cddd01872cd49d7267c128981eb2df8ddc7 |
13-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] fix link flags for building unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183891 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
f9262aeba07a0bf4d0b3fc00aa579e3054594632 |
13-Jun-2013 |
Richard Trieu <rtrieu@google.com> |
Fix broken header guard. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183873 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.h
|
bb097bcb93a67ebbb7a89ac83f0a16c47c013a7f |
12-Jun-2013 |
Stephen Hines <srhines@google.com> |
Merge commit 'b3b46dad13a2111a51fb1a67f36c8b633410e9b7' into merge_20130612 Conflicts: lib/sanitizer_common/sanitizer_symbolizer_linux.cc Change-Id: Ie0a701ed3d360d846b491116ff2e33e33968f291
|
b3b46dad13a2111a51fb1a67f36c8b633410e9b7 |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Harmonized some naming inconsistencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183748 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lit_tests/TestCases/disabler.cc
san/lit_tests/TestCases/ignore_object.cc
san/lit_tests/TestCases/large_allocation_leak.cc
san/lit_tests/TestCases/stale_stack_leak.cc
san/lit_tests/TestCases/use_globals_initialized.cc
san/lit_tests/TestCases/use_globals_uninitialized.cc
san/lit_tests/TestCases/use_registers.cc
san/lit_tests/TestCases/use_stacks.cc
san/lit_tests/TestCases/use_stacks_threaded.cc
san/lit_tests/TestCases/use_tls_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_static.cc
san/lit_tests/TestCases/use_tls_static.cc
san/lit_tests/TestCases/use_unaligned.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
|
e0c45610e138c9e0b518189b7fa286f4b7ee6474 |
11-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add -Wno-maybe-uninitialized to Go build script this is how the rest of the codebase is built git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183738 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/rtl/tsan_rtl_report.cc
|
a4d043eba05abdc62970076104cba71a4fc5bcef |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix the unittest makefiles. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183735 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/tests/CMakeLists.txt
san/tests/lsan_dummy_unittest.cc
|
ff0ce7fbdba7d02dd06bbb1ba1003c50355513df |
11-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add file forgotten in r183730 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183732 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
d64bcf43935c9ceeb7376ca4185662811ae907ea |
11-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] support running external llvm-symbolizer on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_linux_libcdep.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/scripts/check_lint.sh
|
6cfb2f77280012b0818d00240aaa11bc359655d9 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lit test failures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183674 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/suppressions_global.cc
san/lit_tests/suppressions_race.cc
san/lit_tests/suppressions_race2.cc
|
3f5f59ad7e542542775b780d5bfbc288c35ed6ea |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add system tests for suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183673 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/suppressions_global.cc
san/lit_tests/suppressions_global.cc.supp
san/lit_tests/suppressions_race.cc
san/lit_tests/suppressions_race.cc.supp
san/lit_tests/suppressions_race2.cc
san/lit_tests/suppressions_race2.cc.supp
san/lit_tests/test_output.sh
|
39968339a07d790aadcf27534f92a0de8c0c90fb |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allows to suppress races on global variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183672 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
|
dc8015f9efa3fa230f7276dd6bfb95501009d038 |
10-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix unset-insert-libraries-on-exec.cc on 32-bit Darwin. The test used to execute a 64-bit /bin/bash binary and preload a 32-bit dynamic library into it. Now the arch-specific version of echo-env is executed instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183662 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
san/lit_tests/TestCases/Helpers/echo-env.cc
|
fdde5a97a71b142297d7b2270c2a7f564a37dbae |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] mark ioctl test as xfailing on darwin. remove redundant semicolons git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183655 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/TestCases/ioctl.cc
|
72efa9440c362244e3e1fa64c16d630884d36c11 |
10-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Android build (mark asan_malloc_usable_size as an interface function) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183651 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
917f62eaa5c2839155f703dee114a767ff81cca5 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable getaddrinfo() interceptor for tsan (causes recursion) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183649 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
e524a21a3e75999ea5a089c9762ca691f114c020 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix merge bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183648 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
5d43b5a695ca6b6dc4eff05e723a7f39643f3266 |
10-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the bug with memalign and malloc_usable_size (http://code.google.com/p/address-sanitizer/issues/detail?id=193); also fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183647 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
|
21b3b1c50662eeb2d9340c51e1837be495cf87b5 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows crash (incorrect stack boundaries) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183646 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
cc08fca1faf3b61fa51f32b2360c978982de6b77 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix old gcc warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183645 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
c5288679cc55c523188a40325d49d97b100cf03c |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows mingw build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183644 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_printf.cc
anitizer_common/sanitizer_win.cc
|
bb5aecb56d84e09106a88aca2d30fbb0b29b2e9c |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more detailed trace for atomic operations (include address and memory ordering) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183643 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
4f0fd8e131b6c2f13244a0fd808abe0da7a50983 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183642 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/ignore_object.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
7575e0a67bc9d4c0f16656ea022f19fc5c9142f9 |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] don't add msan unit tests to check-msan command if libcxx is not checked out git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183641 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/tests/CMakeLists.txt
|
c65fe5e5bcffeb424deb6a2e18cb674beead23e1 |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use -m{32,64} flag in test case, as it can be run in both 32- and 64-bit modes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183638 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/ioctl.cc
|
1d89b676f38aa7f18aedb9995bc656a8d41ad287 |
07-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Reverting r183529: This is causing the following error on Darwin: /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:282:1: error: 'assertion_failed__282' declared as an array with a negative size CHECK_TYPE_SIZE(ifconf); ^~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:223:3: note: expanded from macro 'CHECK_TYPE_SIZE' COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:284:1: error: 'assertion_failed__284' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(ifconf, ifc_ifcu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:228:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET' COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183557 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
4757c47ba7356aec3a7d49e5e929c19159d75a01 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Handle SIOCGIFCONF ioctl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183529 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/ioctl_custom.cc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
ea1b27f1dad287b33784b7e8c032182b5b0ddd18 |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix test case to use absolute paths git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183527 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
|
fd55281122b4dedceb4e5a2fedc3946bfba9032b |
07-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] An early return from InitializeAsanInterceptors() on Mac has been considered unobvious. Remove it and replace ASAN_INTERCEPT_FUNC with a no-op if SANITIZER_MAC==1. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183524 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
4ce6f79a13d9e22003324dca842d03108b333a58 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183523 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_platform_limits_posix.cc
|
4e95e949c335dd92b193ff270754e31d144e53bf |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183518 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
|
745dd0d296e7bef712df4b5c7f86c72534953738 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] ioctl interceptor. ASan: disabled by default MSan: enabled by default TSan: disabled git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183517 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lit_tests/TestCases/ioctl.cc
san/lit_tests/ioctl.cc
san/msan.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_ioctl.inc
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
b957d9f20c934ac1af70353db6bc994490d7ea0e |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Drop support for 32-bit PowerPC in sanitizer tools. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183499 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/CMakeLists.txt
|
6efa4d6cf9bb214a5e8ddbb224a69b38c4ae6de6 |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create separate configs for running ASan lit tests in both 32- and 64-bit mode. Clean up RUN-lines in tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183498 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/32bitConfig/lit.site.cfg.in
san/lit_tests/64bitConfig/lit.site.cfg.in
san/lit_tests/CMakeLists.txt
san/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
san/lit_tests/TestCases/Darwin/reexec-insert-libraries-env.cc
san/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
san/lit_tests/TestCases/Linux/asan_prelink_test.cc
san/lit_tests/TestCases/Linux/clone_test.cc
san/lit_tests/TestCases/Linux/glob.cc
san/lit_tests/TestCases/Linux/heavy_uar_test.cc
san/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
san/lit_tests/TestCases/Linux/interception_failure_test.cc
san/lit_tests/TestCases/Linux/interception_malloc_test.cc
san/lit_tests/TestCases/Linux/interception_test.cc
san/lit_tests/TestCases/Linux/interface_symbols_linux.c
san/lit_tests/TestCases/Linux/malloc-in-qsort.cc
san/lit_tests/TestCases/Linux/overflow-in-qsort.cc
san/lit_tests/TestCases/Linux/swapcontext_test.cc
san/lit_tests/TestCases/Linux/syscalls.cc
san/lit_tests/TestCases/Linux/time_null_regtest.cc
san/lit_tests/TestCases/Linux/unpoison_tls.cc
san/lit_tests/TestCases/Linux/zero-base-shadow.cc
san/lit_tests/TestCases/Linux/zero-base-shadow32.cc
san/lit_tests/TestCases/Linux/zero-base-shadow64.cc
san/lit_tests/TestCases/allow_user_segv.cc
san/lit_tests/TestCases/blacklist.cc
san/lit_tests/TestCases/deep_stack_uaf.cc
san/lit_tests/TestCases/deep_tail_call.cc
san/lit_tests/TestCases/deep_thread_stack.cc
san/lit_tests/TestCases/dlclose-test.cc
san/lit_tests/TestCases/double-free.cc
san/lit_tests/TestCases/force_inline_opt0.cc
san/lit_tests/TestCases/global-demangle.cc
san/lit_tests/TestCases/global-overflow.cc
san/lit_tests/TestCases/heap-overflow.cc
san/lit_tests/TestCases/huge_negative_hea_oob.cc
san/lit_tests/TestCases/init-order-atexit.cc
san/lit_tests/TestCases/init-order-dlopen.cc
san/lit_tests/TestCases/initialization-blacklist.cc
san/lit_tests/TestCases/initialization-bug.cc
san/lit_tests/TestCases/initialization-constexpr.cc
san/lit_tests/TestCases/initialization-nobug.cc
san/lit_tests/TestCases/interface_test.cc
san/lit_tests/TestCases/invalid-free.cc
san/lit_tests/TestCases/large_func_test.cc
san/lit_tests/TestCases/malloc_fill.cc
san/lit_tests/TestCases/memcmp_strict_test.cc
san/lit_tests/TestCases/memcmp_test.cc
san/lit_tests/TestCases/null_deref.cc
san/lit_tests/TestCases/partial_right.cc
san/lit_tests/TestCases/sanity_check_pure_c.c
san/lit_tests/TestCases/shared-lib-test.cc
san/lit_tests/TestCases/sleep_before_dying.c
san/lit_tests/TestCases/stack-frame-demangle.cc
san/lit_tests/TestCases/stack-oob-frames.cc
san/lit_tests/TestCases/stack-overflow.cc
san/lit_tests/TestCases/stack-use-after-return.cc
san/lit_tests/TestCases/strip_path_prefix.c
san/lit_tests/TestCases/strncpy-overflow.cc
san/lit_tests/TestCases/time_interceptor.cc
san/lit_tests/TestCases/use-after-free-right.cc
san/lit_tests/TestCases/use-after-free.cc
san/lit_tests/TestCases/use-after-poison.cc
san/lit_tests/TestCases/use-after-scope-dtor-order.cc
san/lit_tests/TestCases/use-after-scope-inlined.cc
san/lit_tests/TestCases/use-after-scope-nobug.cc
san/lit_tests/TestCases/use-after-scope-temp.cc
san/lit_tests/TestCases/use-after-scope.cc
san/lit_tests/TestCases/wait.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
it.common.cfg
bsan/lit_tests/lit.cfg
|
46ed75f54f1c3b7863ae74aec8c2c015d572f027 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183429 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lsan_allocator.cc
san/lsan_common.cc
|
48cd12d0398914db195c1a25852b153f3345090d |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use memory access size for Go after all helps to make range access functions correct and fast git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183418 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_update_shadow_word_inl.h
|
0550a3f9982ee7af5e16fa333f988d42b4cbf765 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Do not fall back to SlowUnwindStack() in GetStackTrace() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183414 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common_linux.cc
anitizer_common/sanitizer_posix_libcdep.cc
|
cd571e07fd1179383188c70338fa0dc1c452cb19 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Implement __lsan_ignore_object(). Leak annotation similar to HeapChecker's IgnoreObject(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183412 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lit_tests/TestCases/ignore_object.cc
san/lit_tests/TestCases/ignore_object_errors.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
anitizer_common/sanitizer_allocator.h
|
722f2e6a6125a0d5c9d453278b0f292e3410124d |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make pthread_getschedparam test more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183411 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
06f069aa9b3dc692457366a6882e7b5d5da84ec3 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Simplify lit configs for asan/lsan/msan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183410 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
|
1dc5f39fbcb09734809b73eb16dd64b50d647038 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: always strip bottom frame in Go reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183408 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
ad785cb2d7f2ab80d2f6bfd7f05d4898807592ad |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Remove a bunch of copy-paste: use common config for sanitizer lit/unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183407 91177308-0d34-0410-b5e6-96231b3b80d8
it.common.configured.in
it.common.unit.configured.in
san/lit_tests/AsanConfig/lit.site.cfg.in
san/lit_tests/LsanConfig/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.common.cfg
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
bsan/lit_tests/lit.cfg
bsan/lit_tests/lit.site.cfg.in
|
4a95e33cbfe350c50f6d2c224f7d1b036d680382 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix darwin Go crashes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183405 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
d4bb4a6a155eb42b67a584a189f55863893ce4a6 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix darwin Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183402 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
san/go/buildgo.sh
|
d668cd2ff37af5db33d21de9e809018ae74a99b7 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create common autogenerated config for running compiler-rt unit tests, and use it in ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183401 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
it.common.unit.configured.in
|
dd6605eb299705e09160de7e1f9f505c40e5d1b2 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] lit tests: create common autogenerated config for running compiler-rt lit tests, and use it in ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183400 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
it.common.cfg
it.common.configured.in
|
64e2282e9c984c598c93a8bd01983f842e247ce3 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move all lit_tests under TestCases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183395 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Darwin/interface_symbols_darwin.c
san/lit_tests/Darwin/lit.local.cfg
san/lit_tests/Darwin/reexec-insert-libraries-env.cc
san/lit_tests/Darwin/unset-insert-libraries-on-exec.cc
san/lit_tests/Helpers/blacklist-extra.cc
san/lit_tests/Helpers/init-order-atexit-extra.cc
san/lit_tests/Helpers/initialization-blacklist-extra.cc
san/lit_tests/Helpers/initialization-blacklist-extra2.cc
san/lit_tests/Helpers/initialization-blacklist.txt
san/lit_tests/Helpers/initialization-bug-extra.cc
san/lit_tests/Helpers/initialization-bug-extra2.cc
san/lit_tests/Helpers/initialization-constexpr-extra.cc
san/lit_tests/Helpers/initialization-nobug-extra.cc
san/lit_tests/Helpers/lit.local.cfg
san/lit_tests/Linux/asan_prelink_test.cc
san/lit_tests/Linux/clone_test.cc
san/lit_tests/Linux/glob.cc
san/lit_tests/Linux/glob_test_root/aa
san/lit_tests/Linux/glob_test_root/ab
san/lit_tests/Linux/glob_test_root/ba
san/lit_tests/Linux/heavy_uar_test.cc
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/Linux/interception_failure_test.cc
san/lit_tests/Linux/interception_malloc_test.cc
san/lit_tests/Linux/interception_test.cc
san/lit_tests/Linux/interface_symbols_linux.c
san/lit_tests/Linux/lit.local.cfg
san/lit_tests/Linux/malloc-in-qsort.cc
san/lit_tests/Linux/malloc_delete_mismatch.cc
san/lit_tests/Linux/overflow-in-qsort.cc
san/lit_tests/Linux/preinit_test.cc
san/lit_tests/Linux/rlimit_mmap_test.cc
san/lit_tests/Linux/swapcontext_test.cc
san/lit_tests/Linux/syscalls.cc
san/lit_tests/Linux/time_null_regtest.cc
san/lit_tests/Linux/unpoison_tls.cc
san/lit_tests/Linux/zero-base-shadow.cc
san/lit_tests/SharedLibs/darwin-dummy-shared-lib-so.cc
san/lit_tests/SharedLibs/dlclose-test-so.cc
san/lit_tests/SharedLibs/init-order-dlopen-so.cc
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/SharedLibs/shared-lib-test-so.cc
san/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
san/lit_tests/TestCases/Darwin/lit.local.cfg
san/lit_tests/TestCases/Darwin/reexec-insert-libraries-env.cc
san/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
san/lit_tests/TestCases/Helpers/blacklist-extra.cc
san/lit_tests/TestCases/Helpers/init-order-atexit-extra.cc
san/lit_tests/TestCases/Helpers/initialization-blacklist-extra.cc
san/lit_tests/TestCases/Helpers/initialization-blacklist-extra2.cc
san/lit_tests/TestCases/Helpers/initialization-blacklist.txt
san/lit_tests/TestCases/Helpers/initialization-bug-extra.cc
san/lit_tests/TestCases/Helpers/initialization-bug-extra2.cc
san/lit_tests/TestCases/Helpers/initialization-constexpr-extra.cc
san/lit_tests/TestCases/Helpers/initialization-nobug-extra.cc
san/lit_tests/TestCases/Helpers/lit.local.cfg
san/lit_tests/TestCases/Linux/asan_prelink_test.cc
san/lit_tests/TestCases/Linux/clone_test.cc
san/lit_tests/TestCases/Linux/glob.cc
san/lit_tests/TestCases/Linux/glob_test_root/aa
san/lit_tests/TestCases/Linux/glob_test_root/ab
san/lit_tests/TestCases/Linux/glob_test_root/ba
san/lit_tests/TestCases/Linux/heavy_uar_test.cc
san/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
san/lit_tests/TestCases/Linux/interception_failure_test.cc
san/lit_tests/TestCases/Linux/interception_malloc_test.cc
san/lit_tests/TestCases/Linux/interception_test.cc
san/lit_tests/TestCases/Linux/interface_symbols_linux.c
san/lit_tests/TestCases/Linux/lit.local.cfg
san/lit_tests/TestCases/Linux/malloc-in-qsort.cc
san/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
san/lit_tests/TestCases/Linux/overflow-in-qsort.cc
san/lit_tests/TestCases/Linux/preinit_test.cc
san/lit_tests/TestCases/Linux/rlimit_mmap_test.cc
san/lit_tests/TestCases/Linux/swapcontext_test.cc
san/lit_tests/TestCases/Linux/syscalls.cc
san/lit_tests/TestCases/Linux/time_null_regtest.cc
san/lit_tests/TestCases/Linux/unpoison_tls.cc
san/lit_tests/TestCases/Linux/zero-base-shadow.cc
san/lit_tests/TestCases/SharedLibs/darwin-dummy-shared-lib-so.cc
san/lit_tests/TestCases/SharedLibs/dlclose-test-so.cc
san/lit_tests/TestCases/SharedLibs/init-order-dlopen-so.cc
san/lit_tests/TestCases/SharedLibs/lit.local.cfg
san/lit_tests/TestCases/SharedLibs/shared-lib-test-so.cc
san/lit_tests/TestCases/allow_user_segv.cc
san/lit_tests/TestCases/blacklist.cc
san/lit_tests/TestCases/deep_stack_uaf.cc
san/lit_tests/TestCases/deep_tail_call.cc
san/lit_tests/TestCases/deep_thread_stack.cc
san/lit_tests/TestCases/default_blacklist.cc
san/lit_tests/TestCases/default_options.cc
san/lit_tests/TestCases/dlclose-test.cc
san/lit_tests/TestCases/double-free.cc
san/lit_tests/TestCases/force_inline_opt0.cc
san/lit_tests/TestCases/free_hook_realloc.cc
san/lit_tests/TestCases/global-demangle.cc
san/lit_tests/TestCases/global-overflow.cc
san/lit_tests/TestCases/heap-overflow.cc
san/lit_tests/TestCases/huge_negative_hea_oob.cc
san/lit_tests/TestCases/init-order-atexit.cc
san/lit_tests/TestCases/init-order-dlopen.cc
san/lit_tests/TestCases/initialization-blacklist.cc
san/lit_tests/TestCases/initialization-bug.cc
san/lit_tests/TestCases/initialization-constexpr.cc
san/lit_tests/TestCases/initialization-nobug.cc
san/lit_tests/TestCases/interface_test.cc
san/lit_tests/TestCases/invalid-free.cc
san/lit_tests/TestCases/large_func_test.cc
san/lit_tests/TestCases/log-path_test.cc
san/lit_tests/TestCases/log_path_fork_test.cc.disabled
san/lit_tests/TestCases/malloc_fill.cc
san/lit_tests/TestCases/malloc_hook.cc
san/lit_tests/TestCases/memcmp_strict_test.cc
san/lit_tests/TestCases/memcmp_test.cc
san/lit_tests/TestCases/null_deref.cc
san/lit_tests/TestCases/on_error_callback.cc
san/lit_tests/TestCases/partial_right.cc
san/lit_tests/TestCases/sanity_check_pure_c.c
san/lit_tests/TestCases/shared-lib-test.cc
san/lit_tests/TestCases/sleep_before_dying.c
san/lit_tests/TestCases/stack-frame-demangle.cc
san/lit_tests/TestCases/stack-oob-frames.cc
san/lit_tests/TestCases/stack-overflow.cc
san/lit_tests/TestCases/stack-use-after-return.cc
san/lit_tests/TestCases/strip_path_prefix.c
san/lit_tests/TestCases/strncpy-overflow.cc
san/lit_tests/TestCases/symbolize_callback.cc
san/lit_tests/TestCases/throw_call_test.cc
san/lit_tests/TestCases/throw_invoke_test.cc
san/lit_tests/TestCases/time_interceptor.cc
san/lit_tests/TestCases/unaligned_loads_and_stores.cc
san/lit_tests/TestCases/use-after-free-right.cc
san/lit_tests/TestCases/use-after-free.cc
san/lit_tests/TestCases/use-after-poison.cc
san/lit_tests/TestCases/use-after-scope-dtor-order.cc
san/lit_tests/TestCases/use-after-scope-inlined.cc
san/lit_tests/TestCases/use-after-scope-nobug.cc
san/lit_tests/TestCases/use-after-scope-temp.cc
san/lit_tests/TestCases/use-after-scope.cc
san/lit_tests/TestCases/wait.cc
san/lit_tests/allow_user_segv.cc
san/lit_tests/blacklist.cc
san/lit_tests/deep_stack_uaf.cc
san/lit_tests/deep_tail_call.cc
san/lit_tests/deep_thread_stack.cc
san/lit_tests/default_blacklist.cc
san/lit_tests/default_options.cc
san/lit_tests/dlclose-test.cc
san/lit_tests/double-free.cc
san/lit_tests/force_inline_opt0.cc
san/lit_tests/free_hook_realloc.cc
san/lit_tests/global-demangle.cc
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/huge_negative_hea_oob.cc
san/lit_tests/init-order-atexit.cc
san/lit_tests/init-order-dlopen.cc
san/lit_tests/initialization-blacklist.cc
san/lit_tests/initialization-bug.cc
san/lit_tests/initialization-constexpr.cc
san/lit_tests/initialization-nobug.cc
san/lit_tests/interface_test.cc
san/lit_tests/invalid-free.cc
san/lit_tests/large_func_test.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/log-path_test.cc
san/lit_tests/log_path_fork_test.cc.disabled
san/lit_tests/malloc_fill.cc
san/lit_tests/malloc_hook.cc
san/lit_tests/memcmp_strict_test.cc
san/lit_tests/memcmp_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/on_error_callback.cc
san/lit_tests/partial_right.cc
san/lit_tests/sanity_check_pure_c.c
san/lit_tests/shared-lib-test.cc
san/lit_tests/sleep_before_dying.c
san/lit_tests/stack-frame-demangle.cc
san/lit_tests/stack-oob-frames.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/stack-use-after-return.cc
san/lit_tests/strip_path_prefix.c
san/lit_tests/strncpy-overflow.cc
san/lit_tests/symbolize_callback.cc
san/lit_tests/throw_call_test.cc
san/lit_tests/throw_invoke_test.cc
san/lit_tests/time_interceptor.cc
san/lit_tests/unaligned_loads_and_stores.cc
san/lit_tests/use-after-free-right.cc
san/lit_tests/use-after-free.cc
san/lit_tests/use-after-poison.cc
san/lit_tests/use-after-scope-dtor-order.cc
san/lit_tests/use-after-scope-inlined.cc
san/lit_tests/use-after-scope-nobug.cc
san/lit_tests/use-after-scope-temp.cc
san/lit_tests/use-after-scope.cc
san/lit_tests/wait.cc
|
092adea3fb988896bfdbf02db99b7e23b8243efd |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add a few tests for use-after-scope mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183391 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/use-after-scope-dtor-order.cc
san/lit_tests/use-after-scope-nobug.cc
san/lit_tests/use-after-scope-temp.cc
san/lit_tests/use-after-scope.cc
|
049c91975f7515206d6cd7d104af51a542bb72e7 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] One more fix for realloc: check that reallocated chunk is valid before calling memcpy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183390 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
fa50ea7718f094f3737dad23e7bc6b6c086e362b |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make free_hook_realloc test more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183387 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_hook_realloc.cc
|
7202e79d5457477b9db24daf0af2c6c7464c3378 |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183225 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
2e9ffcbc2184f308881fc04ce0799c557b7e5b0f |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183224 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_poisoning.cc
san/msan.cc
san/msan_interface_internal.h
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_interface.cc
san/rtl/tsan_interface.h
|
f43f6026dc9374e657fb6300840b18ead6347b74 |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Implement __sanitizer_unaligned_*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183221 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_interface_internal.h
san/tests/msan_test.cc
|
87bd39a72b65f1ef5c5a33fc8ba3aebae998903e |
04-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Call __asan_free_hook() before marking the chunk quarantinned Summary: With this change, the user may safely call __asan_get_ownership() from malloc/free hooks and assume it would return "true". If there is a realloc/free race, free hook might be called twice, but I think it's acceptable, as it's a data race and would later be reported anyway. This change also fixes a bug when failing realloc incorrectly marked the original memory as "quarantinned". Reviewers: timurrrr, kcc, samsonov Reviewed By: samsonov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D913 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183220 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lit_tests/free_hook_realloc.cc
san/lit_tests/malloc_hook.cc
san/tests/asan_test.cc
|
b42085e0e9e0f48d4ff776b3acae6c4ef1fab8bb |
04-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix invalid thread registry access when checking if LSan is disabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183218 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
7c9ffde46a475d6dd739e977b547c27ac5968976 |
04-Jun-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix ALIGNED misuse in asan_thread.cc (built on all platforms); also, add a comment to the ALIGNED macro describing the correct usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183214 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
anitizer_common/sanitizer_internal_defs.h
|
40527a579131210fcfa2373620a0c2200800e7c4 |
03-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] ASan Linux MIPS32 support (compiler-rt part), patch by Jyun-Yan Y git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183105 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mapping.h
san/asan_thread.cc
anitizer_common/sanitizer_stacktrace.h
anitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
5e719a705666988781b9735d62cafc808ade60e2 |
03-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_disable() and __lsan_enable(). Objects allocated after a call to __lsan_disable() will be treated as live memory. Also add a ScopedDisabler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183099 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_thread.cc
san/asan_thread.h
san/lit_tests/TestCases/disabler.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
|
d4a04154b10b51a7ea90b9b8efba7e3045ce168d |
03-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix kThreadDescriptorSize for glibc <= 2.11. Address issue reported by Greg Fitzgerald. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183098 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux_libcdep.cc
|
bb561cbcb86908e66958c0c20b0c8bc8e981bdf3 |
31-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not buffer stdin in asan_symbolize.py git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183006 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
21b40a53735f9f3282d4f1805e3392b421e0f0f8 |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Added a dummy unittest to suppress LIT warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183004 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/lsan_dummy_unittest.cc
|
895659dab7ac73ba79e48bf5d361fbfe2464058b |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Run the leak detection tests under both ASan and LSan. Change the LSan lit test logic. Now "check-lsan" tests the leak checking functionality in both standalone LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183000 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/AsanConfig/lit.cfg
san/lit_tests/AsanConfig/lit.site.cfg.in
san/lit_tests/CMakeLists.txt
san/lit_tests/LsanConfig/lit.cfg
san/lit_tests/LsanConfig/lit.site.cfg.in
san/lit_tests/SharedLibs/huge_tls_lib_so.cc
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/TestCases/SharedLibs/huge_tls_lib_so.cc
san/lit_tests/TestCases/SharedLibs/lit.local.cfg
san/lit_tests/TestCases/large_allocation_leak.cc
san/lit_tests/TestCases/stale_stack_leak.cc
san/lit_tests/TestCases/use_globals_initialized.cc
san/lit_tests/TestCases/use_globals_uninitialized.cc
san/lit_tests/TestCases/use_registers.cc
san/lit_tests/TestCases/use_stacks.cc
san/lit_tests/TestCases/use_stacks_threaded.cc
san/lit_tests/TestCases/use_tls_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
san/lit_tests/TestCases/use_tls_pthread_specific_static.cc
san/lit_tests/TestCases/use_tls_static.cc
san/lit_tests/TestCases/use_unaligned.cc
san/lit_tests/large_allocation_leak.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.common.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/stale_stack_leak.cc
san/lit_tests/use_globals_initialized.cc
san/lit_tests/use_globals_uninitialized.cc
san/lit_tests/use_registers.cc
san/lit_tests/use_stacks.cc
san/lit_tests/use_stacks_threaded.cc
san/lit_tests/use_tls_dynamic.cc
san/lit_tests/use_tls_pthread_specific_dynamic.cc
san/lit_tests/use_tls_pthread_specific_static.cc
san/lit_tests/use_tls_static.cc
san/lit_tests/use_unaligned.cc
|
a879f10ee6aa04f6169d056ef2a9c39502fff290 |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix gcc build of msan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182999 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_interceptors.cc
|
b36779d6e9c55e97b2258fe30e8e02c416b14dda |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Handle mixed track-origins and keep-going settings (compiler-rt part). Before this change, each module defined a weak_odr global __msan_track_origins with a value of 1 if origin tracking is enabled, 0 if disabled. If there are modules with different values, any of them may win. If 0 wins, and there is at least one module with 1, the program will most likely crash. With this change, __msan_track_origins is only emitted if origin tracking is on. Then runtime library detects if there is at least one module with origin tracking, and enables runtime support for it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182996 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/SharedLibs/dso-origin-so.cc
san/lit_tests/SharedLibs/dso-origin.h
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/dso-origin.cc
san/msan.cc
san/msan_interceptors.cc
|
4fcc565018922bc50bd07858152e772bf642d5bb |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix r182994 - update test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182995 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
ba2169a467abf86c15d4b19a5ed4d978c584a98e |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182994 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lsan_allocator.cc
san/lsan_common.cc
anitizer_common/sanitizer_allocator.h
|
00c35cfe108797f6677252fd77214c0cbccb5c5b |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of addrinfo::ai_addrlen. Add compile time tests for sizes and offsets of all sanitizer-posix types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182993 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
2592a0614d91fe947cd04fe7e2719d273e3e4880 |
30-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for the quemu bug in proc maps (http://code.google.com/p/address-sanitizer/issues/detail?id=160) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182922 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
816bdb76f98febeb68456e4b570f2c09f2013451 |
30-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix #if guards in sanitizer_common code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182918 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux_libcdep.cc
anitizer_common/tests/sanitizer_linux_test.cc
|
f8c3f3db72780cd57ce7959e70167b7553e55fb8 |
30-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] introduce LargeMmapAllocator::GetBlockBeginFastSingleThreaded, required for LeakSanitizer to work faster. Also fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182917 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_poisoning.h
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
41dcb1c8848c8677c06216c6fcaa9b001f736778 |
30-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Minor cleanup: remove a couple of unused variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182915 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
8d2438a7ebb01201c652f91d1e8043a1f3d03bff |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Replaced 'bool .* = 0;' with '... = false;' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182868 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
69c1d48dfb6f4bfa088c5931768878b3a1d721b7 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix r182858. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182862 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/unpoison_tls.cc
|
2e8fae79eaf8adb7ed09f3a2ee923d9296974d2f |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix r182854: run the unpoison_tls test only on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182858 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/unpoison_tls.cc
san/lit_tests/unpoison_tls.cc
|
5e97ba38b00eb843a55189bb913b445cbe620894 |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix MSVC W3 compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182857 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.cc
san/asan_fake_stack.h
san/asan_interceptors.cc
san/asan_poisoning.h
san/asan_report.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_common_libcdep.cc
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_printf.cc
|
12d01bac1c09a8412546e71485a3cba2d416c0fc |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Make ASan report the correct thread address ranges to LSan. This CL enables thread support in LSan when used on top of ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182854 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread.h
san/lit_tests/unpoison_tls.cc
|
4c086441ff9d06e53fa941671781008d453dba49 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Change the way GetThreadStackAndTls() obtains the thread descriptor address. Instead of using arch_prctl(ARCH_GET_FS), read the address from the tread descriptor itself. This lets us avoid sandboxing issues. Also, GetThreadStackAndTls() can now be implemented on i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182853 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_linux_libcdep.cc
anitizer_common/tests/sanitizer_linux_test.cc
|
512c616cacf70ca029a2bf719a482b902f3687cd |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix getaddrinfo interceptor to use the actual returned sockaddr size. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182852 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
51c963a812ca2fd24a72e17d1b5c127f4f9290bd |
29-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Unweak SymbolizerPrepareForSandboxing and move it to libc-independent part. Fixes the Go build. Differential Revision: http://llvm-reviews.chandlerc.com/D877 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182851 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
e174cd1ee373c3b77f3ce8e7fc62f70d0668d03d |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix MSVC warnings at the -W2 level git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182848 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_quarantine.h
anitizer_common/sanitizer_thread_registry.cc
|
e215980807069d7bdeb1beff8377b3fe7be33c5f |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182845 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
bc33e138d82759074f8333239f96506027731e20 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getpeername. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182844 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
9666d89b628867b2c790d5415f0371fdb4050b0c |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move TSan and MSan recvmsg interceptors to common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182843 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_interceptors.cc
|
24cdfee9776abddcd6c96240e398706667029e0d |
29-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: match "race" suppressions against "race on vptr" reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182842 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
|
5aac3a6caad7bd3c82050db13a37eb1a3808b5ac |
29-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Now that we have a custom allocator, remove dummy allocator definitions from test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182841 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_nolibc_test_main.cc
|
845abaf0e3287a6abb1c6b6200d4e6b96896f929 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182840 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_allocator_internal.h
|
c91a93897a14fcd68bdd835ad6c6a4d12d2f78e6 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Convert the remaining LSan tests to output tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182839 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/SharedLibs/huge_tls_lib_so.cc
san/lit_tests/large_allocation_leak.cc
san/lit_tests/stale_stack_leak.cc
san/lit_tests/use_globals_uninitialized.cc
san/lit_tests/use_registers.cc
san/lit_tests/use_stacks.cc
san/lit_tests/use_stacks_threaded.cc
san/lit_tests/use_tls_dynamic.cc
san/lit_tests/use_tls_pthread_specific_dynamic.cc
san/lit_tests/use_tls_pthread_specific_static.cc
san/lit_tests/use_tls_static.cc
san/lit_tests/use_unaligned.cc
anitizer_common/scripts/check_lint.sh
|
c87088b54f7438d589119d314853a5f3b00d02b5 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] modf/modff/modfl interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182838 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
616659a1608efe3791e749d406824032afe694e9 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Exclude sanitizer_nolibc_test from TSan test run. Fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182837 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/use_globals_initialized.cc
anitizer_common/sanitizer_allocator_internal.h
san/Makefile.old
|
1f3c2fee395abc36230c445e9ebdba55c4729d35 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_report.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_allocator_internal.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_symbolizer_libcdep.cc
anitizer_common/tests/sanitizer_allocator_test.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.h
|
9d1525ec52430d0b8ffd6d0893b7f5529105b321 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Share TSan accept & accept4 interceptors with other sanitizers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182835 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_interceptors.cc
|
3538eb8a245ea4d17824d8a53feb8cecd3358762 |
28-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Improve getaddrinfo interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182775 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/getaddrinfo-positive.cc
anitizer_common/sanitizer_common_interceptors.inc
|
6ac157da0bcbd2951ee110d8da27eb188d2a3cd7 |
28-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Change report header to be more alike to ASan and TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182774 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/getaddrinfo-positive.cc
san/lit_tests/heap-origin.cc
san/lit_tests/no_sanitize_memory_prop.cc
san/lit_tests/stack-origin.cc
san/msan_report.cc
|
cc8ed30ebfb4ff6f9d9c7e77760dd5c7841a1af8 |
28-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Add a test case for Linux/x86_64. Differential Revision: http://llvm-reviews.chandlerc.com/D873 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182770 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_nolibc_test.cc
anitizer_common/tests/sanitizer_nolibc_test_main.cc
anitizer_common/tests/sanitizer_test_main.cc
|
8a4f89ab04ae6075d50eb1d95c8dd80f0bf198b1 |
28-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make SymbolizerPrepareForSandboxing weak and optional. Differential Revision: http://llvm-reviews.chandlerc.com/D872 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182765 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_symbolizer.h
|
c09c9017cedda2ab23d834318176df2afa720804 |
27-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make AddressInfo::Clear a weak function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182743 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.h
|
43e99ae95299017fb3cbb7d1c8677c6006d3537f |
27-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Use an address-of operator here to silence an MSVC warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182740 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
ebe3a3608be122e799e264931f9cecf4cbc84edd |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Begin converting LSan tests to output tests. In this CL all old tests are removed and one LIT test is added. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182730 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/lit.cfg
san/lit_tests/use_globals_initialized.cc
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
san/tests/CMakeLists.txt
san/tests/lsan_dummy_unittest.cc
san/tests/lsan_test.cc
san/tests/lsan_tls_loadable.cc
anitizer_common/scripts/check_lint.sh
|
98d3b40ec5cf06e46397492c21acc9d18e8c54ab |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182728 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_thread.cc
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
|
57434a3174cfd9c4c5f304ea412492e4935cc18d |
27-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Improve support for compiler-rt tests in CMake build. Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182726 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
anitizer_common/tests/lit.cfg
anitizer_common/tests/lit.site.cfg.in
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
bsan/lit_tests/lit.cfg
bsan/lit_tests/lit.site.cfg.in
|
a09d09d29e250e905bdfaf819979b9c3e9adc047 |
24-May-2013 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/12512722> Use arm divide instruction if available git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182665 91177308-0d34-0410-b5e6-96231b3b80d8
rm/divmodsi4.S
rm/modsi3.S
rm/udivmodsi4.S
rm/umodsi3.S
|
f5a9ace4904e9daf3d962274cbbcb702ebc5450e |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allow the ignored TLS range to be empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182657 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
|
8e66cf5e2b56214996185fce37cd704898d8bc9b |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Minor adjustments to LSan messages. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182648 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
san/lsan_common_linux.cc
|
6c3634b1d5eeb0bffea01df10caa7168c48c8c5d |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Prettify LSan reports and add a summary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182646 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
san/lsan_common.h
|
969b529914f5bc17e4810076dccbaadf563d584c |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add exitcode flag. Kill the process if leaks are found. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182641 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
san/lsan_common.h
|
46efcb09dc16b91cb805abea52f3ff6081a63751 |
24-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Disable init-order checking before destructors are run. We don't want to report initialization-order bugs when a destructor of a global variable accesses dynamically initialized global from another (not necessarily initialized) module. We do this by intercepting __cxa_atexit and registrering our own callback that unpoisons shadow for all dynamically initialized global variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182637 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/asan_internal.h
san/lit_tests/Helpers/init-order-atexit-extra.cc
san/lit_tests/init-order-atexit.cc
|
2811a0ccbadb9f8c50fe0b6aa8e4e39193fef4e7 |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Don't override 'mode' and cleanup some variable names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182599 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
468eb10c6051c6f93df75cfc34fc98180dea1bbf |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Add 'mode' parameter when using 'O_CREAT'. Thanks to Evgeniy for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182598 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
e850b87a9b18774385a337159c5ce1811bfc4a02 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add lit test support. "check-lsan" now runs both the tests from lib/lsan/tests and any lit tests found under lib/lsan/lit_tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182583 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/tests/CMakeLists.txt
san/tests/lit.cfg
san/tests/lit.site.cfg.in
|
3086d7bd6456e43b6695c8356db364ade826dce3 |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Try to fix the Go-TSan build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182582 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
2a5c67895d8da24c37701af37e24379f3f3ae838 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] Remove -Wgnu from Makefile.old. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182580 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/Makefile.old
|
5ce93fc96ab5e2defd85890da63b51cc4c57a2af |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Introduce SymbolizerPrepareForSandboxing(), which is a no-op on every platform except Linux (because we don't support sandboxing anywhere else yet) On Linux we pre-cache the value of readlink("/proc/self/exe"), so that it can be later used when the sandbox has been turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182579 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_linux_libcdep.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
|
5b2afc3e655f32c8b9d4b7c8b0ad31681f16cf06 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix line >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182578 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
33b1485c3f1ea5a8089473ab1bb962d7bfb41d72 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182576 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
40b631f03580b3c631f332c1f4ebfbed453b4283 |
23-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182575 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
f32be42523a199674ea665a499db131591e64e08 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getsockopt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182574 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
0a2cc37712a452525f9f03b3bf67b1f0a97c8d3a |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Interceptors for gethostbyname and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182573 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
fc1a61203fec6797060744c5c6754b0ae924f5b2 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Ensure lsan is initialized when interceptors are called. Also remove unnecessary ifdefs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182571 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan.cc
san/lsan_allocator.cc
san/lsan_interceptors.cc
|
a7e8c97e8af9e375ea37cf03a3da0cd645d95d6a |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Rename __asan_preinit to __local_asan_preinit to avoid warnings from the linker which is trying to export all the __asan_* symbols git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182567 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_preinit.cc
|
d06f2fc03087e7cccda19bd550bf6fb3bc2f5ae7 |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Performance improvement. Using fwrite and fread was very *very* slow. The resulting code was multiple times slower than GCC's implementation of gcov. Replace the fwrite/fread system with an mmap() version. If the `.gcda' file doesn't exist, we (re)allocate a buffer that we write into. That gets written to the `.gcda' file in one chunk. If the `.gcda' file already exists, we simply mmap() the file, modify the mapped data, and use msync() to write the contents out to disk. It's much easier than implementing our own buffering scheme, and we don't have to use fwrite's and fread's buffering. For those who are numbers-oriented, here are some timings: GCC Verison ----------- `.gcda' files don't exist: 23s `.gcda' files do exist: 14s LLVM Version (before this change) --------------------------------- `.gcda' files don't exist: 28s `.gcda' files do exist: 28s LLVM Version (with this change) ------------------------------- `.gcda' files don't exist: 18s `.gcda' files do exist: 4s It's a win-win-win-win-lose-win-win scenario! <rdar://problem/13466086> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182563 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
a05fd3189eec45af6d737be89194471c0972905d |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build one more time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182481 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
73c9878bec490bbc1dab4ee8df91a8e5b3bfc5cf |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182479 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
84d0d7d71cade296e4b45cb1d74f04c8ffe82e09 |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Effectively revert r182453 - atomic.c may not be compiled if host compiler doesn't understand _Atomic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182478 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d570bb4c7d82767d26ada0f923f84b10d8ec0fc6 |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the reported PCs for powerpc64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182477 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
9f58c5c60a56d9c39d36b5313dc87ad4bb713163 |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept getsockname. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182475 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
761cabb143283c428aa5af5d45dca7d0a0db74fd |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182473 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
975a3294d9baf6bbbcfdb3c3a0e0a24714cde7cb |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r182465 and add lsan-common library to makefile-based build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182470 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/CMakeLists.txt
san/asan_allocator2.cc
san/asan_rtl.cc
san/Makefile.mk
|
e0f18f2a532acad86f1601a6ea26ebcd5654c8a8 |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182469 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.h
|
447ef19d1b8cebbeaba49e4be22ac721448dcf3e |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] getaddrinfo & nested interceptor support. Multiple connected changes: - Ignore reads from nested interceptors. - Check shadow on reads from common interceptors. - getaddrinfo interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182466 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/getaddrinfo-positive.cc
san/lit_tests/getaddrinfo.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
b5433dd977c6b528b7e0d83fa1fc45d6503a1226 |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Temporary remove leak checking from ASan, while we don't have makefile-based build for LSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182465 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator2.cc
san/asan_rtl.cc
|
ac39dfb85e6b0007b313a794fed9f093878c05fd |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182463 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/stack-overflow.cc
|
c26d450d5f459ffb91a4225b6367d57bf6c36b8d |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attempting to fix the debian bot (on ubuntu the test builds; on debian it complains that _SC_PAGESIZE is unknown) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182462 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/dlclose-test.cc
|
5cf3cedc0d469a266880d9bfb5eccfabf2033388 |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix dlclose-test to work with non-4K pages. Properly disable interface_symbols_linux on non-x86 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182461 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/interface_symbols_linux.c
san/lit_tests/dlclose-test.cc
|
30e970f769ccf11e61e472c6f8b22f8e866c592f |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for asan bug 189 (swapcontext followed by throw gets OOM kill). Also, disable swapcontext_test on non-x86. Fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182456 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lit_tests/Linux/swapcontext_test.cc
san/tests/asan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
6cef9789d8e2c712ce650fde6fd8c49f396ee81c |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Add atomic.c to CMake build of compiler-rt to match r182420 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182453 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
e04a1fdc5d173586408421144a0cd79d1767f918 |
22-May-2013 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/13806954> enable __atomic_* functions for Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
tomic.c
|
d4ad20b6bb6e790dd8397bc6ca6a901781f7460f |
21-May-2013 |
Daniel Dunbar <daniel@zuster.org> |
Add atomic.c back to the builtins module sources lists (for Makefile build). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182420 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
|
4cacb4f6fb6127099fa5a816b12b2565e5bed4fe |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Invoke leak detection with atexit(). Keeps it consistent between ASan and LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182399 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lsan.cc
san/lsan_allocator.cc
san/tests/lsan_testlib.cc
|
0bc81775b75f2c8c6c8c0e1af4008771d5b882ab |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182389 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lsan_common.cc
|
71f0411c8289b57bc1a2cb3ccc02ae7fae25fd33 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_rtl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182384 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
|
9bdf7802d403b53baee3433ddddc220f457e039c |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Change CMakeLists to build the common LSan module for ASan. Also, define CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182383 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/CMakeLists.txt
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
|
4d1b3830595e9c74b42a5a1e4a04b4e53f0d61bd |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Add empty default blacklist for MSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182382 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_blacklist.txt
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/default_blacklist.cc
san/msan_blacklist.txt
|
c1caacee4245f4511b52a697b2ae300a1c53ddef |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create default (empty) ASan blacklist file in resource directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182380 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_blacklist.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/default_blacklist.cc
|
79367ad4c69cf832395ff0d2df647634c553683d |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_allocator2.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182379 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
f1ac1a44b4ed022f0a587a6bd711b1afbd3f8f62 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_thread.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182378 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
|
3bc65b1dfb62a5e4f230f1853f10555956b7e4e7 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] LSan in LD_PRELOAD library form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182376 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/lsan_testlib.cc
|
4515a21fff1b17698017c0bc51e2d828de8f6d9f |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Print verbose warning if symbolizer can't read /proc/self/exe for some reason git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182374 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
8b3af3a0e9426e9e0b2986b97360bd820ef05c7f |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional using a weak symbol. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182372 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_libcdep.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
705e310b98e85f893a69bccad1a9c066e2f4c277 |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move stoptheworld to RTSanitizerCommonLibc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182369 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
04a2281586c2dafaa523d4e8dc5488b52e44194e |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move libc-dependent sanitizer_posix.cc code to sanitizer_posix_libcdep.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182366 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_posix_libcdep.cc
san/go/buildgo.sh
|
37642cf7d1127684e79efe3154c57f30975f236b |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Mark init-order test as XFAIL on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182365 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/initialization-bug.cc
|
a6e7d8d6369eb676d8c4ed4223e42743e367057f |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't run fast unwinder tests on 32-bit Linux as fast unwinder may be unexpectedly smart on some hosts git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182363 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/malloc-in-qsort.cc
san/lit_tests/Linux/overflow-in-qsort.cc
|
f49547952986aac2b958cc97bdc662ddbf32500d |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable pthread_getschedparam interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182361 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
|
098847d2a24ca010e543adb3e1140d56f30a6a90 |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Mark some tests as working only on x86_64 and i386 arches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182360 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/asan_prelink_test.cc
san/lit_tests/Linux/interface_symbols_linux.c
san/lit_tests/Linux/malloc-in-qsort.cc
san/lit_tests/Linux/overflow-in-qsort.cc
san/lit_tests/Linux/time_null_regtest.cc
san/lit_tests/Linux/zero-base-shadow.cc
|
e6c62f2271c25567ac0bbbe68c7323b49330373c |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Replace GetArgv hack with something that is slightly better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182359 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
6b5346e5a7d9e9107842b6a7af79fe2667c40900 |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Add lit config feature <target>-supported-target to mark target-specific tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182355 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.site.cfg.in
it.common.cfg
|
dc563c0efbba5aec49b20a4d74e020feb75d7e8a |
21-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect when a thread ends with ignores enabled git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182354 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/thread_end_with_ignore.cc
san/lit_tests/thread_end_with_ignore2.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_thread.cc
|
56d3472104dd9fec6578e02f4895f3254e038e8e |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept pthread_getschedparam. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182353 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a8bc34e420d27c47560b0742cec295e40b0f430e |
21-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix asan on the platforms where the page size is not a compile-time constant (or at least where EXEC_PAGESIZE may not be trustworthy), e.g. powerpc64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182351 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
4df343a31cf57c309cf102b9aef870458318f579 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move GetPageSize to the individual platforms. GetPageSize wraps sysconf(_SC_PAGESIZE) on POSIX platforms, but sysconf resides in libc. To make this libc-independent on Linux, move the wrapper to sanitizer_mac.cc and return the Linux-specific constant EXEC_PAGESIZE in the sanitizer_linux.cc implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182303 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
|
088ea2b46f97172bd0b0663a629e11cf826b84f7 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move libc-dependent sanitizer_linux.cc code to sanitizer_linux_libcdep.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182292 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux_libcdep.cc
san/go/buildgo.sh
|
26337b60b1d551c4744454edd8e5ef3c479e3467 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make GetArgsAndEnv libc-independent. __libc_stack_end is made into a weak symbol if possible. If libc is not linked, read args and environment from /proc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182276 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
74799cad0c370391a087567507a59c5dba1348ab |
20-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Build LSan on x86_64 only if this target is supported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182272 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
b9c9ce7dfdc0564ddc64f409a995265a3ee89634 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix r182256. Add missing call to GetUserBegin(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182267 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common_linux.cc
|
6a659dfd8e717a598f54867aa36c2e4af09d031b |
20-May-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182259 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
anitizer_common/sanitizer_common_interceptors.inc
|
29b756851c04df07f1584dfd77021dd2f37a7391 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] GetUserBegin() in LSan. Separate the notions of user-visible chunk and allocator chunk, to facilitate ASan integration. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182256 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_allocator.cc
san/lsan_common.cc
san/lsan_common.h
|
41d69f4fd5454d5bf2614cbb3e8ed77a935c880b |
20-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix realloc'ing freed/invalid pointers See https://code.google.com/p/address-sanitizer/issues/detail?id=187 for the details git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182255 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
|
e7ca05603222f61bab630f619bf59c0c927ff7de |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Modify ASan metadata atomically. We need this to avoid races when ASan and LSan are used together. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182252 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
f484ff329597a307b51bd4af308d87f18fd3c2cb |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] CMakeLists and lit test configs for LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182251 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/tests/CMakeLists.txt
san/tests/lit.cfg
san/tests/lit.site.cfg.in
|
fc98a1acf56088cfb2226718f8d1d8f0034457d4 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Tests for LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182250 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/lsan_test.cc
san/tests/lsan_tls_loadable.cc
anitizer_common/scripts/check_lint.sh
|
ab0f74438abd73342a9d09e1d8b687461cf18da1 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Common leak checking module. Leak checking functionality which will be shared between LSan/ASan/MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182249 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_common.cc
san/lsan_common.h
san/lsan_common_linux.cc
|
e96c62a9f60c615fae16b1d645cd4afb29a4e87a |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Standalone LSan initialization. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182248 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan.cc
san/lsan.h
|
7ea7d20ea31f2146817967512356652cc1f72004 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Interceptors for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182247 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_interceptors.cc
|
56f77a7570d96aa4c6afb7ab26e58925b2506f86 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Thread registry for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182246 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_thread.cc
san/lsan_thread.h
|
c99de512472c5635e554d983c225aa3a92a20202 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allocator for standalone LSan. This is the first in a series of CLs implementing LeakSanitizer. http://clang.llvm.org/docs/LeakSanitizer.html git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182245 91177308-0d34-0410-b5e6-96231b3b80d8
san/lsan_allocator.cc
san/lsan_allocator.h
|
7ce8de1854fbc164e08dd715217240b8f2f0b06c |
20-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove an unused ChunkBase field Also fix wrong alignment maths and an outdated comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182238 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
1b54cbfbd12d6302838a6d4d6c42d90bd9c6b9d5 |
20-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be later replaced with a more memory-efficient implementation on 64-bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182234 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
b877cb56b8ae051cab995704e3eec48119cffc64 |
19-May-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Avoid rebuilding the RTSanitizerCommon objects when building clang_rt.san. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182218 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
|
fb98d3dc1e3a5eb9130fb7f16b8a50b616498139 |
18-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Replace CHECK(a == b); with CHECK_EQ(a, b); throughout asan_allocator2.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182198 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
8cb3f754f1ab33a03107147c0eb5bd5d91f9f39b |
18-May-2013 |
David Blaikie <dblaikie@gmail.com> |
Fix the UBSan CMake build broken in r182118 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182177 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
|
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 |
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move all platforms to internal_getpid. Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_printf.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
0c547de62dc0852a03fae2d868fa571e7f5512b3 |
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Begin moving sanitizer_common's libc-dependent code to a separate library Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182118 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/CMakeLists.txt
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_common_libcdep.cc
anitizer_common/tests/CMakeLists.txt
san/rtl/CMakeLists.txt
|
782703fe81c0151b67edcf9acf20388381857fdf |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with Android NDK r8e. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182110 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux.cc
|
c754cd70347b33da0475b191a5d6bad9d5c4362c |
17-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make the regression test for time(NULL) Linux-specific, as it crashes on Darwin (and the problem used to occur on Linux). Do not use zero-based shadow for the time() test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182107 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/time_null_regtest.cc
san/lit_tests/time_interceptor.cc
|
0228452463054a4b0489ebd9c057962cbe583831 |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix gcc build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182094 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
|
1aad6b5444207887ecea2b9e87526585d1ce0592 |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison dlpi_name in dl_iterate_phdr interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182093 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
a1b3f0d956862266c23526d5c14b5ae2bc274716 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove "printing report from signal handler. Can crash or hang" output it was added to debug mysterious hangs, but it does not seem to happen anymore now it only clutter up output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182089 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
8354faeec647dc5b420726fa61616189392d5045 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce recursive mutex lock/unlock java interface this is required to handle Object.Wait() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182088 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java.h
san/lit_tests/java_lock_rec.cc
san/lit_tests/java_lock_rec_race.cc
san/rtl/tsan_interface_java.cc
san/rtl/tsan_interface_java.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
|
374fd35926d1c4877ac26ca8e2877154cb698cb5 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182087 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
972f301fdbd7a7e058766539d6f51b9be3fdf55f |
17-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix allow_user_segv.cc on Darwin (32-bit build required a SIGBUS handler instead of the SIGSEGV one) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182080 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/allow_user_segv.cc
|
31750e3acce47343329e9b930d50a5f38d159edf |
16-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix init-order-dlopen.cc to pass under Mac OS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182010 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/init-order-dlopen.cc
|
5584c0465ebe273b28af7c9bd65476ddf3d3dee8 |
16-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix interface_symbols_darwin to pass a correct flag to nm. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182008 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Darwin/interface_symbols_darwin.c
|
8d6854a62ee044c19692a3a9e4870f57c30fc887 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182006 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
b76ea0ce262a97e39fbf443b6aa8768c2c27e7b7 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] symbolize when possible, even if ASAN_SYMBOLIZER_PATH is not provided. On Linux this will use dl_iterate_phdr instead of /proc/self/maps, even if the symbolizer is not installed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182005 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
2bba4efbf0df4bfac8e0aac1a924ba763dd9c468 |
16-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept dl_iterate_phdr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182004 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_interceptors.cc
san/msan_interface_internal.h
san/tests/msan_test.cc
|
f14ef72c52673c8c37c95b07fcc79631a10d7772 |
16-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix the region overflow condition in SanitizerAllocator64::PopulateFreeList(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182002 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
c7014ed50a8aecac83ab7767a76efe8a04cea680 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix a gcc warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181992 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
9277b1ff831ad4e3979e7a6203e838d6d62266c6 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix ShadowGapTest on PowerPC64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181991 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
871b7fd4fdde47cbf36c2b5c19d679e87dd11df6 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the GetBlockBegin overflow bug while preserving the performance optimization (use 32-bit division when possible). Improve the benchmarks that checks for performance of GetBlockBegin/GetMetaData git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181989 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
a1560bd5d12ddf245ca44fa6a259e9b5c5f81933 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] added a test for a bug in allocator discovered by Sergey Matveev (uint32 overflow in GetBlockBegin) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181984 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
2a46a60510948b5005d62025fbba307a0323ed8d |
15-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Try to improve performance by using a read/write buffer instead of I/O. The calls to fwrite/fread can be very expensive. GCC avoids this by using a buffer to read and write from the file, thus limiting the number of fwrite/fread calls. <rdar://problem/13466086> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181924 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
0bdc46c7ee03e8c4e4da7c5ac43edac237aa53e2 |
15-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] disable BuiltinLongJmpTest on PowerPC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181890 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
f931da85ce8668751628ded926ecad013c5d6f1a |
15-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix powerpc build and one test; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181881 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/tests/sanitizer_linux_test.cc
|
97443eb1a62fd2cdc96079b7ac2d9c9a92653f25 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181796 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux.cc
|
f75c8ca99ff4a41169fe2b95df3a2d4bbf02f1ab |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed a bug in GetListOfModules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181793 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux.cc
|
d1470cbaab10715511c83b91dfdefe59d98fa595 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Filtering in GetListOfModules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181791 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
|
84b35c4ddf4e9ad23b40bb4c4d9fbc4c0a3d53a2 |
14-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add sanitizer syscall hooks to the tool's export lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181790 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan.syms
san/msan.syms
san/rtl/tsan.syms
|
3de0086409d143a612a54a7a0ed809e286656188 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] LibraryNameIs in sanitizer_linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181787 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/tests/sanitizer_linux_test.cc
|
a615b26e3e3c2da0b2f950f506f6c2c220430c19 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Minor fixes in sanitizer_common tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181786 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_common_test.cc
anitizer_common/tests/sanitizer_libc_test.cc
anitizer_common/tests/sanitizer_linux_test.cc
anitizer_common/tests/sanitizer_stoptheworld_test.cc
anitizer_common/tests/sanitizer_stoptheworld_testlib.cc
|
411e828bf174dab9cfe7b64a5081cb870b71a73a |
14-May-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix gcc build with -Wall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181763 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_libc_test.cc
|
15bb32b9e1342030a6c4742625f3c3356de42a2a |
13-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Generic sorting in sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181698 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
|
115accb935dc1464d78e041d2aaf571044dfdc60 |
13-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix StopTheWorld build on non-Android ARM. Original patch by Abdoulaye Walsimou Gaye. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181697 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux.cc
|
6712833072765dbe066af4b6723f38a35d0b7b3c |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Try to fix Windows build too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181457 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
65246dc7e77c4e089898a1f15ead65f6087795ef |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Try to fix the mac buildbots git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181440 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
9578a3ecfc35a264ede1135033398e2a77a6cad6 |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Change internal syscall API to remove reliance on libc's errno. This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_syscall_generic.inc
anitizer_common/sanitizer_syscall_linux_x86_64.inc
anitizer_common/sanitizer_win.cc
anitizer_common/tests/sanitizer_libc_test.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_suppressions.cc
|
33280bba681b7bb683be01749aaba70dc06ffb6c |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
Quick fix for ASan test build on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181429 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
3e3f80db37dcec9a3dc6315f11f0937394fa70ba |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix build breakage in Go TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181428 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
736cf49a46b3cc5aa1856762f85e6f2799c24e5a |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move GetStackTrace from ASan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181424 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_stack.h
san/asan_win.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_stacktrace.h
anitizer_common/sanitizer_win.cc
|
f310654ee19b6887677a09f09e522e36e81eb9da |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed InitTlsSize for Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181330 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
35f1c1f7d4f18097c9eca2ce5f6c34a686707829 |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed includes in sanitizer_linux.cc for Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181327 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
24323de08fa8850712d56621bff29dbbbd0285a9 |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common. Move this function to sanitizer_common because LSan uses it too. Also, fix a bug where the TLS range reported for main thread was off by the size of the thread descriptor from libc (TSan doesn't care much, but for LSan it's critical). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
anitizer_common/tests/sanitizer_common_test.cc
anitizer_common/tests/sanitizer_linux_test.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
san/tests/unit/CMakeLists.txt
san/tests/unit/tsan_platform_test.cc
|
2be3a283939d4fc14ad86f6cd8be34b1468f22ba |
07-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Sanitizer __internal_*stat interface. With this change, __internal_*stat always expect a "struct stat *" argument. This avoids stat/stat64 caller-side confusion (sanitizer_common tests already made this mistake), and allows the use of __internal_fstat() as a drop-in replacement for libc's fstat(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181311 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/tests/sanitizer_libc_test.cc
|
3a02de31fcd8f0071c5d1f2048c7cc1643c16327 |
04-May-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r180792. Change-Id: I7e42def7ed94e1fd15a1de3ad6eb53ce3248b783
san/Android.mk
|
0b4bf4d72be10ba114c9b1f73aca45acd0e44ddc |
06-May-2013 |
Sergey Matveev <earthdok@google.com> |
[msan] Common flags in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181194 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_flags.h
san/msan_report.cc
|
ed20ebe35c64b8c7043447f6a48b0e5adc89aded |
06-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Common flags in ASan. Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181193 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_flags.h
san/asan_report.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
|
346e348af5740db3660c84490d2c1bbba7c570e5 |
04-May-2013 |
Bill Wendling <isanbard@gmail.com> |
I was wrong in my testing. There isn't a speedup when using unbuffered I/O. It slows it down in fact. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181060 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
ca4417d35e8c1644f2f45d52e07dafdee75f1e55 |
03-May-2013 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'upstream/master' into merge-20130502
|
d83a6d8bafbf2afa3ebcf9e006bf0c7414f9b2dc |
03-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Use unbuffered I/O. This reduces the runtime by about half. Our implementation is now only about 5 times slower than gcc's. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180980 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
6a72c9d8509bb8e751cb92e71407c039a767caa1 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180788 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
19bbac0983f71293405af9692a83b52c4c8d2498 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180787 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/unaligned_race.cc
|
4f5e4bbdf775354433430fea4598ff3991442915 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix printf(), on the second pass it prints garbage and crashes on random pointer dereference git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180784 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
94d8b448e046f3976b13ab79130c389115754022 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix deadlock detector table (OK to lock sync var mutex during reporting) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180782 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/mutexset8.cc
san/rtl/tsan_mutex.cc
|
924047f32220f8da9c308acddbc0a41b952e7a0d |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reverse stack trace for failed CHECK's, this is how we print traces in other places git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180781 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
8ecd0e5d9f389d18653892851c6ffb2f235de4b7 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180780 91177308-0d34-0410-b5e6-96231b3b80d8
san/analyze_libtsan.sh
san/lit_tests/unaligned_norace.cc
san/lit_tests/unaligned_race.cc
san/rtl/tsan_interface.cc
san/rtl/tsan_interface.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
f82eb24b61f8c0f23396ed5ba68f5ace7656e986 |
29-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asna/tsan/msan: fix wait() interceptors to allow NULL arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180703 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
62db3f26edf6c17ab562c0480176341303a9463a |
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
Revert r180599 "[sanitizer] Clear LD_PRELOAD when forking an external symbolizer." git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180602 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
ab06583d10baafeb657ad3e87d77f4ebfb2a6190 |
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Clear LD_PRELOAD when forking an external symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180599 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
332bf3340435a85d39d6abefbf4d6a145e17da1c |
25-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180255 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_interceptors.cc
san/asan_rtl.cc
san/lit_tests/allow_user_segv.cc
|
45269092b22468fd1f9c74de04f8560c05d5b862 |
25-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a test that used to crash, fixed by r180180. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180251 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/oob_race.cc
|
46fea91f84311643cbe7c8daf70c7f81656cf3e1 |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix stack traces for malloc and free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180184 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_stack.cc
san/rtl/tsan_rtl.cc
|
5d9915efd0abc6f4e550b2f07811e4db7243e1b8 |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: run tests sequentially otherwise cmake says: make[3]: make[3]: /bin/sh: ../../../../../bin/clang: Text file busy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180183 91177308-0d34-0410-b5e6-96231b3b80d8
san/check_cmake.sh
|
edd2821982c058469dca631a3147fdd42045c48a |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable getpwuid_r() and glob64() interceptors under tsan, because they cause interceptor recursion if user intercepts fopen() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180182 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_interceptors.cc
|
03049413f8978c202a254eb0acfa2f10b9bbe34a |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when data race happens on out-of-bounds accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180180 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_sync.cc
|
d36f07c7f2a915616c3f784c5f77f21f1b86817f |
23-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support heap starting at 0x04c0 (used in some custom deplyments) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180116 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
|
4860c68bafe61e02a84ce8bc76095f5e5e5539e1 |
23-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update Go memory mapping, Go now uses 0x00c0 heap base git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180113 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
|
9530eb721dfacdf2c3f46d408e22d3f7cf8be667 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept inet_pton and inet_ntop. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180107 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
bdd0966deb04068ea94cf416c7fb46516013bd26 |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Disable strict-init-order checker once we have more than one thread, as this mode is thread-hostile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180106 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/init-order-dlopen.cc
|
11347bf5f008b5970f699241617381d95526d73d |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Make a few interface functions accept 'const void *' instead of 'void*' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180102 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_interceptors.cc
san/msan_interface_internal.h
|
b6c8e47a72d526232f4d3e3b36232f30f8818733 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison the result of posix_memalign. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180101 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
ff7c14f911463db91b574533f62eb847a2e08b1c |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r180082 and add a test for SetEnv function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180098 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/tests/sanitizer_linux_test.cc
|
51e9728c7202ae8111a308fcba74f5126075c42a |
23-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make wait.cc more Darwin-compatible: fix the header name and the CHECK patterns. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180097 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/wait.cc
|
8db82e151f4dc3de33530adce370a3d86be54cf9 |
23-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Disable AddressSanitizer.AllocDeallocMismatch on Darwin. See https://code.google.com/p/address-sanitizer/issues/detail?id=131. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180093 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
103a63ed3fb5511516b55ce1ee4f33290209f3d8 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getgrnam{_r}, getgrgid{_r}. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180091 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
7cdae1683c9c2fcd4473a5862c90c64be3a8c5fd |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow clock_getres(, 0). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180090 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
|
51ecba39a18cc292c5ecb3adcb6571ad141b5402 |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Delete unused function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180082 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
|
1d8bc4b25635462c58a81b7db32da289e1ea44bf |
22-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180012 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
anitizer_common/scripts/check_lint.sh
|
4aa08fae9b02ba9a0701fe27f58e2645d236798b |
22-Apr-2013 |
Bill Wendling <isanbard@gmail.com> |
Improve performance of file I/O. The fread / fwrite calls were happening for each timer. However, that could be pretty expensive for a large number of timers. Instead, read and write the timers in one call. This gives ~10% speedup in compilation time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179990 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
64544c1093e2a911af0df20c60bd16ff90b4018c |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r179843: add missing header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179844 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/init-order-dlopen.cc
|
dfeef67b23ba92bbee598293164ee20078f633a1 |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make init-order checker allow access to already initialized globals. This change adds ASan runtime option "strict-init-order" (off by default) that makes init-order checker bark if global initializer accesses any global from different translation unit (even if the latter is already initialized). strict init-order checking doesn't play well with, e.g. LLVM registration machineries, and causes issue https://code.google.com/p/address-sanitizer/issues/detail?id=178. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179843 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_globals.cc
san/asan_rtl.cc
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/SharedLibs/init-order-dlopen-so.cc
san/lit_tests/init-order-dlopen.cc
|
77330179d0c0fe876f3b89fca9a23c4504b1e692 |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Allocate fd table in user heap instead of using internal allocator. We need this to catch races on fds. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179841 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
|
99f1e2011a855edd3b1036660ec5e7b70aa06520 |
18-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rework r176802: share code between Printf and Report and simplify it a bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179755 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
e8a005f9aac3870f336b5949f7ff634e2b8a51da |
18-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't die in symbolizer if it can't read /proc/self/exe link git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179754 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux.cc
|
102c04325b454957c322f61c5a8033b720bc9238 |
16-Apr-2013 |
Andy Gibbs <andyg1001@hotmail.co.uk> |
Wrap macro invocations in braces to supress 'suggest braces around empty body in an ‘if’ statement' warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179597 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
3f5528b4112a6e63d4535c1804bee4ba310879e7 |
16-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix spelling in asan_rtl.cc Test commit. Reviewers: kcc, glider, samsonov Reviewed By: glider CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D676 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179595 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
b921bf231318e2deed7b06c1fd8d4027a65a844c |
16-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix gcc build of msan_test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179594 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
fa568969fea365a04591d029974b5c93e2cc9867 |
16-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Implement wait4 and waitpid syscall hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179592 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
6d0b7f6c41bed64419dd74a8daf83de5e9f54de9 |
15-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix sigaction test. Restore SIGPROF handler to the original state after the test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179524 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
e865045ad1c5d8191097cda4bdd2e4cd634d1fa2 |
15-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Really disable replacement new and delete. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179522 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_new_delete.cc
|
881b677c189e65872fd315a75a0e56f077339189 |
12-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add syscall handlers to ASan and TSan runtimes. ASan checks addressability of syscall arguments. TSan does nothing for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179380 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/Linux/syscalls.cc
san/rtl/tsan_interceptors.cc
|
3ba4b90e89366e537b875cf9f54f370e0ece7007 |
12-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More syscall handler placeholders. This time it's the full list scavenged from syscalls.h Fixed return value type. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179378 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_syscalls.inc
|
40e16683f3fdf23dba20d9d0fc2eb00d562cc8df |
12-Apr-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Finally drop the 'static' from INLINE and ALWAYS_INLINE The ALWAYS_INLINE doesn't have static on POSIX anyways since r178341; the INLINE is only used in .h files, so shouldn't have been 'static' in the first place git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179371 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
f1faf5d58afbc5286d4d75361956ab6ee0938e1a |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Demangle function name in description of stack origin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179368 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_report.cc
|
d10d2d7bcbf03b1610e8382bfa4f165e246bde29 |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] don't build tests with -fPIE/-pie, as these flags are implied by -fsanitize=memory now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179366 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
san/tests/CMakeLists.txt
|
103f2586f0a45cbf44a08804a108d5ea4baa1577 |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove -fPIE -pie from TSan lit tests to check that -fsanitize=thread implies them now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179365 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
16cc10d9f4aeaec7e403102958dac475b08642ec |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] inline flags(), up to 1% perf gain on malloc-intensive code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179307 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
|
fecbf270853bda8aa6c14917fdfee840493a061b |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make heavy_uar_test even heavier git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179306 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/heavy_uar_test.cc
|
2a529adba0707d9b5977d47e884aef6b0be8c94f |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179293 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/CMakeLists.txt
bsan/lit_tests/CMakeLists.txt
|
71c9e9ebd85afdea5d0b56cdf9138fc5afc609cb |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179292 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.cc
san/lit_tests/Linux/heavy_uar_test.cc
|
2887a64cb7b82fc2dcbe4b1fcc33562077ec371a |
11-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Syscall hooks. Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed through public interface. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179288 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/syscalls.cc
san/msan_interceptors.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common_syscalls.inc
|
37f9464fc0fa4df2acf04264c52ba542d0e3d3fb |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass this test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179286 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.h
san/lit_tests/Linux/heavy_uar_test.cc
|
61723f255b8e901e550a2e445fe500eeb283fe9b |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] test source-based init-order blacklisting added in r179280 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179281 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/initialization-blacklist-extra2.cc
san/lit_tests/Helpers/initialization-blacklist.txt
san/lit_tests/initialization-blacklist.cc
|
ce0f7d13a6d2f1c141bc247aa75770cb88b38cb6 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix use-after-return functionality (PR15672) and enable the corresponding test. We still don't guarantee anything with regard to use-after-return checking git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179278 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.h
san/lit_tests/Linux/heavy_uar_test.cc
|
22c1c18585f04957cbb7b90573e7acf8ed1c1ca7 |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Symbolize correct address when printint error summary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179274 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
244384d1a8a518c0b1ceaa5809333a91db1104b6 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move fake stack into a separate .h file; actually disable a failing test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179273 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_fake_stack.h
san/asan_thread.h
san/lit_tests/Linux/heavy_uar_test.cc
|
2c02f6327f51243fc0ba17992cecb2857fa8bdf8 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add heavy_uar_test (disabled); fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179271 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/heavy_uar_test.cc
san/lit_tests/time_interceptor.cc
|
15832c2afc4f04fa558160441d1b01fb3f0ec08b |
10-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not check the shadow of NULL argument in the time() interceptor. Add a test for time(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179177 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/time_interceptor.cc
anitizer_common/sanitizer_common_interceptors.inc
|
dc0d17952a060731e47d056f8487d0744037f52e |
10-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] implement callbacks for unaligned loads/stores Reviewers: samsonov Reviewed By: samsonov CC: samsonov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D652 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179175 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_poisoning.cc
san/lit_tests/unaligned_loads_and_stores.cc
|
f3f2f5ced1fa60dcec46f423297d5e651db8437f |
10-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix a typo in legend in error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179161 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
897a4ae31f5c55255c78854b69b4cd4a4e3c7c39 |
09-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Interceptors for wait*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179096 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/lit_tests/wait.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a1c2a5547d815a4ce116f04ebd3cef1716ab791c |
09-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept glob() with tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179091 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/glob.cc
san/lit_tests/Linux/glob_test_root/aa
san/lit_tests/Linux/glob_test_root/ab
san/lit_tests/Linux/glob_test_root/ba
san/lit_tests/Linux/glob.cc
san/lit_tests/Linux/glob_test_root/aa
san/lit_tests/Linux/glob_test_root/ab
san/lit_tests/Linux/glob_test_root/ba
san/lit_tests/Linux/lit.local.cfg
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
c9b626e27dc7555d649aae19c8caf4ddd21ea3a7 |
09-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run load_shared_lib test only in lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179090 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
san/lit_tests/test_output.sh
san/rtl/Makefile.old
|
8a6cac57625f46e9e9a8977a518e8b92499d612f |
09-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] relax Linux/zero-base-shadow.cc to make it pass on newer Ubuntu; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179088 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/zero-base-shadow.cc
anitizer_common/sanitizer_symbolizer.cc
san/lit_tests/load_shared_lib.cc
|
39fdce1e178196afbbe34d4530c621e58ebab0d4 |
08-Apr-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r179012: "[msan] Intercept glob()." This was committed without tests and contains obvious bugs. That's not acceptable. It broke address sanitizer for most programs using glob(3). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179054 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
c8feb2fee6dba5cbd1751ded5758910e230d9262 |
08-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsymbolized] If we can't find an address in the list of shared libraries, try to reload it. Add a regression test for the case where such behavior helps TSan: 1. race is reported in the main module 2. new shared library is loaded 3. race is reported in the shared library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179032 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/SharedLibs/load_shared_lib-so.cc
san/lit_tests/load_shared_lib.cc
|
134fe8ae5090d39aa2d37a5db5298e49467399c8 |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Interceptors for pipe2 and socketpair. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179022 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
6f4c197022901cd961d15a3e5f68eeaab5bcdffa |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept glob(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179012 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
cc24ec9da75581b1d9b5088950807af5ecc5179e |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179008 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a2c1d98745a9e8e860948004423d0072424f48b7 |
08-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] Fix boundary condition in LargeMmapAllocator::GetBlockBegin. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179007 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
fef660506e9e5703fedfee01d614abd4b741c738 |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept time(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179002 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
|
5ef2920d1f2e273f06e7dc512cbae5a9043ce21a |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make huge_negative_hea_oob more meaningful git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178876 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/huge_negative_hea_oob.cc
|
d26a01e14a38a37c742fbd676efc99a6b7eea1e6 |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for huge left oob git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178874 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/huge_negative_hea_oob.cc
|
a27bdf70ca24202dce21cf7c1a387aeaa400d889 |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178872 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_fake_stack.cc
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_report.cc
san/asan_rtl.cc
san/asan_stats.cc
san/asan_thread.cc
san/msan_interceptors.cc
anitizer_common/scripts/check_lint.sh
|
cd3049da150124156502b1a8c05e4c4887786cc5 |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix sigaction interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178868 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
a897400cec0284763da5a6db4670fa0a64bbfcd9 |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Conditionally disable new() and delete() wrappers. To be used with static libstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178866 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
|
a213ab66e1c743ec7a52af4a49ec6c126cc245ae |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A runtime option to disable wrapping of signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178865 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_flags.h
san/msan_interceptors.cc
|
48cab523ef7a35ec8417b3fef8d41cfd581590b3 |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] enquote the module name when passing it to external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178864 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
|
ce184c8657d7ef3f165fd7561b8f6c06c4ecbe4d |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] init-order checker tests: move constexpr test that requires -std=c++11 to a separate test case. Check that structs with no ctor but non-trivial dtor are ignored. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178857 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/initialization-constexpr-extra.cc
san/lit_tests/Helpers/initialization-nobug-extra.cc
san/lit_tests/initialization-constexpr.cc
san/lit_tests/initialization-nobug.cc
|
10f3ab775088bec69dd9e7b611f9b4e152f629bc |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Remove InternalAlloc/InternalFree calls from StopTheWorld. Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178855 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/sanitizer_stoptheworld_linux.cc
|
7ed46ff7af911da0dd2067734d1408c6986c6657 |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/msan_report.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_printf.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
bsan/ubsan_diag.cc
|
6a7c51db8449fa948990501e65db4e71bf58e198 |
04-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Make path to FileCheck configurable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178760 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
b1971ca4a3057916ca90a733c672a08127d5fe67 |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke the old unused allocator code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178758 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
san/asan_flags.h
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
san/tests/asan_oob_test.cc
|
2a3619ecbb56e828090b4c40ece28550f68c94de |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178757 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_flags.h
san/asan_rtl.cc
san/lit_tests/malloc_fill.cc
san/lit_tests/use-after-poison.cc
|
4fb04a8445076debf51d220f75211584b89043c8 |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Android lacks ucontext_t definition. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178756 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
072770202bb1002172abe9a4b1eeb7f2d2fb004f |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Use ucontext_t instead of "struct ucontext". Fixes Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178755 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
06658ea68c4912fffafef6e65f36dce7faa4a174 |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison siginfo_t and ucontext_t in signal handlers. Add wrappers for all user signal handlers to unpoison the handler's arguments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178754 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
583025ddc52988cdcedb5dee57e0d66a0c586340 |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] while doing fast unwinding make sure that the frame pointer is aligned; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178747 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/tests/sanitizer_stacktrace_test.cc
|
78b580f3d40132816f813c3dbf073d824137436a |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178640 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_printf.cc
|
8218584ec546574c1c10f3ad574c55d2d6210697 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Be more careful with arch-specific defines in StopTheWorld code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178630 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_stoptheworld_linux.cc
|
649a270f5341efe9c57f473dbb78706b0b2ed523 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178629 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_new_delete.cc
san/asan_posix.cc
|
46f9395baf65e17f1a3f7a3a1deee72a1560ac53 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178627 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/sanitizer_symbolizer_itanium.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_mac.cc
|
bb090b56ca283396f17b9a3ef2e8f00544a21385 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix StopTheWorld includes on Android. Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178625 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux.cc
|
743d89d5de3b1b6964ffb11cd26e358010c31807 |
02-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Add the WTFAnnotateBenignRaceSized implementation and a test for WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178534 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/benign_race.cc
san/rtl/tsan_interface_ann.cc
|
e4bdda51b3469aa0f6ef6f6c4656419effa48038 |
01-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More interceptors. getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime, clock_settime, getitimer, setitimer, sigaction (MSan). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178465 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
fd8726cae237495a8f63d12e6e026290fd5f4787 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Run the callback on a separate stack in StopTheWorld. Currently the callback runs on the caller's stack. If this stack contains values that have gone out of scope, and we are not super careful, those values can propagate into global variables (the libc sigaction() in particular has a side effect that can lead to this). This has caused false negatives in leak checking code. Changes: map a separate stack space for the tracer thread. Also, move some globals into local scope (they had no business being global anyway). Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178464 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux.cc
|
e5b398f7aba39c4ac04d1e8a0d08cdede3b14b59 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Added data() and capacity() getters to InternalVector. Same interface as in STL. Needed for LSan. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178463 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
|
53c18d7e051c7dfe3cc8a2351e6ee67a264dbb51 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Add register dumping support to SuspendedThreadsList. An interface for obtaining register contexts from suspended threads. Tailored for LSan use. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178461 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld.h
anitizer_common/sanitizer_stoptheworld_linux.cc
|
939316c822cc46e62684464eecd5cb2cefcf41c5 |
01-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] More careful reports for globals that are ASCII strings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178458 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/lit_tests/global-demangle.cc
|
d475aa8578f4a1955cdb3e3159eda8b229f8c021 |
29-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] restore performance critical inlining in tsan: remove static from ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178341 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_rtl.cc
|
76030b30c53e7003b17c85f2bbbca976da63bbe1 |
29-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Build TSan runtime with -fPIE. This removes all register spills from the performance-critical __tsan_{read,write}{1,2,4,8} functions when the host compiler is GCC. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178340 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
96950030d58582acbd13939916dc2e507304b7e2 |
29-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178336 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
|
43c36e4b055f348d6076e6da44f9cd3e4399568f |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Band-aid fix for the TSan RTL build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178298 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
66b4a28651f3930750ab8cba1916f575fff50215 |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178296 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
b157c67e17c3fc8805c8b7cb590668885680608f |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Remove all 'static' before ALWAYS_INLINE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178290 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/rtl/tsan_interceptors.cc
|
abfdbdf5bc7e9d202652fe061acd20c14a4d22f4 |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_poisoning.h
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_platform.h
san/rtl/tsan_rtl.h
|
0fd908cf5a555483633e2d9703932bde18009682 |
28-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print statistics about benign race annotations (total count, unique, matched) if requested with print_benign=1 flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178245 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
7e8434940a1fe7dce531d4c458ccd714da48f609 |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178239 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_fake_stack.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_internal.h
san/asan_poisoning.cc
san/asan_poisoning.h
san/asan_rtl.cc
san/asan_thread.cc
|
ca280f2809eea49ac90860a5827c81dd09c65cdb |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Minor enhancements in InternalVector container git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178238 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
|
7acbcb9c03df03d80e9ff65c84e71e6942c70ddc |
28-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] a test checking that memset/memcpy/memmove are not inlined in tsan mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178231 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/inlined_memcpy_race.cc
|
6e7dca77e5e28ba4411edeadc2cfb7a4e296cef6 |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178229 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/tests/sanitizer_flags_test.cc
|
83b47072ff373766b8f424e31c278cfa31ab46a3 |
28-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] don't use -fno-builtin for tests; add a test for a false negative bug (inlined memcpy is not instrumented) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178228 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/inlined_memcpy_race.cc
san/lit_tests/lit.cfg
san/lit_tests/test_output.sh
|
c446611d505593bb8e79ea98df87479e24cce68b |
28-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
compiler-rt part of r178194. Remove ubsan test for diagnostic on inf/nan conversion between floating-point types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178195 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Float/cast-overflow.cpp
|
f754eb501d6bd163fff6747716b7703fe45be4b8 |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print matched suppressions if print_suppressions=1 flag is provided git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178159 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
|
5d834a85bb239abf962995290e6fd71115ecb38c |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better flag parsing: do not confuse flag that is a part of another flag (e.g. suppressions and print_suppressions) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178158 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_flags.cc
|
b443a65bd65d5c2c6090ed0537382b1ade1dbbb9 |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178157 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_procmaps.h
|
c9424276474a27bd7b6ae59e771371f850a08ba1 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Demangle global names in error reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178131 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/lit_tests/global-demangle.cc
|
f778ae53f025fa89874e303a8ff6f254eead31a0 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Fixup for r178128: verify that TSan indeed doesn't report race git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178129 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/aligned_vs_unaligned_race.cc
|
f3798f5c5152ae9fcfec0a583efa46b7f5b82759 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Run test output through FileCheck git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178128 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/aligned_vs_unaligned_race.cc
|
05e16a028d26503153a8fe512a500676cad66031 |
26-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178014 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_interface_internal.h
san/asan_rtl.cc
|
09a19b221bc60863bc10f1aad1d210ce9999990c |
26-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Fix the Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178012 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_procmaps.h
|
0f2cf8a4f807cefb54e6cffa5193c08e0babc1fb |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] make memcpy_race.cc test immune to memcpy inlining git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178011 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/memcpy_race.cc
|
be52366ff2500f11133fd6089f349e93bd5f4822 |
26-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move strcasecmp() interceptor to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178010 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
1700fd368edc7c52281231a8ddb898f1abf185d2 |
26-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178009 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
9ae2883d88dd28b9c5dc862107e6e6d12a35926e |
26-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Unmapping the old cache partially invalidates the memory layout, so add a flag to skip cache update for cases when that's unacceptable (e.g. lsan). Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178000 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_stacktrace.cc
san/rtl/tsan_platform_linux.cc
|
b037f754eb43ddd2c5401ff7c7b212b57f8f4eb6 |
26-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Disable atomic_test on Android, where it crashes Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177998 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_atomic_test.cc
|
5b1b9ce0ccaef0f6c38383d5208963fe1bd714b0 |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] add a test for aligned-vs-unaligned race (tsan's false negative) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177996 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/aligned_vs_unaligned_race.cc
|
a89a35acf3004de3e39f1074b8620fb3c423d41f |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] print thread number while reporting invalid-free and double-free; add tests; also add a test for use-after-poison git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177993 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/lit_tests/double-free.cc
san/lit_tests/invalid-free.cc
san/lit_tests/use-after-poison.cc
|
2c969875d823989d401c7de96e310412806ee1ef |
25-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Add a GetTid() implementation for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177927 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
4df99d2565a29889ca23a7cc11ed73e3c055b751 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Add basic support for building profile compiler-rt library in CMake build on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177870 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
rofile/CMakeLists.txt
|
bff55c4fbebd1f8f64693dea8118d9ee0979d563 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use dynamic symbol table when checking exported ASan runtime symbols git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177868 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Darwin/interface_symbols_darwin.c
san/lit_tests/Linux/interface_symbols_linux.c
|
13f62b2cdaa09376e917a1efd0b1dd3d23bbff8d |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: add Printf/Report hook The hook can be overriden in frontend to print to e.g. a file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177864 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
39cbb56fb3ba2af53e537107862c51f1dd252150 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] mark local function as static git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177862 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
|
e374e4ece521692173aad355420d03e1b2cd819a |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Compile sanitizer runtimes with -Wno-non-virtual-dtor. Virtual dtors may be a problem for us, as sanitizer runtime should not generally assume libstdc++ presence. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177860 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
|
f58a1ea0483690df5faa93bbde8d4301170c542d |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Build TSan unit tests with the same compile flags as TSan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177859 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
8b30c254a63a7421dd81d13dee086a54c4ca134b |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept setjmp/longjmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177858 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/longjmp.cc
san/lit_tests/longjmp2.cc
san/lit_tests/longjmp3.cc
san/lit_tests/longjmp4.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_amd64.S
san/rtl/tsan_vector.h
|
b152b1f1411f47848037ab5120c142cf28a9d487 |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add SetEnv() function that can be used in frontends git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177857 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
|
b975c8abce50e513d9e168b24692fa9310e32aed |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] First effort to implement atomic_compare_exchange for 1-byte vars on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177854 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
d264ca0436d7e881b28a43dc7e008d1889cd12b2 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add basic test for atomic_compare_exchange implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177851 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_clang.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_atomic_test.cc
|
a06fe9183fbffb78798a444da9bc3040fdd444aa |
23-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Build and install .syms files alongside sanitizer runtimes. These are used to specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177784 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan.syms
san/CMakeLists.txt
san/msan.syms
san/rtl/CMakeLists.txt
san/rtl/tsan.syms
bsan/CMakeLists.txt
bsan/ubsan.syms
|
a05af3d0f2417cd6516460a46d0381a7345a5837 |
22-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Revert 177745 as it was incorrect git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177746 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
c27d326427a96233aa2b594c73bda108f5a641f4 |
22-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Band-aid fix for the Windows build caused by r177710. Long-term, atomic_compare_exchange_strong should be a template on Windows too... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177745 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
7423c7821ff30043def78c6cbb257bd2f4d9eef6 |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: return 0 on malloc() failure instead of crashing git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177741 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_overflow.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
|
6c503b9c7b0ad08fba74dbed309447d75de9a157 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Handle dlopen() failure in dlopen interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177728 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
40447521d4ddf0caf2777fe1305cbf849fff106a |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: test that tsan explicitly says "race on vptr". Requires llvm r177717. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177726 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/vptr_harmful_race2.cc
|
50f3daa00d3da0a80c8798a3e977705e96ec106f |
22-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Change the way we report the alloca frame on stack-buff-overflow. Before: the function name was stored by the compiler as a constant string and the run-time was printing it. Now: the PC is stored instead and the run-time prints the full symbolized frame. This adds a couple of instructions into every function with non-empty stack frame, but also reduces the binary size because we store less strings (I saw 2% size reduction). This change bumps the asan ABI version to v3. compiler-rt part, llvm part will follow. Example of report (now): ==31711==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fffa77cf1c5 at pc 0x41feb0 bp 0x7fffa77cefb0 sp 0x7fffa77cefa8 READ of size 1 at 0x7fffa77cf1c5 thread T0 #0 0x41feaf in Frame0(int, char*, char*, char*) stack-oob-frames.cc:20 #1 0x41f7ff in Frame1(int, char*, char*) stack-oob-frames.cc:24 #2 0x41f477 in Frame2(int, char*) stack-oob-frames.cc:28 #3 0x41f194 in Frame3(int) stack-oob-frames.cc:32 #4 0x41eee0 in main stack-oob-frames.cc:38 #5 0x7f0c5566f76c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c) #6 0x41eb1c (/usr/local/google/kcc/llvm_cmake/a.out+0x41eb1c) Address 0x7fffa77cf1c5 is located in stack of thread T0 at offset 293 in frame #0 0x41f87f in Frame0(int, char*, char*, char*) stack-oob-frames.cc:12 <<<<<<<<<<<<<< this is new This frame has 6 object(s): [32, 36) 'frame.addr' [96, 104) 'a.addr' [160, 168) 'b.addr' [224, 232) 'c.addr' [288, 292) 's' [352, 360) 'd' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177723 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface_internal.h
san/asan_report.cc
san/asan_thread.cc
san/asan_thread.h
san/lit_tests/Linux/zero-base-shadow.cc
san/lit_tests/stack-frame-demangle.cc
san/lit_tests/stack-oob-frames.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/use-after-scope-inlined.cc
san/tests/asan_test.cc
|
6e5ff89e8980b7c2ca0a39811433fb7ac2c74372 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Move test main and gtest include to separate files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177718 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/msan_test.cc
san/tests/msan_test_config.h
san/tests/msan_test_main.cc
|
86b5722bf955261c0f43caae9b8d0ea6faa05055 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Place dlopen in an anon namespace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177716 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
1471220c705acbdd9ba0dc624ad364299658982a |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: work around FileCheck bug with empty outputs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177715 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/thread_leak4.c
|
2ecccf8aca0f3f67d43e6395699aab0bb19ee277 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Get rid of "using std::string" in msandr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177714 91177308-0d34-0410-b5e6-96231b3b80d8
sandr/msandr.cc
|
dfe3f9691d4700981566a4b57e1e482f72783950 |
22-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix-up for r177634 on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177711 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
7dd282c0c7d3ca32ee94092289bd802e16fe9867 |
22-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix an error on invalid deallocation in ASan allocator. When ASan checks if memory freed by user was indeed previously allocated, it first does an atomic write to presumed location of chunk header. This is wrong, as if the free is invalid, we may overwrite some valuable data (like other fields of the chunk header). Fix this by using atomic_compare_exchange instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177710 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
|
195369bb7f59896487c4542716ca9c5d53975e78 |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix lint warning about line length git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177709 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
|
ec7962d874159f02ad9b1657b627ceb53fea55ab |
22-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Pass floating-point arguments to the runtime by value if they fit the value argument. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177689 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.cc
bsan/ubsan_value.h
|
4536cb1fa7734133f404acb413589d7a6d314f4a |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting of thread leaks 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177647 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/thread_leak3.c
san/lit_tests/thread_leak4.c
san/lit_tests/thread_leak5.c
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
0dc47b652dfbe0d61d153eded02bae9487a7b539 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting for races on vptr explicitly say "ctor/dtor vs virtual call" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177640 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/vptr_harmful_race.cc
san/lit_tests/vptr_harmful_race2.cc
san/rtl/tsan_interface.h
san/rtl/tsan_interface_inl.h
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
f63dde3594da0dba4c8039f0cb3a4196a76f1aff |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to control symbolizer flush frequency git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177638 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl.cc
|
5043f05a633b8d2f19ebd3dda961408c69473718 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept abort() to fflush() libc streams git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177637 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
f465bdec3f1a35374be36ed25dd992cb2bb056c0 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove bogus CHECK Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177636 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
def1be9b7ef4091ce465c0fbfb26cdb52128ade8 |
21-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_allocator2.cc
san/asan_fake_stack.cc
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_posix.cc
san/asan_report.cc
san/asan_report.h
san/asan_rtl.cc
san/asan_stats.cc
san/asan_stats.h
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
a38e40fde45acccb124f7419ecbe21ef6cfd306b |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush symbolizer cache if not symbolized for more than 5 seconds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177629 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
4219ea38d733f73c96c8740777ee0bb7061cbe0f |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a comment about magic numbers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177628 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
4bebe7bab966c82f0a8952f797ed3d490624dc62 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use a single background thread for memory profiler and memory flush (and later for symbolizer flush) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177627 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
san/rtl/tsan_rtl.cc
|
06743c2886fc26a7363ac7114c2f9b6620f63071 |
20-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable prctl interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177497 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
|
f4322698581422a84c4cf300ad12de9cecd0673d |
21-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Per discussion on cxx-abi-dev, switch from comparing type_info objects to comparing type_info names, since the latter have better uniqueness guarantees in practice. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177618 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_type_hash.cc
|
3e587a4f631c1b7338d4f2a29df74b704b8bb1ca |
21-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Split ubsan runtime into three pieces (compiler-rt part): * libclang_rt-san-* is sanitizer_common, and is linked in only if no other sanitizer runtime is present. * libclang_rt-ubsan-* is the piece of the runtime which doesn't depend on a C++ ABI library, and is always linked in. * libclang_rt-ubsan_cxx-* is the piece of the runtime which depends on a C++ ABI library, and is only linked in when linking a C++ binary. The Darwin ubsan runtime is unchanged. For more details, see Clang change r177605. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177606 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
bsan/CMakeLists.txt
bsan/Makefile.mk
|
84b46d300c7a4f1c3ea4e452791de7733ce0d143 |
20-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Create a coverage initialization function. This function replaces the call of `atexit' from being generated in the compile units. Basically, it registers the "writeout" and "flush" functions (if present). It will generate calls to the `atexit' function for cleanups and final writeout functions, but only once. This is better than checking for `main', because a library may not have a `main' function in it. <rdar://problem/12439551> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177578 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
236a098869e35b29e938cbb7bd98d8d5b656d47f |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: correct sizes of signal-related data structures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177526 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
423bd20bdca374fcb62a5d16040b6e6133798d56 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing stat descriptions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177523 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_stat.cc
|
0ebfc6fb9ba161e994dfd1c3ce898b0895d83c33 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: call fflush(0) on exit again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177522 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
ae4cf313552e707c4a21116ef67c4f389a442aa6 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reduce size of mutexsets from 64 to 16 mutexes overflow is handled anyway saves memory because each thread holds 1024 mutexsets git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177520 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_lock.cc
san/rtl/tsan_mutexset.h
|
cab13157ffa88ab123f2a653b9affdc8cb73bcd9 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix incorrect test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177519 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/unit/tsan_mutexset_test.cc
|
82dbc5195ceedba0e1a9aab92d436614cc4b7ff9 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: special handling of .rodata (don't try to find races, don't keep shadow, dont' put into traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177517 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
286c914d37d28df611ae083cac40148cf2622ee7 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177513 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
9743d74426ae43898e4da55e591b09be18f8aa6e |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move trace header into 0x600000000000 range eliminat thread "dead info" altogether git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
6d6ab9eeea4a99370d7ab18ce80eb96091e2cf3f |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add internal_unlink() function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177510 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
|
c25e62b0cdbca855e7611583b0ff7013c31db21d |
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move malloc stats collection away from AsanThreadRegistry class. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177508 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator2.cc
san/asan_mac.cc
san/asan_malloc_mac.cc
san/asan_stats.cc
san/asan_stats.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
4b450f46cac42d473ffa4ff2d8d1395706b9c934 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: reduce per-thread memory allocator caches 256 blocks (which is 512 in reallity) seems to be too big cache, reducing the size reduces memory consumption but does not degrade performance. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177502 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
89c1384464848c1ad041becf8b97936fa10de21b |
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177501 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator2.cc
san/asan_fake_stack.cc
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_posix.cc
san/asan_report.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
4ff1f6023ac2f34acea54387998c6fa972aa03b8 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix flaky test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177500 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/mutexset7.cc
|
0602fc9c7d8bf91e80ce962d7ea655f6342abe1b |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix incorrect test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177499 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_rwlock.cc
|
a548059b6462f273072006f87bc9d32065d2c39e |
20-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable prctl interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177497 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
|
eb98c4da7c02ada2be365518931613b44fc06b18 |
20-Mar-2013 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge_2012_03_18 Change-Id: I45a9f74b42eae6a1fe5320a46a3a562eee0a8357
|
c533304a95fbed444ea02f5f9e7c6e37debd1c43 |
19-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Add a way to register and execute "writeout" functions. It may be prohibitively expensive to write out >1000 files at the same time. So we would rather emit them serially. These functions allow the GCOV implementation to register the functions that writeout the GCOV information per compile unit. At exit, they are written. <rdar://problem/12439551> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177436 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
e1ba0009d5be18d513ffd29c1b6fccea1a3bffa0 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] s/ASAN_POSIX/SANITIZER_POSIX/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177407 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
30e110edf92303237d471f1cb8e3ad07954fb145 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More renamed macros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177401 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_mac.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_win.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
san/go/tsan_go.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
|
24e13723f8477d8c42ab8b2a7f4f69fc089842f1 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Replace more platform checks with SANITIZER_ constants. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_new_delete.cc
san/asan_posix.cc
san/asan_preinit.cc
san/asan_stack.cc
san/asan_win.cc
san/msan_linux.cc
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_placement_new.h
anitizer_common/sanitizer_platform.h
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/sanitizer_symbolizer_itanium.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
anitizer_common/sanitizer_win.cc
san/lit_tests/thread_name.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
|
83cb7877f608eb9b3d65981095216842f686c527 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177397 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.h
san/asan_malloc_linux.cc
san/asan_mapping.h
san/asan_new_delete.cc
san/asan_rtl.cc
san/asan_thread_registry.cc
anitizer_common/sanitizer_internal_defs.h
|
e75628e9e9bba6c65b067372d381d9e03560923a |
19-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177396 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/CMakeLists.txt
|
3347dcbe78953a40462d5b5351137a8df4d9f993 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177395 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
|
ce85e03620f64ce7e4cd0598f2e93090f52a9e99 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush dead thread info earlier (when another thread is finished rather than new thread is created) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177394 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
8e1c769ed84f4d5cf23904dee1abeec6f125f1ac |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: instruct malloc() to consume less memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177393 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
723e24f768f5b32c38283ee8d2c4219267af2b4d |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolizer "flush caches" support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177389 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_symbolize.cc
san/rtl/tsan_symbolize.h
|
7fac284c9d3aab4c28b422315731b12a5af9fc4e |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolizer "flush caches" functinality git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177388 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
b186c1905d471243cf2981ca754397bc16976392 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory leak git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177387 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
609a02ad07f09147e2fe7beaa257b8c607aca033 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Avoid use of uintptr_t. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177384 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
b9bf700ae7fe59e25976e0abe9636150f3a39cd2 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Don't adjust the size of the user-allocated stack. Moved this code to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177383 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
san/rtl/tsan_interceptors.cc
|
c9de451e97b85e9712939ac2bfb02295645e2e0f |
19-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Support CMake build of profile runtime library on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177382 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
rofile/CMakeLists.txt
|
210ce0ee0190170ca6fab6f5d953885ce5f9ac89 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not allocate sync vars on relaxed atomic operations helps to reduce memory consumption if an atomic is used only with relaxed ops (stats) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177381 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
e20fa5c8c1788274da187ab1dfb8f110376d037d |
19-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Update ubsan test for clang change r177362. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177363 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Float/cast-overflow.cpp
|
a539183bf29a42ae584244106e48c99c6630e8cd |
18-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Add some GCOV functions that register all of the __llvm_gcov_flush() functions. The __llvm_gcov_flush() functions only work for the local compile unit. However, when __gcov_flush() is called, the user expects all of the counters to be flushed, not just the ones in the current compile unit. This adds some library functions that register the flush functions. It also defined __gcov_flush() so that loops through that list and calls the functions. PR15191 & <rdar://problem/13167507> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177337 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
f51c3860ce0a1ae81d0dc9da27db0693718db18e |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: smaller memory block headers (32b->16b) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177312 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_sync.cc
san/tests/unit/tsan_mman_test.cc
|
3ce21701b4e1026a4f5157ff9771c533f4e3ef55 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add support for idle threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177292 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
74172de3ce25bf52d9d3918c94216f2eef5956e2 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: touch less shadow memory during operations on big memory ranges greatly reduces memory consumption git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177289 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_thread.cc
|
7ac33ac529ff93a57419f5ddf71b1fde68428577 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: mark shadow for thread stack as "don't need" when thread exits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177288 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
5d72fc796f21fb9714722e0006d72213fb300688 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better memory profiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177286 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
|
ac1f5cafad90d902056f458ce5aec27b87260a52 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: madvise(DONTNEED) shadow memory on munmap() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177278 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
18ec84c543243310a8ca3e64a1d851bc43e5fa39 |
18-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make the __asan_get_heap_size more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177270 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
e93e5057023de89f1bad5de609efac39efc5da73 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move implementation out of h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177269 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.h
|
6af642eaf764434ac6f28f242e7f081156bce9e3 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix clang -Wall build Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177267 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
036f9336f7cc7e755287a317f71a7bec7534a7f7 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] re-apply r177249 lost in edits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177265 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
00545a3625aaa765eef2da9b3e197a0e00e94550 |
18-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Switch to allocator2 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177263 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/tests/asan_test.cc
|
46b4a861a5903ca8c92916b25257b3b0a7f8bf39 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory leak git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177262 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
2c5284e0f87e101e177a151fae5f557bcf6f664c |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use StackDepot for thread creation stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177261 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
491852ecf05d927cf543292ded98dcc545799b4d |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177260 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.h
san/go/buildgo.sh
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
3abf531bc72da7e56bccd84f3c90f25fc837b30b |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use StackDepot in sync object to store creation stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177258 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
|
49960be4dd7c038b26784cee046cc6637e32dc57 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix huge stack frames git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177255 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld_linux.cc
|
60c9f441255211f17c4d355ead94392ba1841355 |
18-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] while generating the description of a global variable, emit the module name in a separate field, thus not duplicating this information if every description. This decreases the binary size (observed up to 3%). https://code.google.com/p/address-sanitizer/issues/detail?id=168 . This changes the asan API version. compiler-rt part, llvm-part will follow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177253 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface_internal.h
san/asan_report.cc
|
5efb53ed40eeab7bc6c361c0825608fc97322e1d |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177251 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_stoptheworld_test.cc
|
ffa4e08ab009e38ab1bf9dadf49628a9e8492ea0 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix undefined variable in debug TSan build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177249 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
df2ca17ae60fc2116a32fc201deb704e1c8b2114 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its stack/tls address. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177248 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
5c889362bb5bc57288ab84e7859774b42c6bb5de |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Makefiles: allow configurable paths to clang and FileCheck. Add -fno-rtti flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177247 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/lit_tests/test_output.sh
san/rtl/Makefile.old
|
6d036065e2ba85d9ad2a141596693b026f7ebbcc |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of global mutexes in StopTheWorld implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177246 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stoptheworld.h
anitizer_common/sanitizer_stoptheworld_linux.cc
|
5d177a0d5973e863781b1262ece49a5e3325ecab |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rely on template argument deduction in sanitizer_allocator_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177245 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
3614c16084e8a0dc8ae3418402a2d0c6f8107e39 |
15-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] StopTheWorld in sanitizer_common StopTheWorld puts the process in a suspended state before running the user-supplied callback. To be used in TSan and in leak checking code. Linux implementation provided. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177156 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_stoptheworld.h
anitizer_common/sanitizer_stoptheworld_linux.cc
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_stoptheworld_test.cc
anitizer_common/tests/sanitizer_stoptheworld_testlib.cc
|
ff5d1fcdd74036fa15d96fafd487397ebf5f202e |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't intercept frexpf and frexpl on Windows. Add frexp declaration to asan_intercepted_functions.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177155 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
|
2bbd8bec77c2fdb41c5f5b6cb0d83d22bc576650 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177154 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
a82ca9142c30be8255f5a4dfa596df9304b20dbd |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't link tests with -lpthread on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177151 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
|
6c876e428923295706f63fee68ef35d2f0fbaec5 |
15-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc build warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177149 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
300f9534eeed62339eb8b73722d4142c60238ffc |
15-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Add ForEachChunk() to sanitizer allocators. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177147 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
6ef35e15b1c499be25f80f5983a4d506f14f8948 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Generalize compile/link flags for sanitizer_common tests on Android and on other platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177146 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
|
116c8029f506b074a8b9c83605b14ac4bf0259c6 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build sanitizer_common tests w/o RTTI. Move ThreadRegistry class members below methods. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177143 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.h
anitizer_common/tests/CMakeLists.txt
|
c7bc60cd4bfe21868aacd8a87b13590b314ed330 |
15-Mar-2013 |
Eric Christopher <echristo@gmail.com> |
Fix a virtual destructor warning. Patch by Manuel Klimek! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177132 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
|
827d4ef8b76760ef8c58612d916b8f53081bf368 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix compiler warnings and style issues in sanitizer_common tests. Use -Werror=sign-compare when building them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177077 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_linux_test.cc
anitizer_common/tests/sanitizer_thread_registry_test.cc
|
6d429cda69b7ccc007ee368a73a6040c6b125afb |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add generic ThreadRegistry class for sanitizer runtimes. This class holds basic thread bookkeeping logic and allows specific sanitizer runtimes to create thread contexts and mark threads as created/running/joined etc. The class is based on the way we currently store thread contexts in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177074 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_thread_registry.cc
anitizer_common/sanitizer_thread_registry.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_thread_registry_test.cc
|
93af5948d3e0c5bdc396f432dd0ae782f499c449 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add default constructor for BlockingMutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177072 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_mutex.h
anitizer_common/sanitizer_win.cc
|
e4cded90e63cfe6c59d438dec63b6665f774ac16 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] No dirent64 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177071 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
2be1e7f88e3bf7c0e347a4fb25bcba8647e06ec1 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build sanitizer_common with -fno-rtti git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177070 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
|
d39a34ee33aae73fdde065f784bdc19f67b91ae2 |
14-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] remove one redundant malloc stress test, unify the usage of ASAN_LOW_MEMORY macro in tests, slightly reduce test memory usage (all to make 32-bit runs consume less RAM) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177069 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_config.h
anitizer_common/sanitizer_allocator.h
|
3d048541c6fd5a52217707ec9799489100dd7c98 |
14-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] fixed a bug in ThreadLister tests where we forgot to terminate one thread Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177068 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_linux_test.cc
|
e4af4d280729da44d03576dac0bb903901a7caec |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add changes missing from r177065. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177067 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
d97a15a931ae6696a1071e1471c9a019e821904b |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept readdir64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177065 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/readdir64.cc
san/msan_interceptors.cc
san/tests/msan_test.cc
|
c1b3c5293f12f932615b1545555ba002f321d04c |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove -fsanitize=init-order from lit tests as now it's implied by -fsanitize=address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177064 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/initialization-bug.cc
|
32602c528aad37f3e37c83b9a638740eb18e30f5 |
14-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Fixed incorrect handling of pre-existing threads in ThreadLister test. Also, extended the test to check that ThreadLister::Reset() works as intended. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177060 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_linux_test.cc
|
1d21bd159c3830dd7a6c05854408442d91a336ad |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a typo in test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177059 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
566c0a1f1c584c00deaed6fafb5d65abd32e1aca |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] turn off checking initialization order in ASan runtime by default. Instead, it should be turned on by default in the compiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177058 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/initialization-blacklist.cc
san/lit_tests/initialization-bug.cc
san/lit_tests/initialization-nobug.cc
|
58b52b5efb7641b27c1728be0946889f335d83e1 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Options for switching between fast and cfi unwinders in run time. Does not change default behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177057 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_flags.h
|
7cbbb2943527ff852bdace822c8592cfc7e450d7 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept frexp and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177056 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a3ab1927a8b86536dc29ccaaa49ca65920028224 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix compilation for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177054 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
8aa1ae03e339ee9365c05dcf831f59b3a817bd84 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept __strdup, strndup, __strndup. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177052 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/c-strdup.c
san/lit_tests/lit.cfg
san/msan_interceptors.cc
san/tests/msan_test.cc
|
1ef94b160c12a2db63daf63af8ab6e1eb2f3cb7c |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Write a slightly better implementation of GetEnv() function on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177051 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
1a25379bd42f42759cb89bc8698477c3e6bd418b |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make ASan assume ASAN_OPTIONS=symbolize=1 if ASAN_EXTERNAL_SYMBOLIZER is defined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177036 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
47a0f6edc48eb6dc46b2e1f203d6783fd7e07505 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add missing header inclusion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177013 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
f110e356170fbe990b99c0939d77eeaa89b25497 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use __sanitizer_pthread_attr_t in TSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177012 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
7a53bca1db2adfb22c9e830f3e91833214b12663 |
13-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] Clean up extensions during msandr shutdown Otherwise debug DynamoRIO complains at us for leaking memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176947 91177308-0d34-0410-b5e6-96231b3b80d8
sandr/msandr.cc
|
0ecc4379bbb04f1d03ceb58f6a0751790fb17c75 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176943 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
a7e5db966299a50c0e68cf9d35e1130b6c024c94 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build ASan, TSan and MSan runtimes with -fno-rtti. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176940 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/CMakeLists.txt
san/CMakeLists.txt
|
10fd3227546d17c7411241a45ebc143b2031c78d |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Increase stack size as required. Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176939 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
b114ed83859d8d4964ac2284584733bcd2acf4f6 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move GetTlsSize code from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176938 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
anitizer_common/tests/CMakeLists.txt
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
|
87c8bb96ddfd601e679a1acfe1a3d489993644b0 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Break a >80 char line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176937 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
4a1a495f29b63d44e012f6edcee6307ddac253ef |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fixup for r176931 for Mac and Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176935 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_procmaps.h
|
ab11e0b10d077945a6e681766b41e12ac6aeb0f0 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix a typo in function name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176932 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
45717c9d5e39a434749ae10509111f9df1b2cdf4 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176931 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_stacktrace.cc
san/rtl/tsan_platform_linux.cc
|
af9297b9be5e8993326c87ed32e44a8d2a5d7598 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use 4Tb of address space for the asan allocator instead of 1Tb. This increases the memory available for a single size class from 16Gb to 64Gb. The total VM footprint becomes 20Tb git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176857 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
f2c417c3b7d7a11f1f6f20edca08af2cb1fad142 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176855 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
4c49cca6f251340d896789551ee5193827b8f204 |
12-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Use sptr instead of ptrdiff_t. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176854 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_linux.cc
|
7811b4afded19781f940a733d6c64201e5f4b987 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] simplify the allocator's SizeClassMap: do not require an extra template parameter, instead compute it in flight. No functionality change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176853 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
0f92deb81207c80481ff0257fbaba640fe669633 |
11-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] intercept dlopen and clear shadow for it Summary: The loader does not call mmap() through the PLT because it has to bootstrap the process before libc is present. Hooking dlopen() isn't enough either because the loader runs module initializers before returning, and they could run arbitrary msan instrumented code. If msandr is present, then we can intercept the mmaps from dlopen at the syscall layer and clear the shadow there. If msandr is missing, we clear the shadow after dlopen() and hope any initializers are trivial. Reviewers: eugenis CC: kcc, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D509 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176818 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_interceptors.cc
san/msan_interface_internal.h
san/msan_linux.cc
san/tests/CMakeLists.txt
san/tests/msan_loadable.cc
san/tests/msan_test.cc
sandr/msandr.cc
|
ce700979f644c790c2d9d80f5cc2a1ada0380284 |
11-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Implement BlockingMutex::CheckLocked() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176805 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_mutex.h
anitizer_common/sanitizer_win.cc
anitizer_common/tests/sanitizer_mutex_test.cc
|
c1b73e84db2f9f62633ee52b13cd1f83ef2fbe99 |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Reduce the local buffer size in Report() not to fail the check enforced when building TSan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176804 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
e282b1ac6f9d370f9b30dbbd2da43f6346947f7f |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[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(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176802 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
a8d37a05f05341c60fe4508d79286a1b17aa3dc2 |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] don't call strerr from functions that map memory, since this results in malloc(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176800 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
aa0f20dca32ad6ed0d4f5623b393dd700375f12a |
11-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make SizeClassAllocator64::GetBlockBegin more bullet proof (by Sergey Matveev) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176799 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
07020829d181dcd352ff6f01eab4d353c37a19b6 |
09-Mar-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Don't emit the extra checksum into the .gcda file if the user hasn't asked for it. Fortunately, versions of gcov that predate the extra checksum also ignore any extra data, so this isn't a problem. This matches the API change made in r176745. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176746 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
42296c7b5d69e6d79390005b6e1861ca66e3a0cb |
07-Mar-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Take the GCDA version string as an input to llvm_gcda_start_file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176618 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
93c26022f362c9e0a6acbe3bf3c7c395e19e0835 |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] Block reports from interceptors during _Unwind_Backtrace Summary: I'm hitting a big recursive report from: uninit on strlen -> __msan::PrintWarningWithOrigin() -> __msan::GetStackTrace() -> __sanitizer::StackTrace::SlowUnwindStack() -> _Unwind_Backtrace() -> ... libgcc calls -> uninit on strlen() -> ... repeats Reviewers: eugenis Differential Revision: http://llvm-reviews.chandlerc.com/D497 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176555 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_report.cc
|
3c27d7f4e3413dd4f2e50eebac7c8f9bd916c1ca |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] pthread_join() returns int, not void* pthread_join() returns an error code, not the result of the pthread_create() function like I thought. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176554 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
5d3dcb8fa4947ebeab61bcf512ab352576d0fb41 |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[sanitizers] Fix check failure on dealloc from new thread 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176552 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
ff571e2cf5d4a55f7719cd63f05f11c3840f0f57 |
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Update build rules for compiler-rt merge to version 176091. Change-Id: I17f4c807f11982e095994e3e0747483b32ffe453
san/Android.mk
|
53fb6ea24db1193246be4a02e946fd14bc3f053d |
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Merge commit '405056ccecb28f0c1babf23596d6b822d2b544ee' into merge_20130226 Conflicts: lib/asan/tests/asan_test.cc Change-Id: I72d45308752026b7d2ba586379c287356685e96e
|
bcf393e373713021c88b0e39c73a615a4e0f3fd2 |
05-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix signed-unsigned mismatch in test and use correct order of EXPECT_EQ() args git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176479 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_common_test.cc
|
352b245d32c6022a6eb5f5dec7f1d341c4ab88a3 |
05-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add methods back() and pop_back() to InternalVector. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176478 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_common_test.cc
|
d4de2a1a7b15d0ed1a303b1604894ae82d5e8748 |
01-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Revert r176255, r176264. New allocator has 1.5x memory overhead of the old one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176340 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/tests/asan_test.cc
|
cf80871bd777c8eca7541fe5aa1db2c2711dd24c |
01-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix check failure in SizeClassMap::Print. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176338 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
df4f6de48d1efe0cf6ed0a7b867e86b45985e85a |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Lower memory usage in LargeMallocTest on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176264 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
8bd5e74fa9d37a182088114918380e255e22e493 |
28-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the memcmp_strict flag (1 by default) that controls the behavior of accessibility checks in memcmp. 1: memcmp(p1, p2, n) always checks n bytes 0: memcmp checks up to n bytes depending on whether the memory contents differ. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176256 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_interceptors.cc
san/asan_rtl.cc
san/lit_tests/memcmp_strict_test.cc
|
d91046de8b90d78280ec378fce6f3da8cbfd786a |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Enable allocator2 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176255 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
13577fed9ac2ebe5e4800b8f83e3a80832907de2 |
28-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] bump kMidMemEnd to 0x4fffffffffULL since in rare cases prelink uses addresses higher than 0x3fffffffff git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176250 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
san/asan_rtl.cc
san/lit_tests/Linux/asan_prelink_test.cc
|
5c217b6a61cc7a577f5fa4063d5be97d8c3062f0 |
28-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Relax ThreadLister tests to allow possible pre-existing threads. Do proper mutex destruction. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176249 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_linux_test.cc
|
021ba5182db571f527fd4fbc5a3a6e96bd3fce74 |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Lit tests for __attribute__((no_sanitize_memory)). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176248 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/no_sanitize_memory.cc
san/lit_tests/no_sanitize_memory_prop.cc
|
58c400c58019070045e548bb5173b22af092f314 |
28-Feb-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Holy macaroons, somebody made a copy of llvm/runtime/profile/GCDAProfiling.c, didn't delete the original, and now they've diverged. I have no idea what's going on. Apply my patch in r176173 to this one too, this one looks newer? git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176236 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
b9e1319f97a9d9c2d13090e162e66ebdfbb419dd |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] if calloc returns a freshly-mmaped memory, don't clear it with memset. Speeds up calloc-intensive code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176185 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
|
35a7faf1fbfac678136e79d53824672dafb7d13e |
27-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] don't include missing header on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176183 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
8f72f7cae84494d9bd0676b4a499e0f895460744 |
27-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[UBSan] Use common report decorator to print colorful diagnostics in UBSan, and be more consistent w/ Printf/RawWrite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176182 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_report_decorator.h
bsan/ubsan_diag.cc
|
6fb47af2d2d305adbfc3d41bea589d1527a364a9 |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
add Linux syscall wrappers and ThreadLister to sanitizer_common 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_linux.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_linux_test.cc
|
1d2ed3ab71a574aaa0f4cea21333ae2bb786c93a |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] guard ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS definition with an #ifndef git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176175 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_test_utils.h
|
405056ccecb28f0c1babf23596d6b822d2b544ee |
26-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't die if external symbolizer is used on Mac, where it's not implemented yet git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176091 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer_mac.cc
|
b5f952134cad10f8416ebeccf375da771e4b9ca9 |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] A low-level vector implementation to be used in leak checking code. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176089 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_common_test.cc
|
f155fccd1f26f771c9f7f265a4c30faebdfb214f |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help debugging!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176085 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_mac.cc
anitizer_common/scripts/check_lint.sh
|
cf576c860a780a3f34ea17cb2d931e4532606217 |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] enable tsan-vs-gvn test since it is now fixed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176079 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/tsan-vs-gvn.cc
|
1b057b20db71ec6cc2bac460c8b2848f0889d47d |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the output for range accesses (memset, etc); improve the tests; more strict checking in memcmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176078 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_mem_test.cc
san/tests/asan_test.cc
|
00b8a34250e9f6c1c0211c33f4fe4da15d0fb24a |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176077 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/default_options.cc
san/lit_tests/throw_call_test.cc
anitizer_common/tests/sanitizer_test_utils.h
|
040620c84740b602bed9d67afeab2772d90b1158 |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] one more fix for signed/unsigned mismatch in comparison git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176020 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_stacktrace_test.cc
|
7907f1d0bd86e83677f8ae3bea7dc484546042cd |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176014 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_stacktrace_test.cc
|
8a6b5e551ab8a331f7e7bc4bfcd74926fbffa3f6 |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add interceptor for malloc_usable_size() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176013 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mman.h
san/rtl/tsan_stat.h
san/tests/unit/tsan_mman_test.cc
|
55249d128eb72e58e102057751a8271310768b4c |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove temporary build directory in 'make clean' command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176012 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
a0b1e21d72429c3672115b3ddc85240e3b7ac88b |
23-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Runtime handlers for array indexing checks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175948 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Misc/bounds.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
|
0b487c02ed906e555fa473cea5afcd6363549373 |
22-Feb-2013 |
Reid Kleckner <reid@kleckner.net> |
[Sanitizer] Add a test for the fast unwinder 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175893 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_stacktrace_test.cc
|
79b2d17fbaed2afa1a5a8f7bda42e45322709636 |
22-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MSanDR: initial commit. MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and dynamically generated code for MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175883 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
sandr/CMakeLists.txt
sandr/README.txt
sandr/msandr.cc
|
33934fff43c5813394fe21e68b8d82b672013465 |
22-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move the .preinit_array hack into a separate file (added used attribute) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175871 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_intercepted_functions.h
san/asan_preinit.cc
san/asan_rtl.cc
|
bc3a2d13e65b22f7920d2d963912e9af2e55fdc2 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175766 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
d4228010624f7c6fa69934add3f9da46cc6b6918 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make sure operator new/delete and friends are intercepted on OS X. 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175763 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
san/lit_tests/large_func_test.cc
|
ed3cb6b5f15ab375bbe6a90ccbe8d69bb1f36fe0 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Declare CreateThread as extern "C" to fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175760 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
72bbfd4f3a442afde281476bc6bd41b3b2152a4e |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Revert the incorrect macro on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175745 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
c4f88e4e6732f3fec8976e2b56e453d20b047845 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Put several function prototypes back under #ifdef _WIN32 to fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175743 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
50a002ecad3f0a10c136496e5b6289bd3c71590e |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Refactoring: nuke the redundant function declarations in asan_intercepted_functions.h 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175740 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/asan_mac.cc
nterception/interception.h
|
372b267fadcaf73b9d9cee5c8050d3c10e94f74d |
21-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add MSan to Makefile-based build rules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175737 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/Makefile.mk
|
a84805f1ccb2b7d4b6c0ba384bd3541fa4eaf808 |
21-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] speedup by more than 2x handling of the small memset/memcpy/etc calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175728 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mapping.h
san/tests/asan_noinst_test.cc
|
20aed578bf010a91222aed0096d87e0d887a28e9 |
20-Feb-2013 |
Reid Kleckner <reid@kleckner.net> |
[Sanitizer] Try to fix infinite loop in frame pointer unwinder 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175661 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
4c3e573425e584867e12c3f5d3df524c20b06509 |
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] revert part of r175631 that looks like accidental commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175655 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
7c2a3bbabc7d3bcc66ad7a076bed9a4b86a3626d |
20-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175631 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/Makefile.mk
san/asan_intercepted_functions.h
san/dynamic/Makefile.mk
san/dynamic/asan_interceptors_dynamic.cc
san/tests/asan_test.cc
|
9eab858dfd995cb0432efa18edbcd0e791114be9 |
20-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make isoc99_*scanf intercepted on Linux only. Those are unavailable on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175629 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
|
a8e0989e1829e6d1eb898b899ff8dced795ab5b6 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move preinit_test to Linux since on Mac __asan_init is called from ld-preload-ed runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175625 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/preinit_test.cc
san/lit_tests/preinit_test.cc
|
e1353430866fe112de0f52ab6281dbc47e40ef66 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] on linux, run __asan_init from .preinit_array (even earlier than before) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175623 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
san/lit_tests/preinit_test.cc
|
f882247088952deed954a19d745c2dd8871e2035 |
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use raw syscall instead of _exit() function on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175622 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_rtl.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_win.cc
|
97234eb4239b64c2f55f4dcec8c061d2b7f51505 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a lit test for invoke-with-no-return instrumentation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175618 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/throw_invoke_test.cc
|
69b109a665247d424874253b412fe9b5253d1702 |
20-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175615 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/throw_call_test.cc
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/scripts/check_lint.sh
|
a1b5c09e608933cb2a9edef1488f45f5a94c91a3 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add test throw_call_test (broken with -static-libstdc++) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175614 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/throw_call_test.cc
|
626e6fdd9c01c9b683c33656c2014ef9a2690e50 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix FileOps test on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175515 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_libc_test.cc
|
7f4df1a0e1e1b2ace94d4d78b03c222887dbb00c |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't run the long double test if long double is the same as double git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175514 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
7fe5526c2cb2d88e3ab288aa601a874c47fedb69 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Slightly lower allocator test memory consumption. This way it fits on a random 1G device. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175513 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
36ea94dc39f0ed98663986f6c0409dfc0a5edeb5 |
19-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Allow ASan default runtime options be overriden at compile time by providing ASAN_DEFAULT_OPTIONS macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175512 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
|
1f45e2dcd6732377577ac33f8729b21f981417b4 |
19-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allow runtime flags be separated by colon as well as space git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175511 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_flags.cc
anitizer_common/tests/sanitizer_flags_test.cc
|
efbc43528892b0a30039f68633e0b4ed3bbd2dae |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Use slow stack unwinder in UMR reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175510 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
|
366984e3aa286f7b4fb45f5c9e703f2768c407ed |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] instrument memory accesses with unusual sizes 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175508 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_rtl.cc
san/lit_tests/Darwin/interface_symbols_darwin.c
san/lit_tests/Linux/interface_symbols_linux.c
san/tests/asan_test.cc
anitizer_common/tests/sanitizer_libc_test.cc
|
f35eae83757946decb312deab3f0fe155fe5d580 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix ReExec on linux. execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable program name. Execute /proc/self/exe instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175504 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
anitizer_common/sanitizer_linux.cc
|
b711ca6e040d0ac4adb79e688e1a59afcc871d20 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175503 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
|
9358c58d0aaf1b20f17362af354d4c3c1309276a |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add interceptors for localtime and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175499 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/CMakeLists.txt
san/msan_interceptors.cc
san/msan_platform_limits_posix.cc
san/msan_platform_limits_posix.h
san/tests/msan_test.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/sanitizer_platform_limits_posix.cc
anitizer_common/sanitizer_platform_limits_posix.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
ce44055cdde85554aa9d18f8a7166bf5df6f9bb3 |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] use our own GetEnv instead of libc's getenv git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175498 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
|
d843fea3d6f7e7dcfcb6e2a98826b85e5106f189 |
18-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enable asan_prelink_test when gold is the default linker (gold and bfd linker have different flag syntax) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175431 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/asan_prelink_test.cc
|
8e32db4efc90a4d136786b4bdda62363df99e12c |
18-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] added flag -d|--demangle to asan_symbolize.py, makes addr2line/llvm-symbolizer demangle the functions names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175429 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
0fa691b7ec97d8c3948a637d6263822ed4e738f7 |
18-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make temporary filename depend on user ID git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175424 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
anitizer_common/tests/sanitizer_libc_test.cc
|
180e988700858a838e00fe9406f170502c203b85 |
15-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make variables unsigned to silence warnings - attempt 2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175285 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
e6b91fdad54c4c9a711b5149d65ea6a6f368d9ab |
15-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make variable unsigned to silence the warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175284 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
fe984cc9d8aa86cf6d5aa802b223a588d6f14105 |
15-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=159 MaybeReexec() does now a tricky job to manage DYLD_INSERT_LIBRARIES in a safe way. Because we're using library interposition, it's critical for an instrumented app to be executed with the runtime library present in DYLD_INSERT_LIBRARIES list. Therefore if it's initially missing in that list, we append the runtime library name to the value of DYLD_INSERT_LIBRARIES and then exec() ourselves. On the other hand, some of the apps exec()ed by our program may not want to have ASan runtime library preloaded, so we remove the runtime library from the DYLD_INSERT_LIBRARIES if it's already there. Users may want to preload other libraries using DYLD_INSERT_LIBRARIES, so we preserve those. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175276 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/lit_tests/Darwin/unset-insert-libraries-on-exec.cc
|
e31eca900a1f8849af75100c2d92e838d79d0920 |
15-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make asan work with 7fff8000 offset and prelink When prelink is installed in the system, prelink-ed libraries map between 0x003000000000 and 0x004000000000 thus occupying the shadow Gap, so we need so split the address space even further, like this: || [0x10007fff8000, 0x7fffffffffff] || HighMem || || [0x02008fff7000, 0x10007fff7fff] || HighShadow || || [0x004000000000, 0x02008fff6fff] || ShadowGap3 || || [0x003000000000, 0x003fffffffff] || MidMem || || [0x00087fff8000, 0x002fffffffff] || ShadowGap2 || || [0x00067fff8000, 0x00087fff7fff] || MidShadow || || [0x00008fff7000, 0x00067fff7fff] || ShadowGap || || [0x00007fff8000, 0x00008fff6fff] || LowShadow || || [0x000000000000, 0x00007fff7fff] || LowMem || Do it only if necessary. Also added a bit of profiling code to make sure that the mapping code is efficient. Added a lit test to simulate prelink-ed libraries. Unfortunately, this test does not work with binutils-gold linker. If gold is the default linker the test silently passes. Also replaced __has_feature(address_sanitizer) with __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__) in two places. Patch partially by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175263 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_mapping.h
san/asan_rtl.cc
san/lit_tests/Linux/asan_prelink_test.cc
anitizer_common/sanitizer_internal_defs.h
|
eab061185ec0046d447b298a1dff84f028202a3c |
14-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Get full argv and envp on glibc. /proc/$PID/cmdline is clipped to 4Kb. Locate argv and envp on the main thread stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175163 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
634b0734feae68b68106d52f6ef1c6893fff1381 |
14-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fixed the wrong placement of #include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175157 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Darwin/reexec-insert-libraries-env.cc
|
c18e17980cf6e28e736432b780cd3ae91b6597be |
14-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the 'alarm' script which isn't present on OS X by default. The test may hang now if a regression occurs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175155 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Darwin/reexec-insert-libraries-env.cc
|
15190a6f0f086737f2fcffe16a58ed42939ef081 |
14-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix bug in suppression reading (suppressions from file were discarded) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175153 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
|
7b7801d0811e7091240ddbfdcff817791973ef6f |
14-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Raise argv limit for ReExec. We are still limited by /proc/*/cmdline size (4Kb max on Linux!). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175145 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
c74b2ccbc0cf40bb401ebf3758e8e964b22acb3a |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add -I sanitizer_common/tests to asan/tests/CMakeLists.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175142 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_test_utils.h
|
fbeb826198c3c3797dcb56785db2e0a0a5c7a9af |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix x32 build (H.J. Lu) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175140 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
|
8da17ea3bc3ba0a28844642921247a3b9a1a3bcd |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] disable a failing test until it gets fixed. fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175137 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/lit_tests/tsan-vs-gvn.cc
|
45a8124a70fa720756c4c40d741b588172879bb7 |
13-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, base-to-derived casts have undefined behavior if the object is not actually an instance of the derived type. Runtime library part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175079 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers_cxx.cc
|
eb5f427c10c5d23e520def5f921cbbed831526be |
13-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[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). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175059 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/lit_tests/Darwin/reexec-insert-libraries-env.cc
san/lit_tests/SharedLibs/darwin-dummy-shared-lib-so.cc
|
eaa0190fc9a510a621d871becce0536950c5468d |
13-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not imitate memory write on malloc() (Go) better memory range access functions (put only 1 event to trace) (Go) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175056 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
606d3bc68a071c35acd0490678ce9ebc4c7e6332 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175049 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
|
70c6e3fb6dfddb9c4d26ac133beb5f53b71e47d9 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175040 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_interceptors.cc
san/msan_interface_internal.h
san/msan_report.cc
|
867ac63fdc4d5aec1c1d66858937cf787af86105 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175037 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface_internal.h
san/lit_tests/tsan-vs-gvn.cc
|
c242446f7a7c6a0c1f1bf9ad403d6dac6f215f1c |
12-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Highlight caret in bold green, to match Clang diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175013 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_diag.cc
|
f4a1ea7e0130273039f6c76d97e852f28e572d7a |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Tests for scanf parser in allowGnuMalloc=false mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174971 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
7eed04c4dce69ad1e485edbf6dd963e176b52e0d |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow zero buf pointer in getcwd() interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174970 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
c5b4e86e848758856433da2e876c473dd31db55c |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More accurate scanf parsing without GNU extensions. In __isoc99_*scanf we don't have to worry about GNUisms, and can parse %a accurately. Patch by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174969 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.inc
|
2cf585e94866c97528b0743b1e4c01f779fa500f |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add new __isoc99_*scanf to ASan intercepted functions list. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174965 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
86edb3b220ec3443cadd918609b3c05b8a6a1e7b |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Missing changes from r174960. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174962 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
4ae1adb49f34cf9a9ef854cf04348531608f0ead |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept __isoc99_*scanf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174960 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/scripts/check_lint.sh
|
ea0fd3c6f60a9e783dbfbb8a473ac60cd22eb07f |
12-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174958 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface_internal.h
san/asan_mapping.h
|
43fb7587fdc23d763ba4da8698e7218e9c04a6a9 |
12-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] symbolize correct PC when printing Summary message git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174956 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_report.cc
|
44be70b186549d592c952a13aafe79bfeae89f81 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] clang-format pass over scanf code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174888 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
0527bf2e6aa5b35da8aa57e866287ab66af67c15 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] scanf: don't report stores that did not happen. Respect REAL(scanf) return value and don't report memory stores that could potentially happen, but did not. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174887 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
348bd12af55f560e0822e753788d8a51fa050c3f |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove an extra va_copy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174883 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.inc
|
0e43e9ea9a1d5453fe1c25a6ec3927b417a8f5b1 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Scanf parser improvements. Handle %a in cases when it is unambiguous. Handle %m. Patch by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174882 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
9af86761268fb0b0a1a5295370f68a503c8d38b5 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Lit tests for MemorySanitizer. 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174876 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/heap-origin.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/stack-origin.cc
san/msan_report.cc
san/tests/CMakeLists.txt
san/tests/lit.cfg
san/tests/lit.site.cfg.in
|
9c0b286e747c4a5a08027261d0ca7ef25ede03ee |
11-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] added tsan-vs-gvn test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174875 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/tsan-vs-gvn.cc
|
70910beddc5362ce479d1953bbdc010d0b585124 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix line numbers in a sanitizer lit test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174861 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/use-after-free-right.cc
|
ed83584256249ee2c474fb18abf7df6aa73019b0 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix off-by-one in AddrIsAtRight. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174710 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/lit_tests/use-after-free-right.cc
|
be59019d9069bdfe3621d80235776d55ed2af178 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174708 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
2b10d3944d911c07f2a10cf248300260ed67454a |
08-Feb-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Switch Windows to allocator v2, also fixing some build errors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174707 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_quarantine.h
anitizer_common/sanitizer_win.cc
|
400a946f7300de3db5c50585e3b0aff2ac3c6509 |
08-Feb-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Move functions using BitScan/clzl to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174706 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
anitizer_common/sanitizer_common.h
|
4f06d0ba90aae87a21f3a7d75db985a01b8fb6d2 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add 2 random tests for the scanf implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174705 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
c36c168f8f482f35f200fea57dd88a888bf062fb |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Improve scanf interceptor 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174704 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
e47115fa033f3e3bd906dabe8beebc2e29e722d0 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix suppress_java logic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174635 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
719cf0e5d7dafdf2758bb1e6324181dcb60bfd3c |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the replace_cfallocator flag, which is used no more. See https://code.google.com/p/address-sanitizer/issues/detail?id=10 for the context. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174629 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
|
5d48617936d6415f2037a5e1b9d57f9077ee92ef |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Enable alloc_dealloc_mismatch by default on Darwin. Enable AddressSanitizer.AllocDeallocMismatch tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174628 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/tests/asan_test.cc
|
ce2f1840c8a15318e6e8958a8e36bc1ceaccba75 |
07-Feb-2013 |
Zonr Chang <zonr.xchg@gmail.com> |
Implement aeabi_{f,d}cmp*. Special thanks to Anton for the review. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174596 91177308-0d34-0410-b5e6-96231b3b80d8
rm/aeabi_dcmp.S
rm/aeabi_fcmp.S
omparedf2.c
omparesf2.c
|
ece62647281ee30b6bb01b0e052d58f41986a665 |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Override generic ARM runtimes with VFP version. Change-Id: Ia83a2eb515c6215b5f05e8176c24658cc239e4dd
rm/vfp_alias.S
|
ed4c034955e33b999b37f735feec8a7c315a6e3d |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Enable the new and delete wrappers on Darwin. 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174626 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
san/lit_tests/large_func_test.cc
|
03f224835f46801a0e22cc2951d21b67304e0457 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept libc __res_iclose this is required to catch close of file descriptors created in getaddrinfo() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174624 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
6cf1e6d92200f61bf275ca433c88c60c934e3086 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174622 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
3661bae401ea7fb8d61f20466f194ef90d7bdaa2 |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] always allocate 16-byte aligned chunks of memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174617 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
3c5ebf664496fb3857ff3e2737d9cb4c2d4b5e4d |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[sanitizer_common] Fix lint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174616 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
aeedfd61099514b70b2b9f9f6bbc03b1581fda76 |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix a compilation warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174604 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
6a11cc1bc665f13a0fcafe4a6a84761216675af7 |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Implement asan_mz_size(), asan_mz_force_lock() and asan_mz_force_unlock() for allocator2. Switch to allocator2 on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174603 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
|
74d0540ceae99c550b00f75883a737f4a1de6351 |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] OFF_T on Mac is u64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174600 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
|
2d740a3ff4c38f1b8d93357bece483939d65dd3f |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] race_on_write test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174599 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/race_on_write.cc
|
eff744ddc87601937d03edf33c27edea0be0f3cc |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Exclude off64_t test on mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174598 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception_type_test.cc
|
92ce51e144b35970b6468f002f035562cb33b4bd |
07-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include stddef.h for ptrdiff_t in interception type test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174597 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception_type_test.cc
|
f1e4bceafeec4bfe2f501d6c6535da18d485bf08 |
07-Feb-2013 |
Zonr Chang <zonr.xchg@gmail.com> |
Implement aeabi_{f,d}cmp*. Special thanks to Anton for the review. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174596 91177308-0d34-0410-b5e6-96231b3b80d8
rm/aeabi_dcmp.S
rm/aeabi_fcmp.S
omparedf2.c
omparesf2.c
|
1d333c5a34d896f239001e3fe69a660e40d15301 |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174595 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_flags.h
san/msan_report.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_stacktrace.cc
|
cb8b91d6040f07bb42d3053bc4a44ff8e3e7f05f |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add a missing header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174594 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception_type_test.cc
|
65e5090c3ca13ebf1061a7043449d1b3561daa6a |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms. This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/CMakeLists.txt
nterception/interception.h
nterception/interception_type_test.cc
|
5ba301dfe9a39c02b3faeb0fa252473f1d6e742c |
06-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] skip multiple internal frames, if necessary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174516 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
427a89947a52bbaaa6adfaae7aa8e44ec588f43d |
06-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix the interceptor for siglongjmp. As we're using dylib interposition, we must intercept both siglongjmp and longjmp on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174510 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
2bf0d0332d3bb8b007e10ef14429279e12405262 |
06-Feb-2013 |
Alexander Potapenko <glider@google.com> |
Use 64-bit inodes in file operations. ASan is now built with -mmacosx-version-min=10.5, thus the default inode size is 32 bits. However the supported client code is going to target 10.6 and higher, where 64-bit inodes will be used. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174507 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
9dbba15ba91b55f87a25feb284e43ab7a9be31b3 |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] improve FrameIsInternal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174506 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/atomic_race.cc
san/rtl/tsan_rtl_report.cc
|
2f588f9d3417aa107ebbbd8830f97501023d3f40 |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] print error summary line git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174505 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
san/lit_tests/free_race.c
san/lit_tests/mutex_destroy_locked.cc
san/lit_tests/signal_errno.cc
san/lit_tests/signal_malloc.cc
san/lit_tests/simple_race.cc
san/lit_tests/thread_leak3.c
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
2673fd8406197c42f16cede6d287f72169298c2e |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174501 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_report.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
|
69563986ca570ce750111a82264d51ddbf4107ba |
05-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete the code related to static runtime on OS X. Nuke lib/interception/mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174383 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/Makefile.mk
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
nterception/CMakeLists.txt
nterception/Makefile.mk
nterception/interception.h
nterception/interception_mac.cc
nterception/interception_mac.h
nterception/mach_override/LICENSE.TXT
nterception/mach_override/Makefile.mk
nterception/mach_override/README.txt
nterception/mach_override/mach_override.c
nterception/mach_override/mach_override.h
san/rtl/Makefile.mk
|
f97a1fef66c59ee45e4a286be64c852d0e82275f |
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix Win/Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174376 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
589dcdaa520de1033a0f6112c9b67ab9eb7931af |
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix nonsensical reports of partial right OOB. In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174373 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_report.cc
san/asan_report.h
san/lit_tests/partial_right.cc
san/lit_tests/strncpy-overflow.cc
|
cf533b6c24c662c9548c25946211f5e1c9d299f9 |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix failing CHECK on windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174319 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
7c50ee7dd9f2d6a0ed75c27e05b08534908a905a |
04-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use proper casting in *stat functions on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174318 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
4c9317a7b61e136f832d2ede70f557963fd46bce |
04-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] extend internal libc with stat/fstat/lstat functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174316 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
anitizer_common/tests/sanitizer_libc_test.cc
san/tests/unit/tsan_platform_test.cc
|
8ceeec4f343768b199e7c891865029360b7225dc |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix compilation errors/bugs on Windows where long is 32-bit even in 64-bit mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174312 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_win.cc
|
52c70e5818727521b89f7fc95a2a383df8985ca6 |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept bind/listen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174311 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
e85c83dcee3d35068e6670ab32545953d4330335 |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use u32 instead of mode_t, which is defined in Darwin headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174189 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
73700ac2a7ced591261ad11199d9d4a7112304bb |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove debug output from the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174188 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
ee7cc4454421a176d23442382afd9a01d36e7ad4 |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] make internal_open have the same interface as libc version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_suppressions.cc
san/tests/unit/tsan_platform_test.cc
|
c05cbca0988c296068e0da1556bd6af7edd43c69 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: catch races on fd in more cases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174184 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
fcc7c8c88ff87eeccdb7138c7479ab902fbc5b8f |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove artifacts from gotsan build in 'make clean' command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174180 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
3285866e45a8521c56ba6209daf3c9f91f844fd3 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: even if races between atomic and plain memory accesses are turned off (report_atomic_races=0), still report races between atomic accesses and free(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174175 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/atomic_free.cc
san/lit_tests/atomic_free2.cc
san/lit_tests/race_on_mutex2.c
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
|
0a07b354fe95d50911c620b42fc031868ef15cc1 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: say that the memory access is atomic in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174168 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/atomic_stack.cc
san/lit_tests/race_on_mutex.c
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl_report.cc
|
cafed29d27a9a1700aa3c828329f9db8e7592a6b |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember 2 stack frames for atomics (caller and atomic itself) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174167 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
ddbe2be9dc8b8eb7d40017c077e8392daf708510 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to not report races between atomic and plain memory accesses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174165 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interface_atomic.cc
|
33a040af0f32bcf2e5ab25fa2c9b6a81d3a59092 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flip is_write bit in shadow to is_read this makes calculation of interesting predicates faster git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174164 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/tests/unit/tsan_shadow_test.cc
|
334553ec45d8982df45a6f5e656e068142ecde3f |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect races between plain and atomic memory accesses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
san/lit_tests/atomic_norace.cc
san/lit_tests/atomic_race.cc
san/rtl/tsan_defs.h
san/rtl/tsan_fd.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface.cc
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_inl.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_update_shadow_word_inl.h
san/tests/unit/tsan_shadow_test.cc
|
859778a4e2dffa4024fa3e13b105fd62eca44b1c |
31-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make the error messages from sanitizer_common contain the actual tool name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174059 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/msan.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
san/rtl/tsan_rtl.cc
|
c70fa28caaaec2134f2c2230821fcc0f0d7ac27e |
31-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator2.cc
san/asan_fake_stack.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_interface_internal.h
san/asan_internal.h
san/asan_malloc_linux.cc
san/asan_poisoning.cc
san/asan_report.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/lit_tests/Darwin/interface_symbols_darwin.c
san/lit_tests/Linux/interface_symbols_linux.c
san/lit_tests/interface_test.cc
san/tests/asan_noinst_test.cc
|
6faa20f2441cd845d98cb390ae2bacca908537ee |
31-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to explicit thread contexts in Go (instead of monotonic goroutine ids) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174047 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/test.c
san/go/tsan_go.cc
|
6bd82d398b0c1e66f957a8553a912c5aa54b9639 |
31-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not check for intersecting memory accesses in Go (all accesses are 1 byte) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174046 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_update_shadow_word_inl.h
|
fa5c41eddf77a3614da0f62044ebf741d86aeab7 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: manually define FUTEX constants, because <linux/futes.h> header is broken on some linux distributions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173933 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
a55fbd57148fa92dd5dcf1c63846d1d23d328c9a |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix CPP_WEAK definition (it must be the other way around) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173932 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
|
216719b23134b9719bbf3e1de4a7d5d351c21fa8 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include sanitizer_common headers when building interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/CMakeLists.txt
nterception/Makefile.mk
nterception/interception.h
san/rtl/Makefile.mk
|
e437e9e2172415e0ce91202a7e5a139a07853df9 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add change missed in r173926 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173929 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/lit.site.cfg.in
|
250f221ae0dee295098da8aa631977b6c2ebc99b |
30-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Further split private and public sanitizer headers. And make msan_interface.h C-compatible. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173928 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
nterception/interception.h
san/msan_interface_internal.h
san/tests/msan_test.cc
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_stackdepot.h
san/rtl/tsan_interface.h
san/rtl/tsan_interface_ann.h
|
48ecaf475c7084125ec1985f0ad7efc1b4b8306e |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173926 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Unit/lit.site.cfg.in
it.common.unit.cfg
san/tests/lit.site.cfg.in
san/lit_tests/Unit/lit.site.cfg.in
|
7c984ca2fc88e2cd82b30c5b3ef361af2a1f2062 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce a helped macro CPP_WEAK (Go linker does not support weak symbols) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173917 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_rtl.cc
|
22881ec8c8a3c01f9b993b186040444b0b5caa50 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add OnFinalize() callback for frontends git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173915 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
c44219cd5479a80ebb2b59779a41936d807f8840 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] relax output tests a bit to make them pass in gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173913 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_race.c
san/lit_tests/free_race2.c
san/lit_tests/race_on_heap.cc
san/lit_tests/signal_malloc.cc
|
ba5e99668e3030cc5bab357a04271a1bdbac209c |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] update style checker script and fix namespace style warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173910 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/stack-frame-demangle.cc
san/msan_interface_internal.h
san/msan_linux.cc
san/msan_platform_limits_posix.cc
san/msan_report.cc
anitizer_common/sanitizer_lfstack.h
anitizer_common/sanitizer_quarantine.h
anitizer_common/scripts/check_lint.sh
anitizer_common/tests/sanitizer_common_test.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_java.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_vector.h
san/tests/rtl/tsan_test_util_linux.cc
|
eb41768d814383b007b3cf8effb61fe0b1c68236 |
29-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[tsan] Fix checks for siginfo_t in tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173815 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/signal_errno.cc
san/lit_tests/signal_malloc.cc
|
12c46937db2a5ab9237ce314c3f3a83636e8a575 |
29-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Cleanup public interface header. Moved everything users are not supposed to use to a private interface header. Documented all public interfaces. Made them safe to use even if built without MemorySanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173800 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_interface_internal.h
san/tests/CMakeLists.txt
san/tests/msan_test.cc
san/tests/msandr_test_so.cc
san/tests/msandr_test_so.h
|
793e7610934531fa014aa2c0721d7901bdbae548 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dump stack on internal assert failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173799 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
31c05ea4d508a476403ba30c1f60ef6190eb46b6 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support for inprocess symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173797 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
4e81d0e82a4a327987644a57b6103052a974824f |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember when we are inside of symbolizer code (required for inprocess symbolizer) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173796 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_symbolize.cc
|
a180078ee0120c049f9fb495f930053f80f105aa |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173795 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
518908037a5438758ffc7e166176b3b28e8bef78 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173786 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/rlimit_mmap_test.cc
|
c8490e2a09cd415cc58fc8f3b63bebddce61c82d |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix the message (tsan is not asan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173784 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
90a2467c0a0722dcc9443229b8805f0a878ccb56 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173783 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
san/rtl/tsan_symbolize.cc
|
61ba1b5df34614e0647f5f80d462f6485e817fa5 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add interceptor stubs for stat family of functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173782 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
43495a2bfb70206a8e569e1a643a320065427178 |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix deallocation hook in allocator2: according to specification, dealloc hook should be called before deallocating memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173778 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
d91699339fd7e022aef0eaa8f401af0f8942068b |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Do allocate memory even for zero-size allocation requests. Explain why we have to do this in comments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173776 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
|
53becd87b874cda5f3ae29e00538fb41d336dbb9 |
28-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Use the correct order of NOINLINE vs ret type to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173694 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
887a5feeb59a515e2fc291ceb8451dc569936124 |
28-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A runtime call to support custom allocators. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173687 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
f1d9fddaf2611dcb655dbf38d2b3e7e1171ac9e9 |
28-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove icmp tests that require exact shadow propagation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173686 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
a3ab1a7da70a5ef111257ba8887920c1fdcd7be5 |
28-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix a bug in allocator-v2 which could lead to SEGV on realloc(malloc(0), 4) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173681 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
|
b478260a75516f350f733dccb07cf10e443f9967 |
28-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a crash in asan stats printing (initialize the allocator in __asan_init) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173676 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
san/asan_rtl.cc
|
95f630ae40cef78fb03b18110eff43bcf8d1c040 |
28-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] two more internal flags for asan-rt: print_stats (0) and print_legend (1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173671 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_report.cc
san/asan_rtl.cc
|
f6acafcaf557fa8f89794ac08597a854475dfc73 |
28-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[CMake] Fix compiler-rt tests after r173617 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173668 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
|
0136e1642d2fbfb6ed09169fcf748fe4667156d5 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Correct name of __aeabi_f2lz. Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172365 91177308-0d34-0410-b5e6-96231b3b80d8
ixsfdi.c
|
139a106d12a5789561b3244bb34704eb618e4ffe |
26-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Merge lib/Android.mk into Android.mk. Refine Android.mk. Tested and got the same results. Change-Id: I9cfc1ff703116f8a1a8ad94c6b5c63ebfaea937a
ndroid.mk
|
1113f2eaec0611a198ddf4ca0738bbbd50851f01 |
26-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Fix comments for libcompiler-rt-extras. Change-Id: I7fb59120849b436673e115e701b91e7409cdb038
ndroid.mk
|
9a22a3dab8a3284af86203843a41e2b35e617b09 |
25-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Tests for ICmp handling. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173456 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
3c2999e340a57a663f1b507006becfc49b368473 |
25-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] More fixes to scanf interceptor: stub support for %s, support for %[...] directive git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173451 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
b2efe13f3a0fb9af55cce39a497d951567e78816 |
25-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] improve the calloc overflow check (spotted by samsonov@) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173443 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
anitizer_common/sanitizer_allocator.cc
|
65199f1b253c4bfb225805629217acb8f0b1e185 |
25-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix calloc overflow in asan/tsan/msan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173441 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_allocator.h
san/rtl/tsan_interceptors.cc
san/tests/unit/tsan_mman_test.cc
|
6503100c43c8951f436698b47362cdc8c2ec0a69 |
25-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix errors in scanf interceptors: add support for %c and fix cases like %5d git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173440 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
1acfa02e08e6d3316c80f52255cbb7d9e3164128 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: return the old fake numbers from malloc stats (some code already depends on them) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173348 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
7885514bf3321b6a027178ff60ac96122c8f7640 |
24-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use stub InternalSymbolizer on platforms where we don't have weak hooks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173347 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
|
e5e3a13b43beee99a0d3ec888a0be170a53af934 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress reports using both stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173346 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
c2b9f1c1d54e857e56462e65155381faddf398df |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow a front-end to provide default suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173345 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
san/tests/unit/tsan_suppressions_test.cc
|
110081903bc75de62cf2af9fdf742e7e4b778734 |
24-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add skeleton for InternalSymbolizer that can be used by providing callbacks __sanitizer_symbolize_{code,data} git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173344 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
|
af5bd2ee59a9f7bea74f43fccc6ea48979b7a4b0 |
24-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] run-time tests for adaptive redzones git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173336 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_globals_test.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test_utils.h
|
327c60a02a944fc9e3603d2cc6822af9517135d0 |
24-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation on Mac by adding a missing pwrite parameter. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173333 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
bdd844cb41718c27ef727a99a236191bc29a3df8 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement malloc stats querying git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mman.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_thread.cc
san/tests/unit/tsan_mman_test.cc
|
f0c846b8ef61a5f4bc664c463d643bb8dedc3768 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix pwrite interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173328 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
45e7bcc50eccc9ffe6aa3af65c12b47df20ca731 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: also test asan during presubmit checks, because sanitizer_common changes can affect it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173327 91177308-0d34-0410-b5e6-96231b3b80d8
san/check_cmake.sh
|
9e6d3b3a9fa14a4f64df83303d562451b88ae11b |
23-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow waitpid while in __msan_init(). This is used in symbolizer init. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173263 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
ed847e39a3f993e52fd0a290d08cadf723951ea3 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] increase the minimal mmap size in allocator to 2^16; fix the asan Mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173261 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
anitizer_common/sanitizer_allocator.h
|
e5ab9688b623a5a0150c7eae1ec1caaf06d44758 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173260 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_mapping.h
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
|
12530820a4d45e799cdbb83e7b3b1e8ef111650c |
23-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add stubs for malloc introspection (similar to what we have in asan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173255 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
b8f515ca6788906c1c4fe679aaf9e8ff22f27546 |
23-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173253 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
|
a3b0e5e4f9f48b2ed0baee10c0236eda7c21c660 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] simplify the code that poisons global redzones, add some more tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173251 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_mapping.h
san/asan_report.cc
san/tests/asan_globals_test.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
95d058800ebe11a9fda03b10455500aa4a5b3edb |
23-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] gethostbyname interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173249 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/tests/msan_test.cc
|
9c6243ca4cafa13c52ca26ca9d05ae893e7c1cb3 |
22-Jan-2013 |
Stephen Hines <srhines@google.com> |
Merge "Improve dependency tracking for compiler-rt."
|
6c3ad94d321cd35345248041a1c132ed00201358 |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove the trap handler code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173161 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_linux.cc
|
e36d0067390988b4f0334ff291f0652587fbe19b |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Follow -msan-keep-going in reports from interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173158 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
e9c10e2e770a054766e6f510ae623e656b8f1c3e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix linkage type of __msan_track_origins. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173157 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
|
02f4a942bff84f1266571740456dd9baa230d87b |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Simplify test code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173155 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
2efa1420ffc6b42c22b57de2bdf577d6390e137e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Test handling of volatile bitfields. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173154 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
11929000ec2919192b3be457f5a44c71ed55215e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Stop using volatile assignments as undef checks in MSan tests. A runtime call is used instead. MSan will stop adding shadow checks on volatile stores soon. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173152 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/msan_test.cc
|
6fcbff5c19dc37c978322e050fba0f1c3bb84bf6 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Disable the new/delete implementations for OSX See https://code.google.com/p/address-sanitizer/issues/detail?id=131 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173149 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
|
bea4205c7324f71153a6224665bdc04909ceda10 |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: add output test for -fsanitize-address-zero-based-shadow option on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173146 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/zero-base-shadow.cc
|
bc459cccc292df02314302890a4330840865982f |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the declarations of pthread_workqueue_t and pthread_workitem_handle_t, which are used no more. Kudos to Jeremy Huddleston Sequoia <jeremyhu@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173143 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
3b9e668d6056cf7fb791e630d931ebaaf59b4981 |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: use Clang -fsanitize-blacklist flag in unit tests (instead of -mllvm) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173142 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
7da5ab2c05bf63d99273f0f033ad544c09432c92 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the path to ASan interface in interface_symbols_linux.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173140 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/interface_symbols_linux.c
|
53c3f18447bef0a3b96c66e83564aedadc504a57 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Moved interface_symbols.c to lit_tests/Linux. We already have Darwin-specific version of this test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173136 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/interface_symbols_linux.c
san/lit_tests/interface_symbols.c
|
eba4803ab538007a63d149faf92afc00f73c5128 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Use dylib interposition to hook memory allocation in the dynamic runtime. This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173134 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_intercepted_functions.h
san/asan_mac.cc
san/asan_malloc_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
san/lit_tests/Darwin/interface_symbols_darwin.c
san/lit_tests/Darwin/lit.local.cfg
san/lit_tests/Linux/malloc_delete_mismatch.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/large_func_test.cc
san/lit_tests/malloc_delete_mismatch.cc
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
|
c92a42161d8c513c01fd1bcaf60387f50cc4981f |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: simplify build rules for unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173133 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
5e5be21cc6165ae16a3002f0c3bace10c493491b |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: disable flexible mapping and offset on Android. It doesn't work for dynamic ASan runtime there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173132 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
|
8fb1264341c079eda3e10480fb807a0f52bb8b19 |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc even more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173131 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_str_test.cc
san/tests/asan_test.cc
|
6cbfae439b81221d2250ffe0331958f130259755 |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173130 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_mem_test.cc
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
38db30686c5962f8b5c877e29c6669d72198d42b |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc to speedup parallel build (most important if building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173129 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_oob_test.cc
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
7c98f2da68cc52708ca80555cbf6a03f613a535b |
10-Jan-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r171906. lib/asan/Android.mk lib/asan/tests/asan_test.cc - std::sort instead of sort ! Change-Id: I732e257ca465fdff13f706bd0090ca747ea91a1b
san/Android.mk
san/tests/asan_test.cc
|
db16931e4f0aa3ffcb5bf4a203905c8bd5654751 |
21-Jan-2013 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'upstream/master' into merge-llvm
|
44997c354c7cdb5257d9a41c837b12a6133f2d6b |
21-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix linux build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173049 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
8c745fc58d8aca66db1170b1cdbbc0a7743c20a0 |
21-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Move Mac-specific tests to asan_mac_test.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173048 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_mac_test.cc
san/tests/asan_mac_test.mm
san/tests/asan_mac_test_helpers.mm
san/tests/asan_test.cc
|
d0b1d4605b05b744480f0ca54f996578ca216cf8 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: generalize checking for target availability and add initial support for PowerPC native arch. With this patch, building LLVM on PowerPC native arch produces a working ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173044 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
|
5fffb9f49cd7b1237a0bfed0faebf16ef5cdeec1 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable scanf interceptor on windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173037 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_platform_interceptors.h
|
87b52b910037447eccb92546b24b5e06181a1545 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r173021: build tests with zero-based shadow on Android only, fix condition in checking for shadow gap in asan_mapping.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173026 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
|
dcfa17de16e168060d94a9071b282a15a1cad0e6 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Define va_copy on win32. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173025 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors_scanf.inc
|
750ef8f4861de855cfb5eacad767248e22dc04f6 |
21-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix thread_name.cc test to work with older versions of libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173023 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/thread_name.cc
|
ee485d42c43635f874e3197f636280a6b0f8c545 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build unit tests with -fsanitize-address-zero-base-shadow on Linux and Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173021 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_mapping.h
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
|
6935071be08d83963a0eaf2377f3fffb8b56f328 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Move *scanf declarations out of mac-only section. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173020 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
a0a69a4129fc963702b7f96a00838f104a6b3636 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: use dynamic lookup when building dynamic ASan runtime on Mac, because shadow mapping and offset are defined in the instrumented modules instead of runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173015 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
2aed04090856609cdf510b69dd0a1d81b3980b5f |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build runtime library with ASAN_FLEXIBLE_MAPPING_AND_OFFSET=1 as shadow mapping/offset are always emitted by the LLVM backend now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173013 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
2aad7c137771f6f7a734390e09c94a13120d054a |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: add functions creating universal runtime libraries for several architectures on OS X and use them in ASan and UBSan build rules git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173011 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
bsan/CMakeLists.txt
|
5162314d9538766717b8b6cf3d4a32e88c34bb57 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
7eca152ea59510d51b01b764fc96852a34e9d6bc |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: use add_compiler_rt_static_runtime to build TSan and MSan runtimes. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172978 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/rtl/CMakeLists.txt
|
e16af95daecd44b32940fe910fac2deee3220ac1 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Add add_compiler_rt_static_runtime function and use it to build generic compiler-rt libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172977 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
250929e797085ddd4ba54fe9872dc25c1647d0a4 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Temporary disable test added in r172828 as it seems to be flaky on the buildbots git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172976 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/log_path_fork_test.cc
san/lit_tests/log_path_fork_test.cc.disabled
|
9b42f5207c6e99e8f94b790bb4d5a04cdcc1c755 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r172828: use InternalScopedBuffer in favor of large stack buffers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172975 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
|
97ac43c7cf39e8ad2719b4f395093e7415280577 |
19-Jan-2013 |
Stephen Hines <srhines@google.com> |
Improve dependency tracking for compiler-rt. Change-Id: Ic6751ce9d692f79f984b9bb94246f5c096853316
ndroid.mk
san/Android.mk
|
ff86a5f55b46a3a74ba57abbaba9b1274d35a18c |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix a typo from r172289 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172830 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
43b4b9c18a7a588a60b9d976391ad8e2f5f9a309 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Generalize build rules for different arches for sanitizer_common, asan, ubsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172829 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
bsan/CMakeLists.txt
|
dedba5d6b0664218b1b1109f024a1ab151642776 |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the log_path option to use different log files for parent and child processes after fork(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172828 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/log_path_fork_test.cc
anitizer_common/sanitizer_common.cc
|
cfa8132a50b375811dc03518aebf9e0b0bb6ae07 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Workaround broken mktemp on certain platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172827 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
392c50d4a56557a51a353509c665188aef115f74 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: create AddCompilerRT module and implement convenience add_compiler_rt_object_library function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172826 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
san/tests/CMakeLists.txt
anitizer_common/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
|
d6bc93e1f1f9eb1d3cd1ce88891dc5fe28d051f9 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable cpplint for .inc files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172825 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/scripts/check_lint.sh
|
82a9080eaff95d69b270cd863e9df63e3b4e59ad |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172817 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/msan_interceptors.cc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
san/rtl/tsan_interceptors.cc
|
0ed0f439ae4cec9bb62cf3be61c37596a4ed7087 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] kill some dead code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172815 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_rtl.cc
|
4f32c0beaa83ffbb84db23d2e6205bee57c39ce1 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Rename 2 files *.h->*.inc as appropriate. Also add a missing include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172814 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/msan_interceptors.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_common_interceptors.inc
anitizer_common/sanitizer_common_interceptors_scanf.h
anitizer_common/sanitizer_common_interceptors_scanf.inc
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
san/rtl/tsan_interceptors.cc
|
2f3aef010fdeadfe7ec995dc534544acb5f357fb |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake variables renaming: X86_64->x86_64 I386->i386 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172812 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
san/CMakeLists.txt
san/tests/CMakeLists.txt
anitizer_common/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
san/rtl/CMakeLists.txt
san/tests/CMakeLists.txt
bsan/CMakeLists.txt
|
843d662b11b50b5f4974d485ccd43f3c509cad14 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172811 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
fc4fcf5c6f964f2da6e9875a820eac90399d1deb |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172810 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
bee7415a86d9437659d09f034c346794bf15c2ab |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172809 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/msan_interceptors.cc
|
541cfb10f5daa17e48eb42365a74233cd551c545 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix two off-by-one errors that seem to affect only PowerPC because only there the stack top may be equal to the address space top. Noted by Andreas Schwab in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975#c11 . Also make swapcontext interceptor a bit more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172807 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_poisoning.cc
san/asan_thread.cc
|
996c4f2fa53cce8f9d7b517073f38569460de505 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Common *scanf interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
nterception/interception.h
san/msan_interceptors.cc
san/tests/msan_test.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_common_interceptors_scanf.h
anitizer_common/sanitizer_platform_interceptors.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_scanf_interceptor_test.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
f1f3182967339d8a2af473e94d39340f464c70cd |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
Remove references to pthread_workqueue_additem_np(), which isn't in the official libdispatch API. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172802 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
ca2849c2819b5c7a8771a1e8bc449cf8f5ef6527 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixes for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172800 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
|
c20b321d49f0eff60f1394d56e623d8ca94f24d7 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] reapply r172719, r172721-172723, r172725, and also fix the warning on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172791 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/tests/asan_test.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_platform_interceptors.h
san/lit_tests/thread_name.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
29b37ea8907bc99bf86fab89bf8dc93a520ebac4 |
17-Jan-2013 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Revert r172719, r172721-172723, and r172725. The r172719 patch broke the build on Mac, the others depended on it. compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function 'SetThreadName' [-Werror,-Wunused-function] static void SetThreadName(const char *name) { Orignal headlines: [asan] attempting to fix the Mac build [asan] restructure read/pread/pread64 tests [sanitizer] move write/pwrite/pwrite64 interceptors to common [msan] start using common interceptors in msan [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172763 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/tests/asan_test.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_platform_interceptors.h
san/lit_tests/race_on_write.cc
san/lit_tests/thread_name.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
23709c9ad9ac7c45de288f5260403426bf932db7 |
17-Jan-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Have ReExec read environment from /proc/self/environ It is possible for ReExec to be called before the C standard library has initialised itself sufficiently for execv to work properly. Fix this by parsing the environment ourselves and using execve. Differential Revision: http://llvm-reviews.chandlerc.com/D304 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172748 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
18af39e73d651f1903f2d46ac51b3842b378763f |
17-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache Missed this one previously. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172730 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_type_hash.h
|
57db4bae483e7268dd7fc5bc42b0e55564014048 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] minor changes to swapcontext handling: don't clear shadow memory if context stack is too large git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172727 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_win.cc
|
0fc2f6935568db9252272bd9c00895255d7f78b9 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Allow __asan_get_allocated_size(malloc(0)) to be 0 or 1 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172726 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
9289ff13180a35241d3326be3a8e1edf6f45dc9b |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attempting to fix the Mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172725 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.h
|
c39ea447d6632314d6e0198b3559830298df5155 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] restructure read/pread/pread64 tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172723 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
153ba3f41d8f6ad1641ae76cfdf01445cec9db89 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] move write/pwrite/pwrite64 interceptors to common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172722 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_platform_interceptors.h
san/lit_tests/race_on_write.cc
san/rtl/tsan_interceptors.cc
|
14ea1d5351c132f96bcbe23595019377db60588e |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] start using common interceptors in msan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172721 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
|
e03345ba3da0450f7ff1410de6a2a00fd304089d |
17-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] More interceptors. strtod and friends, dladdr, getrusage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172720 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/msan_platform_limits_posix.cc
san/msan_platform_limits_posix.h
san/tests/CMakeLists.txt
san/tests/msan_test.cc
|
0223e7dece2c215ed07e2100e1739fa5bf4d8210 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172719 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_platform_interceptors.h
san/lit_tests/thread_name.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
220ba2f6f98d44e1e8a88b4dee8ed456cf54ff33 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix __asan_get_ownership(p) and __asan_get_allocated_size(p) for the p = malloc(0) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172717 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
|
7be1cc87ba99036519437518ec8eb9231916241b |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] add write_range/read_range hooks to common interceptors called from tsan (to find races on read/pread/etc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172714 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/race_on_read.cc
san/rtl/tsan_interceptors.cc
|
c8033193376c3326478a345c4ae6633d4d2862c6 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] a bit more unification for interceptors (merge read/pread/pread64 in asan and tsan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172713 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
san/lit_tests/thread_name.cc
san/rtl/tsan_interceptors.cc
|
ad9d802b1564f3fcb7b05f0e00e8dce928b99bbc |
17-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172712 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_lfstack.h
|
f09086c028f37c9a8cf2582d4b4e922b16470a69 |
17-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172710 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_lfstack.h
|
0c7f61c7f0a6981a1722aea325500ce80dc08a04 |
16-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix ARM build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172613 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
e1760eadf00d1cd84c5b314d1b42f6614dff2ed6 |
16-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: fix the memalign handling (clear the first word of allocated chunk in case there is an old memalign magic) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172603 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
e2399c731b6599f7d608bf5dbbd0b92e1d71fd31 |
15-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enable asan_allocator2 by default on Linux. Will enable it on other platforms and remove the old one later, after additional testing. The new allocator is much faster and uses less memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172531 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
281ba4f28aecdf1c350c164768894c7f3962b9ff |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix standalone malloc implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172529 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_testlib.cc
|
40265e87a8823589b4af7c3d64fa4194ad91de33 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix the constant for new allocator cache git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172526 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
b10a5621daa804f3a2b18fbe75d5fed2a4aeadd3 |
15-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] hide PR_SET_NAME under an ifdef (for older kernels) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172523 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
db1b58a0a513fed750bf1bf4eac5544ee4c35565 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: correct non-temporal prefetch for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172522 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
ce8674f1b8ff975f5fbb8cddc7b704d102c34a01 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: faster thead-local cache for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172521 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
5490b286555098330d9370148c153904d6046d31 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172520 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_testlib.cc
|
8b29217930dc4f8730cfecbdcb1c7041e1ea735a |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix bugs in the testlib git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172519 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_testlib.cc
|
084e445f0d5db096baf8f8d56078e57be581fe90 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: rename the file (it's not 64-bit specific anymore) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172518 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_testlib.cc
anitizer_common/tests/sanitizer_allocator_testlib.cc
|
2173dc70641466e166b5f9485bdb3a26eaa2ba1f |
14-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Use __sanitizer::atomic_exchange(), prefer shared impl. Specify weaker memory order in case we optimize for it in the future, presently still doing same __sync_lock_test_and_set() as before. Change suggested by Alexey Samsonov, thanks! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172429 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.h
|
48ddbef1d051875b2d0b204e8d78300b58d80a85 |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Move large part of asan_test_utils.h to sanitizer_common. Move my_rand() to the common header. This lets us avoid the use of rand_r in sanitizer_common tests. There is no rand_r on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172421 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_utils.h
anitizer_common/tests/sanitizer_allocator_test.cc
anitizer_common/tests/sanitizer_test_utils.h
|
639acd06b6436ab30ab934a9111b6d1348e92855 |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix-up copypasto from r172410 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172419 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
|
53833ea8d697c9a92719ab630e605ab590f46193 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172415 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
539f5e75b637d1ad92735b05fe89b34174cfe33c |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Build rules for sanitizer_common tests on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172410 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
|
0d02d75ca1e34217cb762ec2b5cc13a88993ba94 |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove thread-locals from sanitizer_common tests. Not supported on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172408 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_testlib.cc
anitizer_common/tests/sanitizer_allocator_test.cc
anitizer_common/tests/sanitizer_list_test.cc
|
29e09223b9d4f53f1be528d6a572b66034c26611 |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Disable alloc/dealloc mismatch test on Android. It's not supposed to work there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172398 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
f7de01fc97aea34f94cb76ed33692c2534a1a607 |
14-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use the slow CFI-based unwinder when reporting an error. Still use the fast unwinder for malloc/free. Linux-x86-only for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172397 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
8ef9ac9a6a9866c2119fb74fa1ca212dc53a46cf |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: mmap shadow memory before allocating memory (otherwise other threads can access non yet allocated shadow) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172395 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
8f0e311767b783db4a15139dddfe7a924fa3724e |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Disable alloc/dealloc-mismatch checker on Mac for now (it produces weird false positives on googletest) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172394 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/tests/asan_test.cc
|
fb917e9069ea44f7103f50c658be84a8f66de56c |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe stack and TLS addresses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172393 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/mutex_destroy_locked.cc
san/lit_tests/stack_race.cc
san/lit_tests/stack_race2.cc
san/lit_tests/tls_race.cc
san/lit_tests/tls_race2.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
|
1b2f0306ef6cac2a4c42a80b467a92e9e62b3e5a |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: enable allocator version 1 by default git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172392 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
d618867d19e4d278e8040e1529f50287c6a4eea5 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix memory allocator statistics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172390 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
anitizer_common/sanitizer_allocator.h
|
c0dbb80bf0eac2771da6faefa5c22155ed4fd33b |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172389 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
b48224c8d19cac76f2af1eba158b9ae26ed1608a |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: faster memory allocator 1. Increase size classes from 32k to 128k 2. Use lock-free stack in central cache 3. Use blocking mutex when allocate new memory with mmap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172388 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_lfstack.h
|
d164ed175a61529589938b3db3cab076a19acf67 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix cmake warning (unused private field) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172387 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
1a3503b1c6c707705bf2ebc33343da0b04e3a26d |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add the FIXME git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172386 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_clang.h
anitizer_common/sanitizer_atomic_msvc.h
|
48526014de78e21f7ed027a60670016bc7f5d292 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix compilation errors in mutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172385 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_mutex.h
|
3ede807f3a02bdbcebf3e635bf2aeacf1c0082bd |
14-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add more frames to standalone_malloc_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172383 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
31dc66f6492773e974d32bde84d5d2df9c35a82b |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add missing file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172381 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_mutex_test.cc
|
f4f51f2cc6fa936f0c65577f82e6b62989d546ee |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move blocking mutex from asan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172380 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_linux.cc
san/asan_lock.h
san/asan_mac.cc
san/asan_rtl.cc
san/asan_stats.cc
san/asan_thread_registry.cc
san/asan_thread_registry.h
san/asan_win.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_mutex.h
anitizer_common/sanitizer_win.cc
anitizer_common/tests/CMakeLists.txt
san/Makefile.old
san/rtl/Makefile.old
|
4785a776d09fb36bb2b162c3be40cd7ca017fce0 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Implement __aeabi_lcmp and ulcmp Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172366 91177308-0d34-0410-b5e6-96231b3b80d8
mpdi2.c
cmpdi2.c
|
edd477b676fa061cd795f411e0b452b3cb3c6940 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Correct name of __aeabi_f2lz. Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172365 91177308-0d34-0410-b5e6-96231b3b80d8
ixsfdi.c
|
219f1741dad7b8ea07851ac1d96d3b0a99198d44 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix FIXME on windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172226 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
a343ca04767218fd05dd9557ed4d180b55b7fb11 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: faster memory allocator replace lists with arrays git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172217 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
b1bd208bfa496391085056b1709542b80dcfb21e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add memory prefetch to quarantine recycle git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172216 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
f99b94e19022f473b8de15a793801fd5deb5ba7e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add memory prefetch to quarantine recycle git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172215 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_quarantine.h
|
09575a176caef64cf43f3eac8e197ee4f55572bd |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: improve allocator benchmark git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172213 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
6a2979405346d2916a11c220c222e56eac6ea907 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: weaken memory ordering, it's expensive in current implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172210 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
abb1febb6046fbc5fc30c7872dd06b27d0fb51f9 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: improve the benchmark git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172209 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
e3c35c7e30ce24b76f1e67eb049cf9e84c9b89d8 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix format string in CHECK git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172203 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
|
f79419553c6a636a4304cd40bda3e6d581e6137e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: prevent inlining of cold function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172197 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_quarantine.h
|
9327e78387122fbb04e3126f2fff721ed784aa51 |
11-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fid asan_allocator2 build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172194 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
ce17384b74b0dda2e246ce1dedf29b5d46df9c60 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: always pass allocator cache to Allocate() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172193 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
|
a61ec8172611a75d80e86355352c7b2dd3cb8125 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: faster quarantine git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172192 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_mutex.h
anitizer_common/sanitizer_quarantine.h
|
175e6407c9d5f8bd0f36abd9c020e3888134ebd3 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172191 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
312de6a1ac31d295d5ae592084e605b03661acdb |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix bug in list implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172187 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_list.h
anitizer_common/tests/sanitizer_list_test.cc
|
8ad3576df9cc1e8fe3c14da7576670686b51e4e6 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: set ASAN_ALLOCATOR_VERSION=1 back git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172184 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
9fc0df892cab8735e7de0e86e995a3202c42cf82 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: Refactor asan memory quarantine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172183 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_allocator2.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_quarantine.h
|
5a1f23310cc4a1debae8741653defe620518e612 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolize global variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172181 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
san/go/tsan_go.cc
san/lit_tests/global_race.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_symbolize.cc
san/rtl/tsan_symbolize.h
|
c193953bf3993760a0be8ae20cf716795d2102cd |
10-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
UBSan: use %p not 0x%zx when printing pointers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172129 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_diag.cc
|
a44110995241d30a886d711cbc33f65269b170ea |
10-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Move attribute specifier to fix build with gcc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172078 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_handlers.h
bsan/ubsan_handlers_cxx.h
|
800344cb2d3a71f4c05ac2d330224720292c29df |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] better statistics for the large allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172069 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_linux.cc
anitizer_common/sanitizer_allocator.h
|
0b9218ab2b68401673c5d6225c9833bd58003ed4 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the non-cmake build (2-nd attempt) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172068 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
3bf34d62f2e9458321f9a3392426e862e1bd1148 |
10-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172064 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
1045df665c7b314991fbdbe0eadd11b003574a04 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the non-cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172063 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
a62440a464092ece8c068b57214ad3d13ec39b4b |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add standalone_malloc_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172061 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/standalone_malloc_test.cc
|
f5d4273457ca3d26e6cf658b266cd61062a65101 |
10-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add check for invalid fd git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172060 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
b8a59a0e030d0aacf4df1fe8f7fb4e6f82bab654 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't fail the test if prctl(PR_SET_NAME) is not supported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172059 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
99bf1d71c634ab0ed39d7614fd8f8f2c2201e111 |
10-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Set program exit code in keep-going mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172057 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan.h
san/msan_linux.cc
san/msan_report.cc
|
b3ef8a4521954d1ca5e728446c389e1f8cc01fc4 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: do less work under the quarantine lock; make the strcasecmp test more resistant to the contents of unaddressable memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172048 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_test.cc
|
7125bb35fb2351040534a194c9c1aa8cb71cfb19 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] better protect the tests from memset/memcpy inlining, explicitly include unistd.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172045 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
90ad168560fa07fcc21c88d5710a05f851ecafcf |
10-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Give entry methods default (not hidden) visibility. Fixes using ubsan on shared libraries in linux, for example. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172041 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_handlers.h
bsan/ubsan_handlers_cxx.h
|
a597258803f870d859e2e8b18bbb4fabf4d5a3f8 |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect races on fd passed to epoll_ctl git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171981 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
san/rtl/tsan_interceptors.cc
|
5e10443518154a9d68d299ef65a0a99ed42193b7 |
09-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make the slow unwinder a bit more robust. The unittests pass with fast_unwind_on_fatal=0, but I still observe some differences between the two unwinders git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171973 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
b1d1ef27db5b6c7788cda3dfd5deb6037dd4a3b8 |
09-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Satisfy lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171970 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
0cf7eefe0e7cafd357961e91e2efb7f7f363bf19 |
09-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Unbreak the 32-bit RTL build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171968 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
f17b3822b22751f09549ab563cc5ca61d072b2e8 |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when user defines own fopen/fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171967 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/user_fopen.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
bb30741133d0053d242e9aef869c6d19e18cbcea |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when user defines own fopen/fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171958 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/user_fopen.cc
san/lit_tests/user_malloc.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
a6a69d6bfc868d85cdf9e81171071f9076fa2499 |
09-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Drop use of __atomic_exchange_n for now to fix build for some. Need a more reliable way to check for support of this intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171955 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.h
|
2af552f98f980178db37eed28a609b6bf55f6df8 |
09-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add deduplication functionality, always enabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171948 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Misc/deduplication.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers_cxx.cc
bsan/ubsan_value.h
|
01247b76902f2329f6edf4b9b8e95fc1be06c400 |
07-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Check for appropriate types on compound assignment overflow diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171802 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/no-recover.cpp
bsan/lit_tests/Integer/uadd-overflow.cpp
|
f359dea95de4a17287d11052e9b552100c152287 |
31-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. Fixed version of r171273. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171278 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/ubsan_handlers.cc
|
9202515bf430858117d117d98136a865feb1a281 |
31-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r171273 which doesn't actually compile. Original commit message: [ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171277 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/ubsan_handlers.cc
|
7ba7f0d7f2df4a55e376b0477fc3268a82588bf3 |
31-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171273 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/ubsan_handlers.cc
|
7324b65a1ae320b6f179470ce5bae26d4b14f268 |
30-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Update test now that check recovery is default and has driver flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171265 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/no-recover.cpp
|
13ddcf695e10bed51faceff49469e1c83d64b51c |
29-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make LargeOOBInMemset test resistant to clever compiler optimizations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171223 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
17a7c6763224300f6740b5e7fae274734afec675 |
29-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a new interface function __asan_describe_address, useful for running asan-ified binary under a debugger (e.g. gdb) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171217 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_rtl.cc
|
c0d37b35439897aea821319a669832b16848cb65 |
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a build warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171200 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
eb2809311c94b73c269ccef8d68ae368642e5754 |
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171198 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_poisoning.cc
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
anitizer_common/tests/sanitizer_libc_test.cc
|
a6d4cf7c4be9b81793ea6be63c4b92d9c162a66c |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use macro instead of raw __attribute__ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171188 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
|
89efdc5f601988a96413585da55dfd9ffc396509 |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Blacklist test: Rename blacklisted function. Make this test work for custom TSan testing script. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171186 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
san/lit_tests/Helpers/blacklist.txt
san/lit_tests/blacklist.cc
san/lit_tests/test_output.sh
|
7e3d21fac4e6407b04f9948309f86adc609720ab |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add lit test for -fsanitize-blacklist= flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171185 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/blacklist.txt
san/lit_tests/Helpers/lit.local.cfg
san/lit_tests/blacklist.cc
|
55425eb7ad3f18a1f740e0e445bc79a012429766 |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171181 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/large_func_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/sanity_check_pure_c.c
san/lit_tests/shared-lib-test.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/strncpy-overflow.cc
san/lit_tests/mutexset1.cc
san/lit_tests/mutexset2.cc
san/lit_tests/mutexset3.cc
san/lit_tests/mutexset4.cc
san/lit_tests/mutexset5.cc
san/lit_tests/mutexset6.cc
san/lit_tests/signal_malloc.cc
|
4b48f4563ca25d8915155acc5837e195cf0e5c57 |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add statistics to the allocator; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
san/asan_stats.cc
san/msan.cc
san/msan_report.cc
anitizer_common/sanitizer_allocator.h
|
d7d7b5f39cf5bbc36403afb0a94d473519c7ab78 |
27-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Define COMPILER_RT_CAN_EXECUTE_TESTS variable on platforms where we can produce working binaries and use it in build rules for sanitizers tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171160 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/tests/CMakeLists.txt
san/tests/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
san/lit_tests/CMakeLists.txt
bsan/lit_tests/CMakeLists.txt
|
4b8fb65802eb47564fbbd4dee1d3e40d892837fe |
27-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Explicitly link unit tests with libstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171151 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
478b4932f7af7c7a35c07399f2b977efe236453d |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] enable alloc_dealloc_mismatch by default git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171147 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
42383abd153b1843fa2695542065fa956ebb41ad |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] relax asan/lit_tests/malloc_delete_mismatch.cc to make it pass on Mac 10.7 (where extra frames creep in between malloc and main) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171145 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_delete_mismatch.cc
|
a54aec8ca2e372b1a841d605d53cab5e336aeb03 |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] when unmapping a chunk of user memory, apply madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171144 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/tests/sanitizer_allocator64_testlib.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.h
|
9c92748b8fa3b833924138a6ae1e653972c9de3b |
26-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Teach ASan to print demangled function name when describing stack frame git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171112 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/lit_tests/stack-frame-demangle.cc
|
709a33e1cf20eb7f00653fe32dc07714b3f2c633 |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: do not align the requested size to the redzone size (saves a bit more memory) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171111 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_malloc_linux.cc
san/tests/asan_test.cc
|
c35314a119aba6d5e7fa0a06024f9cb1c49e6f5f |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement adaptive redzones. Now with asan_allocator2 allocations <= 48 bytes have 16 byte redzone, allocations of 48-96 bytes -- have 32 bytes redzone, etc (max redzone is 2048). If ASAN_OPTIONS=redzone=n is set, it changes the minimal redzone size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171107 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_rtl.cc
san/tests/asan_test.cc
|
c209ba663c30e2e578fa64811ba9efb537f51669 |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MSan, New Year Tree style. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171106 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_report.cc
|
db010dae23962ab6089ad1e97af176b7215cb35c |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Refactor report printing. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171105 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/msan.cc
san/msan.h
san/msan_report.cc
|
806c491ee17ed34c6385e84e416be15ed9521f3c |
26-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] attempt to fix InterlockedCompareExchangePointer intrinsic on MSVC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171104 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
4c9ddc143839c9f4b79152737cd2869c99e8e86d |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Check for conflicting memory mappings. Check for conflicting memory mappings before attempting to map shadow. Helps avoid segfault on Linux with disabled ASLR. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171100 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.cc
san/msan_linux.cc
|
9e3bd38388a7c182db57f6e3fc0943e6d12f012e |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: by default use the StackDepot to store the stack traces instead of storing them in the redzones git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171099 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_flags.h
san/asan_rtl.cc
san/asan_stats.cc
anitizer_common/sanitizer_stackdepot.cc
anitizer_common/sanitizer_stackdepot.h
|
111a0716d714aa2597e333d160cf1f271695bab7 |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: store the user requested size in just 32 bits (larger sizes use metadata). This allows to put one more 32-bit field into the chunk header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171089 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
|
7b719dfce8178bdfbcd8a24893153ef82ab70be5 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Improve recvfrom interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171071 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
san/msan_platform_limits_posix.cc
san/msan_platform_limits_posix.h
|
4b943e94dd50130f19e32ffb9f6e697d45951a85 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MSan unit tests to check-msan and check-all. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171065 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/lit.cfg
san/tests/lit.site.cfg.in
|
0231c50f42e735739041f3b4b4ce17e1742bed69 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
MemorySanitizer unit tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171062 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
san/tests/msan_test.cc
san/tests/msandr_test_so.cc
san/tests/msandr_test_so.h
|
97edeb3e6270b05cb3ece0d5b6f0ea1f0ba1398a |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix header comments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171059 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan.h
san/msan_flags.h
san/msan_platform_limits_posix.h
|
f1877cf0a314f407ac535ab1606fdac4f9b05026 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for right OOB with special large sizes. Fix this test in asan_allocator2. More test tweaking for allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171058 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
anitizer_common/sanitizer_allocator.h
|
81088ebf34c3ef1b8ac3a9789d3896c7b9a93003 |
25-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix tests to consistently use internal functions (otherwise it leads to false positives) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171057 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_common_test.cc
anitizer_common/tests/sanitizer_flags_test.cc
|
bb5d0575f9b1100a326f125c7cd8224938af5693 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] increase the maximum size class of the fast allocator. This should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171055 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
491d34b7b75c42ac746ce90cda5a124bda038383 |
25-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix the code that searches for heap memory block metadata (the old code won't work with new allocator) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171054 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
e52810d7144ca35bbaeca0b28d138b386ab90243 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171052 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/tests/asan_noinst_test.cc
|
68d3a1bae35be595faf7d9f028a268f390501029 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc warnings, enable one tests under asan_allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171036 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
anitizer_common/tests/sanitizer_allocator_test.cc
|
b8c363d3087128a05b18bbcf5ce0942607e34396 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make LargeMmapAllocator::GetBlockBegin faster by not using a linked list git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171035 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
bd88c187a9eaed794b9098aaf147f9dada8c5131 |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: work around FileCheck feature that it does not accept empty input git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171034 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_close_norace.cc
san/lit_tests/fd_dup_norace.cc
san/lit_tests/fd_pipe_norace.cc
san/lit_tests/fd_socket_connect_norace.cc
san/lit_tests/fd_socket_norace.cc
san/lit_tests/fd_socketpair_norace.cc
san/lit_tests/ignore_race.cc
san/lit_tests/java_alloc.cc
san/lit_tests/java_lock.cc
san/lit_tests/java_lock_move.cc
san/lit_tests/java_rwlock.cc
san/lit_tests/test_output.sh
|
421841f28b599a55442d1feafbca0bece5078729 |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove static reference to glibc internal _dl_get_tls_static_info() (this breaks RPM packages) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171033 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
038820fbab7e77c546b2c37bf674824980320f18 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171031 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
b843c1fcc203accc4f37a784cb067904b3e79abe |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more defensive file descriptor verification to prevent assertion failures on code like "write(-1, ...)" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171030 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_alloc.cc
san/rtl/tsan_interceptors.cc
|
cab6133c5d7478e96882cb54467e29b3716c0d89 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2 fix two asserts that happen on full chrome: a) memalign called with 0 size and large alignment and b) malloc called after TSD has been destructed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170900 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
|
032e833059a673a21facc8e726b5c0c9d1a13d2e |
21-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] CMake build rules for unittests: depend on headers when compiling a file with custom clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170897 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
anitizer_common/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
|
fc2bebfdc285342fd00b57c2547cf85357ed3991 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java malloc stress test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170896 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_alloc.cc
|
aaf72105312691e623c7cb05333a7f0e698f62f8 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] mmap less on every size class to make the allocator more friendly to small programs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170895 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
830ca04ee29e1c28f0188b6091ae1fa7c8871551 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java rwlock test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170894 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_rwlock.cc
|
5ba3fec47c5d55d12caf83728f93ea5de8af799c |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a test for java memory move git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170893 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_race_move.cc
|
429ccc808d255b82f3924250028eb4747d7a84cc |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move common part of java tests into a separate header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170892 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java.h
san/lit_tests/java_lock.cc
san/lit_tests/java_lock_move.cc
san/lit_tests/java_race.cc
|
c3d708b5e27a8c952c44155df46a2c56d2aafb5d |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Java memory move operations and add the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170891 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_lock_move.cc
san/rtl/tsan_interface_java.cc
san/rtl/tsan_sync.h
|
dae1251f196f9694d428a04f14987b06112ae52c |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: less debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170889 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
e11c5c5a8cd6e448ddf3c69f783eb655cf4aab01 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: better memory stats git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170888 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_stats.cc
|
9050e30ec68383ef9a722cd2a2458a8a33e55644 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update mutex lock table for java git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170885 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_lock.cc
|
f4e4f9393ed1cf9cbefaafc6ea8fd9b89fea4bcf |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update mutex table for java git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170884 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_java.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
ef86724015d7882c2d3e614e0f72bffe10cb762b |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: java: move shadow memory on GC compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170882 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_java.cc
|
25a972873bd4c2143ea85324a47a9573a1d430c8 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a high-level comment to tsan_interface_java.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170881 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_java.h
|
03ef193f5310f62989285d88cd0e54e05f927769 |
21-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix another FileCheck pattern to be c++filt-proof. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170878 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_delete_mismatch.cc
|
4dc30820d34372c419fd44dda2bdb6383a480ce7 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170877 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
4de5864fa631dbba52670dea2503b8540390f176 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable checks for limited address space and unlimited stack for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170876 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
32b8991f961e585ccfe1710f5402a14b4e44cecc |
21-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't implicitly add object files to the list of dependencies when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170870 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
|
fe6d91684bcda766593800f6307233f1a33d31f6 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170869 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
san/asan_flags.h
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_new_delete.cc
san/asan_report.cc
san/asan_report.h
san/asan_rtl.cc
san/lit_tests/deep_stack_uaf.cc
san/lit_tests/malloc_delete_mismatch.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
|
d37c272621befc2f3b17c9e581ed970fbfbfae64 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add lit test with statically linker libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170866 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/static_init6.cc
|
fa429bd7600da45075f16b6f6dc5e8c57e61b2c6 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use clang in cmake build + add -Werror git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170844 91177308-0d34-0410-b5e6-96231b3b80d8
san/check_cmake.sh
|
be9796d7148b89f20ca04ffdf3fa98ac84bd1141 |
21-Dec-2012 |
Richard Relph <Richard.Relph@amd.com> |
Clean up some warnings that become errors. Seen in Xcode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170843 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
21cc85db95b8fa85a9ff7a403c8a24e345d73baf |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: java interface implementation skeleton git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170707 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_java.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_rtl.h
san/rtl/tsan_stat.h
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
|
e01f96be0daecec81f41b46377508885d83bb584 |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove duplicate entry in shadow byte legend git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170701 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
f85c06ca511747eba94ea8439581c6355980cdba |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix CMake build rules for sanitizer_common tests to respect universal static libraries on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170698 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/CMakeLists.txt
|
b34cf49e723cf28a27ce3a785da937d82c6484b9 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement memalign git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170697 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/tests/asan_noinst_test.cc
|
98263a15a58069934433b07439a594b2c178e7d9 |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add cmake build and tests into presubmit script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170695 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/check_cmake.sh
|
0414b25ab6bd328b96bd48a70382954f30894edf |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Modify CMake build rules for sanitizer_common unit tests: build them with fresh Clang for both 32- and 64-bits (if possible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170691 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_symbolizer_itanium.cc
anitizer_common/tests/CMakeLists.txt
|
1894f4a6827c55122fc24a931766c29705ec0bfb |
20-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Make the FileCheck pattern more c++filt-resistant. This test didn't pass for me locally because of "T0's stack" being converted to "T0'short stack" by c++filt. Strange enough this doesn't show up on our bots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170690 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/use-after-scope-inlined.cc
|
1d4b96decf8bdf9d07f17a851d64d6b0e57bd4e8 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170689 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
|
c311105fd64219bb96b6467c3707ebda355be87b |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add memalign tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170687 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
73bad81febb2a872627c03e579beea1da4b49294 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170685 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_flags.h
san/asan_malloc_linux.cc
san/asan_poisoning.cc
san/asan_rtl.cc
|
e78b620d10b4c59871480a130c10588a124d05f4 |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java interface implementation stub git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170681 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/java_race.cc
san/rtl/tsan_interface_java.cc
san/rtl/tsan_interface_java.h
|
376bab8add6be88f649ef1a9127c7d39e76e5f7b |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: make all remaining tests pass. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170680 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_thread_registry.cc
san/tests/asan_noinst_test.cc
|
5d6963b766ed5dd2fcb14dc547ca1ece852ef61e |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add Java interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170679 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_java.h
|
0b770b48e4ae053a7d0610e1c682405afba58fda |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add ASAN_PCRE_DOTALL to two new multi-line regexps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170677 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
2f66ab25cbb000289b79bca042b4136d92331b44 |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use -fsanitize=address linker flag for unit tests on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170670 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
ab6374326389ff649ad857842b45488721c949db |
20-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Move C++ name demangling support from ubsan into sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170666 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_itanium.cc
anitizer_common/sanitizer_symbolizer_win.cc
bsan/ubsan_diag.cc
|
c47a45154543b5eba68c9473d3ed807927027cf3 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] explicitly link with dynamic ASan runtime when building unittests on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170552 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
bf231869c38e1d635c974781357f6ac3de65fb79 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Support building both 32- and 64-bit unit tests if we can target both architectures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170549 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
e3091193af47f4932b42ba1773416dfeb3aa2e87 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: add mmap/munmap stats git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170548 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_stats.h
san/asan_thread_registry.cc
|
8925b71d67f03065e1c3871c4474e91bcb88f999 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure Android unittests depend on ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170543 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
02dcc63dde3106c24999040768a5eb52f99fedda |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Significantly change the way we build ASan unittests in CMake build tree. Now just-built Clang is used to: 1) compile instrumented sources (as before); 2) compile non-instrumented sources; 3) compile our own instrumented version of googletest; 4) link it all together using -fsanitize=address flag (instead of trying to copy linker behavior in CMake build rules). This makes ASan unittests pretty much self-consistent and independent of other LLVM libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170541 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
37a14418e494d3dfb27cd6bddcd9855df2c80ff5 |
19-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Change the boilerplate check in the libdispatch tests to fix them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170531 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
9514a53d7b56be6302c666291b21c0387f7ceca8 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] print the shadow bytes in different colors and also output the shadow byte legend git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170520 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
1e3657c26f281fe6dd43d867e60271c72bb71798 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] build only gtest-all.o when building TSan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170519 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
e6867ac8d2d2ecb631d39c5dd94ccb4801d64094 |
19-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add lint check back into presubmit script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170515 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
c5df5fba6028ff2777bd21d2ba855ffae3ec52e3 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add missing header on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170514 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
2592d766401edb3d36676f1f522592f1d5fb2b07 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: improve FindHeapChunkByAddress to find memory chunks to the left of a given address. Almost all tests pass with the new allocator now, only 6 are left to fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170511 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
anitizer_common/sanitizer_allocator.h
|
2bac661ab19b8657f42c5bc4f2abd03dd75e51c2 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement internal_isatty on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170507 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
b75c67b495ca13801cc629b2c2c9dd0010e54739 |
19-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix -Wgnu warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170499 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/rtl/Makefile.old
san/rtl/tsan_interceptors.cc
|
b1f21c69e02d99944c66e0520d07d8c14d99756f |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] one more stability fix in 64-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170498 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
da1f82bcbe50b28d11e93eacdcd529e9f0e2ef38 |
18-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix LargeMmapAllocator::GetBlockBegin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170434 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
4554b7a7b345cd50ff8138b3cda8dd1135b965fa |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept fork() to prevent false race reports on fd's git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170433 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
san/rtl/tsan_sync.cc
|
11edbbbbf96c11da65bb6e9a2dde303f4bdfde7d |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: warn about reports from signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170430 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
45d4324bf5b0ec282f0a8f96312233e09a882502 |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add signalfd() and inotify_init() interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170429 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
e3178e8fab67e77165978006928228f9be2ce30d |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add io_sync flag that controls amount of IO synchronization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170427 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
|
0b1137574d93882f1e1ba4f463139345cec7afce |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove TSAN_OPTIONS from the script The runtime skips atexit sleep if there are no threads now, so it must be fast w/o it. Allows to specify own TSAN_OPTIONS for the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170426 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/test_output.sh
|
d2f08ffcb97726452f4ba11c199a1e06dc2a7e54 |
18-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Expose StackTrace::GetPreviousInstructionPc() to get PC of call instruction from return address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170424 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
san/rtl/tsan_interceptors.cc
bsan/ubsan_diag.cc
|
0ad23f7f860e27b8b9a889be665cfaea830503ce |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Demangle class names, and be more informative when a reinterpret_cast has got us to the wrong offset within an object. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170423 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/ubsan_diag.cc
bsan/ubsan_diag.h
bsan/ubsan_handlers_cxx.cc
bsan/ubsan_type_hash.cc
bsan/ubsan_type_hash.h
|
58f54555c2528f863e211a0679c2c423cfa55fb2 |
18-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add some colors to asan output if printing to tty (following ubsan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170418 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
anitizer_common/sanitizer_report_decorator.h
|
c2234cd922bbd94e276e0bebb08004d63cbc5cf2 |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe "file descriptor" location git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170417 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_location.cc
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl_report.cc
|
25ee97fe8ada76755c8bd1087fac9cc3cd03b28c |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: When diagnosing something wrong somewhere in memory, emit a note pointing at the bad location and a snippet of nearby memory values. This is strictly best-effort; reading these bytes to display the note could lead to a seg fault, and that's explicitly OK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170415 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/misaligned.cpp
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/ubsan_diag.cc
bsan/ubsan_diag.h
bsan/ubsan_handlers.cc
bsan/ubsan_handlers_cxx.cc
bsan/ubsan_type_hash.cc
bsan/ubsan_type_hash.h
|
01e9a38b8cfe8967efb259978b754c3a9f0c380c |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't escape %s in printf usage message; it's not written by printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170413 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
5f1164955fb28a9bcb826abc195aa2119feb0f97 |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: if the frontend didn't provide us with a source location, try to work one out from the return address. Currently, we can only resolve this address to a file and line number if we have an external symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170407 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Misc/bool.cpp
bsan/lit_tests/TypeCheck/misaligned.cpp
bsan/ubsan_diag.cc
bsan/ubsan_diag.h
bsan/ubsan_handlers.cc
|
fe0b77be4057ba90a0321107cc5d0f603f297bfa |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Rein ubsan's vptr sanitizer back a bit. Per core issue 453, binding a reference to an object outside its lifetime does not have undefined behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170388 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/vptr.cpp
|
da3503782901d30bd6e48885055b51b38cf5126c |
17-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: say what thread had created a thread in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170346 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/race_on_heap.cc
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/simple_stack.c
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
a93c02c74f6350b4ca6358978d8175ebb6ac3604 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement malloc_usable_size and fix 32-bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170339 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
c523d17b22924aec8d7cf2dc1f68155c02043074 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: don't use TLS and fix calloc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170329 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_allocator2.cc
|
d4d2594c02c9fdf40072fa36446eef200abdf8e5 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_alocator2: implement quarantine and Reallocate git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170315 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
c88059cf6e0b47951413107ae8d7a0caabe661fc |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement AsanChunkFifoList via IntrusiveList<AsanChunk> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170313 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
|
0a504ec7c360ecfaad8db8607862bc69ed77abfa |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_alocator2: implement free() stacks and actually make malloc/free stacks work git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170310 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
d9b740452db50b47ca16abdc0f5e4bc2abf3afa9 |
15-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix a bug that has crept into the sanitizer allocator and caused SEGV on allocations between 1Mb and 2Mb, improve the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170274 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
ed513f69b8017a69214509105e7ec59fec77b468 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: synchronize connect->accept calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170235 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_socket_connect_norace.cc
san/lit_tests/signal_errno.cc
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
san/rtl/tsan_interceptors.cc
|
68acb909db275a9d4fb16b37fab4c42b72671abb |
14-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove extra typename git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170208 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
785425a53261bb52ffcd972a3655a539dbe3731e |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add test for errno spoiling in signal handler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170207 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/signal_errno.cc
|
9fc1f27f55a4bb3d54858cfd3c32d0bb11002db2 |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add AllocatorLeakTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170206 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
2c69c86b64adfa499e1eaac7c55c7fba462267bb |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add test for malloc/free in signal handler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170205 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/signal_malloc.cc
|
1586b079fe167a4ac5bd0365d97f707bfaa8221e |
14-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MemorySanitizer.cpp to the lint script. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170204 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
b6bb60b0fa39efee537cc34bc200edc976df0bc4 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170202 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
1503e9b9ca92e78f2a16e32717cdd5156606400c |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more asan_allocator2 code: record the allocation stack trace, implement calloc/etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170193 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
|
4fce4495502a3668cc4e99164ffcaea92e534d48 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170191 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
bc9940eedb51dd43d844a4c46e17bc89f872781f |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more asan_allocator2 code: actually un/poison shadow on malloc/free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170190 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_poisoning.cc
anitizer_common/sanitizer_common.h
|
8028c713085dd36688950f5c7c4342dc126ef206 |
14-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use INTERCEPT_FUNCTION(foo) instead of CHECK(INTERCEPT_FUNCTION(foo)) - this check may fail on Linux if user program defines its own version of library function foo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170189 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
|
68902f431172d101f3c6322d96a99d705a37ad95 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable allocator tests in debug build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170187 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
ca661f51dbccc8b8bdeb308751f3b160501f7954 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170186 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
ff6e6c339a7d4ad735e17782999fd3f954e2fe8a |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add sanity test for Go runtime into presubmit test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170185 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/go/buildgo.sh
|
983518e360a179d92bdbddebe05a87db3c6cc3c0 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add socketpair() interceptor and test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170184 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_socketpair_norace.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
9af645316cdb5e75033a7894e85009791ded7e4b |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation with -pedantic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170131 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.h
|
49d616ec42ab420ce3ebcbe846b21e3729adf5ac |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] pop the internal stack frames in SlowUnwindStack, extend the test to check this git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170124 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/lit_tests/Linux/malloc-in-qsort.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_stacktrace.h
|
75f7503ad2b3c145711ae13a0990f1ecfb2ed411 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] disable lint check for line length in ASan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170123 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
06abe7fa574012ada5c0474f60eb6398e0c1a808 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] extend overflow-in-qsort.cc to check both unwind kinds. One more test for SlowUnwind. Move both to Linux dir (no slow unwind on Mac) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170122 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/malloc-in-qsort.cc
san/lit_tests/Linux/overflow-in-qsort.cc
san/lit_tests/overflow-in-qsort.cc
|
2201cc4385c85d6ec3ad32b71dcd9c22b27beec6 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Allow leading underscore in function name to please output tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170121 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/overflow-in-qsort.cc
|
570c2a0e0a00a2a80ad3403139dddad2bfe75122 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't print memory stats on CheckFailed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170120 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
52c06849f842ae3893c7520b7a45ba21e95a4f30 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix win build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170119 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_win.cc
|
a1ff0d114ecec5811b9eff28586b3ab902028d30 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170118 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
a30c8f9eac981dcf137e84226810b760e35c7be1 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170117 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_flags.h
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_new_delete.cc
san/asan_report.cc
san/asan_rtl.cc
san/asan_stack.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_stacktrace.h
|
d62237995d0fc50697e375ea50f015e996162884 |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: completely disable deadlock detector for Go seems to cause some weird stack overflow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170116 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mutex.cc
|
74737d595c4e3638b980bd88b0492247ae4318fa |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add new header - sanitizer_platform_interceptors.h, which should define whether or not given function should be intercepted on a given platform. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170115 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.h
anitizer_common/sanitizer_platform_interceptors.h
|
8ffd87791a5376d44edfa288cbf469702edbfa22 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] one more macro for 'read' interception git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170114 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.h
|
6535c31c66569df262791f0b56852c496977c977 |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support MapThreadTrace() on all platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170113 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
c333dffb81f1d85483d657c254c17f636ab192c5 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more macro for conditional interception of pread functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170112 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/tests/asan_test.cc
anitizer_common/sanitizer_common_interceptors.h
|
308dd557f002c747500fdd2603a35c9675461491 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add asan/lit_tests/overflow-in-qsort.cc (not fully working yet) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170111 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/overflow-in-qsort.cc
|
e3eb65257f3c93d180670d880138896ad8713afe |
13-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan unit tests for -fsanitize=bool and -fsanitize=enum. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170109 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Misc/bool.cpp
bsan/lit_tests/Misc/enum.cpp
|
f2d77d03b75733139c9f0896162bbc7a6fc38385 |
13-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of bit-patterns which are not valid values for enumerated or boolean types. These checks are the ubsan analogue of !range metadata. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170107 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
|
6afa1b0406f5cce7256d4f8717bfe394a16999b5 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, off_t and off64_t). This is done to avoid confusion and to make the code work with compilers that define size_t w/o any includes (MSVC) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170103 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
nterception/interception.h
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
|
8c58aa78f8f9baa2bf310462ef466db87e70293d |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170101 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
9bfe78f7d4f9af3cdacb4d34bd7b4fead27dcda5 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] introduce MmapFixedOrDie and use it in SizeClassAllocator64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170099 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
b1cc4e448f35515e737ac4969aaa04f3fa3af10a |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the Android build (pread64 interceptor again) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170098 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.h
|
567ad078d73babb2c8addfbebb1ddd6cd0085c53 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] change the way SizeClassAllocator64 allocated memory from the system: instead of one huge mmap(NORESERVE) it does one huge mprotect and then does small on-demand mmaps. This allows us to call OnMap callbacks which are required to poison newly allocated memory in asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170097 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
ada9ba14325df9e206f454c50bd1b55ea9ecdbb9 |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix test expectations for strcat/strncat. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169987 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
214621f7663896987dc509561c762460226c68c2 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169985 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator2.cc
san/asan_intercepted_functions.h
san/msan_allocator.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator64_testlib.cc
anitizer_common/tests/sanitizer_allocator_test.cc
san/rtl/tsan_rtl.h
|
d0fa1c1d51f423f90421fe401e2f39f7fa356ec7 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169982 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
|
703e4e4a133aa6585361a2c6130cfc2874efff75 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explain why pthread_cond_init() interceptor is commented out git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169975 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
ef8dfd8dffbf4385baf24e5aaea6c2cc7c6c936a |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Enhance OOB tests to check for access type (read or write). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169974 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
84cc1ca0b3a0b5004c4d21cf481773aba0971eb2 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add comment to tsan_fd.h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169973 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.h
|
2ca12220769c11d490ace922c4f8b8ce5c3ee0d0 |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fixed a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169972 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
fb8ca8143896ef012d9e2bcb20ff3e4cfed93092 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169971 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_fd.cc
san/rtl/tsan_fd.h
|
c78839f0288e5af16101b5fd3b455e1a88cc1c5e |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of IO synchronization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169970 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_dup_norace.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
1f5e23e3204961456d4c7a9b45060597d4ff69af |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169969 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
anitizer_common/sanitizer_common_interceptors.h
|
6e6a7cfe0aac66eeefdf36dec78d7c536bff3c90 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix android build and lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169968 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
anitizer_common/sanitizer_common_interceptors.h
|
2da893af8c863909644b61db9f73ef0499569808 |
12-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove an extra semicolon. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169967 91177308-0d34-0410-b5e6-96231b3b80d8
san/msan_platform_limits_posix.cc
|
8530e2b953f0b34ecd267a6aba5f155d5c08c5c8 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add sanitizer_common/sanitizer_common_interceptors.h with pread/pread64/read interceptors. Use it in asan. Add asan tests for pread/etc. Add FIXME to tsan/msan interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169966 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
san/msan_interceptors.cc
anitizer_common/sanitizer_common_interceptors.h
san/rtl/tsan_interceptors.cc
|
84a996fc1057ffea9213608c47a54c3d3d3aed02 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more code for asan_allocator2: basic Allocate/Deallocate code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169864 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator2.cc
anitizer_common/sanitizer_common.h
|
1ff4b7bc50732994e0f5481db90ae0278ceb7d86 |
11-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MemorySanitizer runtime to check_lint.sh. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169861 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
78c56c3c407d2c92825c86e6af7a0230d6019a1c |
11-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MemorySanitizer runtime. Initial commit of the MemorySanitizer runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169858 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/msan.cc
san/msan.h
san/msan_allocator.cc
san/msan_flags.h
san/msan_interceptors.cc
san/msan_linux.cc
san/msan_new_delete.cc
san/msan_platform_limits_posix.cc
san/msan_platform_limits_posix.h
|
8416e2110049d4f53f790b2486c6f1add6729ea4 |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
ASan: fix lint problems introduced git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169857 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
d923f2bf44ba4a839a39042ba661ff7ee931897a |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Hopefully fix the Windows build (2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169856 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
4e773526d9f0c7040345468e51bef8f9b3079f45 |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Hopefully fix the Windows build by not including intrin.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169855 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
|
321e1254d3bf8d67232aaff133961573fa0e3ec4 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more sceleton code for asan_allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169836 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
anitizer_common/sanitizer_common.cc
|
956ad47e14ba7a7935dc1ff2d96e02023acf8d4d |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169828 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
|
a390ece58317a25ef26866cef6753df4b06a3e65 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make ThreadNamesTest more flexible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169822 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
c75d8483e27528349620ccf4e997a72029a7ea17 |
10-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Typo fix in memcpy() and memmove() interceptors: ASAN_WRITE_RANGE and ASAN_READ_RANGE were swapped. This has been spotted by Anna Zaks (ganna@apple.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169736 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
2679f1904dc5d5eb2ce82014116764c5f5131a2b |
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move FakeStack into a separate file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169734 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_allocator.h
san/asan_fake_stack.cc
|
8b0a7ce34660ef5b02d21dddb7d45d502539e9fd |
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce asan_allocator2.cc, which will have the replacement for asan allocator (now, just a bit of boilerplate) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169733 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_allocator.h
san/asan_allocator2.cc
|
25742574510cfb41b97e32f63f107fbb9b328d13 |
10-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Add a libsanitizer API __sanitizer_sandbox_on_notify(void* reserved), which should be used by the client programs to notify the tools that sandboxing is about to be turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169732 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
694fe46661a138d0eede348f3645ce37025b6ff4 |
10-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: exclude flaky test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169729 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/rtl/tsan_string.cc
|
69d3276170a055a3b8f087d7243314f8d8d07237 |
08-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix interface-symbols test on Mac by explicitly listing all weak functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169660 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/interface_symbols.c
|
b6dbb59e97474ce4eb76d7a530bd82a58bf92e50 |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: use new option -fsanitize-blacklist in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169646 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/blacklist.cc
san/lit_tests/initialization-blacklist.cc
|
6a08d29b2020004b801ca69d8aea5872a7e67d72 |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: change the strategy we use for installing malloc/free/symbolization hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169641 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_report.cc
san/asan_rtl.cc
san/asan_stack.cc
san/lit_tests/interface_symbols.c
|
063e4a54b2b4ccad8b9c40aa869a134c46804068 |
07-Dec-2012 |
David Blaikie <dblaikie@gmail.com> |
Unbreak the C++98 build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169636 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
68230a12bbd22c9402dd8f9af027fcb2e119f978 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: even more fd interceptors + fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169628 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
ba3ae356e0827bfdb17feaff53e17c3934470404 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more fd interceptors + bug fixes + tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169621 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_close_norace.cc
san/lit_tests/fd_pipe_race.cc
san/lit_tests/fd_socket_norace.cc
san/lit_tests/fd_stdout_race.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
67f5c81639ab0ba0d7d9048b7206b424b577c90b |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint, remove debug prints git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169620 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
anitizer_common/tests/sanitizer_common_test.cc
|
1877e086eae86c38382c3d3fd2eae03a0d90990a |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: intercept prctl on Linux only git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169616 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
|
01e96987f557524a351b9f2229e7c920cdb96aad |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix pipe interceptors and add 2 tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169607 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/fd_pipe_norace.cc
san/lit_tests/fd_pipe_race.cc
san/rtl/tsan_interceptors.cc
|
1ec519c604021162de8bdb8d433fbad1c5033200 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169606 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
ddeb2c354235818494d86827e88a0c2fa44bebcc |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add pipe interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169602 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
716e2f25123bf9b20fbc6b582803a3929b78b96d |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the thread names (if non-empty) in asan reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169601 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_report.cc
san/asan_thread.h
san/tests/asan_test.cc
|
3f4e6d9b75fb3f7f2674a31008738cfda9cda9ed |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactoring is preparation to more precise fd synchronization handling git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169600 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
dddb18b7be36fe1843c8b98a8d9d7614aef5ce8d |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169598 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/tests/sanitizer_common_test.cc
|
81ac0e21c56eb92ad5503a693c0e07b0d7f7d304 |
07-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Switch to r83 of cpplint. Ubuntu Precise compatibility. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169597 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
0bb6e5ddbb11565dfe0a71b0936f0dd76251ea78 |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] try not to use libc mem* functions in sanitizer_common tests (conflicts with our own interceptors) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169595 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
19313d90bf76ad7567f6c2400ab5b5d40ab892c3 |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the build on ancient gcc which has stricter rules about what can be put on TLS. Long term, we absolutely must build the run-times with the fresh target clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169593 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
63a22f073dcdfbabc492ca4c9eb06d0571915570 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: deflake output tests (by increasing sleeps) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169592 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_race.c
san/lit_tests/ignore_race.cc
san/lit_tests/memcpy_race.cc
san/lit_tests/mop_with_offset.cc
san/lit_tests/mop_with_offset2.cc
san/lit_tests/mutex_destroy_locked.cc
san/lit_tests/mutexset1.cc
san/lit_tests/mutexset2.cc
san/lit_tests/mutexset3.cc
san/lit_tests/mutexset4.cc
san/lit_tests/mutexset5.cc
san/lit_tests/mutexset6.cc
san/lit_tests/mutexset7.cc
san/lit_tests/race_on_barrier.c
san/lit_tests/race_on_mutex.c
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/simple_stack.c
san/lit_tests/simple_stack2.cc
san/lit_tests/sleep_sync.cc
san/lit_tests/sleep_sync2.cc
san/lit_tests/thread_name.cc
san/lit_tests/write_in_reader_lock.cc
|
72cdb6786dd641c75bbf0f1788d6a75434212fad |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] POD-ify the allocator cache git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169514 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
3617ad70f3ade71b944b35fa3faaadfb97700dea |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning and make output tests more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169511 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
san/lit_tests/ignore_race.cc
san/lit_tests/mutexset1.cc
san/lit_tests/mutexset2.cc
san/lit_tests/mutexset3.cc
san/lit_tests/mutexset4.cc
san/lit_tests/mutexset5.cc
san/lit_tests/mutexset6.cc
san/lit_tests/mutexset7.cc
|
e280ce59d37a67bee14da56a22e205d6562530b0 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] one more test for 32-bit allocator + minor code simplification git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169507 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
674d05c15d3cfcd2e9f0e9fde47d25cd69af924b |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] add BulkAllocate to the 32-bit allocator (and a test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169506 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
365e733a51252d689c49e87f006e40b8c4216e40 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] refactor allocator's BulkAllocate (move to AllocatorFreeList) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169503 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
|
e10e3e57b5e9d2fe39dd33ddf2b5fba514913300 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add new file to cmake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169502 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
|
aaaba79d2b40002c1052af0aebfd4d32779b5da6 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add some more functions for java filtering git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169501 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
8a41bdc963afdf3c2e14aad64a7cd3291fefd8cf |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] add GetBlockBegin to the 32-bit allocator (+test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169499 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
784935d1bbc301eaf92fd9f7d3a551eb65edcd15 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] one more test for 32-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169497 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator_test.cc
|
45595ba6b77b54b8212389cba6b95dc634122145 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] new 32-bit allocator, basic functionality so far git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169496 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
8166bdaa2c92569ce467be7587ae1cc00200a422 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add 'free' to java nonsense reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169494 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
ad9da372f962495b3487685232d09390be841b1c |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add mutexsets to reports With this change reports say what mutexes the threads hold around the racy memory accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/free_race.c
san/lit_tests/ignore_race.cc
san/lit_tests/memcpy_race.cc
san/lit_tests/mop_with_offset.cc
san/lit_tests/mop_with_offset2.cc
san/lit_tests/mutexset1.cc
san/lit_tests/mutexset2.cc
san/lit_tests/mutexset3.cc
san/lit_tests/mutexset4.cc
san/lit_tests/mutexset5.cc
san/lit_tests/mutexset6.cc
san/lit_tests/mutexset7.cc
san/lit_tests/race_on_heap.cc
san/lit_tests/race_on_mutex.c
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/simple_stack.c
san/lit_tests/simple_stack2.cc
san/lit_tests/thread_name.cc
san/lit_tests/write_in_reader_lock.cc
san/rtl/tsan_defs.h
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_mutexset.cc
san/rtl/tsan_mutexset.h
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
san/rtl/tsan_trace.h
san/tests/unit/tsan_mutexset_test.cc
san/tests/unit/tsan_sync_test.cc
|
2dae63aea3589fded1ef17b5a6c7f0c9352559a2 |
06-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169485 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
|
cc7525951f401d61e2467f1ebc1b133205516a6c |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add MmapAlignedOrDie git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169474 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_common_test.cc
|
5a15541fc2bbe46a5ce0cd802b5c1055f2ffb14e |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] drop the extension from asan tests (as the extension may be different) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169392 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
da60d62281c1ddb08bdf71a0ac7f5a81fceea7a6 |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] undo the debug printf git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169381 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
37e6af28435fea112a68d7f1b86b99d24f967b04 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory barriers in atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169379 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
1ffeded71b960d8a0f018a46a0035203b1484a7a |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: provide own implementation of __cxa_guard_xxx functions that way we allow static linking of libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169376 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
36decbf426ea75eef9ce6f6f43b74a66e66795d3 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unnecesary include file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169370 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interceptors.h
|
286dd3f8afe6700e5dd9b0bdb7afd23121c98c12 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169369 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
72166ca99c2f8898a7a540e60aac3959cbd959bf |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] get rid of *allocator64* files, moving everything to *allocator* files. This will help with the 32-bit allocator implementation and testing git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169368 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_allocator64_test.cc
anitizer_common/tests/sanitizer_allocator64_testlib.cc
anitizer_common/tests/sanitizer_allocator_test.cc
san/rtl/tsan_rtl.h
|
da6ce04d96c7fd87d8bcf6a254510393572830ff |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] make the 64-bit allocator build (but not work) in 32-bit mode to simplify the code and test structure and allow further refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169361 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
7385f8b8b8723064910cf9737dc929e90aeac548 |
05-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was occasionally deleted in the MemoryMappingLayout destructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169335 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
aecf2e5756c6a0de7c146bef67a6e338c7017d55 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output thread names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169279 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/thread_name.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
503a3af431c3c676fe14a1fade8e901bb95fa7a5 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add a compile-time error for 64-bit-only support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169275 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
|
634f0476879e4509f8520f0f1542a27e0a10ccda |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make atomic operations atomic again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169273 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface.h
san/rtl/tsan_interface_atomic.cc
|
8937d72020c3a6b1eb95a7c43ae20def843d3411 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] test the allocator with CompactSizeClassMap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169270 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
82de9426176ac5ca7d36922648b3dbccabd35834 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor interface refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169267 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
san/rtl/tsan_rtl.h
|
acc2e304d43d9ea0e76ff34a1c586fa63bc3a8d1 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix nand operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169266 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
258c24b96762f37d625ae94f5152704067d1369c |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __attribute__((visibility("default"))) to interface functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169265 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface.h
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_interface_ann.h
san/rtl/tsan_interface_atomic.h
|
cd815adbd3e3792ab2468ed2b1e126d5cc829aaa |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] refactor the allocator tests to allow testing other flavours of the allocator (add templates) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169264 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
0415ac00935795a70d87ae662ccad58ea0704537 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix trace handling when trace is reused between threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169259 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
43811a14504f1ff473b40c194a3e9054e2ea46a4 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] refactoring and comment changes in sanitizer_common/sanitizer_allocator{,64}.h. No functionality change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169234 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.h
anitizer_common/sanitizer_allocator64.h
|
91ac008b435b879bb366bcf9516c53f2d07c30b1 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better error message if we fail to intercept some function currently the message is SIGSEGV git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169231 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interceptors.h
|
6422c32996ec2d65b2ebc77dda36b613dbd1571a |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check if PWD env var is absent On some programs I see: failed to open suppressions file '<null>/testing/tsan/v2/tsan.supp' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169230 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
|
2fbf620369f5f1b7200f7ebfe5938e75cb6fbeb2 |
04-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not build the interceptors that use ObjC blocks if the compiler does not support blocks. Need to define MISSING_BLOCKS_SUPPORT in this case at buildtime. Patch by Jack Howarth <howarth@bromo.med.uc.edu> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169206 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
|
d4b5db8cb8a7a13bb5cc1d4ce53e8e088303c854 |
04-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: add new interface functions - __asan_(un)poison_stack_memory. Calls to these functions are inserted by the instrumentation pass in use-after-scope mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169201 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_poisoning.cc
san/asan_report.cc
san/asan_rtl.cc
san/lit_tests/use-after-scope-inlined.cc
san/tests/asan_test_utils.h
|
ad91267d45fef531c1082ab7974e4cc78aba5280 |
03-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Use a struct to hold the /proc/self/maps buffer on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169155 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_procmaps.h
|
68aad43bee8b49d41dec72cb4b4eb34cdcd80e9c |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] two more bits for __sparc__ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169141 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
anitizer_common/sanitizer_stacktrace.cc
|
9c3929e3a0517305bf10698a05282fa0c8d1b5e2 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add CompactSizeClassMap as an alternative (more compact) size class map. Not used yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169128 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
864f5131db7ccd3fc8344dc2bcdebf66c03a900e |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] remove unused InternalAllocBlock as part of larger refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169123 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
433c219f8772c35dc4e6bd32bb4131dbc07fdfd6 |
03-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe global vars (module+offset for now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169122 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_symbolize.cc
|
e2770623379f403ea8c0247cac9ce8c75167a886 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] EXPECT_EQ => ASSERT_EQ around pthread_create/pthread_join calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169121 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test_utils.h
|
2697687059e64a4f1319dc23a0a3ca59982d53f6 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] in asan tests, check all return values of pthread_create/pthread_join. Also add the ASAN_AVOID_EXPENSIVE_TESTS macro to guard the test that creates too many threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169118 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_config.h
san/tests/asan_test_utils.h
|
a82a5d360b19080f2b1beae374c12d4f26146450 |
02-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Refactor handlers to have separate entry points for aborting. If user specifies aborting after a recoverable failed check is appropriate, frontend should emit call to the _abort variant. Test this behavior with newly added -fsanitize-recover flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169113 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/no-recover.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
bsan/ubsan_handlers_cxx.cc
bsan/ubsan_handlers_cxx.h
|
7cbd7e502e993320a3a1578179d336c268b80604 |
02-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Replace "fatal error" with "runtime error". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169112 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Float/cast-overflow.cpp
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/div-overflow.cpp
bsan/lit_tests/Integer/div-zero.cpp
bsan/lit_tests/Integer/incdec-overflow.cpp
bsan/lit_tests/Integer/mul-overflow.cpp
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/lit_tests/Integer/shift.cpp
bsan/lit_tests/Integer/sub-overflow.cpp
bsan/lit_tests/Integer/uadd-overflow.cpp
bsan/lit_tests/Integer/uincdec-overflow.cpp
bsan/lit_tests/Integer/umul-overflow.cpp
bsan/lit_tests/Integer/usub-overflow.cpp
bsan/lit_tests/Misc/missing_return.cpp
bsan/lit_tests/Misc/unreachable.cpp
bsan/lit_tests/Misc/vla.c
bsan/lit_tests/TypeCheck/misaligned.cpp
bsan/lit_tests/TypeCheck/null.cpp
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/ubsan_diag.cc
bsan/ubsan_handlers_cxx.cc
|
93da8b6a5e0ed2ca621897504c5d06449b3d7077 |
01-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Add caching to the MemoryMappingLayout class on Linux. This is necessary for the cases when a sandbox prevents ASan from reading the mappings from /proc/self/maps. The mappings are currently being cached on each access to /proc/self/maps. In the future we'll need to add an API that allows the client to notify ASan about the sandbox. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169076 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_procmaps.h
|
c8f0a00ede42f83ac79ff63c347ca8ddcda77155 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix int overflow and several instances where tid is used with ignore git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169029 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
543b94a5cd102c0795b44d78234d5458eed2c75e |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress weird race reports when JVM is embed into the process git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169019 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl_report.cc
|
07ba8ef44deb54baa9307298fbffe25ddb30c362 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __libc_memalign interceptor (used by dynamic loader to allocate tls for dlopen'ed modules) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169017 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
e1f9ed42bb01f6a1351f275a5e3e8031c353765d |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add sanity checks into memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169015 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
badab16503e025326a46a45da8faa6fd20e5fc3d |
30-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make asan_test.cc more gcc-friendly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168992 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/asan_test_config.h
san/tests/asan_test_utils.h
|
4cf06575e772d64907d4dc7d49f2ecc7830137f6 |
30-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] simplify break_optimization in tests (Jakub Jelinek) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168990 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_break_optimization.cc
san/tests/asan_test_utils.h
|
92733f94292cd36795238e1a6ed0a99a1dc0454d |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept mlock() because of the kernel bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168987 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
|
064c84731c1cf41dcd7195c9380170b9aa6887b6 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix bug that leads to spurious use-after-free reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168985 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
0a7062f2cbb01b348bbc09be21a577957a2c68c2 |
30-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Disable __int128 tests if the host Clang does not support it. These tests will still fail if compiler-rt was built with a compiler without __int128 support, but the host compiler has __int128 support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168955 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Float/cast-overflow.cpp
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/div-zero.cpp
bsan/lit_tests/Integer/sub-overflow.cpp
bsan/lit_tests/Integer/uadd-overflow.cpp
bsan/lit_tests/Integer/usub-overflow.cpp
|
7cc4dc0a9d5d8c310ec72810c2e8090de5a8b5ff |
29-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use brand new -fsanitize= values for init-order/use-after-return ASan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168951 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/initialization-blacklist.cc
san/lit_tests/initialization-bug.cc
san/lit_tests/initialization-nobug.cc
san/lit_tests/stack-use-after-return.cc
|
b989143d0be56496e8d5fcf75969af35a058792a |
29-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] disable BuiltinLongJmpTest on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168872 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
c3a5c173f228cbb15e332e6bbc17c76ebd55d7a8 |
29-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] enable BuiltinLongJmpTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168863 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
e656184a2e20c0293cf838885204216cdf1db168 |
29-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Don't assume that Clang provides __int128 unless it advertises that it does. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168857 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.h
|
d3ca78fdb296d2a51fc224da673ebfff508acf44 |
28-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add DISABLED_BuiltinLongJmpTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168793 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
6c0fbcae2f03eb78f82969bea61ccdbd2fb58e27 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explicitly say that failed to restore the stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168790 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
|
3fb70e333087ffac19517ad6559fcba9e43ac5ca |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: address several review comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168789 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl.h
|
cec6068bbbbfb84285c0856c196c48170924e215 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add log_path parameter (similar to asan) remove old log_fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168788 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl.cc
|
d698edc4f74a17048eef3342a9fa42b3ebba802a |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dynamic history size introduces history_size parameter that can be used to control trace size at startup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_trace.h
san/tests/unit/tsan_shadow_test.cc
|
0d35d9d9b1ff686b53918f9fd36797f0911db663 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change fast state layout in preparation to dynamic traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168784 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/tests/unit/tsan_shadow_test.cc
|
385542a2e83a4f37de4232d6c72097c1b7d6d44b |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move traces from tls into dedicated storage at fixed address helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_test.cc
san/go/test.c
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_trace.h
san/tests/unit/tsan_platform_test.cc
|
45bdb2ffb2878a6c22493af76256d5950dc0a6a2 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add description of memory layouts in different configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168777 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
|
80af605afd0e92a2a128c81898f647207f384e08 |
27-Nov-2012 |
Will Dietz <wdietz2@illinois.edu> |
ubsan: Support unsigned overflows, and divide-by-zero int/float split. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168700 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Integer/div-zero.cpp
bsan/lit_tests/Integer/uadd-overflow.cpp
bsan/lit_tests/Integer/uincdec-overflow.cpp
bsan/lit_tests/Integer/umul-overflow.cpp
bsan/lit_tests/Integer/usub-overflow.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
|
62470003b9a51ec8235724d6cee3d5b1488a5a2e |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix macro mess git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168697 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.h
|
c11e1e0f1401a95d0803317c4cdb83be3938146a |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation for dead old compilers (why we are supporting them at all?..) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168693 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
|
3c50fdd31f89d51333bd8640b968c13102a72bbb |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add memory range access functions to public iface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168692 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface.h
san/rtl/tsan_interface_inl.h
|
63da509a995a3cac9bf5495b5cb94c527ff96ce1 |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add 128-bit atomic operations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168683 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
3c0c408fe5268058c1347b51235d564cc081e575 |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor atomic operations implementation do the atomic operation under the sync object mutex make acquire/release sync atomic with the operation itself combine acquire and release into a single acq_rel operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168682 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
f5d526fc35524db0479828188e47c130ac09a038 |
26-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explicitly mark symbols referenced from assembly as hidden this allows to build tsan runtime as dynamic library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168589 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_amd64.S
|
bdec26d50b27e082d109acf99f7d713abc51435e |
26-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Android build by not calling GetPageSizeCached in a test (no need for the page size anyway) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168585 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
02b45d2aec154cb392cd6eb85e8dd16ed255351f |
26-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add atomic nand operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168584 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
4424e912ec98a0019cde224d6ed346f5bbefd091 |
25-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: faster memory reset for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168567 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
e89f1846d58550f919a0ef9081b11d4b0405019d |
24-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mapping.h
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/tests/sanitizer_allocator64_test.cc
anitizer_common/tests/sanitizer_allocator64_testlib.cc
san/rtl/tsan_platform.h
|
fc575e52636c803262fc24bacf63a95f731b1314 |
23-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add failure memory order to atomic compare exchange functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168518 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
|
f67ec2b6e8d2ae328c27de0b026eea2d6667836e |
23-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168517 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_linux.cc
san/asan_malloc_mac.cc
san/asan_rtl.cc
san/asan_stats.cc
san/asan_thread.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_interceptors.cc
|
11e985f7e13fb41f55be82496dbfbf22e769ac4d |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move swapcontext_test to Linux-specific tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168513 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/swapcontext_test.cc
san/lit_tests/swapcontext_test.cc
|
f3950c6d6acf53fe60735f6d38715c1ea6df814b |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] intercept swapcontext on Linux only git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168509 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
|
0870028410087e67a0049c76cb7c64f02c260d24 |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add interceptor for swapcontext to fight with false positives in some of its use cases. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168508 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
san/asan_internal.h
san/asan_posix.cc
san/asan_report.cc
san/asan_win.cc
san/lit_tests/swapcontext_test.cc
|
6fa4cc3a81713a392b2f3e8e7d6ad411e4b3f421 |
23-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ensure than func entry/exit are inlined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168506 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
80d46a2fbc0ae5086511a91119a6e28883b9f880 |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix more bugs in signal handling git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168497 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
95f50b126cebecc0165fbf6e4c8209c640836271 |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing \n in report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168496 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
|
f0f77a54a949966ce45171bc3a7f318f3ee7363a |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better error message for OOM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168491 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
7104f9cc013b4e63e068b63ae8801a54658c3d08 |
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of kPageSizeBits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168426 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
|
6523fe2ad35426bf37f10cbb6b45ef65dcdb2769 |
21-Nov-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Allow PopStackFrames leave the stack empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168425 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
5af39e50366f1aacbebc284f572f08ad1ad07357 |
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168424 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_mac.cc
san/asan_mapping.h
san/asan_report.cc
san/asan_rtl.cc
san/asan_thread.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_utils.h
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_placement_new.h
anitizer_common/sanitizer_printf.cc
anitizer_common/sanitizer_stacktrace.cc
|
dc2a27ecd65079f1916f5ab53ec646f9a9e61349 |
21-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explictly say when we fail to restore a stack trace git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168423 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
|
e52e2806f5eef9aa6a46fc81119f592ea22b0cbf |
21-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] replace while with internal_memset to make sure compiler won't replace it with library memset git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168422 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
0bf04eab1910cc8bf622c20ba08c339dc25e297e |
21-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix handling of signals (do not execute synchronous signals in recursive interceptors) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168421 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
10110f6539c5889109e7e2fa32973f1d5de8798c |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] pop the two internal functions from the stack trace produced by _Unwind_Backtrace (Peter Bergner) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168369 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
08bfe4988de493dd3e61d02759b3f19c42f8fb78 |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better support for powerpc and sparc targets (thanks to H.J. Liu and David Miller) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168358 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
d7d4650dd754aafc874e3b8cd5ab5b38005c84ec |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more support for powerpc, patch by Peter Bergner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168356 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mapping.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
|
031633bef8dff03f4e8943a12e34856bd66bbc78 |
19-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use raw Exit() to kill the program in case ASan finds an error while reporting the error in the same thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168308 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
574618acc0c6e934c25379c59d074864a1fd2186 |
19-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168306 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
84f5bacaf1021b9fb6fc2cf48abe5d4d416422ef |
19-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] change interface of GetAccumulatedStats() function to prevent Clang from inserting memcpy() call into runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168305 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stats.cc
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
9d0dbbaf33e5c2fe280f141e30be497d62b703a8 |
19-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] support PowerPC and SPARC in sanitizer_linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168301 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
af5a4c095bcd3664c7549e3a54872255a88eaa4b |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
ubsan: fix broken test case by using brand new [[@LINE]] FileCheck feature git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168170 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/TypeCheck/vptr.cpp
|
5b16dba10c171bc74a3d55a61b4406377aecbab8 |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
UBSan: enable CMake build on Darwin. Fix two failing tests and disable the test which produces linker errors on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168169 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
bsan/CMakeLists.txt
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/sub-overflow.cpp
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/lit_tests/lit.cfg
|
16da7947df767cf75874430d4ecfeeee218339bd |
16-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: sync with gcc r193553 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168151 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
b717f4d415cafbb8526bb33f737b9c07409a73bb |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use explicit ctor for BlockingCall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168150 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
cc378d49b44fbfffcfc5566dddcf443521a985c8 |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use llvm-symbolizer to run tsan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168146 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.cfg
|
bd9f4963dd50f2fe66ba47a74776dc2665f84d7d |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused parameter git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168060 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
993e2e0901168c1d44be2a4847c902ce9515d5ca |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to 4 shadow cells by default (since that's what we use everywhere now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168059 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
|
ee8ee2437b28ab8bf6f48af15b8b446fb5d55e90 |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: eevn better handling of signals add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168050 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
e406c8c47570659287e619e23479f9fb6640299e |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Revert r168040 and r168043 and take a cleaner solution suggested by Kostya: return the known frame name for fake stack instead of looking it up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168046 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_report.cc
san/asan_thread.cc
|
c78349f2167766d275ebb7e7113828c469ec7bf0 |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Minor fix: return to the last byte of the fake stack if we've raced by. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168043 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
|
036945d16d94ed6e83a85e243d7fe89687b9baf8 |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Poison the leftmost shadow byte with a special value so that we can find the beginning of the fake frame when reporting an use-after-return error. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168040 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_report.cc
san/asan_thread.cc
|
539dd2b3e0e3978cf00e630686a853f8cc6350ef |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the "lea $imm(%rip),%rax" instruction to mach_override.c The need for this has been reported by Jack Howarth (howarth@bromo.med.uc.edu) who's porting ASan-Darwin to GCC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168032 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
8783d8345782c431f027566cddf8723fb88a40b9 |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix typo from code review (thanks to Alexey Samsonov). This is also caught by the existing tests when building for i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167890 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/CMakeLists.txt
|
4a4ef702597471bff5e249b8ec9d94d265007895 |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Support for building the ubsan runtime when using the autoconf build system on Darwin. Patch by Jean-Daniel Dupas, tweaked by Jonathan Sauer, simplified somewhat by me. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167889 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
bsan/Makefile.mk
bsan/ubsan_value.h
|
f4932204d7cf89cc2402b1e30fb728cf84ff7b7f |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fsanitize=undefined: Switch to using sanitizer_common for output. This gets us much closer to not depending on any system headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167888 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
bsan/CMakeLists.txt
bsan/ubsan_diag.cc
bsan/ubsan_handlers.cc
|
fb4f8e11cd69aa76731ba13dea56270359b5c8b7 |
14-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use #if defined __x86_64__ instead of #if __WORDSIZE == 64 in sanitizer_linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167883 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
a7bf04e398c79de110d672fbb27d09c6b50e9870 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused const git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167835 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
|
ed77156ba3c5754b4cfe4ca1d6d5d7a4fdfb7835 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better function names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167834 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_update_shadow_word_inl.h
|
8c55a1ffa6edd1f48fd2ee6de8ff65c83b522834 |
13-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add output test for write under reader lock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167833 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/write_in_reader_lock.cc
|
08adb1815b4958df88f904b9780a055b0d387294 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix stats collection git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167832 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
4aa1ac9bfd073610d423b57215843903f8384f32 |
13-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] now we don't need llvm_obj_root to access llvm-symbolizer tool git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167823 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
a22e7e980d407d84801d9d0e9320dafc16b94dd2 |
12-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] test blacklist functionality for global-init-order checker (r167725) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167727 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/initialization-blacklist-extra.cc
san/lit_tests/Helpers/initialization-blacklist.txt
san/lit_tests/initialization-blacklist.cc
|
79ad22ada4e8c47c70bc99c96060c7e452e505fe |
12-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove llvm-symbolizer from compiler-rt/utils/ This is the first (1/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167722 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
|
0555259b3dd49d304cb217fd1e8e467adcc7566d |
12-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the golden stack for use-after-free.cc. The change has been caused by the switch to llvm-symbolizer, that prints inlined stack frames. This should fix PR 14251 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167721 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/use-after-free.cc
|
aad173b2f1dae9f88bbffd217ebd46ed1f020bcb |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept gettimeofday() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167630 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
93b4cafd631b661b4b612ccdc0938f7f1e1c86d6 |
09-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanity checks for communication with external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167617 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_rtl.cc
|
c43f2721a8cdad652b188d0e40f9f091ce35a48f |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to new memory_order constants (ABI compatible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167614 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
|
e337bf303dde9258bc7e2c87722a270fed96460b |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __tsan_atomicX_compare_exchange_val() function It's easier to call from compiler module. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167611 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
|
8c7e491c45842a13faedbead8250c8c98817455b |
09-Nov-2012 |
Alexander Potapenko <glider@google.com> |
Add a possible underscore before the wrappers to the output expectations for Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167610 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
|
1a9cd8ddea1985ab4941a8bd2f6e20822d1e9c1d |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add range access functions for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167580 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
3aa15c1ad60ae6c63973a0982662f26449f661bc |
08-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] avoid including <new> header in ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167579 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
|
6f121a185372780b79bde6afcd40e2220e9d0066 |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change TSAN_OPTIONS->GORACE in build script as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167578 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
e43542a361e0388263b546292d30af81a5e5993c |
08-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] try to fix Windows bot - include stdlib.h for abort/_exit functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167577 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
79c9836f727cbaaf380ccb29e1ef62de83a2e810 |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use GORACE env for options for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167575 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
|
54e0a9a391616bbd2a4f0fd2d01076291274cb98 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not sleep at exit if there are no other threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167533 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
8a326776e41dc68c810ba3719a24328de517d8f9 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to suppress all reports (useful for benchmarking) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167532 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl_report.cc
|
538f1ba8cb57cfa02d25f8f922feb00975e0a286 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167530 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_thread.cc
|
6b641c5e63be45a03f96346886d27c4b4135ddaf |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: slightly relax requirements for lazy shadow memory (can overlap and may not be properly aligned) it's problematic on windows where allocation granularity is much larger than page size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167466 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
san/go/test.c
san/rtl/tsan_rtl.cc
|
a05fcc1e3e045097f2f1a20798cbe038bbb1d6a9 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: lazily allocate shadow for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167464 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/test.c
san/go/tsan_go.cc
san/rtl/tsan_defs.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_platform_windows.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
be1a4c4be86f7960dbeb7b44d3b13ce5b9b13b4e |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167463 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
785a7c07c9bd2d4463b30a8539a716f020139551 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for failed mmap() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167462 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
65d601e996bd9721fca268da267380d95f93d82d |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167458 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/static_init5.cc
|
17192a77e1296f0e2fe63088bf80778942121c92 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: windows platform support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167457 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_windows.cc
|
65c445c462f3f9f79c28ee2f3a8cf297176a55af |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update script to support windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167456 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
6da4354df86f535b479d45a4adbba31af4634f46 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add shadow mapping for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167455 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
|
a6f123741bc4fb9793fe46ed3d7cc89f612c69fd |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing function for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167454 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
6c51d6e82092ab1541a732a75c5017d2d8b93af0 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix constant types git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167453 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
|
33b2a94ded8473154553c71ef585b8b2522ce70f |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: windows: less includes, better diagnostics for failed VirtualAlloc(), implement sched_yield() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167452 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
1e99374ba2a4fdec2c0d14197a204b3f75e60565 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: don't release disabled clocks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167451 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
|
e2462f7461961925f7f20577352c01e867365d8b |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: define missing compier macros for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167450 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
bb19294a1195fb320047bace7732f15e85ac4da5 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix non-msvc windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167449 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
97daee89b35f6141db09aee612f0f377f754092f |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tasn: improve sanitizer_internal_defs.h The file uses namespaces and extern "LANG", so it's kinda senseless to use #ifdef __cplusplus git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167448 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
bfa45e11e52081c55294355f36fa547f163dcc67 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build __declspec is not _WIN32, it's _MSC_VER git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167447 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
b1ed7fb74658fd98c5ab591b45b6e02112c0d69a |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167446 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
f10a79a21002a38e6ebc4ed01dec31872f39aed6 |
06-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Update compiler-rt tests to match flag renaming/deprecation in Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167434 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/interface_symbols.c
san/lit_tests/lit.cfg
san/lit_tests/sanity_check_pure_c.c
san/lit_tests/sleep_before_dying.c
san/lit_tests/strip_path_prefix.c
san/tests/CMakeLists.txt
san/lit_tests/lit.cfg
san/lit_tests/test_output.sh
bsan/lit_tests/Float/cast-overflow.cpp
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/div-overflow.cpp
bsan/lit_tests/Integer/div-zero.cpp
bsan/lit_tests/Integer/incdec-overflow.cpp
bsan/lit_tests/Integer/mul-overflow.cpp
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/lit_tests/Integer/shift.cpp
bsan/lit_tests/Integer/sub-overflow.cpp
bsan/lit_tests/Misc/missing_return.cpp
bsan/lit_tests/Misc/unreachable.cpp
bsan/lit_tests/Misc/vla.c
bsan/lit_tests/TypeCheck/misaligned.cpp
bsan/lit_tests/TypeCheck/null.cpp
bsan/lit_tests/TypeCheck/vptr.cpp
|
84d57b4ce545d6c19effac01124749a9df0fd0a5 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whether error reports are printed to terminal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167298 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
40bd009d5253b3ccfad363230c2d8ac2e139f81f |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix printf unittest on 32-bit arch git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167297 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_printf_test.cc
|
a517641e8f4365fbc5e3cddf614ebc27efd69c35 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move unit test for Printf from tsan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167296 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_printf_test.cc
san/tests/unit/CMakeLists.txt
san/tests/unit/tsan_printf_test.cc
|
b1fe3021eca0843e37878d224ee7f32e32f40d99 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
san/rtl/CMakeLists.txt
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
f3457cb9c3e1ddbbea07ee97b22ca387687b72e0 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use kStderrFd constant instead of hardcoded 2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167291 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_win.cc
san/rtl/tsan_flags.cc
|
ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: add __sanitizer_set_report_fd function to alter file descriptor for error reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167290 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
|
ea0177e2b8bb5d1dbd22c7e2776f6299fa712799 |
30-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167010 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.cfg
it.common.cfg
san/lit_tests/lit.cfg
|
2529922d03a76c90a512e0dd8381a42978349b69 |
29-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166966 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_type_hash.cc
|
26a725f0b2fd30b98adae6353b432d0c955e10bd |
29-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't define an extern "C" variable in its first declaration, to appease a bogus gcc warning. Take this opportunity to move the declaration to the header, since it's part of the API of this file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166965 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_type_hash.cc
bsan/ubsan_type_hash.h
|
71a8273b3729ffaef40d178739f48dc38417d86a |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Fix a compiler warning in internal_memmove. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166775 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
|
341588afadc46bf6f0dc7babd6d531209aba5202 |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Fix the internal_memmove() implementation that used to skip src[0] if dst < src. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166774 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/sanitizer_libc_test.cc
|
f70848decb000cc0e4c05a27eed78865d2f38555 |
26-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't run hacky test for __asan_get_free_bytes() on 32-bits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166771 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
71578faf4eb8e61aefb3121e1945cc47f07cea0d |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
In the dynamic runtime on Mac OS, do not call internal_strdup() before __asan_init(). This may result in a crash at startup. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=123. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166768 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
eda8bd0fc07df35c9ad7de5b698bb717b063e7af |
25-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior checking for appropriate vptr value: library side. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166660 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/CMakeLists.txt
bsan/lit_tests/TypeCheck/vptr.cpp
bsan/ubsan_handlers.cc
bsan/ubsan_handlers_cxx.cc
bsan/ubsan_handlers_cxx.h
bsan/ubsan_type_hash.cc
bsan/ubsan_type_hash.h
|
ec3a5a21fd261f5227b5ad0d76bc148c6d227297 |
24-Oct-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Rename ReplaceCFAllocator to MaybeReplaceCFAllocator. Replace the allocator only if the replace_cfallocator flag is set (in some cases it wasn't checked) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166550 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_mac.cc
|
3e8458ab54c7cbaec45e367b2da909c6f94b291c |
24-Oct-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Use internal_memmove() in both static and dynamic runtime libraries if asan_inited != 0. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166549 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
697a22bf050e81a6d94fdc0201a0c46215454e6a |
24-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Due to data races, ASan malloc stats are inaccurate, which may cause certain ASan interface functions returning negative values (casted to unsigned). Return a reasonable value if such a case is detected. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166548 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
|
f8168925de9cd0758135d4084ce33e2843aae74f |
19-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add comment to blacklist file to test behavior introduced in r166283 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166284 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.ignore
|
7a89732b47eba572d5c27bd2ad846d99c87f574c |
19-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] instrumented asan unit tests should depend on blacklist file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166282 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
08f6fe2e8565cf332acfe3197ad6bee38da03abb |
18-Oct-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Stop linking libstlport to ASan runtime. Change-Id: If2108bce1932f4d6a0f86e47fe19c55cb0bafdfb
san/Android.mk
|
dbe60352ef7240327f15f813140c9726854f6b85 |
18-Oct-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Disable new/delete interceptors on Android and make them visible elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166180 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
|
d5951e6b869dc973dd442bf3c79dc9d852d404f7 |
18-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fall back to online symbolizer if user-provided callback failed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166177 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
49441816aa9a4c7bb27a41c880e56f01d9fd85d6 |
18-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Re-enable this test now that r166172 has hacked around the terrible limitations of the pass manager stack in the pass manager builder. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166173 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/force_inline_opt0.cc
|
de55be3899b994731ba2d9e168281d608dab3048 |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] unit tests: Move main() to a separate file. Fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166104 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_main.cc
|
8d8626fc3dc12c6d1f5b4cf2d3968447b7eea265 |
17-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added a test for a bug in asan at -O0 introduced by r165936 (making asan a FunctionPass). The test is not actually enabled for -O0 yet (since it fails) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166103 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/force_inline_opt0.cc
|
fa7e95da75c30b7111224e68cb4405357bdc0f4b |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix strchr/index tests for users who have 'char* strchr(char*,int)' instead of 'char* strchr(const char*, int)' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166101 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
1cffef3e39cad4eb33606afbebac78d6637361ac |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use attribute no_address_safety_analysis if it's unknown to compiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166099 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
e98723f73d2a09b7305b7848238c64df56439cfb |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] symbolizer: increase the maximal number of shared libraries to 16K git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166098 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
68e8acab81a43ccf849add9272a761dc6b73ee8d |
17-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix gcc warnings while building asan-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166093 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
e0c94cc6b2f84d3895ad7214cb8a830a9b9ff0c0 |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Do not call ReplaceCFAllocator() before __CFInitialize(), otherwise crashes are possible on 10.8. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=122 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166029 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
4e0e50a2a208305d7635caf1a7a7c51a4a7e1cb9 |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Commit a leftover file from r166026: Add MACOS_VERSION_MOUNTAIN_LION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166028 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.h
|
679bf63dba568611bf1fe6397fd0c41d43ac041a |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Add MACOS_VERSION_MOUNTAIN_LION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166026 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
5759d92e99e2b7adcc46a8729f16023208dd8f37 |
16-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166006 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.cc
|
f1673e61768cb08d488a75584b61bfdf24ffdac1 |
15-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Implement internal_memmove. Use internal_memmove() and internal_memcpy() in the memcpy() and memmove() wrappers when building the dynamic runtime (OS X only), to work around a bug in resolver functions wrapping. See also http://code.google.com/p/address-sanitizer/issues/detail?id=116 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165939 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
|
ca9b5dd9922fb7f6e0ca06dbba7db7398b8997f1 |
15-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix more tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165934 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
69d8ede30a0ef32c74af7e4e795eb4b4e7fb1d36 |
15-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] change the asan output slightly to avoid user confusion: a) add ':' after 'AddressSanitizer' and b) changed 'crashed' to 'SEGV' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165932 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/lit_tests/Linux/initialization-bug-any-order.cc
san/lit_tests/deep_stack_uaf.cc
san/lit_tests/deep_tail_call.cc
san/lit_tests/deep_thread_stack.cc
san/lit_tests/initialization-bug.cc
san/lit_tests/large_func_test.cc
san/lit_tests/memcmp_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/shared-lib-test.cc
san/lit_tests/use-after-free.cc
|
0aad69a3918db4a3c251512984b7451e3c63dd53 |
15-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Provide a slightly more helpful diagnostic if -fcatch-undefined-behavior finds a problem with __int128 arithmetic but the runtime was not built with __int128 support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165913 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.cc
|
20c2fb3446d3a6d628adc5e177e5ef5c9cfc90c8 |
15-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Use a better test for __int128 support, which works on old GCC versions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165912 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.h
|
ba3fde65b900ce9d0ecdf034dfe3825eea810434 |
13-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Fix the bootstrap of CompilerRT with host compilers that don't support emulating 128-bit arithmetic on 32-bit x86 targets. This should get the bootstrap back for GCC 4.6 at least. Suggestions on better ways to do the detection here are welcome... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165863 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_diag.cc
bsan/ubsan_value.cc
bsan/ubsan_value.h
|
58561700a4abad310911a24a867da49a14fae91e |
13-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: Runtime library support for trapping conversions to or from a floating-point type where the source value is not in the range of representable values of the destination type. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165844 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Float/cast-overflow.cpp
bsan/ubsan_diag.cc
bsan/ubsan_diag.h
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
bsan/ubsan_value.cc
bsan/ubsan_value.h
|
b04caf1385a4279a7b95d41c3ccefc61842c3633 |
10-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: handler for VLA bound which evaluates to a non-positive value. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165582 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/lit_tests/Misc/vla.c
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
|
ed81c21984efb8c1f96c82de1dd5dbcea5d7aa65 |
10-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: store the type name directly at the end of a type descriptor. 5% binary size reduction due to fewer relocations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165571 91177308-0d34-0410-b5e6-96231b3b80d8
bsan/ubsan_value.h
|
6ebe45146a2d93eb010b9bb5ea34cb94c6900f83 |
09-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165533 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
bsan/CMakeLists.txt
bsan/lit_tests/CMakeLists.txt
bsan/lit_tests/Integer/add-overflow.cpp
bsan/lit_tests/Integer/div-overflow.cpp
bsan/lit_tests/Integer/div-zero.cpp
bsan/lit_tests/Integer/incdec-overflow.cpp
bsan/lit_tests/Integer/mul-overflow.cpp
bsan/lit_tests/Integer/negate-overflow.cpp
bsan/lit_tests/Integer/shift.cpp
bsan/lit_tests/Integer/sub-overflow.cpp
bsan/lit_tests/Misc/missing_return.cpp
bsan/lit_tests/Misc/unreachable.cpp
bsan/lit_tests/TypeCheck/misaligned.cpp
bsan/lit_tests/TypeCheck/null.cpp
bsan/lit_tests/lit.cfg
bsan/lit_tests/lit.site.cfg.in
bsan/ubsan_diag.cc
bsan/ubsan_diag.h
bsan/ubsan_handlers.cc
bsan/ubsan_handlers.h
bsan/ubsan_value.cc
bsan/ubsan_value.h
|
35b661425ad452520544863f1b1afae961e6a92e |
09-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove unneeded returns after UNIMPLEMENTED macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165493 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
anitizer_common/sanitizer_win.cc
|
45418d1ccb083cad3cb84e0b8184adfb85876fc5 |
09-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add UNREACHABLE(msg) macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165492 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
444a185d855bccf806f12572d3e8a01eee7c09bf |
08-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use llvm-symbolizer for ASan lit-style tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165391 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/large_func_test.cc
san/lit_tests/lit.cfg
san/lit_tests/null_deref.cc
san/lit_tests/shared-lib-test.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
san/scripts/asan_symbolize.py
|
b3b21231dd9dfeb34f5f302c879f2d11b6312080 |
07-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better message about found races for Go ThreadSanitizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165376 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
158c6ac3bb46753db217f9c2c73485811a3a1890 |
05-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: cache pc's that cause suppressions (this way we do not need to symbolize the reports) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165317 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
|
50f2e30497ba2a69ee5721e7235a296d7c13a495 |
05-Oct-2012 |
Alexander Potapenko <glider@google.com> |
If !asan_inited, call internal versions of libc functions where available. This is to remove unnecessary #if directives. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165307 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
1bf56b76cf08ab19800cf5a30849277bf1e084d4 |
04-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan for Go: support mallocs before __tsan_init() (required to support cgo code) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165229 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
e933c9fc831073560e8731ac5a5e8414549387b5 |
04-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Avoid calling __asan_init from memcpy(), memmove(), memset() during libSystem initialization. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=117. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165227 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
529cfa05a7dd0cdbe97172045430243181e43522 |
04-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add atomic_fetch_sub() and atomic_signal_fence() functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165218 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_stat.h
|
e8216fd93f6f8980965197a1779b6f54441255ca |
04-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] properly report mmap failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165214 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/rlimit_mmap_test.cc
anitizer_common/sanitizer_posix.cc
|
3be338483aee033699cabfe47efe3e7c0b4c7a2b |
03-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Set ASAN_NEEDS_SEGV=0 on Android only. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165120 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
7ba89e5c1f7bd91a3c03d449b073c99c12f554eb |
03-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prepare for migration to new memory_order enum values (ABI compatible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165106 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
|
8bf8b7943848973398be0c3ad99855e20da6d6fa |
02-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Do not patch the instruction address when symbolizing the reports. Instead, print the correct address at runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165018 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_procmaps.h
|
73ed35f0b6cdc8ce8c23e839a3973212f448ef8d |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix line width git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165009 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
|
866334332ff8c2a1b7f3715224614b6b75a7578c |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Change __asan_set_on_error_callback to weak overridable __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165008 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_rtl.cc
san/lit_tests/on_error_callback.cc
san/tests/asan_noinst_test.cc
|
3334e12d33261cb8f211f2f49f28ddfa027a40c3 |
02-Oct-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[*San]: handle EINTR. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165006 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_linux.cc
|
e0023f74ea88efee329f68391b70f8adc6b21617 |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
0ec37a6e84b37ef4785b9863e98d0339c5a10190 |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add extern C for __asan_symbolize on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165003 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
1ca535700966cf5019dcc6684a62a734a7b96974 |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165000 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_win.cc
san/lit_tests/symbolize_callback.cc
anitizer_common/sanitizer_stacktrace.cc
|
d0a51c02157e8293ea365ad0d429ef8e73d115de |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: wait for pending reports before exit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164999 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
7dccf3f92a867f917ad19f9a6b37bcf93e64b35b |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output tid's in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
san/go/tsan_go.cc
san/lit_tests/race_on_heap.cc
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/simple_stack.c
san/rtl/tsan_interceptors.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
c9fa0924dbbb71b32a4ecc50f5dbce3a9c0cb199 |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: run output tests in parallel git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164997 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/test_output.sh
|
004c4340248841aefe5a23d1d20556ac801c871d |
30-Sep-2012 |
Bob Wilson <bob.wilson@apple.com> |
Add compiler-rt support for Swift. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164903 91177308-0d34-0410-b5e6-96231b3b80d8
rm/Makefile.mk
rm/divsi3.S
rm/udivsi3.S
|
7da8503a90c7f84787aa1ba978e2223893fa7727 |
28-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix unit test headers. Add an option to change substitute asan_test_config.h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164821 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_benchmarks_test.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test_config.h
san/tests/asan_test_utils.h
|
855114a3d5e5a08c0e38ba8c9e4ec5313d8cbadb |
28-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use llvm-symbolizer (in offline mode) in ASan output tests on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164819 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
|
9712af9ce7f5efc14cb11af2599fd065e7b7a3dd |
28-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Change defaults for Android target. This way building without -DASAN_* in CFLAGS produces working binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164816 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
678e5436c6c1ecbd0cf50ce80bc7a2afb904c0ef |
27-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add a missing const qualifier. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164773 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
|
97dac9e9a15722f94724a9f61b29518698867ee8 |
27-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Quick fix data/bss detection in TSan. The old way breaks when a module's bss is adjacent to the [heap] vm area. Both ways are not very reliable, though. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164772 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
7eff311e3e969ae084aadba7d7812591e34d08ab |
27-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] move replacement for new/delete back into tsan_interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164764 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
san/rtl/Makefile.old
san/rtl/tsan_interceptors.cc
san/rtl/tsan_new_delete.cc
san/rtl/tsan_rtl.h
|
ce31aa700275ab17aa42db0d1d175abddc89eb2e |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fixed a number of gpylint warnings, added binary names filtering (useful for Chrome), minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164695 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
b2546c44c828a546a98c091c714b71b1c9966673 |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Encapsulate the main loop into a class to allow reusing it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164694 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
6da31e480c0cbaa7e2002c6d97b316e19874205a |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Set --use-symbol-table=true as Alexey has already resolved the FIXME. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164693 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
68bdcc4db8802c9a6f72d0e684a336ab92a3785b |
25-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fork external symbolizer before starting internal threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164600 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
b8cabab1509e7025ac57cd2429bc637edebdee8f |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] one more attempt to fix sleep_sync test: call sleep in the spawned thread so that sleep-synchronization will be detected even if child thread is started late. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164488 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/sleep_sync.cc
|
4f0ea398bdc99a4a32402057c23bbcc6d19a8eb4 |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Provide replacements for operators new/delete instead of declaring extern C functions with weirdly mangled names (same strategy is used in ASan). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164487 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
san/rtl/Makefile.old
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interceptors.h
san/rtl/tsan_mman.cc
san/rtl/tsan_mman.h
san/rtl/tsan_new_delete.cc
san/rtl/tsan_rtl.h
|
b46941a1d23012491a7a8a52718cacbde3c19ba1 |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the same time, remove ASan from CMake build on Windows after conversation with Timur. We don't want to support building ASan on Windows until it is in a working state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164486 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/asan_malloc_win.cc
nterception/interception.h
anitizer_common/sanitizer_internal_defs.h
|
c6439621280cda29433eeed5abb62ed9833ba45a |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] increase sleep time in test to ensure correct event ordering git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164483 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/sleep_sync.cc
|
b610ef8ded4b51b1fa75cca231de05586dd6bfb1 |
22-Sep-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[CMake][tsan] Compile .S files for tsan as C instead of CXX. Using CXX breaks if you add -stdlib=libc++ to CMAKE_CXX_FLAGS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164422 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
|
47a953e75f0dd4ce91da5c6bb0e87490727a59e6 |
20-Sep-2012 |
Eric Christopher <echristo@apple.com> |
Both OpenBSD and Bitrig need to include machine/endian.h to get the _BYTE_ORDER define. Patch by David Hill. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164286 91177308-0d34-0410-b5e6-96231b3b80d8
nt_endianness.h
|
1c2a24e131a8f15a70586a0563afe7a6e4a68aa7 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Include ASan into CMake build only on Linux, Mac and Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164224 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
06dc82dd82af6b305173e55d35d98ab1e3abf6a8 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add tsan to cmake build of compiler-rt only on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164217 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
75317318a7173801a00494717b9408142fbcee5c |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make asan_symbolize script work if there is no llvm-symbolizer available git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164214 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
63e4df4356c9949d95ad0bb6b8fd5f56de2efd00 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix offline python symbolizer script to use llvm-symbolizer if possible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164209 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
b0ddf227b25388ad836e560c00f0aec84026b0e5 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: fix headers and lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164205 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_globals_test.cc
san/tests/asan_test.cc
|
b2c8d695e8b569058b1a8f76e2d2b270d6bd1232 |
19-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix gcc4.2.1 warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164200 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
85a6dad26739fcd9742eae04b4a539e29889e937 |
19-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164198 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
|
58b017bb286a8f4413a9348d2c87c52de38cff6d |
18-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Intercept signal() and sigaction() within the dynamic runtime on Mac. Add a test that ensures that ASan does not allow to override the signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164118 91177308-0d34-0410-b5e6-96231b3b80d8
san/dynamic/asan_interceptors_dynamic.cc
san/tests/asan_test.cc
|
0f4ae5d0e3223627ec60c9159f32bfa73038bce7 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one of TSan output tests that somewhy fails otherwise git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164116 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/sleep_sync.cc
san/tests/rtl/tsan_test.cc
|
e64c3b6f05a65560df5e60742168d9a7e68a94eb |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings in TSan tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164115 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/tests/rtl/tsan_test.cc
san/tests/rtl/tsan_test_util_linux.cc
san/tests/unit/tsan_flags_test.cc
|
5c153faa535f671dd0e8d40ab43397f2d3c6f6f5 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move printing descriptions of heap addresses in error report from allocator internals to asan_report.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164112 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_report.cc
|
c64b9994e45d04162a47f30343e4283c93464ab1 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] update lint checker script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164111 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
3168586f24f2d275e6fae167d9a4d98238004f43 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] port all output tests to lit and move them to lit_tests directory. This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164110 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/lit_tests/CMakeLists.txt
san/lit_tests/free_race.c
san/lit_tests/free_race2.c
san/lit_tests/heap_race.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
san/lit_tests/memcpy_race.cc
san/lit_tests/mop_with_offset.cc
san/lit_tests/mop_with_offset2.cc
san/lit_tests/mutex_destroy_locked.cc
san/lit_tests/race_on_barrier.c
san/lit_tests/race_on_barrier2.c
san/lit_tests/race_on_heap.cc
san/lit_tests/race_on_mutex.c
san/lit_tests/race_with_finished_thread.cc
san/lit_tests/simple_race.c
san/lit_tests/simple_race.cc
san/lit_tests/simple_stack.c
san/lit_tests/simple_stack2.cc
san/lit_tests/sleep_sync.cc
san/lit_tests/sleep_sync2.cc
san/lit_tests/static_init1.cc
san/lit_tests/static_init2.cc
san/lit_tests/static_init3.cc
san/lit_tests/static_init4.cc
san/lit_tests/static_init5.cc
san/lit_tests/suppress_same_address.cc
san/lit_tests/suppress_same_stacks.cc
san/lit_tests/test_output.sh
san/lit_tests/thread_leak.c
san/lit_tests/thread_leak2.c
san/lit_tests/thread_leak3.c
san/lit_tests/tiny_race.c
san/lit_tests/virtual_inheritance_compile_bug.cc
san/lit_tests/vptr_benign_race.cc
san/lit_tests/vptr_harmful_race.cc
san/output_tests/free_race.c
san/output_tests/free_race2.c
san/output_tests/heap_race.cc
san/output_tests/memcpy_race.cc
san/output_tests/mop_with_offset.cc
san/output_tests/mop_with_offset2.cc
san/output_tests/mutex_destroy_locked.cc
san/output_tests/race_on_barrier.c
san/output_tests/race_on_barrier2.c
san/output_tests/race_on_heap.cc
san/output_tests/race_on_mutex.c
san/output_tests/race_with_finished_thread.cc
san/output_tests/simple_race.c
san/output_tests/simple_race.cc
san/output_tests/simple_stack.c
san/output_tests/simple_stack2.cc
san/output_tests/sleep_sync.cc
san/output_tests/sleep_sync2.cc
san/output_tests/static_init1.cc
san/output_tests/static_init2.cc
san/output_tests/static_init3.cc
san/output_tests/static_init4.cc
san/output_tests/static_init5.cc
san/output_tests/suppress_same_address.cc
san/output_tests/suppress_same_stacks.cc
san/output_tests/test_output.sh
san/output_tests/thread_leak.c
san/output_tests/thread_leak2.c
san/output_tests/thread_leak3.c
san/output_tests/tiny_race.c
san/output_tests/virtual_inheritance_compile_bug.cc
san/output_tests/vptr_benign_race.cc
san/output_tests/vptr_harmful_race.cc
|
53fec5d65c35f69656f30e16dbfa439d3860be68 |
18-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix the tsan allocator to handle any alignment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164107 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
9c994aae092ddbc786ceb27668f38571de926e5b |
17-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove debugging code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164052 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
f548ef8e3c6bce5a6b2bee48b8f942d2e27ebf92 |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for gtest-based tests. Support running these tests from lit via check-tsan command. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164022 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/Makefile.old
san/lit_tests/CMakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/rtl_tests/CMakeLists.txt
san/rtl_tests/tsan_bench.cc
san/rtl_tests/tsan_mop.cc
san/rtl_tests/tsan_mutex.cc
san/rtl_tests/tsan_posix.cc
san/rtl_tests/tsan_string.cc
san/rtl_tests/tsan_test.cc
san/rtl_tests/tsan_test_util.h
san/rtl_tests/tsan_test_util_linux.cc
san/rtl_tests/tsan_thread.cc
san/tests/CMakeLists.txt
san/tests/rtl/CMakeLists.txt
san/tests/rtl/tsan_bench.cc
san/tests/rtl/tsan_mop.cc
san/tests/rtl/tsan_mutex.cc
san/tests/rtl/tsan_posix.cc
san/tests/rtl/tsan_string.cc
san/tests/rtl/tsan_test.cc
san/tests/rtl/tsan_test_util.h
san/tests/rtl/tsan_test_util_linux.cc
san/tests/rtl/tsan_thread.cc
san/tests/unit/CMakeLists.txt
san/tests/unit/tsan_clock_test.cc
san/tests/unit/tsan_flags_test.cc
san/tests/unit/tsan_mman_test.cc
san/tests/unit/tsan_mutex_test.cc
san/tests/unit/tsan_platform_test.cc
san/tests/unit/tsan_printf_test.cc
san/tests/unit/tsan_shadow_test.cc
san/tests/unit/tsan_stack_test.cc
san/tests/unit/tsan_suppressions_test.cc
san/tests/unit/tsan_sync_test.cc
san/tests/unit/tsan_vector_test.cc
san/unit_tests/CMakeLists.txt
san/unit_tests/tsan_clock_test.cc
san/unit_tests/tsan_flags_test.cc
san/unit_tests/tsan_mman_test.cc
san/unit_tests/tsan_mutex_test.cc
san/unit_tests/tsan_platform_test.cc
san/unit_tests/tsan_printf_test.cc
san/unit_tests/tsan_shadow_test.cc
san/unit_tests/tsan_stack_test.cc
san/unit_tests/tsan_suppressions_test.cc
san/unit_tests/tsan_sync_test.cc
san/unit_tests/tsan_vector_test.cc
|
3b339c923b4eefa6a58a349c1a7a1d279612215e |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] If we detect an unlimited stack, try to re-exec with limited stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164021 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
d7e5bb4043adf4756e6f8cfe0f5a3165b185474d |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Hoist functions to get/set stack size and re-exec from memory-sanitizer branch to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164020 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
62e27098b97e5ef74931c536350123a3df9dec6d |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] increase sleep time if ASan finds two bugs simultaneously to make sure full error report is printed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164018 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
9c6c5a26ec1e49f379515d2403b8b206bf2755c3 |
17-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase internal memory block limit 1GB->4GB git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164011 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
d0dc91869f197d2df69ceaecce0889931e18de67 |
17-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reserve msb in stack depot id's (required for msan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164010 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stackdepot.cc
anitizer_common/tests/sanitizer_stackdepot_test.cc
|
df11061d6df6e7018c34fc23274c40c36db4731a |
14-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163930 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
843f359862fb8370eacf8aed4e749c46a92b2e38 |
14-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Add support for reading the GCDA file and merging the arc information. With the advent of the __llvm_gcov_flush function, we need to be able to merge counts into the .gcda files in an intelligent manner. This involves reading the file if it exists, adding the counts together, and then writing the results. <rdar://problem/12185886> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163923 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
78103db90782ca30593d7b1066b77792ca2f3459 |
14-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove some debugging code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163881 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
01167e89d77530d5d8507e1f0f1f2979a1497573 |
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the va_arg usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163879 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_printf.cc
|
81dfbb76f858fbc4084771fce4967ede04ed5f44 |
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add asan option log_path=PATH to let users redirect asan reports to a file PATH.PID instead of stderr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163872 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/lit_tests/log-path_test.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_printf.cc
|
484db99999ebadcc62bd5ac5a702d1fdad391111 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] support building TSan unittests in CMake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163797 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/rtl_tests/CMakeLists.txt
san/unit_tests/CMakeLists.txt
|
deb0dd86b99170abfdfb39520064c49b3e91b0cc |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a typo in CMakeLists git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163796 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/CMakeLists.txt
|
9a46c3b7aeb3a800702b48dd5f8017b0ae7387c7 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use interface attribute for weak functions that may be overriden by user git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163795 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_rtl_report.cc
|
79c682624f727408c1e56afc9d561fe0e03f4804 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add initial support for buidling ThreadSanitizer runtime library with CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163789 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/rtl/CMakeLists.txt
|
2135d8a7f4ba30fe35ed02d5e6ffd59a95b26219 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a bunch of warnings reported by pedantic gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163788 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_mman.h
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_stat.h
san/rtl/tsan_suppressions.h
san/rtl/tsan_trace.h
|
8019524fdba2eb50ea6fac5f07d938165ad1e065 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Pass -std=c99 when compiling mach_override.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163717 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/CMakeLists.txt
|
ca2cdd989076d091d8c4d4c277f8b47d9b5903ad |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Give more accurate malloc statistics to malloc_zone_statistics(). Fix a warning in macros instantiation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163716 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
san/asan_stats.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
san/tests/asan_test.cc
|
0fb4069dd0d0ef4c105105affea821f516a353a5 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fix compiler warnings: remove __attribute__((visibility)) for static functions, use unsigned char instead of char. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163707 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
4ea14c2fa243684e1d7a017bd4f0d1e38801de0a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more macro/casting magic to suppress warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163706 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_malloc_mac.cc
nterception/interception_mac.h
|
76e842845c927e92c2c21c41ac51e364fa17528c |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix compiler warnings for unit test on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163704 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_test.cc
|
246ef3b045ba183ede4eb4635e31cd477aa91cf5 |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix compiler warnings (including void* arithmetic) in mach_override git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163698 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
c27279a4a08e0661f204c3e5dc65aafce79dec8a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix interception macro for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_linux.cc
nterception/interception.h
|
938c1ba136eb04ded2c982219edd689502094a54 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Initial support for malloc_zone_statistics. All counters are set to zero now. This is required to overcome a crash in mstats() (http://code.google.com/p/address-sanitizer/issues/detail?id=109) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163690 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
721460bdcbc29605381ee7658e6d0c233da0da8d |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Please Android build. Re-check the availability of -Wno-variadic-macros flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163688 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer_linux.cc
|
b43d6a8ca10b9af8a903e8726003ae7767f9e823 |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] first effort to start building ASan runtime with -Werror in CMake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163686 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
anitizer_common/CMakeLists.txt
|
b66bfd1e28776f0a350b9c197926c2c172678603 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to remove empty macro arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163622 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
|
726fa673ede563a4785b5a44110b36071c4295b1 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] test 64-bit allocator only on suitable targets git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163615 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/CMakeLists.txt
|
223ff76d894fea012086da0413afbf219221d718 |
11-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Revert the lockf() support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163614 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
34fc56c43f60be0b85a0e3ce30658fd98951f0b8 |
11-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan Android runtime and tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163613 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
3f3ca96358ed02ef13c5cfd5d6bc4d33dd861c2a |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for sanitizer_common runtime (shared between ASan and TSan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163610 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/tests/CMakeLists.txt
anitizer_common/tests/lit.cfg
anitizer_common/tests/lit.site.cfg.in
anitizer_common/tests/sanitizer_test_main.cc
|
d7ed1f09f316628b2d981a1d8c2cf0f5af30e90e |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix warnings reported by gcc. Update the list of targets to check lint for git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163608 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
anitizer_common/scripts/check_lint.sh
anitizer_common/tests/sanitizer_stackdepot_test.cc
|
70a7095e37289746fd20595457d517faf66dc6a4 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] Install support for CMake build of compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163607 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
|
374520df0a4fde014380298d00bad4064de3e476 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove custom Die/CheckFailed from allocator testlib git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163604 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_testlib.cc
|
591616d323d73b7ea7cd8fea4eec46cedccda27e |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163603 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
0ce948e0887e2c23c6510c32a639da9730bbce25 |
11-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Interceptors for lockf and lockf64, minor calloc() fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163602 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
1f922a5259510f70a12576e7a61eaa0033a02b16 |
11-Sep-2012 |
Stephen Hines <srhines@google.com> |
Merge up through LLVM r163557. Updated Android.mk source file for asan and fixed up test setup (thanks to Evgeniy for the starter patch). Change-Id: I4dcf13130505f4c1e2eed191a3b403ccab5e5e26
san/Android.mk
san/asan_android_stub.cc
|
56937189e87949cca1964a399c8db3fd2ef0fa2d |
11-Sep-2012 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge-2012_09_10 Conflicts: lib/sanitizer_common/sanitizer_allocator.cc Change-Id: Ic93702aa92d9d4d582b25b33dfc14f6176d6b8a8
|
cb9bd24e5f226b9a922098403cbd1589be39e605 |
11-Sep-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r163411 based on review discussion. In code review, it looked like these warnings do not actually fire with modern Clang or GCC. However, the pragma is flat out rejected by GCC in many configurations (-Werror) so it ended up causing more problems than it fixed. Daniel agreed with reverting this, but I think didn't have time to get to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163583 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
4a4719cc441e9c45031aca1a024b58fac5ed9edb |
10-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] There is no __libc_malloc on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163498 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
|
8d6e3f7d011970e35dadf831964260bcf6a4d8a9 |
10-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Allow to call strchr() from __asan_init(). Fixes PR13794. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163493 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
0d02f1f1a076bd5931309f2cfc0422b477a4e7a2 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
[asan] Use a relative include path instead of requiring build system involvement. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163414 91177308-0d34-0410-b5e6-96231b3b80d8
san/dynamic/asan_interceptors_dynamic.cc
|
38b7c1bd5dcbd669759a31b6c9fb6e8683432896 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
build: Teach Makefile build system about asan/dynamic subdir. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163413 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/dynamic/Makefile.mk
|
f4e21fb6369497a271373ef4530e33a40e607542 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
[asan] Suppress some bogus -Winvalid-noreturn diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163411 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
0c2feef1067818db0ede4531a2e71c9b5595d57a |
07-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163400 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl_mutex.cc
|
8e23d275ec871c16b71f3a98cc475f0db8cb3863 |
07-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Remove the infinite recursion check for now, as we don't have __thread on Mac, and TSD is an overkill. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163393 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
5aabcb547a983653a754258d63e27e3790c564d3 |
07-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Two minor changes: -- exit from infinite recursion in CHECK() -- print a verbose message if mapping of the shadow memory has failed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163391 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
7315c26122cbdfee82f4dbadaedd5c1b85755503 |
07-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Raise quarantine size a bit with ASAN_LOW_MEMORY. Our tests expect that a 16M block will fit in the quarantine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163384 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
d79635960420cc24f2533a12ee221f51d8a98a81 |
07-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hack initialization-bug test so that it stably passes on both Linux and Mac: make the bug appear independent of the translation unit order git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163381 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/initialization-bug-extra2.cc
san/lit_tests/initialization-bug.cc
|
ef698124b4d1875bb793a4f1d885a3d2f1f538e1 |
07-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add Linux-specific test for initialization order that checks that we find a bug independently of translation units order git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163379 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/initialization-bug-any-order.cc
|
03e23bba872d0745ac6b30ead66631277269ac3d |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix code style git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163326 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
|
0ab628c61594eb80612e5389d9c33da0e0d70c66 |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase max shadow stack size + reduce memory consumption at the same time (by not memorizing full stacks in traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163322 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_trace.h
san/unit_tests/tsan_stack_test.cc
|
dd5a237b06a6fdd29e632a8a0966792a54664d00 |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163320 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
78c7f57e2dd5240b0c2c8bfefd8a776c517f1e22 |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fix two compiler warnings: must use at least one argument for "..." in a variadic macros, signed vs. unsigned comparison. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163314 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_rtl.cc
|
e0e9eea99d7a81a15c4bb15ff2e5ebd92b50817b |
06-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Use __ANDROID__ guard in asan_test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163313 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
e9f5785228eb19e64719a1a3e258d12639479c8c |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Use the return value of dladdr() to avoid Clang warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163311 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
6d924facc5c979a0d25f484cffcdb51c766ed551 |
06-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase max stack size to 256 (+test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163308 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/asan_thread.cc
san/lit_tests/deep_stack_uaf.cc
anitizer_common/sanitizer_stacktrace.h
|
6d8091d8f0a5f5edcd40f97022032257e2924c26 |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Add "movsbl %dh, %ecx" and "testb %r8, %r8" to mach_override. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=105 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163301 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
ba534e7fc561c4a61acbb1bbc03e0a02996c8e94 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] actually remove old makefile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163300 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.disabled
|
8cc1f81b2cc1fa0d4cda4f4635d955aed04c09c8 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] add support for running external symbolizer other than addr2line (for testing purposes) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163297 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_symbolize.cc
|
03e699f8c6ae2edab70c9db0b0c1e1d40025fa71 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove unused field git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163296 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
5b1f0202cefdab3970b4d5372777d586ffa49dd3 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Nuke output_tests/ in favor of lit_tests/. Stop using Makefile.old. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163294 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.disabled
san/Makefile.old
san/README.txt
san/output_tests/clone_test.cc
san/output_tests/deep_tail_call.cc
san/output_tests/default_options.cc
san/output_tests/dlclose-test-so.cc
san/output_tests/dlclose-test.cc
san/output_tests/global-overflow.cc
san/output_tests/heap-overflow.cc
san/output_tests/interception_failure_test-linux.cc
san/output_tests/interception_malloc_test-linux.cc
san/output_tests/interception_test-linux.cc
san/output_tests/large_func_test.cc
san/output_tests/memcmp_test.cc
san/output_tests/null_deref.cc
san/output_tests/shared-lib-test-so.cc
san/output_tests/shared-lib-test.cc
san/output_tests/stack-overflow.cc
san/output_tests/stack-use-after-return.cc.disabled
san/output_tests/strncpy-overflow.cc
san/output_tests/test_output.sh
san/output_tests/use-after-free.c
san/output_tests/use-after-free.cc
|
ff392a44a9af183de5adc8893ddd11ac77625d56 |
06-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase the maximal size of malloc/free stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163291 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
d1b8f588d6b712b6ff2b3d58c73d71614f520122 |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement readlink as syscall on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163213 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_win.cc
|
4a78b1e4685f34aa8a53287c51e4215880e554e0 |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Hack ASan lit config to allow running lit on tests manually git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163209 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/lit.cfg
|
5f799c78e5b1bd8105bab77a0935f27ee808dc97 |
05-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added tests for asan-initialization-order, patch by Reid Watson git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163207 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Helpers/blacklist-extra.cc
san/lit_tests/Helpers/initialization-bug-extra.cc
san/lit_tests/Helpers/initialization-nobug-extra.cc
san/lit_tests/Helpers/lit.local.cfg
san/lit_tests/blacklist.cc
san/lit_tests/initialization-bug.cc
san/lit_tests/initialization-nobug.cc
anitizer_common/scripts/check_lint.sh
|
0f7d4a4ad69ad20053d8b78c611853e778bd465a |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163204 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
656e4eef01b935e7d356e697e0f3ef4c99be2fbf |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add CMake support for building ASan benchmarks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163201 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
71b42c9740e6f73da607aaa539affb5c4807231c |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163200 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_flags.h
san/asan_report.cc
san/asan_report.h
san/asan_rtl.cc
san/asan_thread.h
san/lit_tests/deep_thread_stack.cc
|
1dc4cf7e253aefa3ce3bd4a1d349a13647e8b2ea |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163197 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
38e853db8353285da16416885da42219fee701c4 |
04-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Support for reading inlined frames from llvm-symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163140 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
aaac6e206453574d0130f2ae8d743f630d0c0a42 |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not crash with obscure message if a user passes invalid arguments to malloc/free/memset/etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163092 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
41e8153c4a29b28bc7c80d35bc1d43438acdd4e7 |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: insert cfi directives into assembly (not fully working for now, though) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163090 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_amd64.S
|
0542644830da123babea42f58416487be467c72d |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more robust current thread stack restoration git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163089 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
1da1056127d1dbcacdd035eb4149257848f7c4df |
01-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for mutex misuse git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163060 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
|
9adce675d5978dc8c584bafe724208bbab4ae72a |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when users pass insane mutex addresses in dynamic annotations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163016 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_mutex.cc
|
848531192777acecf79747dc7c1ffeedf5c1da9f |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add "as if synchronized via sleep" feature git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163006 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/race_on_heap.cc
san/output_tests/sleep_sync.cc
san/output_tests/sleep_sync2.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_stat.h
|
1b1de03d493b5d4950988924ee4ad900b6c78008 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build (2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162997 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
0d9c08d74cb5e697c5e3ad7ddfb9f5a414d249df |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build (1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162996 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
c00e30a77a2993bed741c00628b1e034ce01e44d |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: slightly optimize mutex unlock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162995 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_mutex.cc
|
7643a5077a01f56766e2e417d1346e8340710081 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of atomic_store(memory_order_release) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162994 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
|
84112a3553bfe10dd4c9e20567495804a15f4545 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve stack depot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162993 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stackdepot.cc
|
c79c21fb56b9df72d1d9f6623e936976193d2cf6 |
31-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] locate the auxilary space for tsan's Allocator64 after the main region, not before. This simplifies the shadow mappings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162991 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
98ea50788e8167dcd779ad43fc65103c52e0aa5c |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix overloaded operator error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162990 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
8790f0a7f39d61a806c7339abd45bb83c15ee042 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] Move draft code for llvm-symbolizer to compiler-rt/utils/llvm-symbolizer after chandlerc's suggestion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162988 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/llvm-symbolizer/llvm-symbolizer.cc
|
2acf5562bfd787c1667297c593ddfc0e35b91489 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove some calls to libc malloc from symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162987 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
678b2fe068a1ef87317ca0199cf24379a0f94e6e |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Resolve fixme: break dependency of sanitizer_common tests on TSan RTL git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162984 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_flags_test.cc
|
02aa242ba4452b2a45d7d099ac4700378be6c9c5 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make lint checking a standalone script in sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162982 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/scripts/check_lint.sh
|
184fdd7837ca5b4f2c8cfd2ba1fb1e32f3a5ffbe |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove lint checkers from our old makefiles in favor of buildbot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162981 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/README.txt
san/Makefile.old
|
ada92363bd7624a7bc76ba8da3b1ef264a2e830e |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Fix style warinings in output test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162980 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/race_on_heap.cc
|
5092682c3a6902e460a6e439cf48b3dc7d48dc65 |
30-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Whitespace/lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162909 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_thread.h
san/tests/asan_test_utils.h
san/output_tests/simple_stack2.cc
san/output_tests/static_init2.cc
san/output_tests/static_init4.cc
san/output_tests/static_init5.cc
san/output_tests/virtual_inheritance_compile_bug.cc
|
af31087cc618ad94702207558f421ef56bc55dfb |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: speed up allocator64 GetBlockBegin() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162908 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
9d6f5a88618689a145eb30674db22dbfa894c8ad |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: simplify TSAN_HISTORY_SIZE code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162905 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_trace.h
|
ff35f1d82b4f145b3477ef27a7a2e7b63c486988 |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use stack depot to describe heap blocks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162902 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_stackdepot.cc
anitizer_common/sanitizer_stackdepot.h
anitizer_common/tests/sanitizer_stackdepot_test.cc
san/output_tests/race_on_heap.cc
san/output_tests/race_on_mutex.c
san/output_tests/simple_stack.c
san/output_tests/simple_stack2.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
1b37017f0216d0b8f3ae3a7dea8b3cc20d74db25 |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: first version of "stack depot" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162897 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mutex.h
anitizer_common/sanitizer_stackdepot.cc
anitizer_common/sanitizer_stackdepot.h
anitizer_common/tests/sanitizer_stackdepot_test.cc
|
62825675e6b4f3d8459f745fe68ae30f236f82a5 |
29-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix flakiness of Linux-specific clone_test: waitpid should better be provided with __WCLONE option, otherwise it didn't wait for the subprocess, returned -1, and we went crushing the subprocess stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162842 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/clone_test.cc
|
2122f705fcad0316b5ff9d5e1e9260fd18191e1f |
29-Aug-2012 |
Alexander Potapenko <glider@google.com> |
For invalid pointers passed to free_common check whether they are actually skewed to hold an additional CFAllocatorRef. If so, fix the pointer and pass it to asan_free. See http://code.google.com/p/address-sanitizer/issues/detail?id=70 for more background. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162839 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
4fa111ccf225648a3de447a7a1ed6420b3c4b3af |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap inseted of InternalAlloc in InternalScopedBuffer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162834 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_printf.cc
anitizer_common/sanitizer_stacktrace.cc
|
5f0297b5176f6937c59c0180282ba1eee48a1c28 |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix tsan's Makefile.old -- our build bot still uses it (hopefully, will soon migrate to cmake completely) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162832 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/rtl/Makefile.old
|
a60844da5bbaaa60e546f3e2bd14a1763965ef65 |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan's Makefile.old -- our build bot still uses it (hopefully, will soon migrate to cmake completely) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162831 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_flags.h
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_interface.h
san/asan_poisoning.cc
san/asan_report.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/lit_tests/interface_symbols.c
san/output_tests/test_output.sh
san/tests/asan_noinst_test.cc
anitizer_common/sanitizer_interface_defs.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.h
|
60ab090deed8213613643729a7921ef0915ac704 |
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Some flag cleanup for the sanitizer runtimes. This hoists most of the CFLAGS into a common variable. It also adds detection for -Wno-c99-extensions and uses it to silence a pile of warnings. Finally, it switches to the proper flag -rdynamic. With this, the cmake build is warning free on my bootstrap Linux build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162809 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
80acccf4647c3482c3e3e6ae21e757ba580a5956 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] one more fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162762 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
anitizer_common/sanitizer_internal_defs.h
|
9ada1f376498647c8035f52b36d98bdf0f6363e6 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the cmake build (hopefully) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162760 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
|
c7be4077b90cae43f8e6d2d4de66ae64111dd715 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] actually doing 'svn add' helps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162759 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_stacktrace.cc
anitizer_common/sanitizer_stacktrace.h
|
69f2174b3bdee7fe6c6911778147fc7e35d57693 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162758 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
1b5ea8fbbef73f5d9b41dbb26a21b9a0f4d1445e |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] actually move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162757 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_stack.cc
san/asan_stack.h
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_internal_defs.h
|
cc347222d55967fdb775429a8a0a3a5d795b8b50 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] even more refactoring to move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162754 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_report.cc
san/asan_stack.cc
san/asan_stack.h
san/asan_thread.h
|
2b939c3abc8b7713ef28000bd768ca6d77445f45 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more refactoring to move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162752 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_stack.cc
san/asan_stack.h
|
8757a68c78f76fca32d3f2256fa70a7b550aa9e1 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] CMake build: share more compile flags between instrumented and non-instrumented tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162750 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
4c2ddda9ac80f94782b2b040208831233db578af |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] some renaming before we move StackTrace into sanitizer_common (part 2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162748 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
c3390df6670cb166119b961eb27a033fb9073496 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] some renaming before we move StackTrace into sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162747 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_report.cc
san/asan_report.h
san/asan_stack.cc
san/asan_stack.h
san/asan_thread.cc
san/asan_thread.h
san/asan_win.cc
san/tests/asan_noinst_test.cc
|
283c296b64bc55deec9698260b3427a9b050a925 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of AsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162746 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_internal.h
san/asan_malloc_mac.cc
san/asan_printf.cc
san/asan_report.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/asan_thread.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_printf.cc
|
2c29212c42d457ade0bbd1d01de92195dd9ce925 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] improve SetErrorReportCallbackTest to actually catch missing functionality in __asan_set_error_report_callback git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162745 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/tests/asan_noinst_test.cc
|
3ec16c550ab6b440f5fb76c607c78291eca163d1 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allow to create stub MemoryMappingLayout on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162742 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_procmaps.h
|
f7fa68f5efbd32acd36987ab55305a3abc037636 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] One more method stub for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162739 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_procmaps.h
|
d883c8007ea8b5ffad10d82a66b1bb262e109705 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] align allocation sizes in low level allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162676 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_flags.cc
anitizer_common/tests/sanitizer_flags_test.cc
|
b10027729a3b809469f6b6ad40407ca453d6f54a |
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan/Android runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162675 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
985aaaaf208f43e4b47625e21e9ebc434c5462e3 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] One more try to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162674 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_win.cc
|
947fbd1a073fcd38988c1ec131452e99bb0313f8 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use low-level allocator in flag parsing to avoid calling malloc() before ASan/TSan initialization is done git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162673 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_rtl.cc
san/asan_thread.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_flags.cc
|
e1f5dac9296df08ff83ae5fca51ce4da995b55cf |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename ProcessMaps to MemoryMappingLayout and fix Windows build by providing stub implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162671 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
san/rtl/tsan_platform_linux.cc
|
1069b9a6845a95e3482f9ee68d8e5b3e970fa11c |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add missing build dependency on sanitizer_common headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162670 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
|
3891ce634380845d337cd865e559f4abbdc8ebdb |
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
A few tweaks for building ASanRT against Android NDK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162666 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_malloc_linux.cc
san/asan_mapping.h
san/asan_new_delete.cc
san/asan_thread_registry.cc
anitizer_common/sanitizer_symbolizer_linux.cc
|
70e177e29c6f9ac987b65a79f6b4f3ebdabc75cc |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move low-level (mmap-based) allocator to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162663 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
san/asan_thread_registry.cc
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
|
ae46cd0e92794f3b18f49f94c081e414fb7e1367 |
24-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve memory allocator a bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162561 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
f5b925fde9c855eab4fbc71354e79cc777ed19ec |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Revert the erroneous changes made to Makefile.old in r162547 Remove a spare newline from asan_rtl.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162548 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_rtl.cc
|
eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3 |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
If the program is linked to a dynamic ASan runtime which is not present in DYLD_INSERT_LIBRARIES (which, in turn, is required for our interceptors to take effect), re-exec the program with DYLD_INSERT_LIBRARIES set. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162547 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_flags.h
san/asan_interceptors.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_win.cc
|
1e2525d0ec9ac64e583b57316ea30cecce591fb1 |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add add_clang_runtime_shared_library() CMake function and use it to put the shared ASan runtime in the appropriate place. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162546 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
|
6490f0d0b9a761083016aa469c9cce72b341b0a4 |
23-Aug-2012 |
Stephen Hines <srhines@google.com> |
Fix up compiler-rt for upstream merge to r162279. Some new files to compile + fixing an unimplemented function that now returns a value. Change-Id: I088a9830a9a1e0702442a5ca78716465c300e7af
san/Android.mk
anitizer_common/sanitizer_symbolizer_linux.cc
|
58948471cbd30eca1336a27687093f08b7f44bdd |
24-Aug-2012 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge_2
|
ffad0c4bc88056f5c9360af792ef2e6c1e8259bf |
23-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to override per-thread event trace size useful if you don't see the second stack trace git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162456 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_trace.h
|
557042cfb5c2b1b7906dbfe968e88894a2fdb50e |
23-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix new memory allocator Deallocate: drain blocks to central cache if cached too much (instead of never drain). Allocate: batch allocate fixed amount of blocks (instead of all blocks). This significantly reduces memory consumption of large heavy-multithreaded programs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162447 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
5e26975bd20e2da2838310f995d21fb311bd847b |
23-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add external symbolizer binary. Next steps - include it in CMake build (produce 32-bit and 64-bit version of it, make sure we can compile LLVM sources with our own flags) and add tests for it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162442 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/llvm-symbolizer/llvm-symbolizer.cc
|
af198e421ea198c5f9fa8cd691aa9a209b3d96a0 |
23-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Re-implement the wrappers for libdispatch functions using blocks where appropriate (kudos to Anna Zaks for a good example). This simplifies the code much and lets us not implement internal parts of libdispatch. All ASan tests from t32 and t64 should pass with the dylib runtime now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162439 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
|
9c6e5303fa025a73a09cee0766ae403909b1bb8b |
23-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Switch the symbolization strategy that would be used by sanitizer tools family: as compiling in-process symbolizer into runtime involves certain difficulties, we may instead launch an external symbolizer program (fork + execl) in a subprocess and communicate with it via pipe. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162437 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_llvm.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
|
06a7153ecdd8414a7e2116eb5841c89f1855a267 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use write instead of puts in malloc hooks test for ASan, as puts calls malloc on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162359 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/malloc_hook.cc
|
c93d3e2bdfb1ad9cce26a6e8d66764ed97a6d6b4 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162358 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_win.cc
san/lit_tests/interface_symbols.c
san/lit_tests/symbolize_callback.cc
san/output_tests/test_output.sh
|
b21de9e71522a7f9ed31fd92aafe6936873a971c |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make ASan malloc/free hooks weak interface functions, overridable by user. Now the user can control malloc/free hooks without recompiling ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162355 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interface.h
san/asan_rtl.cc
san/lit_tests/malloc_hook.cc
|
df1f2eff455d823e0f211fe3607cce7f4f17bef7 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix CMake build: make sure that all ASan runtimes are built at correct directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162353 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
14c8bd7250742749e44e306c02a56cf47ad1db82 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] switch tsan to using InternalScopedBuffer from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162351 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
san/rtl/tsan_mman.h
san/rtl/tsan_printf.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
128892cb26ee50b0fa2171198c7a919540dcd4e7 |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162279 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
3945c58f9db42671b1a3b865fde5008f09a3a40e |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162278 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_globals.cc
san/asan_interface.h
san/asan_internal.h
san/asan_report.cc
san/asan_rtl.cc
|
251134734f71a7e21a7bd17bc7b5821f07c803b2 |
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement internal_strcspn git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162272 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
|
2bf265b3faf8be1710e9a0441fe9344e105e991c |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] update asan-rt to match the interface change in LLVm (r162268) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162269 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
|
6611abe0c2737a37c1c69f0527a35bb34875221d |
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It is defined analogous to similar class in tsan and should replace it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162262 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
0ffc227f91b068c78908f735a4846f92e339a337 |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162258 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
2483ce3e635515d907c0cd8c97db315142fb28db |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Dynamic interceptors for dispatch_async and dispatch_after. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162202 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
|
b09dd34786713a150fed5c5ab1529f01de0e2bc0 |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Minor refactoring: reduce code duplication by introducing a macro for dispatch_sync_f, dispatch_async_f, dispatch_barrier_async_f bodies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162199 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
5ffb40c5532932d4a20738222a43286cf153de52 |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Fix a leftover #if defined(DYNAMIC_MAC_WRAPPERS). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162197 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
55e711ed818d7553d62eba4b3a2fad3e2723f697 |
18-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: proper handling of linker initialized mutexes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162169 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_sync.cc
|
a911c6f1d0c6f8b7e175bd36e7044d79cdcf5153 |
17-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Non-executable stack for hand-coded assembly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162112 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_amd64.S
|
9ee7cf199bbeb71788088d880d453b8ac9d2fca0 |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Intercept siglongjmp and _longjmp under "#if ASAN_INTERCEPT_*" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162103 91177308-0d34-0410-b5e6-96231b3b80d8
san/dynamic/asan_interceptors_dynamic.cc
|
beda44f87166f91dbeef3d174d77395653bead4d |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Fix lint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162092 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
0ef531054fc25c11e372cbab1384f10954984219 |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162091 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_interceptors.cc
san/asan_malloc_mac.cc
san/dynamic/asan_interceptors_dynamic.cc
nterception/interception.h
|
ad3e3f97fdfe365f9972bc71e3bd535c94a29abe |
17-Aug-2012 |
Keun young Park <keunyoung@google.com> |
enable libcompiler-rt build for mips - without this, build with clang fails. - MIPS version only uses c version Change-Id: I360c99e658b021eb8d0eea271160690ce1a29152
ndroid.mk
|
bbbb20b7212155ebc5b5b4ee1c68c987dcf30320 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve Go report format + fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162042 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_thread.cc
|
fd513907acd3e2eaa02070edaa24df66648dc2ac |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to disable reporting of destruction of locked mutexes (some programs use that on a regular basis) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162024 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_rtl_mutex.cc
|
332c62b52b3603be872b28bd3ea5e739aa28cd05 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for destroy of a locked mutex + a test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162022 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/mutex_destroy_locked.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
|
2e933fc077595b18de37d2ed44e8f14c6053a432 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support for linker initializer mutexes with static storage duration git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162021 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
|
539121b7be56780045ba1e9c0aea826626cb638a |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT shadow mapping once again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162020 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
|
c20e9ba760a93706c9160133cdcce62194f9694f |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement RWLOCK annotations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162019 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_stat.h
|
eee7f733f047bbd58b0787e6c492fd1bed375cc0 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT shadow mapping for new memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162018 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_rtl.h
|
64310b28c4e418573ddfda2dbedd702ccf20a051 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor cur_thread() -> thr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162017 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
9bbc579e11900741551b81b5e91d22ca47d70b26 |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: store sync objects in memory block headers + delete them when the block is freed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161959 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
san/rtl/tsan_mman.cc
san/rtl/tsan_sync.cc
|
26af89330051837bab68dcf25cf669c194b4e310 |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: provide function that imitates write to a region but does not detect races git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161957 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
|
23ff97daaa73e858aa2d35618276886c2a8f1e95 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Remove the extra semicolon reported by the buildbot. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161954 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
|
2e87051d136db3150a3ca322d8862f92b0a684bb |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to new allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161953 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mman.h
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
05bf9a51dfeac0f84f6dbc2dacf987249c0fc612 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161952 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_intercepted_functions.h
san/asan_interceptors.cc
|
9029bdaa43ba59bbc0e73ccb9fa4a0f578bc283d |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] lit tests: use nm instead of llvm-nm, until llvm-nm becomes usable on Mac. Port output test change in r161948 to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161951 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/interface_symbols.c
san/lit_tests/sanity_check_pure_c.c
|
cbeeced8f995ca0689131af2c4ad864e9e8fd88f |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add some more tests for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161950 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_test.cc
|
fcf1c6fceba8fc39a2933c0ed3709a0d70a4b1ec |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix several integer overflows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161949 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
d14db182365578e79f5f60c5cf1052d5f9a0edef |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161948 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/use-after-free.c
|
5cfa30e23c092df3265b1ff9e205f36874a2e194 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Pass offset of the frame address within the binary to addr2line instead of the absolute address. Fixes the problem with -PIE binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161947 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
71d47fff39a675607933e84071b2e342cc989a0a |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Patch the frame address regardless of the frame number. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161946 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
|
37c4853762c6123a5fef0042d8f65193791b355c |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Move the prototype of __CFInitialize to asan_mac.h so that asan_malloc_mac.cc may use it in the dynamic library mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161945 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
|
ec3b0732a62bd0a52da7bbfc4e227038ccf9372c |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use SANITIZER_INTERFACE_ATTRIBUTE instead of __attribute__((visibility("default"))) Export CheckFailed, asan_malloc, asan_free, asan_memalign, AsanStackTrace::CompressStack, AsanStackTrace::UncompressStack from the dynamic runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161943 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_rtl.cc
san/asan_stack.cc
|
11f2b17a5cae796c047a7e22bea4452da337bbce |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make __asan::asan_{malloc,free,memalign} globally visible, so that the dynamic version of the runtime will export them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161942 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
a10d1dccd93a4aed127719e75a457987a2e8932c |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[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... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161941 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/clone_test.cc
san/lit_tests/Linux/interception_failure_test.cc
san/lit_tests/Linux/interception_malloc_test.cc
san/lit_tests/Linux/interception_test.cc
san/lit_tests/deep_tail_call.cc
san/lit_tests/dlclose-test.cc
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/interface_symbols.c
san/lit_tests/large_func_test.cc
san/lit_tests/lit.cfg
san/lit_tests/memcmp_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/shared-lib-test.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/stack-use-after-return.cc
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
|
f0c6de3d91ba5cdfbb17a630e823523c7d433160 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Do not attempt to intercept mlock and friends on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161939 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
00f1c091441be5c2cacb99e21bd1965a5e418242 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use the common interception machinery for mlock/munlock/mlockall/munlockall. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161938 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
589231cf31932e3a132b8fe37b0425d46abe6d32 |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use clangxx_asan instead of clang_asan for C++ lit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161936 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/clone_test.cc
san/lit_tests/Linux/interception_failure_test.cc
san/lit_tests/Linux/interception_malloc_test.cc
san/lit_tests/Linux/interception_test.cc
san/lit_tests/deep_tail_call.cc
san/lit_tests/default_options.cc
san/lit_tests/dlclose-test.cc
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/large_func_test.cc
san/lit_tests/lit.cfg
san/lit_tests/memcmp_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/shared-lib-test.cc
san/lit_tests/stack-overflow.cc
san/lit_tests/stack-use-after-return.cc
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
it.common.cfg
|
41f85b9e6a88f801955d99c8a8233b97e64c51ff |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161935 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/global-overflow.cc
san/lit_tests/heap-overflow.cc
san/lit_tests/large_func_test.cc
san/lit_tests/lit.cfg
san/lit_tests/memcmp_test.cc
san/lit_tests/null_deref.cc
san/lit_tests/sanity_check_pure_c.c
san/lit_tests/sleep_before_dying.c
san/lit_tests/stack-overflow.cc
san/lit_tests/stack-use-after-return.cc
san/lit_tests/strip_path_prefix.c
san/lit_tests/strncpy-overflow.cc
san/lit_tests/use-after-free.cc
|
2ad9b21f865d305057deadb839d673cc499b439e |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] port interception and shared library tests to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161933 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/interception_failure_test.cc
san/lit_tests/Linux/interception_malloc_test.cc
san/lit_tests/Linux/interception_test.cc
san/lit_tests/SharedLibs/dlclose-test-so.cc
san/lit_tests/SharedLibs/lit.local.cfg
san/lit_tests/SharedLibs/shared-lib-test-so.cc
san/lit_tests/dlclose-test.cc
san/lit_tests/shared-lib-test.cc
|
c58b57eac9cc1a495f3c8ffa5fe4a5cf55e96a6a |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move declaration of __asan_default_options to interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161932 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_interface.h
san/output_tests/test_output.sh
|
0aa04b3f432bc55e7c116d5280685ee3f243be8e |
14-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better diagnostics for mmap failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161874 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
anitizer_common/sanitizer_posix.cc
|
08d978809ac98095815e5cab80caeb0089f89a1e |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure __asan_default_options symbol is exported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161873 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
c6b8716d9acd202d311a7d9095eeed440bba1ce5 |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure __asan_default_options gets default visibility, port corresponding test to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161869 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/lit_tests/default_options.cc
|
25fa5e1f50d74a2499d73657535dc043d2f5607b |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] support for running OS-specific tests using lit, port clone_test as an example git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161864 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/Linux/clone_test.cc
san/lit_tests/Linux/lit.local.cfg
san/lit_tests/lit.site.cfg.in
|
6e893b61094a3bfb1a9f92fb019dd6fb153076b5 |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move OS-dependent pieces of symbolizer to separate source files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161862 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_symbolizer_linux.cc
anitizer_common/sanitizer_symbolizer_mac.cc
anitizer_common/sanitizer_symbolizer_win.cc
anitizer_common/sanitizer_win.cc
|
7d15f5dc87f980d7931fbc036a0b38e2eee16718 |
13-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: handle larger number of goroutines + fix a memory leak of goroutine descriptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161770 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/tsan_go.cc
|
e2430d22c5f9055622a98dc9f885fc73b64cba23 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks to cool test by glider@) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161756 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
f657a1977b6053c76ca8393f574da7593ea3ea12 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161754 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_report.cc
san/tests/asan_noinst_test.cc
|
be98caf9fe5e7b94b2009616cf31f0d87cf98d67 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161749 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
|
0b56247d81a9b3accf118b1af2aaa7766451450f |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Return cmake support for setting compile definitions for sanitizer_common library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161747 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
|
de782581b15534c627bf19589d33ceff5a3e5c78 |
12-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix parameter type for pwrite64() interceptor git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161741 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
9873792adb79e9daa1594564cbe5b2d680c5ed13 |
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] share code executed at the beginning/end of printing error reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161666 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_report.h
san/output_tests/null_deref.cc
|
fe51abb4949ad9976168bf53edb52c20016b9a0d |
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] CMake support for building ASan runtime as a universal binary on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161665 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
79fc3c042bbe8348fb6f3bff7a5575e4425e5a38 |
10-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Remove the setjmp.h dependency, fix the comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161662 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
d262653fa207c6ee89700f192c5ff809a8ed6f52 |
10-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Temporary fix for http://code.google.com/p/address-sanitizer/issues/detail?id=99: 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(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161661 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
5a9938d4de74d41cb5f167f751a621dfb7545b64 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161582 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/output_tests/test_output.sh
|
0b7981a619a3e9205084e6c27c8001d76056f199 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make the non-interface mach_override functions static to avoid name clashes with user code that may contain its own mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161577 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
663c50134e01feefb6c5418c6ec7753be951c14f |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move mac-specific error reports to asan_report.cc as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161576 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
san/asan_report.cc
san/asan_report.h
|
812ff90eaad0e4555554ffb81db0e611ec434e10 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Small fix to please tests on Windows, where stack unwinding using provided pc/bp works too bad git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161575 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_report.h
|
c98570beff64ec0a513dcc11a4662ffba70e43dd |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move __asan_report_error implementation to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161574 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_report.cc
san/asan_report.h
san/asan_rtl.cc
|
448fe9a2383222633194754de34e6a3c0351ac68 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use a switch instead of a simple condition in force_interface_symbols(). Otherwise Clang eliminates everything after the first interface symbol that is marked noreturn. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161573 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
e4bfca2b154a6ab4eda921aff454035f33f3551a |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move code that describes globals to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161572 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_report.cc
san/asan_report.h
|
e218beb2d14b663bd277158f386a86d0e62fef74 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move some functions that describe addresses to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161571 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_globals.cc
san/asan_internal.h
san/asan_report.cc
san/asan_report.h
san/asan_rtl.cc
|
487fee7f6f7497906a00d7d2fe2c75e6d5d4feb1 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reporting code away from file with interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161570 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_report.cc
san/asan_report.h
|
f7c1d18183d2dfbd02864cf47b3239d6a5d717c0 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161569 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_allocator.cc
san/asan_report.cc
san/asan_report.h
|
7354509ec8a37262c5ea0c54f99afee8a5116ce5 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[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... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161568 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_posix.cc
san/asan_report.cc
san/asan_report.h
|
8fc90f6fc29caf89dca63a756ea0ebbeb4f65df9 |
08-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161485 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
9b7409ad61a3448f44fa9911debdd52ad0a6d3c8 |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] simplify cmake rules for adding lit testsuites git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161412 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
|
6ffcb580a0b1a086c4ffa1f943ed983c2bc6b97d |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add llvm_tools_dir to lit.site.cfg for ASan and add it to PATH git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161411 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/lit.site.cfg.in
it.common.cfg
|
4afc63c18f7d811f31dbd2e5d825ce9d10c93dec |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add support for running unit tests by lit (as a part of 'make check-asan' command) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161406 91177308-0d34-0410-b5e6-96231b3b80d8
san/lit_tests/CMakeLists.txt
san/lit_tests/Unit/lit.cfg
san/lit_tests/Unit/lit.site.cfg.in
san/lit_tests/lit.site.cfg.in
san/tests/CMakeLists.txt
it.common.unit.cfg
|
6dd1dde531b8fb6cf7a3e1dcda86170f6ac3a988 |
06-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix names of malloc/free replacements on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161322 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_linux.cc
|
4e21c6bc78bdc36736cd61639a160ea5f725b333 |
06-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add new ASan option 'strip_path_prefix' to remove useless prefices from filenames in stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161321 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/asan_stack.cc
san/output_tests/test_output.sh
san/output_tests/use-after-free.c
|
531c7d983da8debc447c1b3f9aee76a291376705 |
06-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161320 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
51584046b5a19fcc3ef47a0ade2e88b58ded7e81 |
06-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Apply changes to migrate to compiler-rt upstream. Change-Id: Icf463f4b5aa004794ace9acb34a22e434ae71b53
san/Android.mk
anitizer_common/sanitizer_allocator.cc
|
57cdbbc3ec7ac5ec4a467d48b42226d674aebbf7 |
06-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Merge with compiler-rt upstream r159129. Conflicts: lib/asan/asan_mapping.h Change-Id: Id688bc0eab234e600214216ebc469cdf01ac506c
|
897e89f84c42bd166521684c1aedb7d5bec6954b |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Implement LinuxSymbolizer instead of symbolize_addr2line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161181 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
8e39869fdc1c56eeaedb6b793e5ada67f41925f3 |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161176 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
a8fbcd7163d199edaf4f3f71a05403b79207fc2f |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161170 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception_win.cc
|
bfa11b66d2d9e677be00164d44bcc0c9c6bc8f82 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Follow-up for r161168 for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161169 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception_win.cc
nterception/interception_win.h
|
592d3f707e02968c75fd6e90d06d24f5df99c8b9 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161168 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
nterception/interception_linux.cc
nterception/interception_linux.h
nterception/interception_mac.cc
nterception/interception_mac.h
|
37b3fcd6fdec5740fe51fc1315c5d4d54313de98 |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161167 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
668accc51f93df21fb0273d2ff10f7c86e757813 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix warnings to please cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161166 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
90b60b1a9a097a4109405b8ab0a13581726f94cb |
01-Aug-2012 |
Alexander Potapenko <glider@google.com> |
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) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161116 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
3dc47e5969979689dbf5f3743f501cd2beac03cc |
01-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make ASan/TSan sources depend on headers from interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161113 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/rtl/Makefile.mk
|
fd2ae4fc7df0e5acd200f30d87bbc6b96830a989 |
01-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup interceptors code - prefer ASAN_INTERCEPT_FUNCTION_NAME macro to _WIN32, __APPLE__ etc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161109 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
7274ff82fab3b167514e2aba81aa775d9fd73ca8 |
31-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161050 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/lit_tests/CMakeLists.txt
san/lit_tests/deep_tail_call.cc
san/lit_tests/lit.cfg
san/lit_tests/lit.site.cfg.in
it.common.cfg
|
970a9b9c6c6bb894557fe2d1779118ee8c3070d8 |
31-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Factor out the main() function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161046 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
41df5652a12b45998111ca2aca09fc0c63674684 |
31-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161045 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_symbolizer_llvm.cc
|
b0bb7fb31301ee9ac9cf41f21d3a19987dc30609 |
30-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix cmake build warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160957 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
8f88dd2f955e8f73944abb591d15a99b4e6b0358 |
30-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] delete trailing spaces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160955 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_clock.cc
|
9d150bdb433ddd092073dabd87ba15aa176603a1 |
28-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add ReleaseStore() function that merely copies vector clock rather than combines two clocks fix clock setup for finalizer goroutine (Go runtime) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160918 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/test.c
san/go/tsan_go.cc
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_thread.cc
|
715c74611317d2e76f2b1dd854208eac238944ef |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160875 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/test.c
|
837279471ab81dcb732230ff67656030b4d75ee9 |
27-Jul-2012 |
Stephen Hines <srhines@google.com> |
am 213fe112: Merge changes I25b72142,I4800ba14 * commit '213fe1121889ea8a2c23f78f189d8f48a59dde3c': Update for ASan cherry-pick. [asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks)
|
4800ba143bc7ad9eb5236f89ab6aa3c2474ba160 |
27-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160853 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
6b2804f4a5d8891728c030e1ac93f719eaad3171 |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change event handling from single HandleEvent() to a set of separate functions (Go runtime) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160863 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/test.c
san/go/tsan_go.cc
|
c1527fd9915bd4b6032d799170ceb9195cf840ab |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tasn: do not remember stack traces for sync objects for Go (they are not reported anyway) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160861 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_sync.cc
|
93ec44001a5a5a0f5dfd8321401175730bcbacc9 |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unnecessary and wrong include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160860 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
8648e7734ff02a25706464e9e294bd217622bcae |
27-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160853 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
37f52abd6f8240f04c76c593b4221780d26881f0 |
26-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make the runtime library name tsan-neutral for Go upstream git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160797 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
87dbdf5fd6cb9f1b90a0a97b7675bd8cad8a0264 |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow environment to override OnReport() and OverrideFlags() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160728 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/rtl/tsan_flags.cc
san/rtl/tsan_rtl_report.cc
|
8f1104cbf1af615242e14c66d1b3dd9e8437b152 |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suport for Go finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160723 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
8971f0c82317f02bd3ea137a5be92d9f43191f7c |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: expect that Go symbolizer can return NULLs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160722 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
4d57f44ae53d766d77fd21ceee5f0b7e56429b04 |
25-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
cmake for compiler-rt: add a function to set output dirs for compiler runtimes equal to directory used by Clang driver. Use it for ASan runtime. Also, make sure that ASan unit tests depend on the ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160721 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
san/tests/CMakeLists.txt
|
b831086e7c1e6004cf57594ec81b662f290dc2ac |
25-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't return from a never-return function. fix a test that had a chain of bugs instead of just one git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160719 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
|
b750c4c8af128bdd63543f3715f2c147fc3e95bf |
25-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixup for r160712: provide a default definition for weak __asan_default_options() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160718 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
|
8a1dd56a284de3bb94ebcfaace49266bdf0d26c1 |
25-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Make __asan_default_options a weak function that returns a const char*. Users may define it to override the default ASan options. This function has to be marked with __attribute__((no_address_safety_analysis)), because it is called before ASan is fully initialized. Add an output test checking the __asan_default_options functionality. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160712 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_rtl.cc
san/output_tests/default_options.cc
san/output_tests/test_output.sh
|
853733e772b2885d93fdf994dedc4a1b5dc1369e |
24-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: align report style with Go internal format git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160672 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/test.c
san/go/tsan_go.cc
san/rtl/tsan_report.cc
|
b0af63965aeab26c463dd761f5b2b9cf8560065b |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert r160669 (except for compile flag updates) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160671 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
43046e0b628df7eaaec266a4b6c9e9a998b02120 |
24-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output goroutine creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160670 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_report.cc
|
a43a62a25c55b811052249380cb6d2f7d020a8fc |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hacking cmake build: after generating asan runtime, copy it to the Clang lib directory where Clang driver expects to find it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160669 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
|
1a7741b4e3c50a986502507fa8055475dd0fa0d0 |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160666 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_break_optimization.cc
san/tests/asan_noinst_test.cc
|
75b19ebf25af204cf209d108997272822241d6da |
23-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Intercept CFAllocator for each thread in the program. Test that child threads use the ASan allocator, that allocated memory can be passed to another thread and deallocated on it. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=81 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160630 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_mac.cc
san/asan_thread.cc
san/asan_win.cc
san/tests/asan_mac_test.h
san/tests/asan_test.cc
|
63201b127e21d6fbfb6de62d0e44a5de01288153 |
23-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] minor fixes to silence cmake build warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160624 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
|
79d12e87fbcc1b2342d76367b99b83adf9cbf499 |
23-Jul-2012 |
Alexander Potapenko <glider@google.com> |
For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check. Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160620 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mapping.h
san/asan_rtl.cc
san/tests/asan_noinst_test.cc
|
08e80a43a4046f50270cc86b5ad3a16b94375f97 |
19-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] subtract one from PCs in ASan error reports (as they originally contain return addresses). Make output tests stricter. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160508 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
san/output_tests/heap-overflow.cc
san/output_tests/large_func_test.cc
san/output_tests/null_deref.cc
san/output_tests/shared-lib-test.cc
san/output_tests/strncpy-overflow.cc
san/output_tests/use-after-free.cc
san/scripts/asan_symbolize.py
|
06c2e8fa4e4be2bddeade510b263b12f80945e4f |
19-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160504 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_allocator64_testlib.cc
|
47b5f041d50c59f26b61c7e704de9b4beaea720a |
19-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160503 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_testlib.cc
|
c603ad2a1ce425d7f3f74102c9d9fd37b1aea847 |
19-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Suppress the stderr output from atos. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160502 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
75983dd851e39e5ba70edeeda19cfaedbd114cb3 |
19-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] When obtaining the data for loaded modules, add address ranges of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160498 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
389b74b723c0222aa3a485cc5d0127a401952f35 |
18-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor enhancements in the new tsan allocator and a test malloc replacement library that can be linked to any program to replace malloc (tested on spec2006) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160436 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
anitizer_common/tests/sanitizer_allocator64_testlib.cc
san/Makefile.old
|
5164ad434eccbfa9ad8097cf25146626313643f9 |
18-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix confusing error message in CheckFailed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160435 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_report.cc
|
219f20b5985371c4cfcef3e6f85fb94e8f3bc0e6 |
18-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add missing unit test for flag parsing (forgot to run svn add before) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160428 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/tests/sanitizer_flags_test.cc
|
6fbecdd97512bd7d9ccef130e99650d446b50444 |
17-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] cleanup header comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160359 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_mac.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_trace.h
|
b134ffa00ce2a4cbf7f48ac029e31c3e6e23ff6b |
17-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of the last operator new call in asan rtl git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160347 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread.h
|
bca62bd769f7d736c0e1953c5682d176cd1090a4 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add platform suffix to Go runtime library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160304 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
9cff0c0013f388ed96da5ba3707dfb19a1d2860f |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: treat malloc() as memory access in Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160289 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/tsan_go.cc
|
25d1c799087af5757ab6efc4a77558565fb1744a |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use dynamic shadow stack for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160288 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_mman.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_trace.h
|
e716b602e8066ede297b5e0be4d23720c26cdcf9 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase number of dead threads for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160283 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
23397107087ad88141393a282cfbbd95d6ba28a6 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go runtime: support goroutine end event git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160282 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/test.c
san/go/tsan_go.cc
|
3f24d6386cea638f5d4bc1694d1de02917988bcd |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160267 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_platform_mac.cc
|
5b266cb19c9c18ab5da77441de5cb45f0f4abac1 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: port Go runtime to Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160266 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/tsan_go.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_mac.cc
|
0dc3177d6c54fafb9577254a93b2f3c4169129d7 |
16-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement straightforward nlogn sorting, as qsort() may call malloc, which leads to deadlock in ASan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160262 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_common_test.cc
|
7ffba067f66c153c1f760a782a1176fb2b09e969 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to pass CFLAGS to Go runtime build script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160259 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
|
4cce3a525faccf5906440b7efdea317957221e68 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing test for Go runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160258 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/test.c
|
b93c3d5badc4066120edf3ed1c515cdd516a8776 |
13-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] use internal_strnlen in strncpy interceptor (the bug found while booting chromium) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160171 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
eb1b5f3d43d824924e799caaf75e8cf48a3674d5 |
11-Jul-2012 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/11668446> Add .subsections_via_symbols to Darwin assembly files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160062 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
9b1b10193420f5adc769eda0d5bd548e429e0ce2 |
10-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix CMake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159988 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
anitizer_common/CMakeLists.txt
anitizer_common/sanitizer_flags.h
|
7ed1d2b699767dd1875994cb625d51a95b44221a |
10-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move flags description to separate header, add comments about them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159985 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_flags.h
san/asan_interface.h
san/asan_internal.h
san/asan_rtl.cc
|
4fbbcbea41c91498ac4cfbb3d3c7e1d83d7bb380 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: remove dead flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159934 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
|
cb8c4dce691097718d5af41b36899b72ef4b1d84 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use common flags parsing machinery. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159933 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_malloc_mac.cc
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
san/asan_thread.cc
san/asan_thread_registry.cc
|
f3be7069465c15b4c3f6719423d6075b0cf5a871 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move flag parsing routines (and unit tests) from tsan runtime to common runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159928 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_flags.cc
anitizer_common/sanitizer_flags.h
san/Makefile.old
san/rtl/tsan_flags.cc
san/unit_tests/tsan_flags_test.cc
|
8428a6a9f6b6bf67a5e70374c9777e6228dc93bf |
08-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Suppress a lint warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159915 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
cb3a6b82ae406613f8870519d2acda1ee1c8f2b5 |
06-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159856 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/tsan_go.cc
san/rtl/tsan_platform.h
san/rtl/tsan_rtl_report.cc
|
c510a2f264a22ff60333fc48e5fa12d41cefba3c |
06-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go lang: symbolize stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159827 91177308-0d34-0410-b5e6-96231b3b80d8
san/go/buildgo.sh
san/go/tsan_go.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl_report.cc
|
deafb6bd5252c2d6ccef070ea572b04329657ea9 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] start using AllocatorCache in CombinedAllocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159825 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_list.h
anitizer_common/tests/sanitizer_allocator64_test.cc
anitizer_common/tests/sanitizer_list_test.cc
|
0fedcd5abe8e9d51dc7177cf2fa239d9b83e270b |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Small fix: do not replace the default CFAllocator if it has been replaced already. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159824 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
541c620af9db64d523f013b45dfce97a8e14878c |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] implement SizeClassAllocatorLocalCache (part of tsan allocator) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159823 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
23a3b760646aab699d29896d4feaf2fc84ec3955 |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Because CFAllocatorCreate() should also be called after __CFInitialize() on Lion, do so by factoring the CFAllocator logic into ReplaceCFAllocator(), which is called from either the __CFInitialize wrapper or __asan_init(), depending on which of them is called later. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159822 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
bf9f6fbf015f687784e26f26570924be4ca3924f |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
A portable way to check whether __CFInitialize has been called: compare kCFAllocatorSystemDefault._base._cfisa to 0. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 on both Lion and Snow Leopard. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159821 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_mac.cc
|
d079db6dfbf3b0ec5fa1cc8d093e0dae6f970bf8 |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Do not check for __CFRuntimeClassTableSize on non-10.6 systems, where this symbol is private. This change may cause http://code.google.com/p/address-sanitizer/issues/detail?id=87 to re-appear on Lion. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159819 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_mac.cc
|
816398d9584ff3ce2389030c810c20f3bfdcfdf8 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] use intrusive list in the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159814 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_list_test.cc
|
5a2327c20ab8ff8185faf51d7abc72c012a763f9 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add intrusive list to be used in tsan allocator, etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159812 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_list.h
anitizer_common/tests/sanitizer_list_test.cc
|
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 |
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_interface_defs.h
anitizer_common/sanitizer_posix.cc
san/go/buildgo.sh
san/go/tsan_go.cc
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
decaec9ee3177b5e81e358ad8e93ab70b38a1cc0 |
05-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 by making sure we replace the default CFAllocator only after __CFInitialize has been called. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159749 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_malloc_mac.cc
|
c4a3ff32a4ebc7710c8975b9de532493aadcf982 |
05-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add a default constructor for DWARFSection to initialize it with zeros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159748 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.h
|
00d345c87c2e36a11d2d64e67f49b13cf17c91a4 |
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: kill STL First, placement new from standard library conflicts with our own. Second, we are in trouble if user uses the same function (we either get instrumented code in runtime, or non-instrumented code in user program). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159738 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.cc
|
8b0c66f5d7ed3829d797f2400d24557f1e0ec8eb |
05-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] reg test for tsan issue #3 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159737 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/virtual_inheritance_compile_bug.cc
|
bc12f5d836b161b881de91e29548cfbc014243a3 |
05-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] add a new option 'use_internal_symbolizer' that allows to choose between addr2line-based and llvm-based symbolizer w/o having to rebuild the runtime. This is hopefully a temporary solution that simplifies testing process. In the end, we should leave a single symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159730 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_symbolize.cc
san/rtl/tsan_symbolize.h
san/rtl/tsan_symbolize_addr2line_linux.cc
|
81794a2e2fc962e5d68a751d25659ae610e83e40 |
04-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Improve output tests: allow reports to contain file:line:column instead of file:line git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159714 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/race_on_mutex.c
san/output_tests/simple_stack.c
san/output_tests/simple_stack2.cc
|
e93be8414babdb4f4dbb31dc8b34a81809ca7c11 |
04-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Do not call malloc_zone_from_ptr() for the pointers passed to mz_size() and mz_free(). These callbacks assume that the memory belongs to asan_zone, so it's incorrect to pass it to another one. If a need for this appears (e.g. system libraries free the memory using wrong zone), it should be documented. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159713 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
c2018c124e4b3fe463bb996e57a0d7aa552b12f4 |
04-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Minor fix in symbolizer output. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159709 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
|
fe67024cb480fb185ae5c6d7492074c26014f971 |
03-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixup for r159652 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159655 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
a68633fb76208137ccb807914df52758ee5ca6f0 |
03-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159652 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_win.cc
|
c3d169863cd29a9a052bd9a21288f8cd4679f1d7 |
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use threadsafe death tests in TSan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159533 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/rtl_tests/tsan_test.cc
|
8d993186d84cd62b93e1d16ee2afcc6d14629dd1 |
02-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: improve SpinMutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159518 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mutex.h
|
e088e16006e2b3fc5739be675b3243e18f30ad01 |
02-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: add mutex to 64-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159516 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_mutex.h
|
62f294020ce5d60dc51883e7708a56247c366d14 |
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159514 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/asan_thread_registry.h
anitizer_common/sanitizer_atomic.h
|
69021355c0ac8a0d9b546fb3db1136b1b2db0616 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: third try on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159449 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
anitizer_common/sanitizer_win.cc
|
6dab1903fb38dfdee287fb4a6e045143a19189bc |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: second attemp on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159447 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic_msvc.h
|
b6eb56f5a03b4dba8de79465274a73d1ecbca7f2 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: first try on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159443 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic.h
anitizer_common/sanitizer_atomic_clang.h
anitizer_common/sanitizer_atomic_msvc.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
san/unit_tests/tsan_mutex_test.cc
|
a3eca8192505f4796194dd24eb051019f402de99 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: add SpinMutex to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159439 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_atomic.h
anitizer_common/sanitizer_mutex.h
anitizer_common/tests/sanitizer_allocator64_test.cc
anitizer_common/tests/sanitizer_allocator_test.cc
san/Makefile.old
san/unit_tests/tsan_mutex_test.cc
|
c04d8b39795b8faab2c172da59462f4e54823533 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify ScopedLock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159438 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_lock.h
anitizer_common/sanitizer_mutex.h
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
|
fce5bd4cc29fddb5e8f0cb9c12df7c10187a991d |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159437 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_rtl.cc
anitizer_common/sanitizer_atomic.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_atomic.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_sync.h
san/rtl_tests/tsan_mutex.cc
san/rtl_tests/tsan_test_util_linux.cc
san/unit_tests/tsan_mutex_test.cc
|
aa7bb2620fbe1378eaf8666e1cc4883942893013 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use -Wno-unused-private-field only for clang (gcc does not understand it) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159435 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
19d9bfe7a63f9d76589f9b3ac5a8e3c525eb678a |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] added CombinedAllocator for tsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159432 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
6e4815579e5b48b48de092afcc3b092dfb97df5c |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: replace struct copies where clang inserts memcpy() calls with explicit internal_memcpy() calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159431 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
065c4ac846589d04436cb7f19f938ff42035313e |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove own memset/memcpy/memcmp (too messy) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159430 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interceptors2.cc
|
bb8a9511bc748d6a4fd601d713bda584ef7bb772 |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159429 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
a4e4744778e6b3067f5cf223cf28bb586c1ecf67 |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of libc's sscanf as it causes infinite recursion on Fedora. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159424 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
dbd8aacc28bf631eb73f48611758b51e08e59f9a |
29-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake unit tests: explicitly add necessary linker flags when linking unit tests with asan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159420 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
2084543fc20ee58028bfab949f1502789199ff77 |
29-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake-based unit tests: merge instrumented and non-instrumented files into one test binary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159419 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
43b0461ceba5469a8c135fbdd39037b645392588 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: clear shadow for ucontext, because it's visible to user git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159365 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
1fc03d50a87302689482efa24b045a393097b6c3 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crashes if signal is caught during thread bootstrap or shutdown git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159361 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
c9aeed824ebedb3b517826e648adcedc20103c46 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix the build - erase second main as we link all test sources together git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159348 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_noinst_test.cc
|
d00ecb64892dcb03c5ae93a654da669b96753b01 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] silence various warnings in cmake build of asan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159347 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_noinst_test.cc
nterception/CMakeLists.txt
|
37dd1d78906228d412caf05102106773dfa7222f |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake support for running asan unit tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159345 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
san/tests/asan_mac_test.mm
|
79753b2c945b590e9a60a2ac2d96c088f920a905 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] update cmake rules so that ASan unit tests can include googletest (and, hence, llvm) headers when they are built by fresh Clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159343 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
df50545d0a871f1ad509a8dbad77de1a15e1fc50 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing file (forgot to svn add in r159294) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159341 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors2.cc
|
b4fefa713da3dabda1cd83ae4182c71f1683f02c |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: trailing semicolons, trailing colons in enums git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_mac.cc
nterception/interception.h
|
ba362a7f0e98b369758f07aec8794c61e688b82d |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fight more semicolons in macro definitions (to please mac cmake build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159337 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/interception.h
|
d51a1a10cba87be50e9ada9fa21337c387edb237 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159294 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/rtl/tsan_vector.h
san/rtl_tests/tsan_test_util_linux.cc
san/unit_tests/tsan_platform_test.cc
|
a5562db12c5331433407ac21602086f34561c25c |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember and pass original ucontext to signal handlers (instead of a fabricated one) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159278 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
e96366613372e616fc6f2209b81b776f931a2c58 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor signal handling code (move some definitions out of common header) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159266 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.h
san/rtl/tsan_rtl.h
|
7a72b4a0f04f7f043ab86396b0faa552f55aa857 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check that signal handlers do not spoil errno. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159264 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
|
bb54ae3fd53524aaae7f5f892a7bd62884970e37 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: close all file descriptors after fork() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159263 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_symbolize_addr2line_linux.cc
|
46d7b0bd647fa4844f9fe4ca9be31b8341ad12f5 |
27-Jun-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Print inlined frames in the symbolized report. With this change, symbolize.py makes use of "-i" option of addr2line tool to get information about enclosing scopes of inlined functions. Change-Id: Ie42a4265356d7e169e99f7f389069a9eab8963e3
san/scripts/symbolize.py
|
984f6cf119e26ec25463d58235d613bfea114127 |
27-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Add support for building the ASan instrumentation unit tests with the just-built Clang binary, and linking them against the just-built ASan runtime. This is *very* brittle. I expect it will require tweaking, and I've pro-actively disabled it on non-Unix builds and on cross-builds. It is also currently missing dependency edges on GoogleTest header files and a few other corner cases, but those can be fixed. This is the major milestone of a mini-bootstrap-like build of the unittest. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159255 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
|
fc6c80e9402a8798e6426df7df3a867d541ca705 |
26-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] added LargeMmapAllocator, a part of the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159204 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
c0825405712cf059c0f9aecd6a9412702678e926 |
26-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix warnings suppression: internal-linkage-in-inline was renamed to static-in-inline git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159198 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
94cc7e121c3271693497367a0ebf35697840ad74 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] update the cmake file for asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159143 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/CMakeLists.txt
|
225f53194082f475a5d21780344ff79a2a387c13 |
25-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove internal allocator, switch to sanitizer_common one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159142 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_allocator_test.cc
|
bf3471043da3a9af36a801c7ad54dc93d4d427cd |
25-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove internal allocator, switch to sanitizer_common one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159141 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_allocator.cc
san/rtl/tsan_allocator.h
san/rtl/tsan_mman.cc
san/unit_tests/tsan_allocator_test.cc
|
c421429d1438eb48d9de5b757af576e45307c674 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159140 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
16441b0c13eac81b3871912c1585b46e14c64477 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor changes in tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159139 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
136e9a5723cc9bb12720a49fb04e216012647d67 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix the build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159137 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
|
bff533684731c89bd5e99d0cf950a86c21a342e8 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move tests from asan_interface_test.cc to asan_noinst_test.cc. Now all these tests do not require instrumentation and work directly with asan rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159135 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/tests/asan_interface_test.cc
san/tests/asan_noinst_test.cc
|
821f21b7cdd0bcc91102f08c8ee0773fd9273046 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Cleanup the handling of CFLAGS even more in the cmake build for ASan. Add the initial support for building ASan tests. The first change here is to try to get the CFLAGS to more closely match those used by the old Makefile. There are probably still goofs here, ASan folks, your review would be appreciated. The second big change is to add support for building both instrumentation based an non-instrumentation based unittests for ASan. They are built a bit differently from how the old makefiles managed things. Specifically, there are two binaries, one for the non-instrumented case, and one for the instrumented case. Also, the instrumented unit tests rely on the host compiler supporting AddressSanitizer's intrumentation pass. This is kind-of gross, but I don't know of a better way yet. I've mailed llvmdev to discuss this issue. One big caveat is that the detection logic currently doesn't work. I've commented it out temporarily as I'd like to get feedback from the ASan developers, etc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159134 91177308-0d34-0410-b5e6-96231b3b80d8
san/CMakeLists.txt
san/tests/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
e7539bf38e82db273708c5007bdb226c1a280b54 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of '#include <malloc.h>' in the implementation of malloc interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159132 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_linux.cc
|
a765ffcef39dc37bd6d7e597286fd76fbeb1b9fa |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Another big step toward a viable CMake build system for CompilerRT, ASan, and friends. This explicitly switches the CompilerRT CMake build to require CMake version 2.8.8 or newer which provides first-class support for "object" libraries which consist of a pile of '.o' files -- exactly what is desired for composing runtime libraries. I've gone ahead and switched to using this. I've also added the interception library which I missed initially. And I've added proper dependencies between the various libraries. With this, I'm able to build archives for asan that appear to contain all of the necessary .o files. The final tweak here is to start setting up the compile flags and macro defines expected by ASan and its helper libraries. These may not be entirely correct currently, they're based loosely on my reading of the old Makefiles. However, they can be tweaked more easily now that they're wired up properly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159129 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
nterception/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Lots of trivial changes to remove extraneous semicolons throughout ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.h
san/asan_malloc_linux.cc
san/asan_stack.h
nterception/interception.h
|
025ea90c9e15a18d29b6aab70f8192ae9c1beea4 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a better CHECK for OOM in the new allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159122 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
94c54f19d4330cbf2b6fd83b65841f706e34365e |
23-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix -Wsign-compare git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159083 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
7f2d7c75e713d778106d01a54e7aef40227bbf2d |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Mechanical change to sink a #ifdef guard for a platform below the include of int_lib.h. The purpose of this change is to make the C code conform to the pedantic rules of C99 -- an empty translation unit is not valid. It should have absolutely no functional impact, and changes nothing about the built libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159034 91177308-0d34-0410-b5e6-96231b3b80d8
bsvti2.c
ddvti3.c
shlti3.c
shrti3.c
lzti2.c
mpti2.c
tzti2.c
ivti3.c
fsti2.c
ixdfti.c
ixsfti.c
ixunsdfti.c
ixunssfti.c
ixunsxfti.c
ixxfti.c
loattidf.c
loattisf.c
loattixf.c
loatuntidf.c
loatuntisf.c
loatuntixf.c
shrti3.c
odti3.c
uloti4.c
ulti3.c
ulvti3.c
egti2.c
egvti2.c
arityti2.c
opcountti2.c
owitf2.c
ubvti3.c
cmpti2.c
divmodti4.c
divti3.c
modti3.c
|
0193b74976719b8aea4cb8874ba36b75836a8d6e |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove extraneous semicolons outside of functions. This fixes a large number of -pedantic warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159033 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
shldi3.c
shrdi3.c
ivdf3.c
ivsf3.c
ivsi3.c
xtendsfdf2.c
ixdfdi.c
ixdfsi.c
ixsfdi.c
ixsfsi.c
ixunsdfdi.c
ixunsdfsi.c
ixunssfdi.c
ixunssfsi.c
loatdidf.c
loatdisf.c
loatsidf.c
loatsisf.c
loatundidf.c
loatundisf.c
loatunsidf.c
loatunsisf.c
shrdi3.c
uldf3.c
uldi3.c
ulsf3.c
egdf2.c
egsf2.c
ubdf3.c
ubsf3.c
runcdfsf2.c
divsi3.c
|
0c87068785c951351814b8e7a7d0df29272397b6 |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Reorder these things for clarity, and add -std=c99 to the compile flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159032 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
6dd4ae360b9dde496ad2fa12b0fc12bbc3bf1571 |
22-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add metadata to the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159002 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
cd25a5ffd64c5be8d4d838d21fd252ce246b898c |
22-Jun-2012 |
Stephen Canon <scanon@apple.com> |
Allow divsi3 to take advantage of a hardware unsigned divide when it is available, by replacing an explicit call to udivsi3 with the divide operator. Patch by Sébastien Bourdeauducq. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158996 91177308-0d34-0410-b5e6-96231b3b80d8
ivsi3.c
divsi3.c
|
8ebf84cd52a571d47183c0f2a6bf73b25752d8d8 |
22-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] more code for a specialized tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158991 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_common.h
anitizer_common/tests/sanitizer_allocator64_test.cc
|
9ad7c32720dfa1287f8cfd481e5d583435178cae |
22-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not call malloc/free in memory access handling routine. This improves signal-/fork-safety of instrumented programs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158988 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
san/rtl/tsan_trace.h
|
f4e8fc675ab52d0b3022847764a70ed7f03817bd |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Small lint fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158922 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
43d03f3775677ca8e4727d49d1256de014351b95 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for issue 81 -- AddressSanitizerMac.DISABLED_CFAllocatorDefaultDoubleFree_ChildPhread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158921 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.h
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
c375657778e8a72d566e29951060b7eadc749b0d |
21-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] first step in implementing a custom allocator for tsan (and msan) which saves precious shadow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158913 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator64.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/tests/sanitizer_allocator64_test.cc
san/Makefile.old
|
39b2e6aaf20e7a3257fd0146c35cec587b3fffb0 |
21-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix lint error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158905 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
effd6bf516b7109460647253aa1a62046ca9bb7a |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Enable AddressSanitizerMac.CFAllocatorDefaultDoubleFree and AddressSanitizerMac.CFAllocatorMallocDoubleFree, which now work fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158886 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
0aa794d78fbb6359f81025217559f1b03ff07999 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Factor the common code out of cf_free and mz_free. Introduce the mac_ignore_invalid_free flag (0 by default) which makes both cf_free and mz_free ignore invalid free invocations and leak memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158885 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_malloc_mac.cc
san/asan_rtl.cc
|
bd0fbe68a9a686454c6c5a670bca9c8d33318f93 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Fix the output tests on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158870 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/use-after-free.cc
|
e205a9daec9ec4afed956cf5455889725b9192fb |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Actually intercept free() to ensure that the deallocations caused by other functions directly calling it are routed to our allocator. For the allocations that do not belong to any malloc zone check whether they're padded with a pointer to ASan's CFAllocator. If so, free the original (unpadded) pointer. This should fix AddressSanitizerMac.NSURLDeallocation and issue 70. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158863 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_malloc_mac.cc
san/tests/asan_test.cc
|
df42b619de6f7cbf23a68d91a924cfb44b9fd201 |
20-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for NSURL deallocation (issue 70) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158843 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.h
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
6985085c4860bf945358f227ddba26511ae770e9 |
20-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a bit more lint and Makefile changes to run tests from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158821 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_procmaps.h
anitizer_common/sanitizer_win.cc
san/Makefile.old
|
479d47f739a9f36cbb3cf2bfdbd01c62a7b3128f |
20-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Resuming work on the compiler-rt CMake build at long long last. In order to get it working again, two changes were needed: - I had to give up on glob-based file expansion. This just isn't well supported by CMake, and until we convince upstream there of its value, it's not worth dealing with the pain. - Add the common library as otherwise even ASan won't build. This now builds again, although the "correctness" of it is a touch debatable. ;] Specifically, there is no merging of the common runtime library with the asan runtime library into a single archive file. I'm not really sure what the best technique is for that, and it may be influenced by the ongoing discussion about how best to link runtime libraries. Note of course that this is still very much WIP. It doesn't entirely work yet, and remains disabled by the LLVM projects/CMakeLists.txt until it is in a working state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158811 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
anitizer_common/CMakeLists.txt
|
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_printf.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_printf.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_printf_test.cc
|
86cdf2d60b0efbfc5e37c519baff03362856d1a5 |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add a comment that tsan_flags.h may be included in the user code, and therefore shouldn't include other headers from TSan or common sanitizer runtime. User may need tsan_flags.h to provide its implementation of __tsan::OverrideFlags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158708 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.h
|
a92c0cb873b67babb1aa4bc9aaa5c3b4d6c2772e |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] State that sanitizer_libc.h header can be included in the user code (and therefore it shouldn't include other sanitizer runtime headers). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158707 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
|
64afb7ef53b4f08477e7af29cfce17eb66754e59 |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use fully qualified type for placement new replacement git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158706 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_placement_new.h
|
0a9d891dee5a67719ba52797376a647f05ffe67a |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] silence -Winternal-linkage-in-inlinewarning which is produced for gtest code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158705 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
0499b8433538a1913ca955566cd34368752bf7af |
18-Jun-2012 |
Joerg Sonnenberger <joerg@bec.de> |
Declare some variables unsigned to avoid signed vs unsigned mismatches. This exploits the relative order of the arguments and/or checks already made in the functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158669 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
p_lib.h
uldf3.c
ulsf3.c
|
8cd0df78c317106be477c5496f481af0563a5208 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_strncmp to sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158658 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
|
84902c716abf9ba0dc6e7b1cd0522759f29b3179 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] kill some linux-specific code in favor of code in common runtime: reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158657 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
san/rtl/tsan_platform_linux.cc
|
0969bcf2c936126b1f6e636b978aade8fc207437 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move different wrappers from TSan to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_suppressions.cc
|
877bfcfaf592e63916333fd644bb8f30b673f35d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix type for placement new on 32-bit Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158524 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_placement_new.h
|
fa82b0887fd558b77a856730a0656460d5bf078d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use ProcessMaps in symbolizer to get module name and offset for instruction address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158522 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
c925697df6626bb0ea27ea96539bf0580f8f3d3d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158519 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_rtl.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_rtl.cc
|
88207ab15125e2f1e9b3d541b735b2b8aba9b6d9 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_vector.h
san/unit_tests/tsan_platform_test.cc
|
666772c9934fac81d457c74d3eeca381652d0873 |
15-Jun-2012 |
Bill Wendling <isanbard@gmail.com> |
Free the allocated filename. Found by clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158514 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
b84ee029ada36949c30c57c5f701191783990574 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use mmaped buffer in DumpProcessMaps to avoid large stack frames git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158502 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_posix.cc
|
502d3831379094368e099ec70b1916d0ceda1bfe |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] don't use too new __attribute__((unused)) for class member git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158500 91177308-0d34-0410-b5e6-96231b3b80d8
san/unit_tests/tsan_mutex_test.cc
|
dd3a911e46b3f0416d60d9be5c84ccfc4b1c3aa8 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158499 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
4c49666e611f06241bb8462cea7674d877241492 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move atomic ops, min/max and sort to commnon runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158496 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_win.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
fa3daaf1d66314658e7c05bf63dc825d179f2faf |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158493 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_thread_registry.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
be7420cc79d8580eb354666eef638d39ee9cff80 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158490 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
3fb44411ae1b9c2a277c04b3f379554290832009 |
14-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT mapping to not produce false reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158473 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_platform.h
|
f607fc1c67a613a59a1db3c80c5d1322e1978102 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move rest of mmap routines to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158452 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
3dbeabb3446f203156ae03d957de9bdf50933ae4 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move portable GetEnv to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158451 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
327c1c17d9557ed8b197f732c8a070fd6ba821b5 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_memcmp to common sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158450 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
|
2ea978704a794e536d2801affcc7f301092d75da |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for -Wunused-private-field warning - add an attribute in TSan unit test, and silence this warning as gtest has unused fields. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158449 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
san/Makefile.old
san/unit_tests/tsan_mutex_test.cc
|
996651d09e56caa91ffcc33bf1a13a283cfcd5e2 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't include deleted header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158448 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_stack.cc
san/asan_thread.cc
san/asan_win.cc
|
fc1415aa189d10317aa5f9923a3fc98706ed9e51 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove obsolete header asan_procmaps.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158447 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_procmaps.h
|
d1a2f446e04701b98b723f3eb315bbc9722dad74 |
12-Jun-2012 |
Stephen Hines <srhines@google.com> |
Separate out libcompiler-rt-extras. This new library contains functions provided by compiler-rt that are not also present in libgcc.a. Change-Id: Ida05e2d746a88913fc354224a7c660f7570e3adc
ndroid.mk
|
78159d0d5e91ff031a087173ff814c9fd2c216d3 |
11-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add test rdx, rdx to fix ASan tests on Mac OS 10.7 x64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158312 91177308-0d34-0410-b5e6-96231b3b80d8
nterception/mach_override/mach_override.c
|
718acdbd6427a2f2af3bb8da8220455066cae8ce |
09-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use __libc_malloc/__libc_free instead of malloc/free inside internal allocator on Linux (important for TSan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158261 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
|
98c8780c22685af63c57ce5312a9ed730ee3408d |
09-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use efficient real_memcpy inside runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158260 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_vector.h
|
4fac1482179c6bfd84fa129560caa43f341c7336 |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158202 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
|
a1a25c1afe38e59ffb342c24bb5bb10d05679df7 |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] allow calls to memmove during rtl initialization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158201 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
e19cf55e85f47e158526a932838b26cdafacc37d |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] s/internal_memset/real_memset git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158200 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_platform_test.cc
|
c1bdd5adca453f2fae238a4c53ade35ae60b85da |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strncat git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158198 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
a115c66324ba21157560991d1527ca831d72f344 |
07-Jun-2012 |
Stephen Hines <srhines@google.com> |
Build the platform-independent parts of compiler-rt. Change-Id: I3819682d687231ec4a70605aab164d26ceab2f17
ndroid.mk
|
f7667cc84cdd8923c0b6c7cfc92b7bd5692ce18c |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make internal allocations from TSan runtime call InternalAlloc from common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158148 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
|
9fe7b96f92606057dacb9130c08d32430d8be86f |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use unsigned int as a parameter for placement new on 32 bits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158147 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_placement_new.h
|
47b1634df012507799eb39aa17d4022d748ba67b |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move placement_new definiton from TSan to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158145 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_placement_new.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_placement_new.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_sync.cc
|
8d4ca28e8dc31036dd5bcda82ae97d30d5b9c631 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include stdlib.h header to get malloc/free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158144 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
|
0334fc8564e91d5ebd495066bb263af36331fe61 |
07-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] slow 16-byte redzones (still experimental) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158143 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_rtl.cc
|
6e0c3a447307091ff5340c302f828ea9632709ca |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allocator for internal runtime purposes. Currently it calls libcmalloc, but we might have to make it more low-level in future git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158142 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_allocator.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_symbolizer.cc
|
ed996f79710f532bf231537e44d5c8c9c9d57e8d |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158141 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
e5931fd7d2a74fd7fb60bd8d7f644cca51a24364 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] factor out GetThreadStackTopAndBottom from ASan runtime to common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158140 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_thread.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
6895adc39c4e09371154c8037366ad4464163ed0 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] __asan::AsanProcMaps -> __sanitizer::ProcessMaps. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158139 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_procmaps.h
san/asan_stack.cc
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_procmaps.h
|
cffe2f5c30c27234260d004b54152916ff0c45c6 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move ReadFileToBuffer to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158138 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
|
16071602d364db4a8e99575acd098d7462ef318d |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction: don't use the next field while the chunk is in allocated state git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158083 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
6dc48dd17d81933194366716c9e16f2e85c728b6 |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more allocator compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158082 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
anitizer_common/sanitizer_common.h
|
a25b3463477d2a825df4f656001fc07c594b35ac |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Switch to common mmap/munmap routines in ASan run-time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158078 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_win.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_printf.cc
anitizer_common/sanitizer_win.cc
|
8c53e54ef9e713953ec9495e82e5c330b96e49f3 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make UNIMPLEMENTED macro common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158077 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_win.cc
|
f4a4d5a9a01663e74e6d8c2de3468df31245f39a |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction for allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158076 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
15a77612e0a89c1df444a2034e531c8968d0cedf |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158075 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
san/rtl/tsan_defs.h
san/rtl/tsan_rtl_report.cc
|
e0cff0bc20ae51790c8edfbceb817e18ebf5355e |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make tid u32 instead of int git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158074 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
san/asan_win.cc
|
7ebac9534c484b06a0c2822d83f082a127e743bc |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] start compacting the allocator header, the goal is to make it 16 bytes w/o losing any information git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158072 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_posix.cc
san/asan_win.cc
|
9b8a9c1b1ce4659457178ff4c0838ac1b35ca9dc |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan,asan] comment out O_CLOEXEC as it causes build failures on old linux kernels git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158071 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_linux.cc
|
7fdcdf5a3a7090ec86d426a815bb42f3d35adf13 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove __attribute__((format)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158070 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
anitizer_common/sanitizer_common.h
san/rtl/tsan_rtl.h
|
675293d458c9f6c797a7211c11438eb9bfcfe9bb |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] match type of arguments to format string on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158068 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
15503b0a4331c7f27f9cebc25e25c2e494f61cb9 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix Win build - ignore __attribute__((format)). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158067 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_internal_defs.h
|
e954101f6602ac181a2c3accfbbad0ae51b0bf7c |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_internal.h
san/asan_malloc_mac.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/asan_thread.h
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_printf.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_platform_test.cc
san/unit_tests/tsan_printf_test.cc
|
e4309e8141382372465ea065e86d8f946aa99c38 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more format fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158060 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
5bcca4e33ececdddd8e9e07619c129e870492251 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make printf arguments match format strings better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158059 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread_registry.cc
|
67a64dd8259fdbd867633b27f54d584f435f1ce6 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] run some renaming as a preparation for factoring out Printf implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158058 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_printf_test.cc
|
9929ffd1c4737d2c50829dcefcb0b8f1926a05ff |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix win build - add missing header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158057 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
|
230c3be6cdd094a187f48e27ba0961dbeee70344 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move more functions/constants to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_posix.cc
san/asan_win.cc
anitizer_common/sanitizer_common.cc
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
8e820fcf7aafeb8101322182d742fcf99255d972 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_filesize and internal_dup2 from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158052 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
|
47657ce6cbac2fa93d0fd765c5d2872443b50e87 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use __sanitizer::Die() in ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158051 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_rtl.cc
|
9edf7508e4ad536d26a202224548081d36eddd70 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158050 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_common.h
anitizer_common/sanitizer_libc.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.h
|
4b6eec3b3e1fd8ed26aa7ed684c16bc87f0ed625 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix GetFreeBytesTest interface test on 32-bit Linux - delete some assumptions about the behavior of allocator in test code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158047 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_interface_test.cc
|
94b5036ee6ba866e1702848855b6d687d1e70afa |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
anitizer_common/sanitizer_defs.h
anitizer_common/sanitizer_internal_defs.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_symbolizer.h
anitizer_common/sanitizer_win.cc
san/rtl/tsan_defs.h
|
78381e4b40e6b4dad7b77adb7fa56dfd13b1f31c |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix compilation on Mac OS 10.6 - don't use O_CLOEXEC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158000 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_mac.cc
|
b9a30e0799787a99147e2587ef5ecc8c5f224160 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove using namespace __sanitizer lines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157999 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/rtl/tsan_defs.h
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_platform_test.cc
|
0a4c906dbc8f150657ddd4f19a7192b779f1d605 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157998 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
san/asan_rtl.cc
anitizer_common/sanitizer_defs.h
anitizer_common/sanitizer_interface_defs.h
san/rtl/tsan_allocator.cc
san/rtl/tsan_compiler.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_placement_new.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
|
8c8c8b0ecd3a7faab499556a04c54c9de5a0f284 |
05-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] change the order of tests in the asan_test binary. Makes the test runs 2x faster due to DEATH_TEST overhead (see asan issue 77) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157997 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
562e19e2f200f5e9d411e75e5a8d62df90ecb4c9 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use internal_munmap from sanitizer_libc in TSan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157995 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
1f11d31faa5ed89b74f7d543b1182fe8de198be5 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157994 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_printf.cc
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_posix.cc
anitizer_common/sanitizer_win.cc
|
3f46cf42b0f8e0667a3bea88cf871ebd4dc0ecdf |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] s/size_t/uptr in asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157993 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
89345b088c65680b4b1250ca9a80fb6fc464447f |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] make TSan runtime use internal_{close,read,write} from sanitizer_libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157992 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
|
2221f553886c37401b5d84923634ebf04bc482f1 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use internal_{close,read,write} in ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157991 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_win.cc
|
a56aefd2e01940fcf88d1426f9de3d5e4b1ee203 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_{close,read,write} functions to sanitizer_libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157990 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
7f9c5a220b2768a450696bbd157a0e6f2e9ceea3 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use __sanitizer::internal_open in TSan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157988 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_win.cc
san/Makefile.old
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_suppressions.cc
san/unit_tests/tsan_platform_test.cc
|
9552db72ce37a9f090be4d9fecfbe75458c6d7bb |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use internal_open from sanitizer_libc in ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157986 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_win.cc
|
c5d465136b911bf925f2a631e2b79f1c03e8a1b0 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add sanitizer_win.cc for windows-specific implementations of libc functions. Add internal_open. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157985 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
anitizer_common/sanitizer_win.cc
|
48aee681c0d800deb6c00f546bfaa377ece37326 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use __sanitizer::internal_mmap in TSan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157984 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
6316c111d62df6521db68397a469fd3636e9ae7c |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix a typo in Makefile.old git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157982 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
982cee4a0d08dfbf1896477c76d0506fc6851af0 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Enable lint for sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157931 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
anitizer_common/sanitizer_defs.h
|
ae4d9caa4f47fa6abcd641719e9f520622940c17 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157930 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
anitizer_common/sanitizer_libc.h
anitizer_common/sanitizer_linux.cc
anitizer_common/sanitizer_mac.cc
|
603c4be006d8c53905d736bf1f19a49f5ce98276 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags in .cc files in tsan/ and sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_symbolizer.cc
san/rtl/tsan_allocator.cc
san/rtl/tsan_clock.cc
san/rtl/tsan_flags.cc
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_md5.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_report.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/rtl/tsan_sync.cc
san/rtl_tests/tsan_bench.cc
san/rtl_tests/tsan_mop.cc
san/rtl_tests/tsan_mutex.cc
san/rtl_tests/tsan_posix.cc
san/rtl_tests/tsan_string.cc
san/rtl_tests/tsan_test.cc
san/rtl_tests/tsan_test_util_linux.cc
san/rtl_tests/tsan_thread.cc
san/unit_tests/tsan_allocator_test.cc
san/unit_tests/tsan_clock_test.cc
san/unit_tests/tsan_flags_test.cc
san/unit_tests/tsan_mman_test.cc
san/unit_tests/tsan_mutex_test.cc
san/unit_tests/tsan_platform_test.cc
san/unit_tests/tsan_printf_test.cc
san/unit_tests/tsan_shadow_test.cc
san/unit_tests/tsan_suppressions_test.cc
san/unit_tests/tsan_sync_test.cc
san/unit_tests/tsan_vector_test.cc
|
e5f5895bda30f374b0b51412fd4d837fa59aed66 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags for .cc files in ASan run-time library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_new_delete.cc
san/asan_poisoning.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/asan_thread.cc
san/asan_thread_registry.cc
san/tests/asan_benchmarks_test.cc
san/tests/asan_break_optimization.cc
san/tests/asan_globals_test.cc
san/tests/asan_interface_test.cc
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
|
c0d78c1de1f2607c874020d27b72cf989c5ce092 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: move internal_strcmp to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157926 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_rtl_report.cc
|
5f2fe37bd979f18703a6b3b5bf71d18fca19b245 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use ASan option symbolize to turn on internal symbolizer (in development) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157924 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/asan_stack.cc
|
3836ff2733d40e1182e301ef7de3eff9469777ae |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_strncpy to sanitizer_libc (and make its behavior conforming to manual) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157922 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_printf.cc
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
|
4e6c6c75a241644c52fd6e62ff3ad7aef7f5c523 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer_common] fix filenames in comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157919 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
ab5dbccab635b05598cc707ac7680edfe8ebdcd5 |
01-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
temporary include stdlib.h in symbolizer to fix Mac/Win build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157808 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
|
cfd605e96209d18c937501be870bd0308131e453 |
01-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157807 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_new_delete.cc
|
2f7d82687c99d468aa845ed68d88910710cc51ec |
01-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Stub files for common symbolizer for AddressSanitizer and ThreadSanitizer tools. It is an analogue of addr2line utility and should allow to map instruction address to a location in source code at run-time. It should use debug information (in DWARF) in a binary, and hopefully it would be possible to re-use code from llvm/DebugInfo/DIContext.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157806 91177308-0d34-0410-b5e6-96231b3b80d8
anitizer_common/sanitizer_symbolizer.cc
anitizer_common/sanitizer_symbolizer.h
|
f037f565b2e02878ceb6e7b49647e814e2990ef5 |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept longjmp() but die in it, greatly simplifies problem diagnostic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157760 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
|
45c8d1b28305b8660597bca3645e3ad700d76160 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] partial fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157750 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
b49879cdb4a792048c81a96cbd91876dba34b766 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] partial fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157748 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
ee3925515e4c7966f3ef489f687aa7e5692806a9 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157747 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_mapping.h
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_procmaps.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
san/asan_thread.cc
san/asan_win.cc
san/tests/asan_noinst_test.cc
anitizer_common/sanitizer_defs.h
|
3f4c3875c42078e22c7e5356c5746fd18756d958 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_interface.h
san/asan_internal.h
san/asan_linux.cc
san/asan_lock.h
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_malloc_win.cc
san/asan_mapping.h
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_procmaps.h
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
san/asan_stats.cc
san/asan_stats.h
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
san/asan_win.cc
san/tests/asan_noinst_test.cc
|
a13749bd7b3629a3498e765960729a8ade5db7cf |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157744 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
|
9aead37421a6e4bf43265e5195c6ac31fc519982 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157743 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_allocator.cc
san/asan_globals.cc
san/asan_interface.h
san/asan_poisoning.cc
san/asan_rtl.cc
san/asan_stats.cc
anitizer_common/sanitizer_defs.h
anitizer_common/sanitizer_libc.h
|
b99941ca42b43e850aecb55998f6f4885d455892 |
31-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix the wildcards for two output tests on Darwin. It turns out that atos does not print the symbol names for static C++ functions correctly (one of the two leading underscores is omitted), so they remain mangled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157742 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/large_func_test.cc
san/output_tests/null_deref.cc
|
16e0075746b21ed866ec3be21ef0d1e46f0efed5 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] rename files in sanitizer_common to have a common prefix (sanitizer_). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157740 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
anitizer_common/mini_libc.cc
anitizer_common/mini_libc.h
anitizer_common/sanitizer_libc.cc
anitizer_common/sanitizer_libc.h
san/rtl/tsan_rtl.cc
|
20f60c53c446f42af2b4ebc3b85f6a5042be6904 |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress reports against source file names as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157739 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
san/unit_tests/tsan_suppressions_test.cc
|
a87bdaa1eab379ae4d9a24456f41f8ae36ba33f6 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Be more verbose when installing the signals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157693 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_posix.cc
|
6b6dc57066fc154fbf08440cb41db099878a14e9 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix a bug in parsing boolean flags: we used to take the first char of the key=value string instead of the first character of the value. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157692 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
e4781f0c5871a14e2c454d7788bae2e5c72bd336 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Be less verbose when parsing the default options. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157691 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
b4b9fa707324095e3590a57963fd754d7a4dd40e |
29-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prevent recursive signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157625 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
b3cedf98a3c8545da2234c2d35cb5d687984035f |
29-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common which will contain code shared between asan and tsan run-times. Naming is hard. If you can suggest a better name for the directory -- speak up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157611 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/Makefile.old
san/asan_internal.h
san/asan_rtl.cc
anitizer_common/Makefile.mk
anitizer_common/mini_libc.cc
anitizer_common/mini_libc.h
san/Makefile.old
san/rtl/Makefile.old
san/rtl/tsan_rtl.cc
|
ff20f17cd0543bc9d4112831574b9bb6a0f21fc6 |
29-May-2012 |
Alexey Samsonov <samsonov@google.com> |
Fixing ASan build on Win: don't use __asan_default_options git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157608 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
4113f643b0d5f857e9db5e765d11dc009d10a583 |
29-May-2012 |
Alexander Potapenko <glider@google.com> |
Do not define ___asan_default_options on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157603 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
|
c6df61ba6ec36e7a1684127d2b3284e2101947d1 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157585 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/simple_stack2.cc
|
411b2c9d6787b64939fc15fdeec65e9d65ba1a51 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix race during pthread_join/detach git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157584 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
62f10e7e8b604275ca1c7cc924f32854d04829fb |
28-May-2012 |
Alexander Potapenko <glider@google.com> |
Rework the flags machinery a bit. Clients may define the __asan_default_options char string containing the default options for the tool now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157582 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
san/asan_rtl.cc
|
a27d6a7b79052bf718e6a7d74c043aedafa2c4bb |
28-May-2012 |
Alexander Potapenko <glider@google.com> |
More verbose check in AppendString. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157580 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_printf.cc
|
40565ce99f1b6a291fe8fa2f58a0d118761f5b63 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: pass CFLAGS to tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157579 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
00a38b21f385bf0b08b199524515d2f0bfcbd582 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: be more conservative wrt symbolizer output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157578 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/simple_stack2.cc
|
ec63f456de18b9ac75d7546f8a53beb6ce048e67 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Add support for the GCOV_PREFIX_STRIP env variable which tries to strip off the first 'n' directories from the filename. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157574 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
015b7e06622b7538419d8c158c4c84b781310096 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Simplify the logic that tries to open the GCDA file at all costs. Basically, if we can't open the file even after creating all of the directories to it, then just give up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157572 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
906d5a5d38f2984a9b78a0786016a3d67d0798e9 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
* A bit of cleanup of the 'recursive_mkdir'. No functionality change. * Check for absolute paths before using the GCOV_PREFIX. * Don't add an ending path separator if there's already one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157571 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
d350c35e3a4da6bf325b85e33df8701fcff39811 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase /proc/self/maps max size (1M is far not enough) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157570 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
f54c0e3321e2381fca3f02faefaaa6639d59c7cf |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157569 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/interception_malloc_test-linux.cc
san/output_tests/interception_test-linux.cc
nterception/interception.h
san/rtl/tsan_rtl_report.cc
|
75d48f2f4e7addb4d3167eea5ee12af81ada0522 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more robust detection of stack of main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157568 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
769544eed418993abb8efcb4ea939ed5c93a5ba2 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use DCHECK_GT/LT instead of plain DCHECK (better diagnostics) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157567 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.cc
|
af154b815bbd793874b4cd05be98d571b6579272 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not clean stack/tls for main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157566 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl_thread.cc
|
170169a677c4f0df1b0ac7486c7cc7cc468cfbd5 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: remove static libraries on make clean git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157565 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
de47cb8f12474c7c528a84de0ea73c743c33f015 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Don't use 'strrchr', which isn't implemented here yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157560 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
5a240c5c1746d07351fc38deb81c1794e8668d15 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Sync with old GCOV runtime library's file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157559 91177308-0d34-0410-b5e6-96231b3b80d8
rofile/GCDAProfiling.c
|
f2981f3bfdc7900784d446d2dde96d99fbcad756 |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Typo fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157477 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
fca72fd2741372d2e947366277258bff1092e73e |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Factor ParseAsanOptions outside __asan_init git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157473 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
37931239a3671ac0d2c7865f3077b0c4f71b94b3 |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Introduce the check_malloc_usable_size flag (on by default). When the flag is set to zero, we do not check for errors in malloc_usable_size. This may be useful to work around a bug in Nvidia drivers prior to 295.* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157472 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_rtl.cc
|
789b6c5669547b550034fc9888059b17e2ff1417 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not call into libc in symbolizer and in other code (this causes recursion and crashes) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157466 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_symbolize_addr2line_linux.cc
san/unit_tests/tsan_platform_test.cc
|
1070a5a7143c76a2ac0ca3c0c8113d7357d26ff7 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output message about failure to intercept only if verbosity flag is passed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157465 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
d1a928edc0e76937dd38bdd3c357375986737e31 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix tests depending on -m32/-m64 addr2line says either e.g. __xsan_strnlen or just strnlen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157464 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/heap-overflow.cc
san/output_tests/strncpy-overflow.cc
san/output_tests/use-after-free.cc
|
619e8bf99d2714c4411fefba22d54c233d93a177 |
24-May-2012 |
Meador Inge <meadori@gmail.com> |
Adding back a right parenthesis that was dropped in r157388. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157406 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
ea5bde91d547af6f38005ebdb64d7b6e4c9f966c |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: compilation of tests with newest clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157392 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/simple_stack2.cc
san/rtl_tests/tsan_mop.cc
|
5aa3f227be0a8934dedc0321f6913140fca60a94 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation with newest clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157391 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_rtl.h
|
580469d7e40e39319cb2d3750edac4bccca18105 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: weak interceptors The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples: asan/output_tests/interception_failure_test-linux.cc asan/output_tests/interception_test-linux.cc asan/output_tests/interception_malloc_test-linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157388 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/output_tests/heap-overflow.cc
san/output_tests/interception_failure_test-linux.cc
san/output_tests/interception_malloc_test-linux.cc
san/output_tests/interception_test-linux.cc
san/output_tests/strncpy-overflow.cc
san/output_tests/test_output.sh
san/output_tests/use-after-free.cc
nterception/interception.h
nterception/interception_linux.cc
nterception/interception_linux.h
san/rtl/tsan_rtl_report.cc
|
24567d409cca096b950574fa4b19aa4c2c67a1f0 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a flag to control RunningOnValgrind() return value git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157383 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interface_ann.cc
|
02a063660153ab4d0430b211f4dd0b3606bcbff7 |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Use zero-based shadow by default on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157318 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
|
c99f70044d64482adbc1053f04b32bdbf0d4c057 |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Move AsanShadowRangeIsAvailable() from mac to posix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157326 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
|
f1ee2cd5e4c7a46e1188315daa2c79181f852bec |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Use zero-based shadow by default on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157318 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
|
ed2341803878f04093f58848468926337d9ca88f |
23-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157314 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
adfb65039646774f0f063b538f8fb0aec021f42b |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add shadow memory flush + fix few bugs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/suppress_sequence.cc
san/rtl/tsan_clock.h
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
|
e294d09d45aa97d1d2c8ee237ee2ac225442d330 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix sizeof sigset_t git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157268 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
b9bcdb3cbdbf15480328501a096b4859604e4502 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix makefile allow to build custom configurations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157259 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/Makefile.old
|
9d2ffc2ee08216f8fad9b1bd267d1f112e0d2f01 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reduce per-thread memory usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157252 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_defs.h
san/rtl/tsan_mman.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_trace.h
san/rtl_tests/tsan_test_util_linux.cc
|
76ac5725a74b7f304803113ec90864ec2da796a4 |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke some old unused code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157250 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
6f350e0d1c385189cb94ddde7b288a2533b45b32 |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase the stack size limit to 256M (yes, that happens); also CHECK that the stack size is less than that on a non-main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157249 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_thread.h
|
26127735454fddae3495794f38189d57dde6510f |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: simple memory profiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157248 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mutex.cc
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
|
e4d141dbbaf5185f332a185c22308340657d243e |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix one test on 32-bit Mac 10.7; enable another test on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157237 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_interface_test.cc
san/tests/asan_test.cc
|
05906a7a12865b0fb0f5f6d607848cf7b5a1e5e0 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement malloc/free hooks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157196 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
8c505efd769a21eac7de53bc104757245af6ed4a |
21-May-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Make for-Windows RTL compileable using Clang++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157188 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_win.cc
|
6d6acaa301e86d997a9dd5aed51c72a736fa245d |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not assume non-recursive signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157187 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
e784ad46359c898e48d0262f28a1b7b4a512f1d3 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: replace CHECK with CHECK_EQ for better diagnostics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157181 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_rtl.h
|
d91d06794506f10fb7599a2b835222fba29394e0 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better, more realistic handling of signals git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157178 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_stat.h
|
efd958213d70188ae6f79afd79fe2c84956d24ff |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add more checks for OOM conditions tests like to try to malloc((size_t)-1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157176 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
7b8bee18f2f2c752bca3656b6092610b6cc9b503 |
18-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check for overflow in malloc() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157048 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
|
7d38634b30beed9bed44dfa6cb8e977ec51d7c6c |
18-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix potential NULL deref git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157047 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interceptors.cc
|
b7b6b1cd9df0c954b1f890fcebf373db984923b3 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove shutdown code tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156991 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
san/unit_tests/tsan_flags_test.cc
san/unit_tests/tsan_suppressions_test.cc
|
069ce828e3057819ee34426496ea7080f7cc52f0 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect accesses to freed memory http://codereview.appspot.com/6214052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156990 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/free_race.c
san/output_tests/free_race2.c
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
san/rtl/tsan_defs.h
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
3547924e57605830329c521d35b973e9c26567ea |
17-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix dependency rules in Makefile.old git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156983 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
7b664bf9be64f92d5a84a7481bd7a2e510f94583 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ValgrindSlowdown() should be weak for some time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156982 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_ann.cc
|
dc2f0320c565ea0fe6396d06c5990daab42be0e9 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add ValgrindSlowdown() "dynamic annotation" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156981 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_ann.cc
|
5c5564a8be4bf43f69833821ab16cd5d4d3fe5ba |
16-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve addr2line symbolizer -provide support for non-continous modules -ignore not loaded sections -more debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156924 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_symbolize_addr2line_linux.cc
|
ec1e196dabccd57c69dbcc0d4931bd1c5d36876c |
16-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add tiny_test.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156908 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/tiny_race.c
|
0629810986dc401f2766377cf313eab7fba5d051 |
16-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix old-style makefile -- we still need them to run our tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156907 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/Makefile.old
|
4026c2c28927b90a97cda2a713c761f633bb1422 |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] makefile machinery to build tsan-rt (linux-x86_64 only) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156822 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/CMakeLists.txt
san/Makefile.mk
san/rtl/Makefile.mk
|
c8c87202f2d26f04b6c1c7e8b301e3a97852cb8f |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the old-style Makefile, which we still need to run asan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156818 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
bc7ab9ce95a703ef732beb4ca4d0ea8778a60fdd |
15-May-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Update atomic.c to work with the new clang builtins. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156817 91177308-0d34-0410-b5e6-96231b3b80d8
tomic.c
|
0d49904d50fc42b411c396c472ce70f8e4575f99 |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move lib/asan/interception to lib/interception so that other tools (e.g. tsan) can use it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156816 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/Makefile.mk
san/interception/Makefile.mk
san/interception/interception.h
san/interception/interception_linux.cc
san/interception/interception_linux.h
san/interception/interception_mac.cc
san/interception/interception_mac.h
san/interception/interception_win.cc
san/interception/interception_win.h
san/interception/mach_override/LICENSE.TXT
san/interception/mach_override/Makefile.mk
san/interception/mach_override/README.txt
san/interception/mach_override/mach_override.c
san/interception/mach_override/mach_override.h
nterception/Makefile.mk
nterception/interception.h
nterception/interception_linux.cc
nterception/interception_linux.h
nterception/interception_mac.cc
nterception/interception_mac.h
nterception/interception_win.cc
nterception/interception_win.h
nterception/mach_override/LICENSE.TXT
nterception/mach_override/Makefile.mk
nterception/mach_override/README.txt
nterception/mach_override/mach_override.c
nterception/mach_override/mach_override.h
|
cdfb33a69a0c96c6912036ad85224972db3a7e7d |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add more atomics to public interface (fetch_or/and/xor + 1-,2-byte versions) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156766 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_stat.h
|
f5820e74ad31eb8352049c880f8d58e286a9b713 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: enabled report suppression for signal-unsafe reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156765 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_mman.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_report.cc
|
bfc45f132133966889aece2285ebe59dec978865 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix output_tests script to actually verify tests results git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156764 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/test_output.sh
|
a762200b9765014453b2761375ca7512672a7a6c |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make addr2line symbolizer understand dynamic libraries Collect info about all dynamic libraries in the process (name, base, size). Determine to what dyn lib the address relates, route request to addr2line instance for the lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156759 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_symbolize_addr2line_linux.cc
|
38a2f2ac4ec70d4a10c549a9d4ba55711a9ff3f8 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update output tests to race on heap memory Races on stack of main thread are problematic for COMPAT mapping, because it's not 1-to-1 and race addr is not properly mapped from shadow back to application memory. Update output tests to race heap memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156758 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/mop_with_offset.cc
san/output_tests/mop_with_offset2.cc
|
37f60be6cf5d1d9f2be722095c68eb9cdbd5ef31 |
13-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mmap fd This is mostly to test my commit access. Fixes fd passed to mmap(), -1 is the proper invalid fd. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156741 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_platform_linux.cc
|
8ca02789a274fa46abccacad4a0820a9fe2f75f4 |
12-May-2012 |
Alexander Potapenko <glider@google.com> |
Increase error_message_buffer_size to 64K (16K is insufficient for large programs) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156711 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
3972ea03aa52d81ca324945ba94eea22d403df12 |
12-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix GetFrameNameByAddr hitting stale stack guards. In the current implementation AsanThread::GetFrameNameByAddr scans the stack for a magic guard value to locate base address of the stack frame. This is not reliable, especially on ARM, where the code that stores this magic value has to construct it in a register from two small intermediates; this register can then end up stored in a random stack location in the prologue of another function. With this change, GetFrameNameByAddr scans the shadow memory for the signature of a left stack redzone instead. It is now possible to remove the magic from the instrumentation pass for additional performance gain. We keep it there for now just to make sure the new algorithm does not fail in some corner case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156710 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mapping.h
san/asan_thread.cc
|
1b2d44c0473e84bc43514c1f3adc0ed30f297ebd |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] run output tests in parallel git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156617 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/test_output.sh
|
3d6ae1580e5f34f02d24ff0c8bb352a5026c327a |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] run more kinds of builds as presubmit test (and fix gcc debug build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156616 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/rtl/Makefile.old
san/rtl/tsan_clock.h
san/rtl/tsan_defs.h
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_thread.cc
|
de257a9fb62839cc21e83263665473861967e124 |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a bit more lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156614 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/unit_tests/tsan_platform_test.cc
|
b82ae88720750d0ad4fd829c84e0dd0f8708cc2b |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] old-dstyle Makefile for tests; two helper scripts that analyze the assembly code of the hot functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156547 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/analyze_libtsan.sh
san/check_analyze.sh
san/output_tests/test_output.sh
san/rtl/Makefile.old
|
da4edd850db1a333c15fc3b0abc01a2e8d2f08fe |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] ThreadSanitizer tests and micro benchmarks. No makefiles yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156545 91177308-0d34-0410-b5e6-96231b3b80d8
san/benchmarks/mini_bench_local.cc
san/benchmarks/mini_bench_shared.cc
san/benchmarks/start_many_threads.cc
san/benchmarks/vts_many_threads_bench.cc
san/output_tests/free_race.c
san/output_tests/heap_race.cc
san/output_tests/memcpy_race.cc
san/output_tests/mop_with_offset.cc
san/output_tests/mop_with_offset2.cc
san/output_tests/race_on_barrier.c
san/output_tests/race_on_barrier2.c
san/output_tests/race_on_mutex.c
san/output_tests/race_with_finished_thread.cc
san/output_tests/simple_race.c
san/output_tests/simple_race.cc
san/output_tests/simple_stack.c
san/output_tests/simple_stack2.cc
san/output_tests/static_init1.cc
san/output_tests/static_init2.cc
san/output_tests/static_init3.cc
san/output_tests/static_init4.cc
san/output_tests/static_init5.cc
san/output_tests/suppress_same_address.cc
san/output_tests/suppress_same_stacks.cc
san/output_tests/suppress_sequence.cc
san/output_tests/test_output.sh
san/output_tests/thread_leak.c
san/output_tests/thread_leak2.c
san/output_tests/thread_leak3.c
san/output_tests/vptr_benign_race.cc
san/output_tests/vptr_harmful_race.cc
san/rtl_tests/tsan_bench.cc
san/rtl_tests/tsan_mop.cc
san/rtl_tests/tsan_mutex.cc
san/rtl_tests/tsan_posix.cc
san/rtl_tests/tsan_string.cc
san/rtl_tests/tsan_test.cc
san/rtl_tests/tsan_test_util.h
san/rtl_tests/tsan_test_util_linux.cc
san/rtl_tests/tsan_thread.cc
san/unit_tests/tsan_allocator_test.cc
san/unit_tests/tsan_clock_test.cc
san/unit_tests/tsan_flags_test.cc
san/unit_tests/tsan_mman_test.cc
san/unit_tests/tsan_mutex_test.cc
san/unit_tests/tsan_platform_test.cc
san/unit_tests/tsan_printf_test.cc
san/unit_tests/tsan_shadow_test.cc
san/unit_tests/tsan_suppressions_test.cc
san/unit_tests/tsan_sync_test.cc
san/unit_tests/tsan_vector_test.cc
|
d40895d1305d630a5bfeb103fdbbf2a4d955b404 |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add the old Makefile (which is the only way to build the tsan-rtl for now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156544 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/Makefile.old
|
7ac41484ea322e0ea5774df681660269f5dc321e |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] First commit of ThreadSanitizer (TSan) run-time library. Algorithm description: http://code.google.com/p/thread-sanitizer/wiki/ThreadSanitizerAlgorithm Status: The tool is known to work on large real-life applications, but still has quite a few rough edges. Nothing is guaranteed yet. The tool works on x86_64 Linux. Support for 64-bit MacOS 10.7+ is planned for late 2012. Support for 32-bit OSes is doable, but problematic and not yet planed. Further commits coming: - tests - makefiles - documentation - clang driver patch The code was previously developed at http://code.google.com/p/data-race-test/source/browse/trunk/v2/ by Dmitry Vyukov and Kostya Serebryany with contributions from Timur Iskhodzhanov, Alexander Potapenko, Alexey Samsonov and Evgeniy Stepanov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
san/rtl/tsan_allocator.cc
san/rtl/tsan_allocator.h
san/rtl/tsan_atomic.h
san/rtl/tsan_clock.cc
san/rtl/tsan_clock.h
san/rtl/tsan_compiler.h
san/rtl/tsan_defs.h
san/rtl/tsan_flags.cc
san/rtl/tsan_flags.h
san/rtl/tsan_interceptors.cc
san/rtl/tsan_interface.cc
san/rtl/tsan_interface.h
san/rtl/tsan_interface_ann.cc
san/rtl/tsan_interface_ann.h
san/rtl/tsan_interface_atomic.cc
san/rtl/tsan_interface_atomic.h
san/rtl/tsan_interface_inl.h
san/rtl/tsan_md5.cc
san/rtl/tsan_mman.cc
san/rtl/tsan_mman.h
san/rtl/tsan_mutex.cc
san/rtl/tsan_mutex.h
san/rtl/tsan_placement_new.h
san/rtl/tsan_platform.h
san/rtl/tsan_platform_linux.cc
san/rtl/tsan_printf.cc
san/rtl/tsan_report.cc
san/rtl/tsan_report.h
san/rtl/tsan_rtl.cc
san/rtl/tsan_rtl.h
san/rtl/tsan_rtl_amd64.S
san/rtl/tsan_rtl_mutex.cc
san/rtl/tsan_rtl_report.cc
san/rtl/tsan_rtl_thread.cc
san/rtl/tsan_stat.cc
san/rtl/tsan_stat.h
san/rtl/tsan_suppressions.cc
san/rtl/tsan_suppressions.h
san/rtl/tsan_symbolize.h
san/rtl/tsan_symbolize_addr2line_linux.cc
san/rtl/tsan_sync.cc
san/rtl/tsan_sync.h
san/rtl/tsan_trace.h
san/rtl/tsan_update_shadow_word_inl.h
san/rtl/tsan_vector.h
|
f2b1df7cb8f53f51bcb105e0d2930d99325bb681 |
10-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix ReadFileToBuffer to return 0 on failure (-1 is too large if returned as size_t). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156538 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
b8a0c57f15cab97957901b5c71eaac14972b71ed |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Add stlport for include <algorithm>. Fix build. Change-Id: Id54d41241a9f86ac9a2119695dd03c457871c8e8
san/Android.mk
|
8e2ac92639f80f0c850bb91d9f51a5f149c0ae29 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Merge commit '034bda5eab7cda14fac0bed3a39de4a3dbce3cff' into 20120424. Change-Id: Ie524091c0c960d8e2d53fcff1d0b8f1c988c357d
|
909888cda6417db5ca06199a5da51e3408fd35c5 |
23-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use CLANG_VERSION in Makefile (currently 3.2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155350 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
0796393f2088e3b75c4110934451160eeb037fab |
23-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan issue #66 (correctly report type of the bug) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155344 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/tests/asan_test.cc
|
6f262bf77b3223992f1c794829485f6995aa7434 |
23-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Bump the LLVM minor version. This should fix our 32-bit Linux build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155338 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
4eaa17848ed02cae465f10aa5fe095e42dbf0d61 |
19-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] test for issue #66 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155127 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
034bda5eab7cda14fac0bed3a39de4a3dbce3cff |
16-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Partially revert r154390 (http://llvm.org/viewvc/llvm-project?view=rev&revision=154390) Until we work out the solution for http://code.google.com/p/address-sanitizer/issues/detail?id=65 we'd better not allow the clients to override AddressSanitizer's signal handler. The second part of r154390 (removing the sighandler-related tests) is not reverted, because those tests were broken and didn't test anything. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154803 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
0a27a1f97e7d089de28b39744adfc6bc61df0bf1 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] minor fix: pass flag -g to output tests as a part of CXXFLAGS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154589 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/test_output.sh
|
5b952b72e1a484e1773312c86e84e2c221c246b2 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
Don't build atomic.c when building compiler-rt using make git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154583 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
|
c2f2d0c008c68f237959a765f9b7d20ca2acdb98 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix output tests - r154570 changed debug info for static functions and now they are symbolized a bit differently git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154581 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/large_func_test.cc
|
73ac687e4bf9914dc7507ed18ef38cf326ef2175 |
10-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Change the way ASan interacts with custom signal handlers. From now on we allow the clients to override signal handlers set by ASan, but print a warning in such a case. Remove the tests for signal() and sigaction(), because they made little sense even without this change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154390 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
f7ceaad2919d2e26e9edea29232bc9dd8f145c42 |
09-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove dispatch.h header once again - it's not present on Leopard, and we don't want to break the build of compiler-rt there. See https://trac.macports.org/ticket/33362 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154326 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
2dcf44991a8ec1ca7c8051eb27c5ff158530bdc3 |
09-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Use 'typename' instead of 'class' in template<> definitions supporting POD types git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154314 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
850a49ecb344a71d62347bbee8042ae13b624033 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] last bit for gcc compatibility git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154203 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
|
4d9a9576c143fb6091b01cde3a87fc62461205c8 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] minor change to please gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154201 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
4d5f98df886051afeece1698d4bc8f154391c22d |
06-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move replacements for new/delete to separate file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154167 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_interceptors.cc
san/asan_internal.h
san/asan_new_delete.cc
san/asan_rtl.cc
|
f8e6fee734cf5e3d061f576244b2704853148b04 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add flags: disable_core, abort_on_error and unmap_shadow_on_exit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154159 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_win.cc
|
31429389e6e01567d9f03ac5b4057cc58b7fe3f2 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Revert the local Makefile change slipped into the prev commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154112 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
00152bf83e075df1e83bef82ae0a00bee179a956 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154111 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_win.cc
|
8a5d8c4d2826830b8a5bbce207145fc5436119a5 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix build by using inline assembly instead of an unavailable intrinsic function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154106 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
f1e82b8fda94535e9a646fc5fe394d9883ccfa2c |
05-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make __asan::Deallocate immune to racy double-free (issue #57) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154097 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_posix.cc
san/asan_win.cc
|
f03d8afc8b8dd072c4e2884a7475ee28ac5f3f41 |
05-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Introduce the use_sigaltstack flag (off by default), which enables using alternate per-thread stacks for signal handling. This allows to print more verbose error reports for stack overflows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154092 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_win.cc
|
adf331e82ff0f02f68eb3aabd94f9bbd46f94dd0 |
05-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Allow calling GetCurrentTidOrMinusOne() before AsanThreadRegistry was initialized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154091 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
d51e0a05b4aefc85c356c9bddd8a24efc77721d9 |
05-Apr-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Initial, very rough cut at a new CMake build system for compiler-rt. Some high-level notes: 1) An explicit goal is to support building compiler-rt as a subproject build, checked out into the projects/compiler-rt directory. There are many other possible ways of building the code here, but this is optimized for development on LLVM/Clang/compiler-rt, and incremental trial and testing of the toolchain. 2) The current support is targeted at Linux. I would love to see this generalized to other platforms, but for the sake of simplicity in testing, I'm focusing here first. Much of this patch was paired with Manuel, and I credit him with the majority of the work here. Some important caveats that I'll be working on in subsequent patches: 1) This uses the host compiler rather than using the just-built-clang. 2) Currently only x86 is supported. 3) Currently, none of the tests are built or run. 4) Uses CMake's builtin globbing which doesn't update correctly. 5) This is still turned off from LLVM's CMake build until these issues are addressed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154060 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san/CMakeLists.txt
|
062ed090ed6416fe639a2dcb2d51fbbeb2f1b579 |
05-Apr-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove the old, and non-functional CMake build system from CompilerRT. I cannot build any part of this successfully on either Linux or Darwin, and the replacement is worlds simpler by requiring that this be built as a subproject of LLVM. If this breaks you for any reason, please let me know, and let me know what your use case is. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154059 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
rm/CMakeLists.txt
386/CMakeLists.txt
pc/CMakeLists.txt
86_64/CMakeLists.txt
|
d01c51d33a5b4c52160c0a6cc18f7739a0a137d3 |
04-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use correct C-version of strchr on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154006 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
e48a197f5e2c72c350de60486fc6ef9c5ba3c681 |
29-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Simplify asan build rules and add output tests. Change-Id: I66e6b2e4ef4feaa393118e7014dc423f1972d5a4
san/Android.mk
|
fa3eee4101f39661b4a88ac0bc7f184ca8c1ecb1 |
30-Mar-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix the build on 32 bit hosts. - Add memcpy and memcmp to the stub headers. - __uint128_t is not available on 32 bit platforms. It's also unused so just comment it out for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153779 91177308-0d34-0410-b5e6-96231b3b80d8
tomic.c
|
8c9ccc655405dd8a41264fe7eb5f902700077d1a |
30-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Make sure NSObjects are allocated in a way that is visible to ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153762 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.h
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
2aff73868669a46a84ea617801beea47dda0b581 |
30-Mar-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Initial commit of support functions for atomic operations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153735 91177308-0d34-0410-b5e6-96231b3b80d8
tomic.c
|
ebb9702cff96192c6a6ea963037929ca7ed60eae |
29-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153641 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
san/asan_malloc_mac.cc
|
847f932ab0405757946433b81d3b2952b306b0bc |
29-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] interceptors for atoi/atol/atoll git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153637 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
552c6702493cfcab356d3aa94becf50ff019838b |
28-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153601 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_racy_double_free_test.cc
|
44830c2f85f417bd486b49a53d97c640dd75728e |
28-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add racy double-free test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153586 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_racy_double_free_test.cc
|
108a237510099cebb1522262fe1fde57fc5b8f90 |
27-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Log the allocator messages at a higher verbosity level. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153514 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
8f6a77f3f59ebc5f40f235e51836f468f30b9110 |
26-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strtol git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153444 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
f4d78cf81a8c870a7490715eb0881dc58a9e43a1 |
26-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Avoid including link.h. It's not available on Android. We only use this header to find out if _DYNAMIC is present; declaring it "extern void*" does the trick. This is a cherry-pick of upstream r153431. Change-Id: I7feffaf36dc97c3d1e8412399c83d1538e5c9c44
san/asan_linux.cc
|
aa33a50c9d0f3e3f22c8b21fa7309ec91f9d939a |
26-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Avoid including link.h. It's not available on Android. We only use this header to find out if _DYNAMIC is present; declaring it "extern void*" does the trick. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153431 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
34a3202a2c22816a6da66959e266a2d078ded37b |
26-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use macro to define if we should intercept signal/sigaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153430 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
|
670439cf36c7335add97aa4de65a397cce9ba849 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] revert r153378 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153379 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
4f245442bd9b818cb4c1f5c0d3bcc9fdf1e82f10 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] simplify ASAN_INTERCEPT_* definitions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153378 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
81a7a4ab53c94e76c3b131d6f0ed82894640900b |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use ASAN_INTERCEPT_STRNLEN instead of defined(__APPLE__) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153377 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
84ba324b94d22a69acc823e845f9718fd2984e44 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strtoll git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153376 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
938106753364d96cedc11cbdc35a15030fb44d0c |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/tests] Make 'noinline' and a bunch of other stuff portable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153333 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/asan_test_utils.h
|
f6607d097833cd53460735c1a5a2fd52b97613eb |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] replace '#if ... or ...' with '#if ... || ...' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153332 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
1bbe2561a695af15f116e5ffec7e5f9cf7c54811 |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add a few more malloc-related interceptors for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153327 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_win.cc
|
d46c02a714abc1be3380619d946fc0f545d9e8a7 |
22-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Handle two-byte short jumps in the relocated code. After the instructions are moved to the branch island, fixupInstructions() expands every 2-byte ja/je instruction with a 1-byte offset into a 6-byte ja/je with 32-bit offset. The offset is fixed to point to the original function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153249 91177308-0d34-0410-b5e6-96231b3b80d8
san/interception/mach_override/mach_override.c
|
9b90e95d4dc59c6d97ed73b2470f5e21e7b346d5 |
21-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] extend the test for long double bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153190 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
a4898423f0f69d9f7f96631e6384695b0c54d9a9 |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] one more try to remove pthread.h from asan_interceptors.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153188 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
56e25249493ff0eeb20d5ab9b2ffe635a7b63ac5 |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] add missing declarations from string.h and remove this header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153187 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
4e7abdcc8ed92a56561ed34f36295c6d01204e5d |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] use extern declaraions of libc functions on Win and on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153186 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
73fe35fa6b4c437c9a723eb7bbad4863c7edbe1e |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: remove signal.h system header from interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153183 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
a28aa80ad371d5ab8d7ddd244ad1d695ded29a7e |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: substitute extern decls with system header in asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153182 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
beba6448539095b67cab266d09cd7b7d313b8c3d |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] merge mac-specific interceptors into one function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153180 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
|
5cf832dc0a6566ae4bb8d48b1f41da623d2c2c1a |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: remove asan_mac.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153179 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
san/asan_mac.h
|
64ce2db7c838cd95315f7a4428e8a628eaa3e2fc |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: start removing os-specific asan_mac.h - move inclusion of mac system header to asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153178 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_mac.h
|
739eb7984139d457216623347ae3b7a706c0aadf |
21-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Support for %z to Printf() At the moment, asan internal Printf() uses %l modifier for printing values of size_t and related types. This works, because we control both the implementation of Printf and all its uses, but can be a little misleading. This change adds support for %z to Printf(). All callers that print sizes and pointers as integers are switched to %zu / %zx. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153177 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_malloc_linux.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
san/asan_thread.cc
|
2962f26071ebef1d5fec52b5569e5ae7aae45c9b |
21-Mar-2012 |
Alexander Potapenko <glider@google.com> |
s/Printf/Report for libc interceptors (need this to debug the potential double interception) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153175 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
dc3865b01cd56b703b77f58d5acff6529491eaf3 |
13-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Build rules + Android-specific ASan bits. Change-Id: Idb4daff9fd674ebdbb97ba38e6100686416389ce
san/Android.mk
san/asan_android_stub.cc
san/asanwrapper.cc
san/scripts/symbolize.py
|
6ebea222e306fbe53aab78d7781e5ac19be46b5d |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] get rid of setjmp.h header in interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153085 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.h
|
38dd4ed885e714c376466f6fe0d69f5f22d37014 |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan]: remove GetMacosVersion from asan_mac.h header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153084 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_mac.cc
san/asan_mac.h
|
95d6b33a6a533f628872bd942339ff42f9ff1a6b |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan]: re-enable noreturn attribute on posix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153082 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
|
cadaab1344c08b69fb3649bfb8a043bed5249145 |
16-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] disable GetOwnershipStressTest on non-linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152953 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_interface_test.cc
|
fdbdab5ff8de4c23b58bb411ea2358a78e2d9b2f |
16-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added an assert in InitializeAsanInterceptors (it should be run just once) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152945 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
feb479345ccc947e3e7429b949caa7f89c84a85e |
16-Mar-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Print the parsed ASAN_OPTIONS for verbosity>0. Move the flags around slightly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152929 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
650a1e163ef05b89f40143eb8b9af4f64ad0b68d |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] one more -Wnull-conversion fix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152773 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
9f311bb0919d86ab3df2810dc0b81b70a87677e3 |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix unwinding inside libc intercepors (asan issue #46) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152768 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_rtl.cc
san/asan_stack.h
san/output_tests/memcmp_test.cc
|
8599762021935ccfce4db9b054f092af8ef001ab |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] performance optimization: make sure the check for poisoned shadow inside inteceptors is inlined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152767 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mapping.h
san/asan_poisoning.cc
|
f0977db20608fa61fe6dd14d96cdd94c35c85b4e |
14-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix -Wnull-conversion warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152747 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
469a1ab32f53b8fd7cde76211565ce577dfb8f14 |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Undo NORETURN on POSIX as it's not clear how to do this cleanly yet git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152631 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
b55c88d6d21c862261f267c5199e3aacc0cd30eb |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix build error on Linux; screen-reviewed by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152629 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
|
23bd2bb37cbc4a2736be817d746752a03cee2d5f |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Eliminate a couple of FIXMEs, add NORETURN to CheckFailed/UNIMPLEMENTED git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152628 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_win.cc
|
99a40fbdd68f2576c6d5a08fea73f5708c4b7792 |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix wrong memmove,memcpy,memset interceptor definitons git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152622 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
9bdf0651a2874ea5d57092cd06ad30bc7a39ce86 |
13-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix a couple of typos git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152617 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
2ac52fd9b9dfcc1bd4c3f64cfdfd715d6eae4b38 |
13-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] output test for memcmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152594 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/memcmp_test.cc
|
2716a61d085a8fdf13a099822720e320414cc4dc |
12-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add back the support for /MT; intercept statically-linked functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152557 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_malloc_win.cc
san/asan_win.cc
san/interception/interception.h
san/interception/interception_win.cc
san/interception/interception_win.h
|
27a7800419497f6248e81b2aa35f96a21d78c9a0 |
11-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Use WriteFile instead of fwrite in AsanWrite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152540 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_win.cc
|
25c7178bf96d2316a3d9424b118d04bc51be1a9b |
10-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownership git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152467 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_posix.cc
san/asan_win.cc
san/tests/asan_interface_test.cc
|
d364f87f81fda55d68a9e968bd314541c4272cde |
09-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a (disabled) stress test for __asan_get_ownership git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152362 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_interface_test.cc
|
40928f1ec8a8f43464a83b416f75fbe89f21f753 |
08-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix off-by-one error in stack unwinder (asan issue #44; reproduced thanks to 'csmith' fuzzer) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152347 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_stack.cc
|
50f9b8f8d1d9ac33d4bfca9fb2315f1265d957d3 |
08-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't use dl_iterate_phdr on linux, go back to using /proc/self/maps. Hopefully fixes the problem reported by our mozilla friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152341 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_linux.cc
san/asan_procmaps.h
|
0cbaf7b22c95c9ef4384ce9f58528c90312ed8ec |
07-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152226 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_win.cc
|
cf13eb28b24109c0523275a62973412b702cbb43 |
07-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Intercept _msize, required for running SQLite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152224 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_win.cc
|
dadc45d92ea166174b9b119f7fedc25fd3b538d7 |
06-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Force __asan_handle_no_return into the binary built with ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152117 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
eeb719154538f38ffd54d8d3bfd8e113b97fe6a1 |
06-Mar-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Make sure to properly ifdef out an unused function on OSX < 10.6. PR12136. Patch from Jeremy Huddleston. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152085 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
5b6eab9dc5572a66e3af54ab087255ffa4dd5185 |
02-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a negative test for memcpy of long double. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151888 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
2f3f962de9aeaef47d41bf3d6009bbd0280e2620 |
01-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Force __asan_set_death_callback into the resulting binary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151808 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
d9a88ccecbd7af0d11dae4d23d85706479470fdf |
29-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Replace CRT .dll malloc with our implementation at asan_init() time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151715 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_win.cc
|
3fe913558354f76707e2c5584559521399854b79 |
27-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. If the callback is set, Report() and Printf() print the reports into a buffer (together with stderr), which is then passed to the client. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151528 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_interface.h
san/asan_printf.cc
san/asan_rtl.cc
san/tests/asan_interface_test.cc
|
8ae44ac678644265ba82a1b5696a402c9301a85c |
27-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Replace some #ifdef(s) with plain if(s). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151526 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_rtl.cc
san/tests/asan_test.cc
|
e04606631d3cf6e5f9e695a8af4d89c407aea33a |
27-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: add some checks to AsanChunkFifoList::PushList git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151521 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
34b18e17d0171813a8db299ba168aa3b70de4576 |
24-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't compile gtest with asan when building asan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151391 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
600972e3427173cc8904d741decd1af0ed5de9fd |
24-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Intercept CreateThread on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151366 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_thread.cc
san/asan_thread.h
san/asan_win.cc
san/interception/interception.h
|
bfc694d2a8531444c7c44e5785c0bb708601eb54 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: quick fix - undef INT32_MIN etc to avoid macro redefinition git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151165 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
b823e3c5f7891dbbde1eb288237f5f3d5ed64d85 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: get rid of stdlib.h and add (smaller) stddef.h instead git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151162 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_win.cc
|
07bb9f1e3600195119aec1aae1aa48a6ed2f5feb |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Intercept functions on Windows - first version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151161 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_malloc_win.cc
san/asan_win.cc
san/interception/interception.h
san/interception/interception_win.cc
san/interception/interception_win.h
|
e4092f6780e107797bc6f2c77219a7256f7b04f3 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: get rid of limits.h, use constants for fixed size integral types instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151159 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
|
b8ef925563f8dde5be837c4b0569082867c5f14c |
22-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Remove mentions of pthread*_t from interceptors. Some platforms do not define pthread_t in stdlib.h. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151158 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
c27734d7f82707ce33da39fec3cdb47f5f363e28 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix Makefile.old - gtest should depend on libasan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151157 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
39c22ee8c3d2d052148a40fd00f1adbb17aabe4d |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix style + suppress 'long' lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151149 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
99d17ebc36fe74326493bdd3dab4082ffc1dc96e |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems. Define AsanDumpProcessMaps as unimplemented on Windows. This should fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151147 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_procmaps.h
san/asan_rtl.cc
san/asan_win.cc
|
e6b9ebba53038ac4d1e2377ebdd15359c28368cb |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix a wrong filename mentioned in a comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151145 91177308-0d34-0410-b5e6-96231b3b80d8
san/interception/interception_linux.h
|
ddaf73924385de46aa015059b876676ced63826f |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Dump the process memory map if any of the mappings interleaves with the shadow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151141 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
4b1506d3baf9071973a8fa094c8c33800493ced9 |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Add AsanProcMaps::Dump() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151139 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_procmaps.h
|
38ed73630902782ba3743529d0cce2ba3014c53e |
21-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add __asan_init to the list of C dynamic initializers to support /MD on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151059 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
de81a79f485454e55c3f168af737123dbc20d0ce |
21-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Fix the lib32 and lib64 targets. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151057 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
b39f0ceeb872024b0c64f9c0387b368ec829dc75 |
21-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151051 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
60490e08cce301b2dd7b72fcae8e20ef58c89a9b |
21-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Check that the FakeStack size is non-zero before looking into it. Sometimes DescribeStackAddress is called before another thread's FakeStack is initialized, which could previously cause a check to fire. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151046 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.h
san/asan_thread_registry.cc
|
ebdbf7bbbbfdd881703a0d0d69f8ce2461a3d1c1 |
21-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Don't include GrandCentralDispatch headers in asan headers on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151044 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.h
|
a12cd6e506e1941ff9fd55154d0d15d5b4d1cce8 |
21-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't use /tmp for temporary file in output tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151042 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/test_output.sh
|
8898102a6b1479a9af65857ccbbc1c329a4d9187 |
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: use custom strtol/atoll functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150812 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_rtl.cc
|
6a3e6fd72e1e2322d28ced9d9c2adbd720e7fabf |
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150802 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_rtl.cc
san/tests/asan_test.cc
|
da13ba833b046553f50b54538e4828287ddbf5c0 |
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: revert r150683 - we can't get rid of headers that easily git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150699 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
|
788e1d704436065beb514fdde86070f61d0394ed |
16-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Allocator tweaks for low memory systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150689 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_rtl.cc
san/tests/asan_test.cc
san/tests/asan_test_config.h
|
5c7e5001c6dd6d8add659c9eae41e4c71d6f11ee |
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't include pthread.h and signal.h in interceptors on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150683 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
|
5e4e91cf211c76ea7103bd3718285443c5c3cd78 |
16-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't do AsanDie twice git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150641 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
cf1fba49f0d97a5b781c0bc0f9eb51c9174f57fb |
15-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't include pthread.h in asan_interceptors.cc on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150573 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
afaf71f0b2c6455614e2ab8f208312dea0871fe9 |
15-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: simplify IntervalsAreSeparate function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150569 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
5362717f2c121384778429b5cf34712925ad4a9b |
14-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Define an internal implementation of strchr to make stack OOB tests pass on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150499 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_rtl.cc
|
c85f91f745884e8f9bc243b506e89a4e50260e11 |
14-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add lots of missing visibility attributes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150479 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
|
e1fe0fd868886b53cb8d5d957afebbdd47688df7 |
13-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement __asan_set_death_callback git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150414 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/asan_win.cc
san/tests/asan_interface_test.cc
|
895b3872acb5bcccb1769ea69d37dd33c722f99d |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150400 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
92baa8c808d918bd8b4b00d330ebf925e0b694d4 |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Lint fix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150399 91177308-0d34-0410-b5e6-96231b3b80d8
san/interception/interception_linux.cc
|
f73a6a3f81573ba85a5e29955980818b18b0a58a |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the non-trivial implementation of AsanShadowRangeIsAvailable to asan_mac.cc to avoid crashes on Linux and Win. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150398 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_win.cc
|
c50e83576323d93433086b4c751f1746597a4286 |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Check whether the shadow memory range intersects with an existing mapping. This should help to detect problems with ASLR or linker tricks early. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150391 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
cf93383123f57a45473d1eee9339ded1667b1e5e |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: re-enable lint for output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150386 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/output_tests/global-overflow.cc
san/output_tests/large_func_test.cc
san/output_tests/null_deref.cc
san/output_tests/use-after-free.cc
|
cc5f4c67fd362f725b86267d72469f8a338ae54d |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix llvm headers in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150385 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/dlclose-test-so.cc
san/output_tests/dlclose-test.cc
san/output_tests/shared-lib-test-so.cc
san/output_tests/shared-lib-test.cc
|
e204e1378a82d5bcbc941641cb638a198fc4646c |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: remove match_output.py, split expected output into OS-specific and OS-independent parts git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150384 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/clone_test.cc
san/output_tests/deep_tail_call.cc
san/output_tests/dlclose-test.cc
san/output_tests/global-overflow.cc
san/output_tests/heap-overflow.cc
san/output_tests/large_func_test.cc
san/output_tests/match_output.py
san/output_tests/null_deref.cc
san/output_tests/shared-lib-test.cc
san/output_tests/stack-overflow.cc
san/output_tests/stack-use-after-return.cc.disabled
san/output_tests/strncpy-overflow.cc
san/output_tests/test_output.sh
san/output_tests/use-after-free.cc
|
88e11b606013d2e6866e0d390f3a905c03e9716b |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a missing include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150382 91177308-0d34-0410-b5e6-96231b3b80d8
san/interception/interception_linux.cc
|
7b7b55e99166511ce1e66bf6b79c46ae4aa60d17 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a missing return. It is technically reachable on Android, where pthread_exit is not marked noreturn. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150381 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
fad8a073a90bd518cc48e269edae7e68470624b7 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Convert templates for output tests to FileCheck format and move them inside sources git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150375 91177308-0d34-0410-b5e6-96231b3b80d8
san/output_tests/clone_test.cc
san/output_tests/clone_test.tmpl
san/output_tests/deep_tail_call.cc
san/output_tests/deep_tail_call.tmpl
san/output_tests/dlclose-test.cc
san/output_tests/dlclose-test.tmpl
san/output_tests/global-overflow.cc
san/output_tests/global-overflow.tmpl
san/output_tests/heap-overflow.cc
san/output_tests/heap-overflow.tmpl
san/output_tests/heap-overflow.tmpl.Darwin
san/output_tests/large_func_test.cc
san/output_tests/large_func_test.tmpl
san/output_tests/null_deref.cc
san/output_tests/null_deref.tmpl
san/output_tests/null_deref.tmpl.Darwin
san/output_tests/shared-lib-test.cc
san/output_tests/shared-lib-test.tmpl
san/output_tests/stack-overflow.cc
san/output_tests/stack-overflow.tmpl
san/output_tests/stack-use-after-return.cc
san/output_tests/stack-use-after-return.cc.disabled
san/output_tests/stack-use-after-return.disabled
san/output_tests/strncpy-overflow.cc
san/output_tests/strncpy-overflow.tmpl
san/output_tests/strncpy-overflow.tmpl.Darwin
san/output_tests/test_output.sh
san/output_tests/use-after-free.cc
san/output_tests/use-after-free.tmpl
san/output_tests/use-after-free.tmpl.Darwin
|
4b0c5f240e71be4f375627e57d0f1b89600918a7 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Return type of index() is char*. This is important for Android, where we can't keep system headers from leaking into asan_interceptors.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150374 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
919c24787a655597bdcf367e26c9dd1504e9f463 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Disable signal&sigaction interceptors on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150373 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
5ffafd8c9eece8453ea1434bb698b0c691954067 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Default visibility for __asan_handle_no_return. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150372 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
7bce450c1695dbef28ab7ccc5b0127b11a8557c7 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix a crash in GetCurrent() of an undead thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150371 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
|
b185687737fb687268cb1cd672c4e181907b68e1 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix path to FileCheck in makefiles git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150368 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/output_tests/test_output.sh
|
e3b8cdfe80489814260b884b0b9a86c823d39bd6 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: move output tests to a separate directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150367 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/output_tests/clone_test.cc
san/output_tests/clone_test.tmpl
san/output_tests/deep_tail_call.cc
san/output_tests/deep_tail_call.tmpl
san/output_tests/dlclose-test-so.cc
san/output_tests/dlclose-test.cc
san/output_tests/dlclose-test.tmpl
san/output_tests/global-overflow.cc
san/output_tests/global-overflow.tmpl
san/output_tests/heap-overflow.cc
san/output_tests/heap-overflow.tmpl
san/output_tests/heap-overflow.tmpl.Darwin
san/output_tests/large_func_test.cc
san/output_tests/large_func_test.tmpl
san/output_tests/match_output.py
san/output_tests/null_deref.cc
san/output_tests/null_deref.tmpl
san/output_tests/null_deref.tmpl.Darwin
san/output_tests/shared-lib-test-so.cc
san/output_tests/shared-lib-test.cc
san/output_tests/shared-lib-test.tmpl
san/output_tests/stack-overflow.cc
san/output_tests/stack-overflow.tmpl
san/output_tests/stack-use-after-return.cc
san/output_tests/stack-use-after-return.disabled
san/output_tests/strncpy-overflow.cc
san/output_tests/strncpy-overflow.tmpl
san/output_tests/strncpy-overflow.tmpl.Darwin
san/output_tests/test_output.sh
san/output_tests/use-after-free.c
san/output_tests/use-after-free.cc
san/output_tests/use-after-free.tmpl
san/output_tests/use-after-free.tmpl.Darwin
san/tests/clone_test.cc
san/tests/clone_test.tmpl
san/tests/deep_tail_call.cc
san/tests/deep_tail_call.tmpl
san/tests/dlclose-test-so.cc
san/tests/dlclose-test.cc
san/tests/dlclose-test.tmpl
san/tests/global-overflow.cc
san/tests/global-overflow.tmpl
san/tests/heap-overflow.cc
san/tests/heap-overflow.tmpl
san/tests/heap-overflow.tmpl.Darwin
san/tests/large_func_test.cc
san/tests/large_func_test.tmpl
san/tests/match_output.py
san/tests/null_deref.cc
san/tests/null_deref.tmpl
san/tests/null_deref.tmpl.Darwin
san/tests/shared-lib-test-so.cc
san/tests/shared-lib-test.cc
san/tests/shared-lib-test.tmpl
san/tests/stack-overflow.cc
san/tests/stack-overflow.tmpl
san/tests/stack-use-after-return.cc
san/tests/stack-use-after-return.disabled
san/tests/strncpy-overflow.cc
san/tests/strncpy-overflow.tmpl
san/tests/strncpy-overflow.tmpl.Darwin
san/tests/test_output.sh
san/tests/use-after-free.c
san/tests/use-after-free.cc
san/tests/use-after-free.tmpl
san/tests/use-after-free.tmpl.Darwin
|
3755a33a60265400e8fba9efa3a605acc3bdd6d8 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Use FileCheck instead of grep for pure C output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150366 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/test_output.sh
san/tests/use-after-free.c
|
36c24251224ec84baa660aec5795972593eb8b94 |
10-Feb-2012 |
Bob Wilson <bob.wilson@apple.com> |
Back out some changes that accidentally committed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150254 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/comparesf2.S
rm/divdf3vfp.S
rm/divmodsi4.S
rm/divsf3vfp.S
rm/divsi3.S
rm/eqdf2vfp.S
rm/udivmodsi4.S
ssembly.h
|
40d3a772e8adfb536e94dddab769777f792f6f42 |
10-Feb-2012 |
Bob Wilson <bob.wilson@apple.com> |
Revert r150232 since it breaks the build when there's no ARM assembler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150253 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/comparesf2.S
rm/divdf3vfp.S
rm/divmodsi4.S
rm/divsf3vfp.S
rm/divsi3.S
rm/eqdf2vfp.S
rm/udivmodsi4.S
ssembly.h
|
3e81fe43798c096d1d3565596f0717b9919de4fb |
09-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[asan] The first version of the RTL for Windows, reviewed at http://codereview.appspot.com/5647052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150185 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_internal.h
san/asan_rtl.cc
san/asan_win.cc
|
339632e5156814d147e0461427f1388053f9fdfd |
09-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Test commit + fix an obvious typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150184 91177308-0d34-0410-b5e6-96231b3b80d8
san/interception/interception.h
|
5967c3de18a658e052c07a2af69f02823115655b |
09-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: move mach_override inside interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150171 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/Makefile.old
san/interception/Makefile.mk
san/interception/interception_mac.cc
san/interception/mach_override/LICENSE.TXT
san/interception/mach_override/Makefile.mk
san/interception/mach_override/README.txt
san/interception/mach_override/mach_override.c
san/interception/mach_override/mach_override.h
san/mach_override/LICENSE.TXT
san/mach_override/Makefile.mk
san/mach_override/README.txt
san/mach_override/mach_override.c
san/mach_override/mach_override.h
|
f54b1f9b73a6855d77ee270c282bd61407fa73a0 |
08-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150101 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interface.h
san/asan_rtl.cc
san/tests/clone_test.cc
san/tests/clone_test.tmpl
|
5b29018cf422e7711fb760b733c32127397a43fc |
08-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: start factoring out interception machinery git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150083 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/Makefile.old
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_mac.cc
san/interception/Makefile.mk
san/interception/interception.h
san/interception/interception_linux.cc
san/interception/interception_linux.h
san/interception/interception_mac.cc
san/interception/interception_mac.h
|
71d3b398a39663c771918747762142215a1dc87d |
08-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the _ReturnAddress definition out of the __asan:: namespace Patch by Timur Iskhodzhanov (timurrrr@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150075 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
09672caefb5694f1981a1712fdefa44840a95e67 |
08-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: replace all "real_X" calls with "REAL(X)" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150073 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_mac.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_poisoning.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stats.cc
|
a0935fa0ef02e47408996c25dac00b5f8a6b1406 |
08-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Typo fix: s/SNPrint/SNPrintf git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150069 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
27f4932a8a0845303b33d69ddce096c445002e60 |
08-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better warning messages for double-free bugs (provide allocation/deallocation stack traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150027 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/tests/asan_test.cc
|
1c83ae34f32737a203c66e9d9c419f821a0db02f |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] GET_CALLER_PC macro for Win. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149994 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
cce2c67658e01dcbecd39e016c3994d3f97bcdb1 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] print 'ALL TESTS PASSED' in makefile when running tests (convenience) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149990 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
160cc4aa34e2418ba91035bb49648e751476f0d9 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't crash if /proc/self/maps has enormous size (linux) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149944 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
f58f998066db0231e521169d2f50af439ceecb49 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure the AsanThread object is destroyed if pthread_exit is called git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149940 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/tests/asan_test.cc
|
5ea4a76f88675993cd0c1cf73b1b5924ae7f6599 |
06-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use raw syscalls for open/close on linux to avoid being intercepted git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149892 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
938b105aaa1ebb08b1ddacb2944b3caa3524a5a5 |
06-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] The first version of Windows malloc interceptors, patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149875 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_win.cc
|
c453bd5ba0faad8344cb94d627a6683a9ad14ca7 |
04-Feb-2012 |
Nick Kledzik <kledzik@apple.com> |
On Apple platforms, wire up compilerrt_abort() to log file and function info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149723 91177308-0d34-0410-b5e6-96231b3b80d8
nt_util.c
|
1f4f7b5c2796c5e950457563e6221351791958e6 |
04-Feb-2012 |
Nick Kledzik <kledzik@apple.com> |
Remove __attribute__((weak)) on function prototype. It has a different meaning on prototypes then it does on definitions. It is not needed on the prototype and causes build failures for static codegen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149720 91177308-0d34-0410-b5e6-96231b3b80d8
nt_util.h
|
f927ddc82f6fa71adfbea9110ef4c08c21bd72b8 |
03-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: simplify RoundUpToPowerOfTwo/clz; add a couple of CHECKs for real_X calls. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149687 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_poisoning.cc
|
adf2b036127d7e887392d9be5b02069b777ee280 |
03-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Replace __attribute__ with macro (for Win compatibility). Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149686 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
san/asan_malloc_linux.cc
san/asan_rtl.cc
|
f2598fc21bf651d23feab396a7581d48c01c3be5 |
02-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Add macro for definition/declaration of interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149602 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_linux.cc
|
573fb4b102dda9d231a8dbd0c01e67e84e9b0874 |
01-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Disable wrapping memcpy() on Mac OS Lion, where it actually falls back to memmove. In this case we still need to initialize real_memcpy, so we set it to real_memmove We check for MACOS_VERSION_SNOW_LEOPARD, because currently only Snow Leopard and Lion are supported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149492 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
0503ce8824393174c17acb26d62551f18a0fd82a |
01-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Disables testing memcpy() on Mac OS 10.7, where memcpy() in fact aliases memmove() and thus calling it with overlapping parameters is not an error. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149491 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
669f543c1400f7a1b9a48313d2f95e54f750bd4b |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the wrong __WORDSIZE definition on Win x64, add ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149395 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interface.h
san/asan_internal.h
|
83c19fcacb6f2a3304ddb64b7e928a2e9c98a8d0 |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove dead code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149392 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
|
59dc578df0de177b44c8c78f69d73735e38e5c14 |
31-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Implement GetMacosVersion() to obtain the OS X version at runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149382 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_mac.h
|
2a03ffece082439ea63331657c55248cbd0d15cf |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] tests should not require the asan-rt to be built with debug info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149330 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/heap-overflow.tmpl.Darwin
san/tests/strncpy-overflow.tmpl.Darwin
san/tests/use-after-free.tmpl.Darwin
|
cb00d134727c322e2f26298912f77e10be46aefe |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] new run-time flag: sleep_before_dying (asan Issue #31) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149306 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_rtl.cc
san/tests/test_output.sh
|
c63a6c426842e0e9a24bd0ca954f7acb199fb537 |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] re-enable the test for ObjC initialization bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149302 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.mm
|
d271c926e0fa1b8fa9e4ca13f49f7d3ee07a27bc |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix issue 35: don't let the optimizer to optimize the test code away. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149296 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
9b993e8cd0f8964782ee93524603d0c53adc2249 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ifdef/include cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149281 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_procmaps.h
|
3be19f4fa3519e358fd41a5feda82c39a22ef107 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for __attribute__ no_address_safety_analysis git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149278 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
858220837f85db7eb5eedd5ea68603803b5eb3c9 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] minor ifdef cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149274 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
|
3389b8ea81f51a28365a421b2646d594bac490f5 |
30-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Enforce default visibility for all libc interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149247 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_malloc_linux.cc
|
c9c9f3e6bcc9858e02dd8caf7cde2ee1675bac13 |
30-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add a mask for "cmpb $imm, (%rdi)" on x86_64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149245 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/mach_override.c
|
eb2ecd0b49dcc15e4ffbf241e6fdc2e76e055efd |
30-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Proper divmod implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149242 91177308-0d34-0410-b5e6-96231b3b80d8
rm/aeabi_idivmod.S
rm/aeabi_ldivmod.S
rm/aeabi_uidivmod.S
rm/aeabi_uldivmod.S
ivmoddi4.c
divmoddi4.c
|
1110475a1b56528bbb53829a86ee2f4292547ec4 |
30-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Provide aeabi_mem* functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149241 91177308-0d34-0410-b5e6-96231b3b80d8
rm/aeabi_memcmp.S
rm/aeabi_memcpy.S
rm/aeabi_memmove.S
rm/aeabi_memset.S
|
6f0452914ec76c786eb865983793bc03b00fc7b6 |
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. Patch by Timur Iskhodzhanov (timurrrr@google.com) To test: $ cl /c *.c* in the asan directory. The code fails to link if you omit the "/c" part but that's one of the next steps, as well as a few TODO's I've put into the Windows-specific code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149130 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_interface.h
san/asan_internal.h
san/asan_printf.cc
san/asan_rtl.cc
|
c8365231004cb1d956aba4164c89ea1398eadd6b |
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with g++. Patch by Timur Iskhodzhanov (timurrrr@google.com) The double-extern thing is http://llvm.org/bugs/show_bug.cgi?id=11869 And the #include <string[s].h> are only needed on Mac (see comments in the original code) and also including them might make strchr/index conflict with the g++ system headers (which don't follow the man pages, ouch!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149129 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_internal.h
|
0dfa6752c712c6467d46b21a0ca3431be9f47961 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Darwin-specific templates for the output tests. These should fix the output tests on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149068 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/heap-overflow.tmpl.Darwin
san/tests/null_deref.tmpl.Darwin
san/tests/strncpy-overflow.tmpl.Darwin
san/tests/use-after-free.tmpl.Darwin
|
00424110b4ae3d29cef6e635de9b32232b8d7270 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
More accurate atos execution which depends on the file type (EXECUTE, DYLIB) of the binary. More Linux-like output on Mac (to match more output tests). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149064 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
|
ddf50a3e7a28c2ab12243e72b35ccf8c04f15b49 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Fix a bug in AsanProcMaps on Mac: on 64 bits the program was trying to read twice as many segment load commands as the binary actually contained. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149063 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_procmaps.h
|
f4cea8f6f935c874b97669c7ca9819a224b78b48 |
24-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Tune asan_symbolize.py to symbolize 64-bit binaries correctly. Add the DEBUG flag to test_output.sh git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148798 91177308-0d34-0410-b5e6-96231b3b80d8
san/scripts/asan_symbolize.py
san/tests/test_output.sh
|
f3810ea150e140f49bd62123885df922fe3c3b81 |
23-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use internal_strcmp before asan_init is done. *may* fix asan issue #30 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148726 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
|
b19cfb271ea10ae2fac68a9b74256ad746ca5e51 |
23-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] test that -fno-optimize-sibling-calls helps to get sane stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148714 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/deep_tail_call.cc
san/tests/deep_tail_call.tmpl
san/tests/test_output.sh
|
431e51782d62d1257348e41e24da6b544fe70507 |
23-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Wrap CFStringCreateCopy to prevent copying constant CF strings. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=10 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148696 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_mac.h
san/tests/asan_test.cc
|
fb506cb56c7f47a9f0aa515d6f5ca3ed6533422f |
23-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for CFStringCreateCopy. Normally this function should not create copies of constant strings, but it does when the default CFAllocator is replaced (e.g. under AddressSanitizer) This test is related to http://code.google.com/p/address-sanitizer/issues/detail?id=10 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148695 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
4242e6aff9848be2af0ff70f15e94c74b27cd001 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Make the Android TSD workaround more reliable. By scanning the thread list backwards. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148476 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
|
8de79a06f19a15466af338dbd744059e6edd76d6 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Workaround the self-cleaning TSD on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148475 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
|
01ef925fcd338958c67eed9c444f9c0c98d7bb42 |
19-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Remove a debugging Report() call. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148474 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_procmaps.h
|
3feef82eab6d5f0ace384a670bfb5988e0c165a0 |
19-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Minor fixes of the AsanProcMaps code on Mac: -- make the load command scan linear (instead of quadratic) -- do not create a nested AsanProcMaps instance for each address lookup -- more comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148472 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_procmaps.h
|
9cfa194cc62026fc7c6e82f7303eee8ad4d10cf4 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
EHABI-based stack trace on ARM. The change removes the unused FLAG_fast_unwind, and forces EHABI-based unwind on ARM, and fast (FP-based) unwind everywhere else. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148468 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
|
ca2278dacaf75a6c45473d962a331181883df02c |
18-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: return false instead of true for __asan_get_ownership(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148394 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interface.h
san/tests/asan_interface_test.cc
|
1d483d4e933705971ff6285522fb5aecfb8a2e20 |
18-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Delete sysinfo/* and all references to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148386 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/Makefile.old
san/README.txt
san/asan_internal.h
san/asan_stack.cc
san/sysinfo/LICENSE.TXT
san/sysinfo/Makefile.mk
san/sysinfo/basictypes.h
san/sysinfo/sysinfo.cc
san/sysinfo/sysinfo.h
|
8a34d384255f9bf4c2a9b03a4df81b9af57124d8 |
18-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Implement AsanProcMaps for Mac OS. The code from sysinfo/ is not needed anymore and should be cleaned up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148385 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_procmaps.h
|
c655cfa8dc0fdf5b521e565f6cbdbf7981fba1b2 |
17-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not bark on memcpy(a, a, size). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148318 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
454a064850f5a9133af50a3d5f79f74adfb3d0d0 |
17-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix ReadFileToBuffer to correctly handle files from /proc/ (asan issue 27) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148311 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
6677def188c17ac63866146d72c4b1b652649fc6 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert commit 148304 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148305 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interface.h
san/tests/asan_interface_test.cc
san/tests/asan_test.cc
|
c7cdcdacd485056c12efc368f7ea2a6db64831e8 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: from this patch, ASan allocator returns false for __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148304 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interface.h
san/tests/asan_interface_test.cc
san/tests/asan_test.cc
|
1346ced2eb8d10305e8d98496d9006cfbbad1548 |
17-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Define the bounds of the branch allocator memory space for 32-bit apps. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148303 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
4fd95f141f78906570c15a8a3b4cf0a7b50a201d |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: add support for malloc_usable_size() function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148287 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_linux.cc
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/tests/asan_interface_test.cc
san/tests/asan_test.cc
|
55cdfc6c5af92560bc0623b5a0d70af71511c3c8 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: create AsanThreadSummary together with AsanThread (in parent thread) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148286 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_stack.h
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
92bda94d7bd042ee2f3e1a9ccc0e0fec7797a200 |
16-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Implement GetObjectNameAndOffset on ARM. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148236 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
|
4dd8ba8238b1b698953628affe6e5b2edf3b3e3f |
16-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix recently introduced lint errors and broken test on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148235 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_mac.h
san/tests/asan_test.cc
|
7274eafceb832e1088f30b71652992787ba8c456 |
16-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Disable posix_memalign test on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148234 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
3281209790b5e543c79acb2f5008d1df77fb76d9 |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
This patch adds two methods, __asan_allocate_island and __asan_deallocate_island and switches our interceptors to using them instead of the default vm_allocate-based approach used by mach_override_ptr. To simplify the code, a fixed memory mapping is used for the allocation pool -- note that we can't mmap an arbitrary chunk of memory, because the shadow memory hasn't been mapped yet (for the reasons discussed in http://code.google.com/p/address-sanitizer/issues/detail?id=24, we cannot map the shadow earlier) The patch drops the program startup time from several second to half a second, which speeds up the execution of ASan tests noticeably. Because of the virtual memory size occupied by the programs it's hard to speed up the shutdown time, which would've also helped the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148116 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_mac.h
|
d5be6c1fc58f87910f05cec63bfe1bdc4ee8e61a |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add __asan_mach_override_ptr_custom, which allows to inject a custom memory allocator into mach_override_ptr(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148115 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/mach_override.c
san/mach_override/mach_override.h
|
1e316d7f488a75312539629e9d937e156280eeb6 |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
This patch moves the code reading /proc/self/environ into AsanGetEnv in asan_linux.cc, because /proc is unavailable on Mac. Instead the Mac version of AsanGetEnv iterates over the array of environment variables obtained from _NSGetEnviron() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148114 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
|
7e8904f4b2b6b084ea2b4203d62554b42c068296 |
12-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add some basic mingw support. Patch by Ruben Van Boxem! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148048 91177308-0d34-0410-b5e6-96231b3b80d8
nt_endianness.h
|
8bcc6b93abafee3cb15e20fda0f1e1d4967bb80e |
11-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Call asan_init from .preinit_array. Protected by an #ifdef, disabled by default. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147932 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
a31df5ca61f10154c809d4aa77978628c0c74f76 |
11-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
Test commit. Minor cleanup in AsanThread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147930 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
|
dde7c33df06a9a0a8056f2357d764a10512206ee |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove OS-dependent headers from asan_internal.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147919 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
|
d47189c1b63a4de755d7ec071f8d56c8d01cc667 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove OS-dependent includes from asan_interceptors.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147916 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_rtl.cc
|
cc4e6862c6a8f8f3ead96bd32b815184a36faded |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move TSD code into asan_posix.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147913 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_posix.cc
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
af3441580555ceed092170232cd5f2cc180f19f4 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of the scary TSD destructor code. Now, we store the leaky AsanThreadSummary in TSD and never remove it from there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147910 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_mac.cc
san/asan_thread.cc
san/asan_thread_registry.cc
san/asan_thread_registry.h
|
2fc648c5d1775f13844d4459347e2b7328411e85 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] hopefully fix the build on MacOS 10.6 (the code did work on 10.7, where I tested it) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147896 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
d55f5f8c413622db4bd28b5cca9bfeb4d61564e0 |
10-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move OS-dependent code away from asan_lock.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147878 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_linux.cc
san/asan_lock.h
san/asan_mac.cc
san/asan_thread_registry.cc
|
0ecf5eb729dd81a43f8585cb438d3cb2a35899ed |
10-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't include unistd.h in the headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147811 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_printf.cc
san/asan_rtl.cc
|
35dd9d8f54f15f16be6c224e303bbf75d667f248 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] temporary reinstate string.h/strings.h. Removal of those caused a Mac build failulre which I failed to observe before the commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147810 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
20688eb9b1099963170fe8c440cb910d9b2df40b |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't include string.h and strings.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147809 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
a4ccf878e464d29a4a18756c5c4f626dc530a12e |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't use strstr/strncat from libc, use our own versions instead git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147807 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_rtl.cc
|
73248e304bfa86596c667b30feda0bf3c61f6ac9 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build once more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147796 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_stack.cc
|
d66a8d8f56c66c9749b6d75c61870a121d4d9307 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix typo from previous commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147793 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
547652c45fd7f7497dd214ec8ec6b6ee0f80359d |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147792 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
|
a7e760a53bc43b8e09bfdf5cd6f215267ba99729 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: move some common linux/mac code to asan_posix.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147788 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_posix.cc
san/asan_rtl.cc
san/asan_thread.cc
|
4803ab90ead451b55a5833f0fd38b10fd1fc83eb |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: move all interceptors to a single file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147784 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
|
a6b52264e1231bfc4ee9a2d9a4f32678c97295f0 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] do not use new/delete for the internal thread structure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147674 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_rtl.cc
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
|
9107c26bd88fc9cf44a2cd7d6967eb830ac63be3 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move more code into OS-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147671 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
|
26c1596c6824925908b0a9d3b37d6ac340409b13 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] cleanup: remove the SIGILL-related code (rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147665 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_rtl.cc
|
ef14ff6512d7b2e20aa3206dff820b5f90285420 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move more stuff to OS-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147647 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
|
b7a76d19207818f0b26b0a6559982ecfad5cbc3b |
06-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix build on minix. Patch by Ben Gras! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147632 91177308-0d34-0410-b5e6-96231b3b80d8
nt_endianness.h
|
efb3fa36cf421c346e8e54054cdae4fd798edab7 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use dl_iterate_phdr for pre-symbolization on linux instead of parsing /proc/self/maps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147628 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_procmaps.h
san/asan_stack.cc
|
c549dd7b5fa5fb97270f57067797224cee0429f2 |
05-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move {linux,mac}-specific code from asan_thread.cc to asan_{linux,mac}.cc; also add asan_procmaps.h which I forgot to add on previous commit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147586 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_linux.cc
san/asan_mac.cc
san/asan_procmaps.h
san/asan_thread.cc
|
df499b44de81fc757a789878f07fcaf19ebb0016 |
05-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement our own /proc/self/maps reader and use it on linux instead of sysinfo.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147581 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_internal.h
san/asan_linux.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_thread.cc
|
609dc28bb32bdba7533c191bcb88f358d0f42187 |
04-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove objdump-based tests in favour of much simpler LLVM-ish tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147514 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
a98b7cb0d0cd310255a405707b6d5c6c4a953ce7 |
03-Jan-2012 |
Bob Wilson <bob.wilson@apple.com> |
Fix missing include of int_lib.h and ppc ifdef for FreeBSD. Patch provided by Ed Schouten! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147458 91177308-0d34-0410-b5e6-96231b3b80d8
lear_cache.c
rampoline_setup.c
|
89a4a18118c2a123d1a89aa711fad518e6da857b |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] build asan-rt with -funwind-tables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147341 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
4558168b361d59be9cc5510b72bb0de9ca795c3a |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] force the __asan_unregister_globals to reside in the runtime library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147329 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
a874fe5b5d67152e4e737498d532eec80940bdcd |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: don't #include <sys/mman.h> in non-os-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147328 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_rtl.cc
san/asan_thread.cc
|
de496f451bce322b6cde100456591f1f50ab3477 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] use custom libc-free getenv; a bit of refactoring around mmap calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147326 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_printf.cc
san/asan_rtl.cc
|
07c5cdab82b0d7e476542e387c31a39c09ada441 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] missing PTHREAD_DESTRUCTOR_ITERATIONS on Android. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147322 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread_registry.cc
|
ab9da7ec5e4194ba0d0a90e00e9f29dbc8d34c69 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] discover main thread stack limits without pthread. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147321 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_thread.cc
|
6413ec3de37304f657adb36d6cd58e4919dba231 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] no ucontext on Android. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147320 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
0ffe35c08475334243f760128c5b4b987e5a274b |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] enable memset/memcpy/memmove interceptors in asan-rt (in addition to those in the compiler module) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147319 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/asan_stack.cc
san/tests/asan_test.cc
|
c5e72a3b7c60f1b2d9d9be3a07d397d5b5f872be |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] better message for parameter overlap bugs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147317 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/tests/asan_test.cc
|
0985ca240812ac5519168a6aecbccf4c513ae243 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for strcat. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147316 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/mach_override/mach_override.c
san/tests/asan_test.cc
|
52fb238ccc45781e4e1d097ae1ee748c898b5825 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for memcmp. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147315 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_stack.cc
san/tests/asan_test.cc
|
af0f01d77c2a495f023ffbf6cce85b33bbd2306d |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147304 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
san/asan_interceptors.h
san/tests/asan_test.cc
|
c695a47beeac6ab4ce48e4b33b2ba04869ef0269 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
The code instrumented with ASan may have its own instance of the mach_override library. In this case chances are that functions from it will be called from mach_override_ptr() during ASan initialization. This may lead to crashes (if those functions are instrumented) or incorrect behavior (if the implementations differ). The attached patch renames mach_override_ptr() into __asan_mach_override_ptr() and makes the rest of the mach_override internals hidden. The corresponding AddressSanitizer bug is http://code.google.com/p/address-sanitizer/issues/detail?id=22 Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147303 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.h
san/mach_override/README.txt
san/mach_override/mach_override.c
san/mach_override/mach_override.h
|
51e75c45a6886455a5bdb91c0951bc77dd2c47a2 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure __asan_report_* functions are not inlined (so that they are not optimized away and are kept in the resulting library). Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147302 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
8547f6c368c964f0c3e60cf23383a42e5ba806cb |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] remove the test for cfree. 'man cfree' says: 'This function should never be used.' and this function is not found on many OSes we support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147301 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
9a20026e3c5ee0e0ae423aea259489ccce9ff19a |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
new() has slightly different signature on Android. This patch adds the git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147300 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
13ebae606b526399771e9cca1d6a9d24458ad0f1 |
27-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] rely on __has_feature(address_sanitizer) instead of the ADDRESS_SANITIZER macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147297 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_interface.h
san/asan_internal.h
san/tests/asan_test.cc
|
4df3f6690cb01a9925d61d9b33524af0b764b4be |
27-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure frame pointers are not omitted when running asan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147293 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/test_output.sh
|
69eca73ac96688c8bfe1f23ee006af29c7858c40 |
16-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
Recently the GCD tests started failing because of the invalid size of FakeStack on the worker threads. This patch moves the AsanThread initialization into a separate procedure that's called when AsanThread objects are called for worker threads. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146752 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
san/asan_thread.cc
san/asan_thread.h
|
f32b41d3a0b52e9373abbe76c17b48b67633aefa |
16-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] revert r146529: we do need to build asan-rt as a shared library. Will need to find a different way to modify preinit_array git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146703 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_rtl.cc
|
c37ca572876a585b6a910f14a85cc7ba7fc22f20 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] added a test to check that a global-buffer-overflow mentioned the module name; revert incorrect change in the test runner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146701 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
san/tests/test_output.sh
|
c491061eddb0bb7047470b2746cbcbfe7730b2a9 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146687 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_interface.h
san/tests/dlclose-test.tmpl
san/tests/shared-lib-test.cc
san/tests/test_output.sh
|
d11a9639388defed6a26dd5e76932246bbe505ef |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] regression test for asan issue 19, currently fails. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146681 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/dlclose-test-so.cc
san/tests/dlclose-test.cc
|
6b30e2cf0d9d471d276f91ef4bb74dbd9876f4d9 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] poison the internal asan heap memory, just in case. Change Printf to Report when debugging globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146663 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_internal.h
san/asan_rtl.cc
|
a5f10b95d578d8fc4d05c757273127382153b21e |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] insert __asan_init into ".preinit_array" section. Linux-only. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146529 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_rtl.cc
|
381b170aca88ed95f0521dd32e96496c0efd5693 |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the test runner to detect build breakages; add a test for -pie git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146528 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/test_output.sh
|
9c69e8709965244810dd1f63c133fb1fd07c494d |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix some more format warnings in sysinfo/sysinfo.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146526 91177308-0d34-0410-b5e6-96231b3b80d8
san/sysinfo/sysinfo.cc
|
c16201337a4bb974093ff75aa45682739a331d05 |
13-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] canonicalise the output for double-free and wrong-free. fixes asan issue 18 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146501 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/tests/asan_test.cc
|
332bfbf29cd49352f808d7be0807b46134e4a4a4 |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan-rt interceptors on Snow Leopard. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146263 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/mach_override.c
|
c4b34d9af5a7849f91b9a9ba418a2bd144b0812b |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make use-after-return mode more robust: allow to call instrumented functions while reporting an error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146231 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_allocator.h
san/asan_rtl.cc
|
5009caa6e3063ce8343fa7b462ee778df02523e7 |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix output test to not require debug symbols in asan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146212 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/heap-overflow.tmpl
san/tests/strncpy-overflow.tmpl
san/tests/use-after-free.tmpl
|
918b18a849cea679bff31a4e0dfb3745302c240a |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] better test for use-after-return mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146203 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_test.cc
|
6bbdc46fd383c1074b48ba5b48fcfc415d1574ae |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fresh version of mach_override; added mach_override/README.txt. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146166 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/README.txt
san/mach_override/mach_override.c
|
cd79cc0ac015c7ea6e164421919e8441d13f1e43 |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] update the soon-to-be-depricated asan makefile to use the new path for asan-rt (affects only linux) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146162 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
c6f2223a8772262e5e682403f2d57f0b465a98fc |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] move build-time config options from makefile to source (otherwise we need config options in all makefiles) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146161 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
san/asan_stack.cc
|
acd5c617b219e0f059620c2a3928d2cc821d4534 |
07-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the error message for 16-byte accesses (it previously printed 'unknown-crash') git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146075 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
san/tests/asan_test.cc
|
dd8d4981e149fd32b83406fae2dc42216c771f79 |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] minor cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145966 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
san/asan_rtl.cc
|
96bdefaabcd9ed4cb3401f5fbfb51fd964e03f5a |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] GCD tests on Mac: prevent optimization and enable. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145953 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_mac_test.mm
san/tests/asan_test.cc
|
347483ca85193fb31946f6f1c2affb2bedda0096 |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] remove format warnings in sysinfo/sysinfo.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145886 91177308-0d34-0410-b5e6-96231b3b80d8
san/sysinfo/sysinfo.cc
|
0b4c09b313580cfed9e1f3a2dc2f383dc870caa3 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan]: test a pure C file with -faddress-sanitizer; lint fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145848 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/tests/asan_exceptions_test.cc
san/tests/test_output.sh
|
f45c19578801a33c8518ffc95ecb17d92f38c9eb |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] add the test for bug 11468 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145839 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_exceptions_test.cc
|
30743140ff0f904b7f422b61d208e2837e7c631e |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] always collect malloc statstics (removed FLAG_stats) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145838 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interface.h
san/asan_internal.h
san/asan_rtl.cc
san/asan_stats.cc
san/tests/asan_interface_test.cc
san/tests/asan_noinst_test.cc
|
e130191a254064bfd1c8d373afdacf6d52979713 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] cleanup memset/memmove/memcpy interceptors and enable them on Mac. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145826 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.cc
|
b3010e75d1c88b6f2084c80530e06ffe8d6f19a2 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] don't require __cxa_throw to be present in the process. This is the last dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145821 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_interceptors.h
san/asan_rtl.cc
|
75f74616d227a158539a5cc23ea8282142623159 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some more dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145743 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_stats.cc
|
f48d64bb5739d3ce9e7940c619a33e1ca0bf6f98 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] micro-benchmark for use-after-return fake stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145739 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/asan_benchmarks_test.cc
|
3404b3f0a4855164c82965ccaf299d04d2b5db81 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] put back -O2 which was lost quite some time ago and caused noticeable perf drop in malloc-intensive apps. doh. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145723 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
|
b89567ce41bef82cf92a9c741c78b632c07b2781 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of std::map. No STL and almost no libstdc++ left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145706 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_globals.cc
san/asan_internal.h
san/asan_rtl.cc
|
1957399c5d44802939021d5b89b8171719d96b75 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] quick fix for mac build, second attempt. Sorry for spam. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145694 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
4f24d3efb98fcf2b4d667bd42a4d840dbab0ce82 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] quick fix for mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145692 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_mac.cc
|
2d8b3bdb112ebb8ed3f15ee41d4cebcd683b41b0 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] minimize the use of STL. One bit is still left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145691 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_interceptors.cc
san/asan_internal.h
san/asan_mac.cc
san/asan_poisoning.cc
san/asan_rtl.cc
|
f06648acf50b17b4a90abb46eb4515947f96fecd |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build: Add ModuleName per-subdir variable as a way to organize the different sets of functions/objects into high level groups. Currently we have "builtins" (the main compiler-rt code), "profile", and "asan". - Use this to define CommonFunctions and ArchFunctions to only reference the builtins functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145674 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
rm/Makefile.mk
san/Makefile.mk
san/mach_override/Makefile.mk
san/sysinfo/Makefile.mk
386/Makefile.mk
pc/Makefile.mk
rofile/Makefile.mk
86_64/Makefile.mk
|
514cebb99d5e45f1bbbb33cfa41a20a6434258b6 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/asan: Fix possible type mismatches. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145664 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
|
4616633bb9e20f66d83bfac70c9afce1922d1eec |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/asan: Attempt to ensure __WORDSIZE gets defined, it is not always set by Darwin's stdint.h for example. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145663 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_internal.h
|
0d4e17c56a3daf70061c613b4020472312d77610 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
add/update LICENSE.TXT files for the third_party code used by asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145659 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/LICENSE.TXT
san/sysinfo/LICENSE.TXT
|
7855275763348a191f88cf2c741618785d62fde7 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/asan: Better fix for ASAN i386 build on Darwin, this causes us to see the non-standard struct names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145658 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
fe18082eb32b4b8a9b9bee1f252fc9e7791aab2a |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/asan: Fix ASAN build for i386, for reasons I don't really understand we get the DARWIN_UNIX03 definition on x86_64 but not on i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145657 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_rtl.cc
|
cc080e5c0bac825d72b8928a2235716b0344ac43 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: Fill in integration with compiler-rt/make build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145648 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
san/Makefile.mk
san/mach_override/Makefile.mk
san/sysinfo/Makefile.mk
|
21e8dce9f9a7373b8d7364596ec1117718df04f5 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: Suppress a -Wbitwise-op-parentheses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145647 91177308-0d34-0410-b5e6-96231b3b80d8
san/mach_override/mach_override.c
|
c1ef2a0b8022f200f8bbb36641df866c4369876d |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: #if 0 out some unused functions (we build with -Werror). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145645 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_malloc_mac.cc
|
d6567c5166412f6acdde851e767c26f332d51d3d |
01-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] flatten the asan-rt build slightly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145631 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_internal.h
san/asan_linux.cc
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_rtl.cc
san/mach_override/mach_override.c
san/mach_override/mach_override.h
|
b09f0aa7c724bb45483e98076127ef3df6376e36 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
test asan at -O0 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145532 91177308-0d34-0410-b5e6-96231b3b80d8
san/tests/test_output.sh
|
218a9b70d7338cf5b727b7dad6b080ad7869c6c2 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145505 91177308-0d34-0410-b5e6-96231b3b80d8
san/asan_allocator.cc
san/asan_globals.cc
san/asan_internal.h
san/asan_mapping.h
san/asan_poisoning.cc
san/asan_rtl.cc
|
cbab911ea555f34c8ac66b4c7dc88f4e7ecf2c03 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
fix asan-rt build on Mac. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145496 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.old
san/asan_allocator.h
san/asan_interceptors.h
|
1e172b4bdec57329bf904f063a29f99cddf2d85f |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8
san/Makefile.mk
san/Makefile.old
san/README.txt
san/asan_allocator.cc
san/asan_allocator.h
san/asan_globals.cc
san/asan_interceptors.cc
san/asan_interceptors.h
san/asan_interface.h
san/asan_internal.h
san/asan_linux.cc
san/asan_lock.h
san/asan_mac.cc
san/asan_mac.h
san/asan_malloc_linux.cc
san/asan_malloc_mac.cc
san/asan_mapping.h
san/asan_poisoning.cc
san/asan_printf.cc
san/asan_rtl.cc
san/asan_stack.cc
san/asan_stack.h
san/asan_stats.cc
san/asan_stats.h
san/asan_thread.cc
san/asan_thread.h
san/asan_thread_registry.cc
san/asan_thread_registry.h
san/mach_override/mach_override.c
san/mach_override/mach_override.h
san/scripts/asan_symbolize.py
san/sysinfo/basictypes.h
san/sysinfo/sysinfo.cc
san/sysinfo/sysinfo.h
san/tests/asan_benchmarks_test.cc
san/tests/asan_break_optimization.cc
san/tests/asan_globals_test.cc
san/tests/asan_interface_test.cc
san/tests/asan_mac_test.h
san/tests/asan_mac_test.mm
san/tests/asan_noinst_test.cc
san/tests/asan_test.cc
san/tests/asan_test.ignore
san/tests/asan_test_config.h
san/tests/asan_test_utils.h
san/tests/global-overflow.cc
san/tests/global-overflow.tmpl
san/tests/heap-overflow.cc
san/tests/heap-overflow.tmpl
san/tests/heap-overflow.tmpl.Darwin
san/tests/large_func_test.cc
san/tests/large_func_test.tmpl
san/tests/match_output.py
san/tests/null_deref.cc
san/tests/null_deref.tmpl
san/tests/shared-lib-test-so.cc
san/tests/shared-lib-test.cc
san/tests/shared-lib-test.tmpl
san/tests/stack-overflow.cc
san/tests/stack-overflow.tmpl
san/tests/stack-use-after-return.cc
san/tests/stack-use-after-return.disabled
san/tests/strncpy-overflow.cc
san/tests/strncpy-overflow.tmpl
san/tests/test_output.sh
san/tests/use-after-free.c
san/tests/use-after-free.cc
san/tests/use-after-free.tmpl
|
1626d864159d42d1c5a492c1cb686f629e81f815 |
29-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/int_util: My refactoring to allow shared utility code had a fatal flaw when multiple .a files would end up with duplicate strong definitions. This could cause link failures in certain scenarios when both definitions got loaded. - The best solution I see for this (aside from not factoring out the utility code) is to mark the definitions weak. Better solutions appreciated! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145427 91177308-0d34-0410-b5e6-96231b3b80d8
nt_util.c
nt_util.h
|
8c88119d6334a470e3ad638c5a1f1b42c4258ac9 |
17-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Import GCDA profiling support from LLVM. - I'm in the process of moving this here but it will live in both places until the ancilliary support is ready. - Currently unused. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144865 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
rofile/GCDAProfiling.c
rofile/Makefile.mk
|
674aeef9abcb051403bcb1fb47399f28d6a8fd86 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/int_math: Some versions of GCC don't provide __builtin_isfinite. Support them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144810 91177308-0d34-0410-b5e6-96231b3b80d8
nt_math.h
|
eaff95c6d9a2b62c9cab65ea8971a08a79d48c22 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/ppc: Fix a refacto. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144809 91177308-0d34-0410-b5e6-96231b3b80d8
pc/multc3.c
|
c25c6d10b18efa071f0016f31f6f3dd8a8fa6676 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Finish int_math.h definitions using compiler builtins and eliminate implementation use of <math.h>. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144786 91177308-0d34-0410-b5e6-96231b3b80d8
ivdc3.c
ivsc3.c
ivxc3.c
nt_lib.h
nt_math.h
uldc3.c
ulsc3.c
ulxc3.c
pc/divtc3.c
pc/fixtfdi.c
pc/multc3.c
|
8603024a01cfa82ab8dce397f40a2d6f246076e3 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Starting thinning out the dependency on math.h by using compiler builtins where available. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144785 91177308-0d34-0410-b5e6-96231b3b80d8
ivdc3.c
ivsc3.c
ivxc3.c
nt_math.h
uldc3.c
ulsc3.c
ulxc3.c
pc/divtc3.c
pc/multc3.c
|
2406dfe472402ed7fa39d8e9ba25dd7865aa015f |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Remove uses of complex.h which does not appear to be required. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144754 91177308-0d34-0410-b5e6-96231b3b80d8
ivdc3.c
ivsc3.c
ivxc3.c
uldc3.c
ulsc3.c
ulxc3.c
|
6b682e41f005d0a452ab45fa31192bc43431240e |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/gcc_personality_v0: Remove an unnecessary include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144753 91177308-0d34-0410-b5e6-96231b3b80d8
cc_personality_v0.c
|
2db4af813a1a615986c0ae315f7179a6a27ed2ca |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Eliminate direct include of stdlib.h from files that used to (potentially) need it for compilerrt_abort(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144752 91177308-0d34-0410-b5e6-96231b3b80d8
bsvdi2.c
bsvsi2.c
bsvti2.c
ddvdi3.c
ddvsi3.c
ddvti3.c
lear_cache.c
printf.c
cc_personality_v0.c
ulodi4.c
ulosi4.c
uloti4.c
ulvdi3.c
ulvsi3.c
ulvti3.c
egvdi2.c
egvsi2.c
egvti2.c
ubvdi3.c
ubvsi3.c
ubvti3.c
rampoline_setup.c
|
401f693a874c0f2fd9e37173e3ab7045a1bdeb3d |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Add support for library wide utility functions, and make compilerrt_abort() a real boy. - The utility module needs to be included into every produced library, because we don't have enough dependency tracking to know exactly which other modules might require the utilities. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144751 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
nt_util.c
nt_util.h
|
dbaa3974d4c012ad500a790be5e51ce66188d15c |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead of directly including system headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144750 91177308-0d34-0410-b5e6-96231b3b80d8
pc/DD.h
pc/fixtfdi.c
pc/fixunstfdi.c
pc/floatditf.c
pc/floatunditf.c
86_64/floatdidf.c
86_64/floatdisf.c
86_64/floatdixf.c
|
3f4d3407a10186b146647b5f248158279835ab9c |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Remove math.h from int_lib.h, which doesn't appear to be required. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144749 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
|
2bf93403298e46a32423c9e66d26b5436d0748ea |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Include float.h in int_lib.h, and eliminate duplicate includes from a number of source files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144739 91177308-0d34-0410-b5e6-96231b3b80d8
loatdidf.c
loatdisf.c
loattidf.c
loattisf.c
loattixf.c
loatundidf.c
loatundisf.c
loatuntidf.c
loatuntisf.c
loatuntixf.c
nt_lib.h
|
23d1542758b351aca24b4a99b4947e9e1fa97c43 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Include stdbool.h in int_lib.h, and eliminate duplicate includes from a number of source files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144671 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
xtendsfdf2.c
loatdidf.c
loatundidf.c
cc_personality_v0.c
nt_lib.h
rampoline_setup.c
runcdfsf2.c
|
0a3e35011f3c312f2b10f61e1540b058baff8cf6 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Rename endianness.h to int_endianness.h (for consistency) and tidy up a bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144669 91177308-0d34-0410-b5e6-96231b3b80d8
ndianness.h
nt_endianness.h
nt_lib.h
nt_types.h
|
396a72f4854bdc09e465bf2ab96e62303850ee41 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Split out int_types.h, for readability. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144668 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
nt_types.h
|
0ae9d258a484ba5ede154f729660ad21bd0ade2e |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144660 91177308-0d34-0410-b5e6-96231b3b80d8
bi.h
bsvdi2.c
bsvsi2.c
dddf3.c
ddsf3.c
ddvdi3.c
ddvsi3.c
shldi3.c
shrdi3.c
lzdi2.c
lzsi2.c
mpdi2.c
tzdi2.c
tzsi2.c
ivdf3.c
ivdi3.c
ivmoddi4.c
ivmodsi4.c
ivsf3.c
ivsi3.c
xtendsfdf2.c
fsdi2.c
ixdfdi.c
ixdfsi.c
ixsfdi.c
ixsfsi.c
ixunsdfdi.c
ixunsdfsi.c
ixunssfdi.c
ixunssfsi.c
loatdidf.c
loatdisf.c
loatsidf.c
loatsisf.c
loatundidf.c
loatundisf.c
loatunsidf.c
loatunsisf.c
p_lib.h
nt_lib.h
shrdi3.c
oddi3.c
odsi3.c
uldf3.c
uldi3.c
ulsf3.c
egdf2.c
egsf2.c
egvdi2.c
egvsi2.c
aritydi2.c
aritysi2.c
opcountdi2.c
opcountsi2.c
owidf2.c
owisf2.c
ubdf3.c
ubsf3.c
ubvdi3.c
ubvsi3.c
runcdfsf2.c
cmpdi2.c
divdi3.c
divmoddi4.c
divmodsi4.c
divsi3.c
moddi3.c
modsi3.c
|
c20f862690410045fc8c77879f7e78918d2372e4 |
23-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Change ARM vfp assembly functions to use unified syntax. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138332 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/subdf3vfp.S
rm/subsf3vfp.S
rm/truncdfsf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
|
41ae71d99134b3b180753f5b0cd4ebfd0c6a8c18 |
22-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Refactor DEFINE_COMPILERRT_FUNCTION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138277 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
4fcc9aacd048741a4934f044a295d1ccf73a0173 |
29-Jul-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Don't redeclare sr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@136424 91177308-0d34-0410-b5e6-96231b3b80d8
divmodti4.c
|
d426091fdf6a15db9a5db35d522fe69f5dee35af |
28-Jul-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Don't redeclare sr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@136377 91177308-0d34-0410-b5e6-96231b3b80d8
divmoddi4.c
|
1ace4055f79f304750839d73c46bbcaeb994f1b5 |
17-Jun-2011 |
Eric Christopher <echristo@apple.com> |
Implement mulo<mode>4 for use in signed overflow checking. Fixes rdar://9219742 and rdar://9218244 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133284 91177308-0d34-0410-b5e6-96231b3b80d8
ulodi4.c
ulosi4.c
uloti4.c
|
e2949350bf2516dea221233639c92f4601bb5a32 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add some macro magic: user __USER_LABEL_PREFIX__ instead of hardcoding it for each platform git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129818 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
2918947b6ac115bcd0ab9258e6e14cd56db1b160 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
More fixes for missed includes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129807 91177308-0d34-0410-b5e6-96231b3b80d8
loatsidf.c
loatsisf.c
loatunsidf.c
loatunsisf.c
|
7d34226d6bc9f1dfc2c5a7935c1d385dfc2194ac |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add missed include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129804 91177308-0d34-0410-b5e6-96231b3b80d8
ixdfsi.c
|
94d371c3109adba654f854f8b69d9c4570a01f42 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add missed files from my last commit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129777 91177308-0d34-0410-b5e6-96231b3b80d8
bi.h
ivmoddi4.c
|
1c5f89b1dd741135a4007ab577723d422f421eec |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129769 91177308-0d34-0410-b5e6-96231b3b80d8
bsvdi2.c
bsvsi2.c
dddf3.c
ddsf3.c
ddvdi3.c
ddvsi3.c
shldi3.c
shrdi3.c
lzdi2.c
lzsi2.c
mpdi2.c
tzdi2.c
tzsi2.c
ivdf3.c
ivdi3.c
ivmodsi4.c
ivsf3.c
ivsi3.c
xtendsfdf2.c
fsdi2.c
ixdfdi.c
ixsfdi.c
ixsfsi.c
ixunsdfdi.c
ixunsdfsi.c
ixunssfdi.c
ixunssfsi.c
loatdidf.c
loatdisf.c
loatundidf.c
loatundisf.c
nt_lib.h
shrdi3.c
oddi3.c
odsi3.c
uldf3.c
uldi3.c
ulsf3.c
egdf2.c
egsf2.c
egvdi2.c
egvsi2.c
aritydi2.c
aritysi2.c
opcountdi2.c
opcountsi2.c
owidf2.c
owisf2.c
ubdf3.c
ubsf3.c
ubvdi3.c
ubvsi3.c
runcdfsf2.c
cmpdi2.c
divdi3.c
divmoddi4.c
divmodsi4.c
divsi3.c
moddi3.c
modsi3.c
|
37b97d1cf4501b94347e0b4e880f4b25825a289f |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add ARM EABI function aliases to routines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129768 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
rm/divsi3.S
rm/udivsi3.S
shldi3.c
shrdi3.c
ssembly.h
ivdf3.c
ivsf3.c
ivsi3.c
xtendsfdf2.c
ixdfdi.c
ixdfsi.c
ixsfdi.c
ixsfsi.c
ixunsdfdi.c
ixunsdfsi.c
ixunssfdi.c
ixunssfsi.c
loatdidf.c
loatdisf.c
loatsidf.c
loatsisf.c
loatundidf.c
loatundisf.c
loatunsidf.c
loatunsisf.c
nt_lib.h
shrdi3.c
uldf3.c
uldi3.c
ulsf3.c
egdf2.c
egsf2.c
ubdf3.c
ubsf3.c
runcdfsf2.c
divmoddi4.c
divsi3.c
|
e1f95ca8cf82f755d6c62a6dc5b745f2e5bdf7ba |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Make use of LOCAL_LABEL macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129767 91177308-0d34-0410-b5e6-96231b3b80d8
rm/udivmodsi4.S
rm/udivsi3.S
rm/umodsi3.S
|
647fc7336b2bc302bb51e50022b27bf9b929071c |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Get rid of darwin'isms. Provide convenient macro for assembler local lables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129766 91177308-0d34-0410-b5e6-96231b3b80d8
rm/divmodsi4.S
rm/divsi3.S
rm/modsi3.S
ssembly.h
|
4a3467bebb179d03af20c18133ca5d99a691322d |
14-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
don't add version info for static library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129489 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
|
7e9cd71711e5dbd9e62e69a3de58c134fdc68c4f |
12-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
fix typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129389 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
|
bb301ce55d32adbe249f1303293750404237984a |
12-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9185449> update version info for arm git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129386 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
|
ce750fdaab5c9c1d013817ad949c9109eb3f2af2 |
25-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
Revert "Split single & double comparison routines into separate implementation files," for now, I missed some necesary updates. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128296 91177308-0d34-0410-b5e6-96231b3b80d8
omparedf2.c
omparesf2.c
qdf2.c
qsf2.c
p_lib.h
edf2.c
esf2.c
tdf2.c
tsf2.c
edf2.c
esf2.c
tdf2.c
tsf2.c
edf2.c
esf2.c
norddf2.c
nordsf2.c
|
fb92f4bd1dec8ddd6132d9a365fd7be3b8086824 |
25-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
Split single & double comparison routines into separate implementation files, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128282 91177308-0d34-0410-b5e6-96231b3b80d8
omparedf2.c
omparesf2.c
qdf2.c
qsf2.c
p_lib.h
edf2.c
esf2.c
tdf2.c
tsf2.c
edf2.c
esf2.c
tdf2.c
tsf2.c
edf2.c
esf2.c
norddf2.c
nordsf2.c
|
0868ca6589dee209effebdcb0aa2af1281b1a814 |
22-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
compiler-rt: Split subdf3 and subsf3 out of add implementations, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128038 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
ubdf3.c
ubsf3.c
|
2caeeefe078e7c10170f02b717e4a5ab7623e554 |
21-Mar-2011 |
Stephen Canon <scanon@apple.com> |
slight re-arrangement to maybe pick up one cycle on dual-issue ARM cores git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128003 91177308-0d34-0410-b5e6-96231b3b80d8
rm/divmodsi4.S
|
6bbe0bb0856f7e7cabe11bc0a10c268db034142b |
18-Mar-2011 |
Stephen Canon <scanon@apple.com> |
Carefully written implementations of the 32-bit integer divide and modulus functions for ARM. These are still using a naive digit-by-digit algorithm, but the core loop has been carefully written. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127882 91177308-0d34-0410-b5e6-96231b3b80d8
rm/divmodsi4.S
rm/divsi3.S
rm/modsi3.S
rm/udivmodsi4.S
rm/udivsi3.S
rm/umodsi3.S
|
5c0809916b70dbb754cf0c999e2923909e5603c6 |
17-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/8914924> implement udivmodsi4 and divmodsi4 for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127778 91177308-0d34-0410-b5e6-96231b3b80d8
ivmodsi4.c
divmodsi4.c
|
ee841f4a4aea0739d9a2e19e42593504ed873a78 |
10-Mar-2011 |
Chris Lattner <sabre@nondot.org> |
don't compile modsi3 into an infinite loop, patch by Matt Johnson! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127429 91177308-0d34-0410-b5e6-96231b3b80d8
odsi3.c
|
3d40740383d6b80ab071b0f645b80f533c9bd55d |
05-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9091300> update Apple packaging of compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127057 91177308-0d34-0410-b5e6-96231b3b80d8
rm/softfloat-alias.list
|
c31717b18c76a584eb36e49a31eff6810118b834 |
07-Jan-2011 |
Nick Kledzik <kledzik@apple.com> |
Add missing <stdint.h> to build properly on Solaris. Patch by Joakim Johansson git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123006 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
|
9ad441ffec97db647fee3725b3424284fb913e14 |
16-Nov-2010 |
Howard Hinnant <hhinnant@apple.com> |
license change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@119397 91177308-0d34-0410-b5e6-96231b3b80d8
bsvdi2.c
bsvsi2.c
bsvti2.c
dddf3.c
ddsf3.c
ddvdi3.c
ddvsi3.c
ddvti3.c
pple_versioning.c
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/bswapdi2.S
rm/bswapsi2.S
rm/comparesf2.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/modsi3.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/restore_vfp_d8_d15_regs.S
rm/save_vfp_d8_d15_regs.S
rm/subdf3vfp.S
rm/subsf3vfp.S
rm/switch16.S
rm/switch32.S
rm/switch8.S
rm/switchu8.S
rm/sync_synchronize.S
rm/truncdfsf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
shldi3.c
shlti3.c
shrdi3.c
shrti3.c
ssembly.h
lear_cache.c
lzdi2.c
lzsi2.c
lzti2.c
mpdi2.c
mpti2.c
omparedf2.c
omparesf2.c
tzdi2.c
tzsi2.c
tzti2.c
ivdc3.c
ivdf3.c
ivdi3.c
ivsc3.c
ivsf3.c
ivsi3.c
ivti3.c
ivxc3.c
nable_execute_stack.c
ndianness.h
printf.c
xtendsfdf2.c
fsdi2.c
fsti2.c
ixdfdi.c
ixdfsi.c
ixdfti.c
ixsfdi.c
ixsfsi.c
ixsfti.c
ixunsdfdi.c
ixunsdfsi.c
ixunsdfti.c
ixunssfdi.c
ixunssfsi.c
ixunssfti.c
ixunsxfdi.c
ixunsxfsi.c
ixunsxfti.c
ixxfdi.c
ixxfti.c
loatdidf.c
loatdisf.c
loatdixf.c
loatsidf.c
loatsisf.c
loattidf.c
loattisf.c
loattixf.c
loatundidf.c
loatundisf.c
loatundixf.c
loatunsidf.c
loatunsisf.c
loatuntidf.c
loatuntisf.c
loatuntixf.c
p_lib.h
cc_personality_v0.c
386/ashldi3.S
386/ashrdi3.S
386/divdi3.S
386/floatdidf.S
386/floatdisf.S
386/floatdixf.S
386/floatundidf.S
386/floatundisf.S
386/floatundixf.S
386/lshrdi3.S
386/moddi3.S
386/muldi3.S
386/udivdi3.S
386/umoddi3.S
nt_lib.h
shrdi3.c
shrti3.c
oddi3.c
odsi3.c
odti3.c
uldc3.c
uldf3.c
uldi3.c
ulsc3.c
ulsf3.c
ulti3.c
ulvdi3.c
ulvsi3.c
ulvti3.c
ulxc3.c
egdf2.c
egdi2.c
egsf2.c
egti2.c
egvdi2.c
egvsi2.c
egvti2.c
aritydi2.c
aritysi2.c
arityti2.c
opcountdi2.c
opcountsi2.c
opcountti2.c
owidf2.c
owisf2.c
owitf2.c
owixf2.c
pc/restFP.S
pc/saveFP.S
ubvdi3.c
ubvsi3.c
ubvti3.c
rampoline_setup.c
runcdfsf2.c
cmpdi2.c
cmpti2.c
divdi3.c
divmoddi4.c
divmodti4.c
divsi3.c
divti3.c
moddi3.c
modsi3.c
modti3.c
86_64/floatundidf.S
86_64/floatundisf.S
86_64/floatundixf.S
|
4d055d584cdc9c65e09092238a905c6f20b829ec |
17-Aug-2010 |
Stephen Canon <scanon@apple.com> |
Adds an extra explicit cast to fix Bug 7931 and removes codepaths that were never used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@111269 91177308-0d34-0410-b5e6-96231b3b80d8
loatsidf.c
loatunsidf.c
|
dada27592510a7f922a3198fd1dff1e391734182 |
27-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
add assembly implementation of modsi3 so compiler does not have to special case a - (a / b) * b optimization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@109492 91177308-0d34-0410-b5e6-96231b3b80d8
rm/modsi3.S
|
c41370b2c334c673a95eda48e93c07b28dccd949 |
26-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Fix error in rep_clz on non-LP64 targets. Patch by Christoph Gerum git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@109416 91177308-0d34-0410-b5e6-96231b3b80d8
p_lib.h
|
c8c6359f296d4f9e03b378b16ae34fb301e6b155 |
08-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Hand-tuning of single-precision soft-float comparison routines for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107891 91177308-0d34-0410-b5e6-96231b3b80d8
rm/comparesf2.S
|
3c2c684ce20c998bc027c162b7db853a43864e5c |
04-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
fix arvm5 builds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107588 91177308-0d34-0410-b5e6-96231b3b80d8
rm/Makefile.mk
|
12a7d094b185795f478308f4fc27b43abebdde07 |
04-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Initial implementation of double-precision soft-float division, moved a couple utility functions from the multiplications into the utility header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107586 91177308-0d34-0410-b5e6-96231b3b80d8
ivdf3.c
ivsf3.c
p_lib.h
uldf3.c
ulsf3.c
|
c9d2b05ea63194c54f5f69aa35062c3f925c75ca |
04-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Single-precision soft-float division git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107579 91177308-0d34-0410-b5e6-96231b3b80d8
ivsf3.c
|
e735b297d08ea30dee8828ce18bfbe6c3e72c0f7 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Further cleanup of ARM bswap implementations, thanks to John Tytgat git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107576 91177308-0d34-0410-b5e6-96231b3b80d8
rm/bswapdi2.S
rm/bswapsi2.S
|
fe22a3f1e1abddc4a512aa8f9bed64b3ada78094 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Marginally smaller implementations of bswap for ARMv4, ARMv5 that avoid the need to establish a frame git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107555 91177308-0d34-0410-b5e6-96231b3b80d8
rm/bswapdi2.S
rm/bswapsi2.S
|
b6d4e2e3a87eb3c9a6dec0ad21d4c1dec545c137 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Renamed unsigned->float routines to match GCC convention git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107554 91177308-0d34-0410-b5e6-96231b3b80d8
loatunsidf.c
loatunsisf.c
loatunssidf.c
loatunssisf.c
egdf2.c
egsf2.c
|
455c2633311fe29b036a53eb466f6d65af97de4f |
03-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
ARM before armv6 did not supprt 'rev' instruction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107548 91177308-0d34-0410-b5e6-96231b3b80d8
rm/bswapdi2.S
rm/bswapsi2.S
|
09009c50dd7118ed0bdf97e5c37e23c25e443682 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
[unsigned] int -> float soft-float conversions for single- and double-precision git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107535 91177308-0d34-0410-b5e6-96231b3b80d8
loatsidf.c
loatsisf.c
loatunssidf.c
loatunssisf.c
|
0ef6213cf2363ad443b92a2a7396e7c3fb32c630 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
float- and double-to-integer soft-float conversions for compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107524 91177308-0d34-0410-b5e6-96231b3b80d8
ixdfsi.c
ixsfsi.c
|
450137986bf514396d008d246b26a93c7362b34c |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
... and one more fix to remove some warnings in the new double -> float conversion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107409 91177308-0d34-0410-b5e6-96231b3b80d8
runcdfsf2.c
|
5c6d2ecb9c43d8b836b3203a243e24703d473765 |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Correction to previous commit which mistakenly included older versions of some files; now includes the correct LLVM license header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107408 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
omparedf2.c
omparesf2.c
xtendsfdf2.c
p_lib.h
uldf3.c
ulsf3.c
egdf2.c
egsf2.c
runcdfsf2.c
|
e5086322295e5a345af02d09abfcf8ddca2d0897 |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Adding soft-float comparisons, addition, subtraction, multiplication and negation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107400 91177308-0d34-0410-b5e6-96231b3b80d8
dddf3.c
ddsf3.c
omparedf2.c
omparesf2.c
xtendsfdf2.c
p_lib.h
uldf3.c
ulsf3.c
egdf2.c
egsf2.c
|
2579d72d1a7d462a2344b38cb1125cf15e26d5fb |
08-May-2010 |
Nick Kledzik <kledzik@apple.com> |
sjlj based personality requires a different name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@103330 91177308-0d34-0410-b5e6-96231b3b80d8
cc_personality_v0.c
|
d016b38b065fbe3e22584728c3b8bc55fc8a5f9c |
22-Apr-2010 |
Nick Kledzik <kledzik@apple.com> |
add explicit alignment directives to assure arm code is 4-byte aligned git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@102030 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/bswapdi2.S
rm/bswapsi2.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/restore_vfp_d8_d15_regs.S
rm/save_vfp_d8_d15_regs.S
rm/subdf3vfp.S
rm/subsf3vfp.S
rm/switch16.S
rm/switch32.S
rm/switch8.S
rm/switchu8.S
rm/sync_synchronize.S
rm/truncdfsf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
|
d0d9913a7456c5fad3f4b09e0c94ab893077d1dd |
15-Apr-2010 |
Nick Kledzik <kledzik@apple.com> |
add include of int_lib.h to match change to use compilerrt_abort() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@101396 91177308-0d34-0410-b5e6-96231b3b80d8
cc_personality_v0.c
rampoline_setup.c
|
e7d0a5c76ca8dfd6277099b89f8bf65cfdab8842 |
31-Mar-2010 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/7813254> check enable_execute_stack implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100036 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
|
d3d22631ca0b314f0564a9bcfe96dd2d6ca85fa6 |
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add new build option KERNEL_USE, which compiles with -mkernel and gets propogated to CFLAGS. Use this to call panic() instead of abort() when enabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100015 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
|
48f46ac1d9a82210f6e469567cb60aa7e7cd2f3b |
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Use a private compilerrt_abort() define instead of calling abort directly. - Fiddling with abort directly is annoying given the way we use system includes, although it would be nice to fix this so we could make sure calling abort directly is verboten. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100014 91177308-0d34-0410-b5e6-96231b3b80d8
bsvdi2.c
bsvsi2.c
bsvti2.c
ddvdi3.c
ddvsi3.c
ddvti3.c
lear_cache.c
printf.c
cc_personality_v0.c
nt_lib.h
ulvdi3.c
ulvsi3.c
ulvti3.c
egvdi2.c
egvsi2.c
egvti2.c
ubvdi3.c
ubvsi3.c
ubvti3.c
rampoline_setup.c
|
8ed16511fc83c535281b9770e2d17c1feb4f7bf5 |
02-Feb-2010 |
Nick Kledzik <kledzik@apple.com> |
add __sync_synchronize. Needed by compiler when emitting thumb1 with -fno-builtin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@95132 91177308-0d34-0410-b5e6-96231b3b80d8
rm/sync_synchronize.S
|
b04c2c4ddd4e51075ea377e7c4d603f8bb9bf617 |
20-Jan-2010 |
Nick Kledzik <kledzik@apple.com> |
fix return type of _Unwind_Exception.exception_cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93983 91177308-0d34-0410-b5e6-96231b3b80d8
cc_personality_v0.c
|
d057f7d5eec11c118af2a0620cb06495f03ca8b3 |
19-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Split up switch.S and save_restore_d8_d15.S to follow one function per file convention. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93815 91177308-0d34-0410-b5e6-96231b3b80d8
rm/restore_vfp_d8_d15_regs.S
rm/save_restore_d8_d15.S
rm/save_vfp_d8_d15_regs.S
rm/switch.S
rm/switch16.S
rm/switch32.S
rm/switch8.S
rm/switchu8.S
|
6a571fb3c515c5ea53308ba0eda750e8dd76ef6b |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add a VISIBILITY_HIDDEN option, which can be used to make all compiler-rt function definitions hidden/private extern. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93790 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
4c01bb7a1fc5ea65e39a63593d96fa3ef5aaeed4 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Unbreak symbol mangling in .s files, at least for Darwin/Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93789 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
e136da97a5700d25a2d23aa90ed714129b84fcdf |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMANGLED for use in .S files -- restFP and saveFP don't get USER_LABEL_PREFIX prepended for some reason. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93788 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
pc/restFP.S
pc/saveFP.S
|
6db90e61b58ae72b07faf3272fa9f15d4ad9b3bc |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Rename subdir 'Target' variable to 'Implementation' to be less overloaded. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93718 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
rm/Makefile.mk
386/Makefile.mk
pc/Makefile.mk
86_64/Makefile.mk
|
faf0150036689985ecea64e78f2637093857cd7b |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Simplify subdirectory makefiles, and be more robust by checking that they define the appropriate variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93714 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
rm/Makefile.mk
386/Makefile.mk
pc/Makefile.mk
86_64/Makefile.mk
|
1f1f71b353fd8335c8f9b0bce6bd32c25b4bd607 |
13-Jan-2010 |
Nick Kledzik <kledzik@apple.com> |
Fix copy/paste error. http://llvm.org/bugs/show_bug.cgi?id=572 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93297 91177308-0d34-0410-b5e6-96231b3b80d8
pc/restFP.S
|
6f608d521539a6c6d492185c964853021ba4a5a3 |
09-Nov-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@86542 91177308-0d34-0410-b5e6-96231b3b80d8
ssembly.h
|
eed1300f303841d026f0769e489d7c3df6e0e87f |
05-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix x86/x64 on Linux, Credit to Rafael Espindola. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@86075 91177308-0d34-0410-b5e6-96231b3b80d8
386/floatdidf.S
386/floatdixf.S
386/floatundidf.S
386/floatundisf.S
386/floatundixf.S
86_64/floatundidf.S
86_64/floatundisf.S
86_64/floatundixf.S
|
c8a260cfb7bee8b3291f4ee26a4ce5478e88e66a |
01-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix DragonFly BSD define in compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85726 91177308-0d34-0410-b5e6-96231b3b80d8
ndianness.h
|
670d09f2bd1e8830cdb17b628a8d33012bf6af6a |
29-Oct-2009 |
Nick Kledzik <kledzik@apple.com> |
add __save_vfp_d8_d15_regs and __restore_vfp_d8_d15_regs for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85531 91177308-0d34-0410-b5e6-96231b3b80d8
rm/save_restore_d8_d15.S
|
e1fa0f36a4dfcc7766987830c78b400bdbc25d79 |
29-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update CMake build system with target arch source file lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85448 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
b4b1e8c5085cf83a50242057775a33ae4323d402 |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Switch to using DEFINE_COMPILERRT_[PRIVATE_]FUNCTION to define function symbols inside .S files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85264 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/bswapdi2.S
rm/bswapsi2.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/subdf3vfp.S
rm/subsf3vfp.S
rm/switch.S
rm/truncdfsf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
386/ashldi3.S
386/ashrdi3.S
386/divdi3.S
386/floatdidf.S
386/floatdisf.S
386/floatdixf.S
386/floatundidf.S
386/floatundisf.S
386/floatundixf.S
386/lshrdi3.S
386/moddi3.S
386/muldi3.S
386/udivdi3.S
386/umoddi3.S
pc/restFP.S
pc/saveFP.S
86_64/floatundidf.S
86_64/floatundisf.S
86_64/floatundixf.S
|
19336a2d6b9b375ac106125950f4ff09742d1aec |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add assembly.h for use in .S files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85263 91177308-0d34-0410-b5e6-96231b3b80d8
rm/Makefile.mk
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/bswapdi2.S
rm/bswapsi2.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/subdf3vfp.S
rm/subsf3vfp.S
rm/switch.S
rm/truncdfsf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
ssembly.h
386/Makefile.mk
386/ashldi3.S
386/ashrdi3.S
386/divdi3.S
386/floatdidf.S
386/floatdisf.S
386/floatdixf.S
386/floatundidf.S
386/floatundisf.S
386/floatundixf.S
386/lshrdi3.S
386/moddi3.S
386/muldi3.S
386/udivdi3.S
386/umoddi3.S
pc/Makefile.mk
pc/restFP.S
pc/saveFP.S
86_64/Makefile.mk
86_64/floatundidf.S
86_64/floatundisf.S
86_64/floatundixf.S
|
51c80ccf6f7779c3b88e9ede81c0e0cfc35dc959 |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update some .S file headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85262 91177308-0d34-0410-b5e6-96231b3b80d8
386/floatundidf.S
pc/restFP.S
pc/saveFP.S
86_64/floatundidf.S
|
4467b65ff6e342ad4e8bef86f4e948f56e814bdf |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove duplicate copy of int_lib.h, and update test script to find copy inside lib/. Also, fix some brokenness in the test script w.r.t REMOTE. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85260 91177308-0d34-0410-b5e6-96231b3b80d8
ndianness.h
nt_lib.h
|
b4c3b6f8a2d3481bac6b0e9b4240fa0c99412d10 |
22-Sep-2009 |
Shantonu Sen <ssen@apple.com> |
1) Remove cmake-specific #define usage from the exported Block.h/Block_private.h headers, since clients won't know what to set. These are moved into runtime.c as appropriate 2) Use cmake checks for CAS builtins, instead of guessing based on GCC #defines (which aren't set by clang and llvm-gcc anyway) 3) "#pragma mark" isn't supported by FSF gcc, so "#if 0" it out. It should still show up in IDEs that support it 4) Fix some compiler warnings. GCC 4.3.3 seems super strict about %p. function pointers can't be cast to void * either. 5) Avoid a warning for apple_versioning.c that "ISO C does not allow empty files" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82504 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
|
92a6cf5b64bb661c8b67825a4a5583eb01807633 |
18-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
update make rules so libcompiler-rt can be built for armv6 the Apple way git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82185 91177308-0d34-0410-b5e6-96231b3b80d8
pple_versioning.c
|
0c610555977c674691139d8bc348a32e428e94ff |
18-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add support for __switch* needed for switch statements in thumb codegen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82184 91177308-0d34-0410-b5e6-96231b3b80d8
rm/switch.S
|
0963c9e8ea7f97732b0fce419fa6f2e96d951969 |
15-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add conversion functions and test cases for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81809 91177308-0d34-0410-b5e6-96231b3b80d8
rm/extendsfdf2vfp.S
rm/fixdfsivfp.S
rm/fixsfsivfp.S
rm/fixunsdfsivfp.S
rm/fixunssfsivfp.S
rm/floatsidfvfp.S
rm/floatsisfvfp.S
rm/floatunssidfvfp.S
rm/floatunssisfvfp.S
rm/truncdfsf2vfp.S
|
7b268dc996e9683b634072759eb8537e21284827 |
14-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update cmake files for arm support hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81760 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
rm/CMakeLists.txt
|
6e8c3ac5e881a8eacd00630a971c7020f3956661 |
13-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81686 91177308-0d34-0410-b5e6-96231b3b80d8
rm/bswapsi2.S
|
e80e978d6aa211056beddf4582390e374d1935ab |
12-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add comparison functions for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81597 91177308-0d34-0410-b5e6-96231b3b80d8
rm/bswapdi2.S
rm/bswapsi2.S
rm/eqdf2vfp.S
rm/eqsf2vfp.S
rm/gedf2vfp.S
rm/gesf2vfp.S
rm/gtdf2vfp.S
rm/gtsf2vfp.S
rm/ledf2vfp.S
rm/lesf2vfp.S
rm/ltdf2vfp.S
rm/ltsf2vfp.S
rm/nedf2vfp.S
rm/negdf2vfp.S
rm/negsf2vfp.S
rm/nesf2vfp.S
rm/unorddf2vfp.S
rm/unordsf2vfp.S
|
d47c2cfb86a7d9746f7665a73fa25a724c4ce354 |
11-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
start adding implementation of arm *vfp routines with test cases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81558 91177308-0d34-0410-b5e6-96231b3b80d8
rm/adddf3vfp.S
rm/addsf3vfp.S
rm/divdf3vfp.S
rm/divsf3vfp.S
rm/muldf3vfp.S
rm/mulsf3vfp.S
rm/subdf3vfp.S
rm/subsf3vfp.S
|
01f9de572f21908fa63856cf294523f2ac1f1965 |
11-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Stub out structure for building armv{6,7} libs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81482 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
rm/Makefile.mk
|
dc114bf3e390f5bcca5cbe46e4577d4cb32dbfc5 |
11-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Unbreak building of assembly files (broken by my .s -> .S rename). - Noticed & patched by Nick Kledzik. - This may expose portability issues in the .S files, if so we should either disable them on non-Darwin, or even better make them portable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81476 91177308-0d34-0410-b5e6-96231b3b80d8
386/Makefile.mk
pc/Makefile.mk
86_64/Makefile.mk
|
aabd961cc27f5d05f441375e5ba4242d63fea11f |
03-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80913 91177308-0d34-0410-b5e6-96231b3b80d8
lzti2.c
mpti2.c
tzti2.c
fsti2.c
ixdfti.c
ixunsdfti.c
ixunsxfti.c
ixxfti.c
loattidf.c
loattixf.c
loatuntidf.c
loatuntixf.c
ulti3.c
arityti2.c
cmpti2.c
|
e8178e2a99ae5d7ccfe5882804a294fd0d3f453f |
18-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Add support for ellcc, Credit to Richard Pennington. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79332 91177308-0d34-0410-b5e6-96231b3b80d8
ndianness.h
|
4e19ff6f4fae51378748add5e1606bd921fea442 |
18-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix pre-processor mistake for BSDs in endianness.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79330 91177308-0d34-0410-b5e6-96231b3b80d8
ndianness.h
|
b72794dfba84f063521f031ac7395fa4dd619983 |
10-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Temporary define HAVE_SYSCONF until cmake checks are done. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78546 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
|
de1c6cfc90140c34469f78cba86040796ca4b98b |
10-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix a FIXME for configure check for HAVE_SYSCONF. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78545 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
|
166b783fa2b1bf6329db080b3a7f922f37914974 |
09-Aug-2009 |
Nuno Lopes <nunoplopes@sapo.pt> |
fix build on linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78538 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
ndianness.h
|
8bf1e094893cb24796137b47ee0d46d18d299996 |
09-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 compliant. Comment trailing endifs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78537 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
pple_versioning.c
shldi3.c
shlti3.c
shrdi3.c
shrti3.c
lzdi2.c
lzti2.c
mpdi2.c
tzdi2.c
fsdi2.c
fsti2.c
ixdfdi.c
ixunsdfdi.c
ixunsdfsi.c
ixunsxfdi.c
ixunsxfsi.c
ixxfdi.c
ixxfti.c
loatdixf.c
loatundixf.c
nt_lib.h
shrdi3.c
shrti3.c
uldi3.c
ulti3.c
aritydi2.c
pc/DD.h
pc/divtc3.c
pc/fixtfdi.c
pc/fixunstfdi.c
pc/floatditf.c
pc/floatunditf.c
pc/gcc_qadd.c
pc/gcc_qdiv.c
pc/gcc_qmul.c
pc/gcc_qsub.c
pc/multc3.c
ubvti3.c
cmpdi2.c
divmoddi4.c
divmodti4.c
|
33c134702e274fdbcb1672771a137efb82b498b2 |
08-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Optimized versions now buildable on Solaris. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78457 91177308-0d34-0410-b5e6-96231b3b80d8
pc/divtc3.c
pc/multc3.c
86_64/floatdidf.c
86_64/floatdisf.c
86_64/floatdixf.c
|
bb119a4fae90e73d48c078024e101bebfdfae5d8 |
08-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix signedness warning in mprotect call, Clean up and improve endianness.h header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78451 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
ndianness.h
|
37a6a455466e5b197311771a777ab241e471ed8a |
07-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Code style and Readability fixes. Credit to Craig van Vliet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78403 91177308-0d34-0410-b5e6-96231b3b80d8
bsvdi2.c
bsvsi2.c
bsvti2.c
ddvdi3.c
ddvsi3.c
pple_versioning.c
shldi3.c
shlti3.c
shrdi3.c
mpdi2.c
mpti2.c
tzdi2.c
tzsi2.c
ivdc3.c
ivdi3.c
ivsc3.c
ivsi3.c
ivxc3.c
ixdfdi.c
ixdfti.c
ixsfdi.c
ixunssfti.c
loatdidf.c
loatdisf.c
loatdixf.c
loattidf.c
loattisf.c
loattixf.c
loatundidf.c
loatundisf.c
loatundixf.c
oddi3.c
odsi3.c
odti3.c
uldc3.c
uldi3.c
ulsc3.c
ulti3.c
ulvdi3.c
egvti2.c
aritydi2.c
aritysi2.c
arityti2.c
opcountsi2.c
opcountti2.c
owisf2.c
cmpdi2.c
divdi3.c
divmoddi4.c
divmodti4.c
divsi3.c
divti3.c
moddi3.c
modsi3.c
|
0898ee9197a0049e479a12f4c5b3c65e3deaf03b |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor test suit endianness pre-processor code. More style and readability fixes, start labling endif's git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78234 91177308-0d34-0410-b5e6-96231b3b80d8
nt_lib.h
owidf2.c
|
1fcb40b79d8fbfcc9acb0966d5f9bba09431f832 |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78226 91177308-0d34-0410-b5e6-96231b3b80d8
ddvti3.c
tzti2.c
ndianness.h
ixsfti.c
ixunsxfsi.c
loatuntidf.c
loatuntisf.c
nt_lib.h
ulvsi3.c
ulvti3.c
ulxc3.c
opcountdi2.c
owitf2.c
owixf2.c
cmpti2.c
modti3.c
|
2bf62728b8ce00e295c7bf0fb328427496cc85aa |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fixup C++ style comments are not allowed in ISO C90 to classic C style. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78152 91177308-0d34-0410-b5e6-96231b3b80d8
shrti3.c
lear_cache.c
lzdi2.c
lzsi2.c
lzti2.c
ivti3.c
nable_execute_stack.c
printf.c
fsdi2.c
fsti2.c
ixunsdfdi.c
ixunsdfsi.c
ixunsdfti.c
ixunssfdi.c
ixunssfsi.c
ixunssfti.c
ixunsxfdi.c
ixunsxfti.c
ixxfdi.c
ixxfti.c
loattixf.c
loatuntixf.c
cc_personality_v0.c
shrdi3.c
shrti3.c
egdi2.c
egti2.c
egvdi2.c
egvsi2.c
ubvdi3.c
ubvsi3.c
ubvti3.c
rampoline_setup.c
|
0e4ad9c55a8554a220af3dc6b0fc4b0a5d64c025 |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Start porting compiler-rt testsuit to Solaris with new build system. Fix some C++ style comments which are not allowed in ISO C90. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78143 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
nt_lib.h
|
df479b6717e4300dfeb6cc51e6f6b68118fafdcd |
04-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor out common pre-processor code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78037 91177308-0d34-0410-b5e6-96231b3b80d8
ivdc3.c
ivsc3.c
ivxc3.c
nt_lib.h
uldc3.c
ulsc3.c
ulxc3.c
|
6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete port to AuroraUX and Solaris. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77958 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ivdc3.c
ivsc3.c
ivxc3.c
loatundidf.c
nt_lib.h
uldc3.c
ulsc3.c
ulxc3.c
|
880cafccfc68095d42cb61de71d1d31db330b705 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
A few CMake formating fixes for compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77937 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d904635616ca27a56531375a7d25547c930a4040 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Initial import of CMake type build system. Just like the rest of llvm.. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77933 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
386/CMakeLists.txt
pc/CMakeLists.txt
86_64/CMakeLists.txt
|
d02ea672969690c678a491257240267d8335e266 |
03-Jul-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Misc compiler-rt fixes. Clarify neg implementations to show what is actually happening. Fix mod implementation so it doesn't get optimized to a recursive call. Make x86-32 non-SSE2 shift implementation use shld/shrd instead of emulating it (the only x86 processor where the emulation might be remotely close to justifiable is the Pentium 4). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74756 91177308-0d34-0410-b5e6-96231b3b80d8
386/ashldi3.S
386/ashrdi3.S
386/lshrdi3.S
egdi2.c
egti2.c
modsi3.c
|
f6392137118661add2ab7fc98be42a0c8748bb1d |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add missing include for getpagesize, and fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74588 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
|
940515afdb99568d5d9cc9f6b9a80335a8e35646 |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix a Darwinism, .s files meant to be preprocessed should be named .S. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74587 91177308-0d34-0410-b5e6-96231b3b80d8
386/ashldi3.S
386/ashldi3.s
386/ashrdi3.S
386/ashrdi3.s
386/divdi3.S
386/divdi3.s
386/floatdidf.S
386/floatdidf.s
386/floatdisf.S
386/floatdisf.s
386/floatdixf.S
386/floatdixf.s
386/floatundidf.S
386/floatundidf.s
386/floatundisf.S
386/floatundisf.s
386/floatundixf.S
386/floatundixf.s
386/lshrdi3.S
386/lshrdi3.s
386/moddi3.S
386/moddi3.s
386/muldi3.S
386/muldi3.s
386/udivdi3.S
386/udivdi3.s
386/umoddi3.S
386/umoddi3.s
pc/restFP.S
pc/restFP.s
pc/saveFP.S
pc/saveFP.s
86_64/floatundidf.S
86_64/floatundidf.s
86_64/floatundisf.S
86_64/floatundisf.s
86_64/floatundixf.S
86_64/floatundixf.s
|
72b5907f318972685252659ca191d63fbe2f352b |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use getpagesize() on non-Darwin platforms. - Presumably we will eventually need configure magic for this stuff. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74586 91177308-0d34-0410-b5e6-96231b3b80d8
nable_execute_stack.c
|
b3a6901e66f55b35aa9e01bcb24134e6a65ea004 |
26-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Initial import of compiler-rt. - git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74292 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
bsvdi2.c
bsvsi2.c
bsvti2.c
ddvdi3.c
ddvsi3.c
ddvti3.c
pple_versioning.c
shldi3.c
shlti3.c
shrdi3.c
shrti3.c
lear_cache.c
lzdi2.c
lzsi2.c
lzti2.c
mpdi2.c
mpti2.c
tzdi2.c
tzsi2.c
tzti2.c
ivdc3.c
ivdi3.c
ivsc3.c
ivsi3.c
ivti3.c
ivxc3.c
nable_execute_stack.c
printf.c
fsdi2.c
fsti2.c
ixdfdi.c
ixdfti.c
ixsfdi.c
ixsfti.c
ixunsdfdi.c
ixunsdfsi.c
ixunsdfti.c
ixunssfdi.c
ixunssfsi.c
ixunssfti.c
ixunsxfdi.c
ixunsxfsi.c
ixunsxfti.c
ixxfdi.c
ixxfti.c
loatdidf.c
loatdisf.c
loatdixf.c
loattidf.c
loattisf.c
loattixf.c
loatundidf.c
loatundisf.c
loatundixf.c
loatuntidf.c
loatuntisf.c
loatuntixf.c
cc_personality_v0.c
386/Makefile.mk
386/ashldi3.s
386/ashrdi3.s
386/divdi3.s
386/floatdidf.s
386/floatdisf.s
386/floatdixf.s
386/floatundidf.s
386/floatundisf.s
386/floatundixf.s
386/lshrdi3.s
386/moddi3.s
386/muldi3.s
386/udivdi3.s
386/umoddi3.s
nt_lib.h
shrdi3.c
shrti3.c
oddi3.c
odsi3.c
odti3.c
uldc3.c
uldi3.c
ulsc3.c
ulti3.c
ulvdi3.c
ulvsi3.c
ulvti3.c
ulxc3.c
egdi2.c
egti2.c
egvdi2.c
egvsi2.c
egvti2.c
aritydi2.c
aritysi2.c
arityti2.c
opcountdi2.c
opcountsi2.c
opcountti2.c
owidf2.c
owisf2.c
owitf2.c
owixf2.c
pc/DD.h
pc/Makefile.mk
pc/divtc3.c
pc/fixtfdi.c
pc/fixunstfdi.c
pc/floatditf.c
pc/floatunditf.c
pc/gcc_qadd.c
pc/gcc_qdiv.c
pc/gcc_qmul.c
pc/gcc_qsub.c
pc/multc3.c
pc/restFP.s
pc/saveFP.s
ubvdi3.c
ubvsi3.c
ubvti3.c
rampoline_setup.c
cmpdi2.c
cmpti2.c
divdi3.c
divmoddi4.c
divmodti4.c
divsi3.c
divti3.c
moddi3.c
modsi3.c
modti3.c
86_64/Makefile.mk
86_64/floatdidf.c
86_64/floatdisf.c
86_64/floatdixf.c
86_64/floatundidf.s
86_64/floatundisf.s
86_64/floatundixf.s
|