History log of /external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
72870db5f2e0e83b2e925eef594dacfae275a8de 03-Sep-2013 Alexey Samsonov <samsonov@google.com> Add internal_strchrnul function

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
a615b26e3e3c2da0b2f950f506f6c2c220430c19 14-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Minor fixes in sanitizer_common tests.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
411e828bf174dab9cfe7b64a5081cb870b71a73a 14-May-2013 Kostya Serebryany <kcc@google.com> [tsan] fix gcc build with -Wall

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
9578a3ecfc35a264ede1135033398e2a77a6cad6 08-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Change internal syscall API to remove reliance on libc's errno.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
2be3a283939d4fc14ad86f6cd8be34b1468f22ba 07-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Sanitizer __internal_*stat interface.

With this change, __internal_*stat always expect a "struct stat *" argument.
This avoids stat/stat64 caller-side confusion (sanitizer_common tests already
made this mistake), and allows the use of __internal_fstat() as a drop-in
replacement for libc's fstat().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
626e6fdd9c01c9b683c33656c2014ef9a2690e50 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix FileOps test on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175515 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
366984e3aa286f7b4fb45f5c9e703f2768c407ed 19-Feb-2013 Kostya Serebryany <kcc@google.com> [asan] instrument memory accesses with unusual sizes
This patch makes asan instrument memory accesses with unusual sizes (e.g. 5 bytes or 10 bytes), e.g. long double or
packed structures.
Instrumentation is done with two 1-byte checks
(first and last bytes) and if the error is found
__asan_report_load_n(addr, real_size) or
__asan_report_store_n(addr, real_size)
is called.

asan-rt part

Also fix lint.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
0fa691b7ec97d8c3948a637d6263822ed4e738f7 18-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Make temporary filename depend on user ID

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
4c9317a7b61e136f832d2ede70f557963fd46bce 04-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] extend internal libc with stat/fstat/lstat functions

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
eb2809311c94b73c269ccef8d68ae368642e5754 28-Dec-2012 Kostya Serebryany <kcc@google.com> [asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
341588afadc46bf6f0dc7babd6d531209aba5202 26-Oct-2012 Alexander Potapenko <glider@google.com> Fix the internal_memmove() implementation that used to skip src[0] if dst < src.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc