| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Sagar Thakur
Reviewers: petarj, earthdok, kcc.
Subscribers: samsonov, dsanders, mohit.bhakkad, Anand.Takale, llvm-commits.
Differential Revision: http://reviews.llvm.org/D7013
llvm-svn: 229830
|
|
|
|
| |
llvm-svn: 221912
|
|
|
|
|
|
|
|
| |
analysis of sanitized systems logs.
Reviewed at http://reviews.llvm.org/D5724
llvm-svn: 221896
|
|
|
|
|
|
| |
Patch by Viktor Kutuzov!
llvm-svn: 203227
|
|
|
|
|
|
| |
Patch by Viktor Kutuzov!
llvm-svn: 202801
|
|
|
|
|
|
|
|
|
| |
code so it seems it should have more generic name and moved to a common scope.
Renamed to AdjustStackSize.
Patch by Viktor Kutuzov.
llvm-svn: 202011
|
|
|
|
|
|
|
|
|
|
|
| |
__sanitizer_kernel_* ones.
Also rename internal_sigaction() into internal_sigaction_norestorer(), as this function doesn't fully
implement the sigaction() functionality on Linux.
This change is a part of refactoring intended to have common signal handling behavior in all tools.
llvm-svn: 200535
|
|
|
|
|
|
| |
now it's available from common_flags()
llvm-svn: 192705
|
|
|
|
|
|
| |
sanitizer_platform_limits_posix.h
llvm-svn: 192695
|
|
|
|
|
|
|
| |
use them in stoptheworld
fixes applications that intercept sigaction/sigprocmask
llvm-svn: 192686
|
|
|
|
| |
llvm-svn: 192453
|
|
|
|
|
|
|
|
| |
sanitizer_linux.h.
Add a test.
llvm-svn: 192442
|
|
|
|
|
|
| |
functions. Move some code around to get rid of extra source files
llvm-svn: 190410
|
|
|
|
|
|
|
|
|
|
|
| |
Add a wrapper for the clone syscall for use in StopTheWorld. We
implement it only for x86_64, so stop building StopTheWorld for other platforms
(no one uses it outside x86_64 anyway).
See https://code.google.com/p/address-sanitizer/issues/detail?id=214 for why we
can't use the glibc clone() wrapper.
llvm-svn: 189753
|
|
|
|
|
|
|
|
| |
This is so DFSan will be able to use it.
Differential Revision: http://llvm-reviews.chandlerc.com/D1206
llvm-svn: 187372
|
|
|
|
| |
llvm-svn: 183730
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 182853
|
|
|
|
|
|
|
|
|
|
| |
libc-independent part.
Fixes the Go build.
Differential Revision: http://llvm-reviews.chandlerc.com/D877
llvm-svn: 182851
|
|
|
|
| |
llvm-svn: 181787
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
llvm-svn: 181436
|
|
|
|
|
|
|
|
| |
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).
llvm-svn: 181322
|
|
|
|
|
|
| |
Matveev.
llvm-svn: 178855
|
|
|
|
|
|
| |
Moved this code to sanitizer_common.
llvm-svn: 177383
|
|
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
llvm-svn: 176179
|