History log of /external/compiler-rt/lib/asan/asan_linux.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_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
/external/compiler-rt/lib/asan/asan_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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_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
/external/compiler-rt/lib/asan/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
/external/compiler-rt/lib/asan/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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.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
/external/compiler-rt/lib/asan/asan_linux.cc
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
/external/compiler-rt/lib/asan/asan_linux.cc