Kostya Serebryany
|
fe80f080ee
|
[asan] asan_allocator2 fix two asserts that happen on full chrome: a) memalign called with 0 size and large alignment and b) malloc called after TSD has been destructed
llvm-svn: 170900
|
2012-12-21 14:54:46 +00:00 |
Kostya Serebryany
|
3cc719fdf9
|
[asan] asan_allocator2: better memory stats
llvm-svn: 170888
|
2012-12-21 12:26:31 +00:00 |
Kostya Serebryany
|
3674c6b13b
|
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches
llvm-svn: 170869
|
2012-12-21 08:53:59 +00:00 |
Kostya Serebryany
|
c0d8ca5537
|
[asan] asan_allocator2: implement memalign
llvm-svn: 170697
|
2012-12-20 14:35:06 +00:00 |
Kostya Serebryany
|
9da3dd0415
|
[asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux
llvm-svn: 170685
|
2012-12-20 11:54:21 +00:00 |
Kostya Serebryany
|
ab8d33184d
|
[asan] asan_allocator2: make all remaining tests pass.
llvm-svn: 170680
|
2012-12-20 08:53:41 +00:00 |
Kostya Serebryany
|
dcdeecb257
|
[asan] asan_allocator2: add mmap/munmap stats
llvm-svn: 170548
|
2012-12-19 14:56:38 +00:00 |
Kostya Serebryany
|
479f05b276
|
[asan] asan_allocator2: improve FindHeapChunkByAddress to find memory chunks to the left of a given address. Almost all tests pass with the new allocator now, only 6 are left to fix.
llvm-svn: 170511
|
2012-12-19 08:32:50 +00:00 |
Kostya Serebryany
|
d6aec5a8e0
|
[asan] asan_allocator2: implement malloc_usable_size and fix 32-bit
llvm-svn: 170339
|
2012-12-17 14:57:25 +00:00 |
Kostya Serebryany
|
ec339f70d6
|
[asan] asan_allocator2: don't use TLS and fix calloc
llvm-svn: 170329
|
2012-12-17 13:43:47 +00:00 |
Kostya Serebryany
|
1aae0e67fa
|
[asan] asan_alocator2: implement quarantine and Reallocate
llvm-svn: 170315
|
2012-12-17 09:06:25 +00:00 |
Kostya Serebryany
|
c510015419
|
[asan] asan_alocator2: implement free() stacks and actually make malloc/free stacks work
llvm-svn: 170310
|
2012-12-17 06:31:53 +00:00 |
Kostya Serebryany
|
025d64a1b9
|
[asan] more asan_allocator2 code: record the allocation stack trace, implement calloc/etc
llvm-svn: 170193
|
2012-12-14 13:16:19 +00:00 |
Kostya Serebryany
|
7dfb168eb8
|
[asan] more asan_allocator2 code: actually un/poison shadow on malloc/free
llvm-svn: 170190
|
2012-12-14 12:15:09 +00:00 |
Kostya Serebryany
|
e29883c10a
|
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface
llvm-svn: 169985
|
2012-12-12 14:32:18 +00:00 |
Kostya Serebryany
|
90a59fafc0
|
[asan] more code for asan_allocator2: basic Allocate/Deallocate code
llvm-svn: 169864
|
2012-12-11 14:41:31 +00:00 |
Kostya Serebryany
|
5e2a7acdbe
|
[asan] more sceleton code for asan_allocator2
llvm-svn: 169836
|
2012-12-11 09:02:36 +00:00 |
Kostya Serebryany
|
14282a91d5
|
[asan] introduce asan_allocator2.cc, which will have the replacement for asan allocator (now, just a bit of boilerplate)
llvm-svn: 169733
|
2012-12-10 13:52:55 +00:00 |