- Mar 20, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 177510
-
- Mar 19, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 177400
-
Evgeniy Stepanov authored
llvm-svn: 177384
-
Evgeniy Stepanov authored
Moved this code to sanitizer_common. llvm-svn: 177383
-
- Mar 14, 2013
-
-
Alexey Samsonov authored
llvm-svn: 177072
-
- Mar 13, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 176938
-
Alexey Samsonov authored
llvm-svn: 176932
-
Alexey Samsonov authored
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev. llvm-svn: 176931
-
- Mar 11, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176805
-
- Feb 27, 2013
-
-
Alexey Samsonov authored
llvm-svn: 176183
-
Kostya Serebryany authored
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
-
- Feb 20, 2013
-
-
Alexey Samsonov authored
llvm-svn: 175622
-
- Feb 19, 2013
-
-
Evgeniy Stepanov authored
execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable program name. Execute /proc/self/exe instead. llvm-svn: 175504
-
- Feb 14, 2013
-
-
Evgeniy Stepanov authored
/proc/$PID/cmdline is clipped to 4Kb. Locate argv and envp on the main thread stack. llvm-svn: 175163
-
Evgeniy Stepanov authored
We are still limited by /proc/*/cmdline size (4Kb max on Linux!). llvm-svn: 175145
-
- Feb 04, 2013
-
-
Alexey Samsonov authored
llvm-svn: 174316
-
- Feb 01, 2013
-
-
Alexey Samsonov authored
llvm-svn: 174189
-
Alexey Samsonov authored
llvm-svn: 174187
-
- Jan 30, 2013
-
-
Dmitry Vyukov authored
asan/tsan: manually define FUTEX constants, because <linux/futes.h> header is broken on some linux distributions llvm-svn: 173933
-
- Jan 17, 2013
-
-
Peter Collingbourne authored
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 llvm-svn: 172748
-
- Jan 15, 2013
-
-
Kostya Serebryany authored
llvm-svn: 172523
-
- Jan 14, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 172389
-
Dmitry Vyukov authored
llvm-svn: 172387
-
Dmitry Vyukov authored
llvm-svn: 172385
-
Dmitry Vyukov authored
llvm-svn: 172380
-
- Jan 09, 2013
-
-
Kostya Serebryany authored
[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 llvm-svn: 171973
-
- Dec 14, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 170191
-
- Dec 13, 2012
-
-
Kostya Serebryany authored
llvm-svn: 170124
-
Kostya Serebryany authored
[asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder llvm-svn: 170117
-
- Dec 10, 2012
-
-
Alexander Potapenko authored
the client programs to notify the tools that sandboxing is about to be turned on. llvm-svn: 169732
-
- Dec 07, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 169606
-
Kostya Serebryany authored
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME)) llvm-svn: 169598
-
- Dec 05, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 169369
-
Alexander Potapenko authored
Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was occasionally deleted in the MemoryMappingLayout destructor. llvm-svn: 169335
-
- Dec 03, 2012
-
-
Alexander Potapenko authored
llvm-svn: 169155
-
- Dec 01, 2012
-
-
Alexander Potapenko authored
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. llvm-svn: 169076
-
- Nov 21, 2012
-
-
Kostya Serebryany authored
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424
-
- Nov 20, 2012
-
-
Kostya Serebryany authored
llvm-svn: 168358
-
- Nov 19, 2012
-
-
Kostya Serebryany authored
llvm-svn: 168301
-
- Nov 14, 2012
-
-
Kostya Serebryany authored
llvm-svn: 167883
-