3d763c0d3700e73b3aead8e65e04ec28efc56138 |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r256229 http://b/26987366 (cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c) Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
cdce50bda3603770cc4ef80cbb613c78b8e47a17 |
|
01-Jul-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r239765 Change-Id: I722dcde07e4f76a8a35ca701d89be5f311840e74
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
6d1862363c88c183b0ed7740fca876342cf0474b |
|
27-Nov-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master compiler-rt for rebase to r222486. Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
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/sanitizer_printf.cc
|
bb4697fe8cbe79c517e6f85713f2de6bd804209d |
|
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Print symbolized stack frame using a single Printf() call. This reduces the number of "write" syscalls performed to print a single stack frame description, and makes sanitizer output less intermixed with program output. Also, add a number of unit tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
6f2741c6325e0112f52b537444e1aaac8e746f85 |
|
14-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to override OnPrint() callback in Go runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192576 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
3c80c6c574850106481f82b9e23d1c728458d4a9 |
|
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
134da448d092f82bfd5ddcdfa203c5c652c51474 |
|
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Support padding with spaces in Printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
c5288679cc55c523188a40325d49d97b100cf03c |
|
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows mingw build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
5e97ba38b00eb843a55189bb913b445cbe620894 |
|
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix MSVC W3 compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 |
|
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move all platforms to internal_getpid. Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
6a72c9d8509bb8e751cb92e71407c039a767caa1 |
|
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
4f5e4bbdf775354433430fea4598ff3991442915 |
|
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix printf(), on the second pass it prints garbage and crashes on random pointer dereference git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
99f1e2011a855edd3b1036660ec5e7b70aa06520 |
|
18-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rework r176802: share code between Printf and Report and simplify it a bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
7ed46ff7af911da0dd2067734d1408c6986c6657 |
|
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
78b580f3d40132816f813c3dbf073d824137436a |
|
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
1700fd368edc7c52281231a8ddb898f1abf185d2 |
|
26-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
13f62b2cdaa09376e917a1efd0b1dd3d23bbff8d |
|
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: add Printf/Report hook The hook can be overriden in frontend to print to e.g. a file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
87c8bb96ddfd601e679a1acfe1a3d489993644b0 |
|
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Break a >80 char line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176937 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
c1b73e84db2f9f62633ee52b13cd1f83ef2fbe99 |
|
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Reduce the local buffer size in Report() not to fail the check enforced when building TSan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
e282b1ac6f9d370f9b30dbbd2da43f6346947f7f |
|
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Try to use a small (512 bytes) stack-local buffer in Report() for short messages, fall back to MmapOrDie() in the case of a failure. This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
01e9a38b8cfe8967efb259978b754c3a9f0c380c |
|
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't escape %s in printf usage message; it's not written by printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
5af39e50366f1aacbebc284f572f08ad1ad07357 |
|
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
e52e2806f5eef9aa6a46fc81119f592ea22b0cbf |
|
21-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] replace while with internal_memset to make sure compiler won't replace it with library memset git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
f4932204d7cf89cc2402b1e30fb728cf84ff7b7f |
|
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fsanitize=undefined: Switch to using sanitizer_common for output. This gets us much closer to not depending on any system headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
b1fe3021eca0843e37878d224ee7f32e32f40d99 |
|
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
01167e89d77530d5d8507e1f0f1f2979a1497573 |
|
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the va_arg usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
81dfbb76f858fbc4084771fce4967ede04ed5f44 |
|
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add asan option log_path=PATH to let users redirect asan reports to a file PATH.PID instead of stderr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
4fa111ccf225648a3de447a7a1ed6420b3c4b3af |
|
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap inseted of InternalAlloc in InternalScopedBuffer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
283c296b64bc55deec9698260b3427a9b050a925 |
|
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of AsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c |
|
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.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/sanitizer_common/sanitizer_printf.cc
|
e954101f6602ac181a2c3accfbbad0ae51b0bf7c |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
|