Dmitry Vyukov
|
7cd2025c4d
|
tsan: use StackDepot for thread creation stacks
llvm-svn: 177261
|
2013-03-18 09:02:27 +00:00 |
Dmitry Vyukov
|
50160030e1
|
tsan: fix Go build
llvm-svn: 177260
|
2013-03-18 08:52:46 +00:00 |
Dmitry Vyukov
|
a221620b2e
|
tsan: use StackDepot in sync object to store creation stacks
llvm-svn: 177258
|
2013-03-18 08:27:47 +00:00 |
Alexey Samsonov
|
cbed82ea70
|
[TSan] fix undefined variable in debug TSan build
llvm-svn: 177249
|
2013-03-18 07:33:00 +00:00 |
Alexey Samsonov
|
4f1c8a13d5
|
[TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its stack/tls address.
llvm-svn: 177248
|
2013-03-18 07:02:08 +00:00 |
Alexey Samsonov
|
e1955b851d
|
[TSan] Makefiles: allow configurable paths to clang and FileCheck. Add -fno-rtti flag.
llvm-svn: 177247
|
2013-03-18 07:00:36 +00:00 |
Alexey Samsonov
|
9aecdfe34d
|
[TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common
llvm-svn: 177154
|
2013-03-15 13:48:44 +00:00 |
Evgeniy Stepanov
|
231894a902
|
[sanitizer] Intercept frexp and friends.
llvm-svn: 177056
|
2013-03-14 11:34:39 +00:00 |
Alexey Samsonov
|
41a560b8cd
|
[TSan] Add missing header inclusion
llvm-svn: 177013
|
2013-03-14 07:13:00 +00:00 |
Alexey Samsonov
|
109ddd0fe4
|
[TSan] Use __sanitizer_pthread_attr_t in TSan
llvm-svn: 177012
|
2013-03-14 07:10:52 +00:00 |
Evgeniy Stepanov
|
5697b58ec4
|
[sanitizer] Move GetTlsSize code from TSan to sanitizer_common.
llvm-svn: 176938
|
2013-03-13 08:19:53 +00:00 |
Alexey Samsonov
|
06d3aa4884
|
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev.
llvm-svn: 176931
|
2013-03-13 06:51:02 +00:00 |
Alexey Samsonov
|
85f0a7e644
|
[TSan] Add interceptor for malloc_usable_size()
llvm-svn: 176013
|
2013-02-25 08:43:10 +00:00 |
Evgeniy Stepanov
|
ea61d08185
|
[sanitizer] Add interceptors for localtime and friends.
llvm-svn: 175499
|
2013-02-19 09:19:16 +00:00 |
Kostya Serebryany
|
3e62fe8c23
|
[tsan] use our own GetEnv instead of libc's getenv
llvm-svn: 175498
|
2013-02-19 08:19:13 +00:00 |
Dmitry Vyukov
|
965a10e07c
|
tsan: fix bug in suppression reading (suppressions from file were discarded)
llvm-svn: 175153
|
2013-02-14 11:03:45 +00:00 |
Dmitry Vyukov
|
3c2489e2c3
|
tsan: do not imitate memory write on malloc() (Go)
better memory range access functions (put only 1 event to trace) (Go)
llvm-svn: 175056
|
2013-02-13 13:05:36 +00:00 |
Evgeniy Stepanov
|
d8cfb99a71
|
[sanitizer] Missing changes from r174960.
llvm-svn: 174962
|
2013-02-12 12:02:49 +00:00 |
Dmitry Vyukov
|
e679798315
|
tsan: fix suppress_java logic
llvm-svn: 174635
|
2013-02-07 17:12:28 +00:00 |
Dmitry Vyukov
|
effd98b0f4
|
tsan: intercept libc __res_iclose
this is required to catch close of file descriptors created in getaddrinfo()
llvm-svn: 174624
|
2013-02-07 15:27:45 +00:00 |
Dmitry Vyukov
|
e94f4c048e
|
tsan: fix Go build
llvm-svn: 174622
|
2013-02-07 15:26:55 +00:00 |
Alexey Samsonov
|
85cc9b655d
|
[TSan] skip multiple internal frames, if necessary
llvm-svn: 174516
|
2013-02-06 16:28:05 +00:00 |
Kostya Serebryany
|
21bedab7a1
|
[tsan] improve FrameIsInternal
llvm-svn: 174506
|
2013-02-06 14:32:16 +00:00 |
Kostya Serebryany
|
4fb340d972
|
[tsan] print error summary line
llvm-svn: 174505
|
2013-02-06 14:24:00 +00:00 |
Alexander Potapenko
|
34157fc33f
|
[ASan] Delete the code related to static runtime on OS X.
Nuke lib/interception/mach_override.
llvm-svn: 174383
|
2013-02-05 15:57:12 +00:00 |
Dmitry Vyukov
|
606de60163
|
tsan: intercept bind/listen
llvm-svn: 174311
|
2013-02-04 08:06:32 +00:00 |
Alexey Samsonov
|
39313b780d
|
[Sanitizer] make internal_open have the same interface as libc version
llvm-svn: 174187
|
2013-02-01 15:58:46 +00:00 |
Dmitry Vyukov
|
1fab680c1b
|
tsan: catch races on fd in more cases
llvm-svn: 174184
|
2013-02-01 15:52:35 +00:00 |
Dmitry Vyukov
|
87c6bb9716
|
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().
llvm-svn: 174175
|
2013-02-01 14:41:58 +00:00 |
Dmitry Vyukov
|
628df38e95
|
tsan: say that the memory access is atomic in reports
llvm-svn: 174168
|
2013-02-01 11:10:53 +00:00 |
Dmitry Vyukov
|
aa6af4ddd1
|
tsan: remember 2 stack frames for atomics (caller and atomic itself)
llvm-svn: 174167
|
2013-02-01 11:01:17 +00:00 |
Dmitry Vyukov
|
52f0e4e1a0
|
tsan: add flag to not report races between atomic and plain memory accesses
llvm-svn: 174165
|
2013-02-01 10:06:56 +00:00 |
Dmitry Vyukov
|
71242b064e
|
tsan: flip is_write bit in shadow to is_read
this makes calculation of interesting predicates faster
llvm-svn: 174164
|
2013-02-01 10:02:55 +00:00 |
Dmitry Vyukov
|
ba4291480d
|
tsan: detect races between plain and atomic memory accesses
llvm-svn: 174163
|
2013-02-01 09:42:06 +00:00 |
Kostya Serebryany
|
bda64b4d40
|
[sanitizer] make the error messages from sanitizer_common contain the actual tool name
llvm-svn: 174059
|
2013-01-31 14:11:21 +00:00 |
Dmitry Vyukov
|
6095285d0b
|
tsan: do not check for intersecting memory accesses in Go (all accesses are 1 byte)
llvm-svn: 174046
|
2013-01-31 07:47:58 +00:00 |
Dmitry Vyukov
|
087efd23d6
|
tsan: fix CPP_WEAK definition (it must be the other way around)
llvm-svn: 173932
|
2013-01-30 14:38:44 +00:00 |
Alexey Samsonov
|
32832e6176
|
[Sanitizer] include sanitizer_common headers when building interception library
llvm-svn: 173930
|
2013-01-30 14:27:41 +00:00 |
Evgeniy Stepanov
|
358698279d
|
[sanitizer] Further split private and public sanitizer headers.
And make msan_interface.h C-compatible.
llvm-svn: 173928
|
2013-01-30 13:12:08 +00:00 |
Dmitry Vyukov
|
d6b9348bf3
|
tsan: introduce a helped macro CPP_WEAK (Go linker does not support weak symbols)
llvm-svn: 173917
|
2013-01-30 09:46:53 +00:00 |
Dmitry Vyukov
|
5fbfafcd8c
|
tsan: add OnFinalize() callback for frontends
llvm-svn: 173915
|
2013-01-30 09:24:00 +00:00 |
Alexey Samsonov
|
49a32c1d08
|
[Sanitizer] update style checker script and fix namespace style warnings
llvm-svn: 173910
|
2013-01-30 07:45:58 +00:00 |
Dmitry Vyukov
|
019ef67a97
|
tsan: dump stack on internal assert failure
llvm-svn: 173799
|
2013-01-29 14:20:12 +00:00 |
Dmitry Vyukov
|
4399d92252
|
tsan: support for inprocess symbolizer
llvm-svn: 173797
|
2013-01-29 13:05:30 +00:00 |
Dmitry Vyukov
|
b46930befa
|
tsan: remember when we are inside of symbolizer code (required for inprocess symbolizer)
llvm-svn: 173796
|
2013-01-29 13:03:07 +00:00 |
Dmitry Vyukov
|
7943b69002
|
tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer
llvm-svn: 173783
|
2013-01-29 09:35:14 +00:00 |
Dmitry Vyukov
|
b130fc3c0d
|
tsan: add interceptor stubs for stat family of functions
llvm-svn: 173782
|
2013-01-29 09:23:09 +00:00 |
Kostya Serebryany
|
fa79cd65e2
|
[sanitizer] fix calloc overflow in asan/tsan/msan
llvm-svn: 173441
|
2013-01-25 11:46:22 +00:00 |
Dmitry Vyukov
|
4e3b9802bd
|
tsan: return the old fake numbers from malloc stats (some code already depends on them)
llvm-svn: 173348
|
2013-01-24 14:07:19 +00:00 |
Dmitry Vyukov
|
f4f76b1c10
|
tsan: suppress reports using both stacks
llvm-svn: 173346
|
2013-01-24 13:50:32 +00:00 |