| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "sanitizers: increase .clang-format columns to 100" This reverts commit 5d1df6d220f1d6f726d9643848679d781750db64. There is a strong objection to this change: https://reviews.llvm.org/D106436#2905618 Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D106847 | 4 年前 | |
| 2 年前 | ||
[NFC][sanitizer] Move InitTlsSize into InitializePlatformEarly (#108921) | 1 年前 | |
[lsan] Install pthread_atfork (#75281) This prevents deadlocks in forked process on essencial runtime components. | 2 年前 | |
lsan: Support free_sized and free_aligned_sized from C23 (#144604) Adds support to LSan for free_sized and free_aligned_sized from C23. Other sanitizers will be handled with their own separate PRs. For https://github.com/llvm/llvm-project/issues/144435 This is attempt number 2. Signed-off-by: Justin King <jcking@google.com> | 1 年前 | |
lsan: fix allocator on arm64 Android (#165656) The default config is too large for arm64 Android devices, which are typically configured with 39-bit address space. This change brings it inline with sanitizer_allocator_test.cpp. | 8 个月前 | |
| 11 个月前 | ||
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[lsan][fuchsia] Add extra check for allocator cache to avoid overflow Prior to this, we would check if the end of the allocator cache was located before the end of the chunk passed to the tls check. However, if the actual allocator cache comes after the end of the chunk, then the sub in the end - params->allocator_caches[i] bit overflows. Since the resulting type is an unsigned uptr, this is not UB, but if the signed result would be a negative value (ie. end < params->allocator_caches[i]) then this will actually result in a very large unsigned value much bigger than the compared sizeof(AllocatorCache) which will almost always be true. This can cause ScanRangeForPointers to accept incorrect values: a begin pointing to some address, and params->allocator_caches[i] pointing to some much larger address way past the end of the chunk which can result in a page fault/stack overflow. Differential Revision: https://reviews.llvm.org/D159518 | 2 年前 | |
[compiler-rt] Remove support and workarounds for Android 4 and older (#124056) | 1 年前 | |
[lsan] Don't use InternalMmapVectorNoCtor as local var | 3 年前 | |
[lsan] Process non-suspended threads (#112807) For such threads we have no registers, so no exact stack range, and no guaranties that stack is mapped at all. To avoid crashes on unmapped memory, MemCpyAccessible copies intersting range into temporarily buffer, and we search for pointers there. | 1 年前 | |
[lsan][Fuchsia] Define EarlySanitizerInit for standalone lsan (#138946) I forgot to add this definition in https://github.com/llvm/llvm-project/pull/131886. | 1 年前 | |
[lsan] Use final on Fuchsia ThreadContext declaration This is consistent with other platforms' versions and eliminates a compiler warning. Reviewed By: leonardchan Differential Revision: https://reviews.llvm.org/D92442 | 5 年前 | |
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[lsan] Don't crash on ThreadRegistry::threads_ data race Comment "No lock needed" in CurrentThreadContext was wrong. Concurent ThreadRegistry::CreateThread can resize and relocate ThreadRegistry::threads_ the same time CurrentThreadContext reads it. To mitigate lock cost we store ThreadContext* instead of tid in THREADLOCAL cache, we can tid from the ThreadContext*. Reviewed By: kstoimenov, MaskRay Differential Revision: https://reviews.llvm.org/D148281 | 3 年前 | |
lsan-rt: silence a -Wformat-pedantic | 3 年前 | |
lsan: Support free_sized and free_aligned_sized from C23 (#144604) Adds support to LSan for free_sized and free_aligned_sized from C23. Other sanitizers will be handled with their own separate PRs. For https://github.com/llvm/llvm-project/issues/144435 This is attempt number 2. Signed-off-by: Justin King <jcking@google.com> | 1 年前 | |
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[sanitizer] Internalize .preinit_array variables We can use an internal linkage variable to make it clear the variable is not exported. The special section .preinit_array is a GC root. Pull Request: https://github.com/llvm/llvm-project/pull/98584 | 2 年前 | |
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[sanitizer_common][nfc] Rename tid_t to avoid conflicting declarations (#149011) tid_t is also defined in the AIX header /usr/include/sys/types.h which is included by system pthread.h. The use of tid_t by AIX is conforming according to [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html): > Implementations may add symbols to the headers shown in the following table [ ... ] | 1 年前 | |
[lsan] Add __lsan_default_options For consistency with asan, msan, tsan and ubsan. llvm-svn: 314048 | 8 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 5 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 年前 |