86277eb844c4983c81de62d7c050e92fe7155788 |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master compiler-rt for rebase to r230699. Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/asan/asan_allocator.cc
|
b1971ca4a3057916ca90a733c672a08127d5fe67 |
|
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke the old unused allocator code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
def1be9b7ef4091ce465c0fbfb26cdb52128ade8 |
|
21-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
c25e62b0cdbca855e7611583b0ff7013c31db21d |
|
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move malloc stats collection away from AsanThreadRegistry class. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
89c1384464848c1ad041becf8b97936fa10de21b |
|
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f97a1fef66c59ee45e4a286be64c852d0e82275f |
|
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix Win/Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
589dcdaa520de1033a0f6112c9b67ab9eb7931af |
|
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix nonsensical reports of partial right OOB. In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
c70fa28caaaec2134f2c2230821fcc0f0d7ac27e |
|
31-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
b478260a75516f350f733dccb07cf10e443f9967 |
|
28-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a crash in asan stats printing (initialize the allocator in __asan_init) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
65199f1b253c4bfb225805629217acb8f0b1e185 |
|
25-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix calloc overflow in asan/tsan/msan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f4f51f2cc6fa936f0c65577f82e6b62989d546ee |
|
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move blocking mutex from asan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
4b48f4563ca25d8915155acc5837e195cf0e5c57 |
|
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add statistics to the allocator; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
fe6d91684bcda766593800f6307233f1a33d31f6 |
|
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
c88059cf6e0b47951413107ae8d7a0caabe661fc |
|
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement AsanChunkFifoList via IntrusiveList<AsanChunk> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170313 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
a30c8f9eac981dcf137e84226810b760e35c7be1 |
|
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
84a996fc1057ffea9213608c47a54c3d3d3aed02 |
|
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more code for asan_allocator2: basic Allocate/Deallocate code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
321e1254d3bf8d67232aaff133961573fa0e3ec4 |
|
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more sceleton code for asan_allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
956ad47e14ba7a7935dc1ff2d96e02023acf8d4d |
|
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
2679f1904dc5d5eb2ce82014116764c5f5131a2b |
|
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move FakeStack into a separate file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
8b0a7ce34660ef5b02d21dddb7d45d502539e9fd |
|
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce asan_allocator2.cc, which will have the replacement for asan allocator (now, just a bit of boilerplate) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
6a08d29b2020004b801ca69d8aea5872a7e67d72 |
|
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: change the strategy we use for installing malloc/free/symbolization hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f67ec2b6e8d2ae328c27de0b026eea2d6667836e |
|
23-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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/asan/asan_allocator.cc
|
e406c8c47570659287e619e23479f9fb6640299e |
|
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Revert r168040 and r168043 and take a cleaner solution suggested by Kostya: return the known frame name for fake stack instead of looking it up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
036945d16d94ed6e83a85e243d7fe89687b9baf8 |
|
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Poison the leftmost shadow byte with a special value so that we can find the beginning of the fake frame when reporting an use-after-return error. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
5c153faa535f671dd0e8d40ab43397f2d3c6f6f5 |
|
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move printing descriptions of heap addresses in error report from allocator internals to asan_report.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
71b42c9740e6f73da607aaa539affb5c4807231c |
|
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
5092682c3a6902e460a6e439cf48b3dc7d48dc65 |
|
30-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Whitespace/lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
|
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
cc347222d55967fdb775429a8a0a3a5d795b8b50 |
|
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] even more refactoring to move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.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/asan/asan_allocator.cc
|
b21de9e71522a7f9ed31fd92aafe6936873a971c |
|
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make ASan malloc/free hooks weak interface functions, overridable by user. Now the user can control malloc/free hooks without recompiling ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
ec3b0732a62bd0a52da7bbfc4e227038ccf9372c |
|
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use SANITIZER_INTERFACE_ATTRIBUTE instead of __attribute__((visibility("default"))) Export CheckFailed, asan_malloc, asan_free, asan_memalign, AsanStackTrace::CompressStack, AsanStackTrace::UncompressStack from the dynamic runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
11f2b17a5cae796c047a7e22bea4452da337bbce |
|
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make __asan::asan_{malloc,free,memalign} globally visible, so that the dynamic version of the runtime will export them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f7c1d18183d2dfbd02864cf47b3239d6a5d717c0 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
531c7d983da8debc447c1b3f9aee76a291376705 |
|
06-Aug-2012 |
Alexander Potapenko <glider@google.com> |
AllocationSize(ptr) should check that |ptr| actually points to the beginning of the chunk it belongs to. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=86 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161320 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
63201b127e21d6fbfb6de62d0e44a5de01288153 |
|
23-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] minor fixes to silence cmake build warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.cc
|
fce5bd4cc29fddb5e8f0cb9c12df7c10187a991d |
|
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
b4fefa713da3dabda1cd83ae4182c71f1683f02c |
|
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: trailing semicolons, trailing colons in enums git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
0334fc8564e91d5ebd495066bb263af36331fe61 |
|
07-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] slow 16-byte redzones (still experimental) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
16071602d364db4a8e99575acd098d7462ef318d |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction: don't use the next field while the chunk is in allocated state git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
6dc48dd17d81933194366716c9e16f2e85c728b6 |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more allocator compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.cc
|
f4a4d5a9a01663e74e6d8c2de3468df31245f39a |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction for allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158076 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
e0cff0bc20ae51790c8edfbceb817e18ebf5355e |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make tid u32 instead of int git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
7ebac9534c484b06a0c2822d83f082a127e743bc |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] start compacting the allocator header, the goal is to make it 16 bytes w/o losing any information git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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/asan/asan_allocator.cc
|
5bcca4e33ececdddd8e9e07619c129e870492251 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make printf arguments match format strings better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
e5f5895bda30f374b0b51412fd4d837fa59aed66 |
|
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags for .cc files in ASan run-time library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.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_allocator.cc
|
9aead37421a6e4bf43265e5195c6ac31fc519982 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
37931239a3671ac0d2c7865f3077b0c4f71b94b3 |
|
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Introduce the check_malloc_usable_size flag (on by default). When the flag is set to zero, we do not check for errors in malloc_usable_size. This may be useful to work around a bug in Nvidia drivers prior to 295.* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157472 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
8c505efd769a21eac7de53bc104757245af6ed4a |
|
21-May-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Make for-Windows RTL compileable using Clang++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
0796393f2088e3b75c4110934451160eeb037fab |
|
23-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan issue #66 (correctly report type of the bug) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f1e82b8fda94535e9a646fc5fe394d9883ccfa2c |
|
05-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make __asan::Deallocate immune to racy double-free (issue #57) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
108a237510099cebb1522262fe1fde57fc5b8f90 |
|
27-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Log the allocator messages at a higher verbosity level. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
739eb7984139d457216623347ae3b7a706c0aadf |
|
21-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Support for %z to Printf() At the moment, asan internal Printf() uses %l modifier for printing values of size_t and related types. This works, because we control both the implementation of Printf and all its uses, but can be a little misleading. This change adds support for %z to Printf(). All callers that print sizes and pointers as integers are switched to %zu / %zx. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
9bdf0651a2874ea5d57092cd06ad30bc7a39ce86 |
|
13-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix a couple of typos git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
25c7178bf96d2316a3d9424b118d04bc51be1a9b |
|
10-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownership git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
8ae44ac678644265ba82a1b5696a402c9301a85c |
|
27-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Replace some #ifdef(s) with plain if(s). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151526 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
e04606631d3cf6e5f9e695a8af4d89c407aea33a |
|
27-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: add some checks to AsanChunkFifoList::PushList git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151521 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
b39f0ceeb872024b0c64f9c0387b368ec829dc75 |
|
21-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
6a3e6fd72e1e2322d28ced9d9c2adbd720e7fabf |
|
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
788e1d704436065beb514fdde86070f61d0394ed |
|
16-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Allocator tweaks for low memory systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
3e81fe43798c096d1d3565596f0717b9919de4fb |
|
09-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[asan] The first version of the RTL for Windows, reviewed at http://codereview.appspot.com/5647052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.cc
|
27f4932a8a0845303b33d69ddce096c445002e60 |
|
08-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better warning messages for double-free bugs (provide allocation/deallocation stack traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
f927ddc82f6fa71adfbea9110ef4c08c21bd72b8 |
|
03-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: simplify RoundUpToPowerOfTwo/clz; add a couple of CHECKs for real_X calls. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
858220837f85db7eb5eedd5ea68603803b5eb3c9 |
|
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] minor ifdef cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
6f0452914ec76c786eb865983793bc03b00fc7b6 |
|
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. Patch by Timur Iskhodzhanov (timurrrr@google.com) To test: $ cl /c *.c* in the asan directory. The code fails to link if you omit the "/c" part but that's one of the next steps, as well as a few TODO's I've put into the Windows-specific code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
ca2278dacaf75a6c45473d962a331181883df02c |
|
18-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: return false instead of true for __asan_get_ownership(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
6677def188c17ac63866146d72c4b1b652649fc6 |
|
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert commit 148304 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
c7cdcdacd485056c12efc368f7ea2a6db64831e8 |
|
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: from this patch, ASan allocator returns false for __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.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_allocator.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_allocator.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_allocator.cc
|
c16201337a4bb974093ff75aa45682739a331d05 |
|
13-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] canonicalise the output for double-free and wrong-free. fixes asan issue 18 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
c4b34d9af5a7849f91b9a9ba418a2bd144b0812b |
|
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make use-after-return mode more robust: allow to call instrumented functions while reporting an error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
30743140ff0f904b7f422b61d208e2837e7c631e |
|
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] always collect malloc statstics (removed FLAG_stats) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
2d8b3bdb112ebb8ed3f15ee41d4cebcd683b41b0 |
|
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] minimize the use of STL. One bit is still left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
514cebb99d5e45f1bbbb33cfa41a20a6434258b6 |
|
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/asan: Fix possible type mismatches. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.cc
|
218a9b70d7338cf5b727b7dad6b080ad7869c6c2 |
|
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_allocator.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_allocator.cc
|