1. 2a3619e [asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte by Kostya Serebryany · 12 years ago
  2. 7e84349 [ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals. by Alexey Samsonov · 12 years ago
  3. 6e7dca7 Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158. by Alexey Samsonov · 12 years ago
  4. 05e16a0 [ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part by Alexey Samsonov · 12 years ago
  5. def1be9 [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. by Alexey Samsonov · 12 years ago
  6. 89c1384 [ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry by Alexey Samsonov · 12 years ago
  7. 83cb787 [sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. by Evgeniy Stepanov · 12 years ago
  8. 566c0a1 [ASan] turn off checking initialization order in ASan runtime by default. Instead, it should be turned on by default in the compiler by Alexey Samsonov · 12 years ago
  9. 1a25379 [ASan] make ASan assume ASAN_OPTIONS=symbolize=1 if ASAN_EXTERNAL_SYMBOLIZER is defined by Alexey Samsonov · 12 years ago
  10. 8bd5e74 [ASan] Add the memcmp_strict flag (1 by default) that controls the behavior of accessibility checks in memcmp. by Alexander Potapenko · 12 years ago
  11. 13577fe [asan] bump kMidMemEnd to 0x4fffffffffULL since in rare cases prelink uses addresses higher than 0x3fffffffff by Kostya Serebryany · 12 years ago
  12. 33934ff [asan] move the .preinit_array hack into a separate file (added used attribute) by Kostya Serebryany · 12 years ago
  13. bc3a2d1 [ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest. by Alexander Potapenko · 12 years ago
  14. e135343 [asan] on linux, run __asan_init from .preinit_array (even earlier than before) by Kostya Serebryany · 12 years ago
  15. f882247 [Sanitizer] use raw syscall instead of _exit() function on Linux by Alexey Samsonov · 12 years ago
  16. 36ea94d [ASan] Allow ASan default runtime options be overriden at compile time by providing ASAN_DEFAULT_OPTIONS macro by Alexey Samsonov · 12 years ago
  17. 366984e [asan] instrument memory accesses with unusual sizes by Kostya Serebryany · 12 years ago
  18. e31eca9 [asan] make asan work with 7fff8000 offset and prelink by Kostya Serebryany · 12 years ago
  19. 719cf0e [ASan] Remove the replace_cfallocator flag, which is used no more. by Alexander Potapenko · 12 years ago
  20. 5d48617 [ASan] Enable alloc_dealloc_mismatch by default on Darwin. by Alexander Potapenko · 12 years ago
  21. 859778a [sanitizer] make the error messages from sanitizer_common contain the actual tool name by Kostya Serebryany · 12 years ago
  22. c70fa28 [ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header by Alexey Samsonov · 12 years ago
  23. b478260 [asan] fix a crash in asan stats printing (initialize the allocator in __asan_init) by Kostya Serebryany · 12 years ago
  24. 95f630a [asan] two more internal flags for asan-rt: print_stats (0) and print_legend (1) by Kostya Serebryany · 12 years ago
  25. e5ab968 [asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space) by Kostya Serebryany · 12 years ago
  26. 0ed0f43 [asan] kill some dead code by Kostya Serebryany · 12 years ago
  27. f7de01f [asan] use the slow CFI-based unwinder when reporting an error. Still use the fast unwinder for malloc/free. Linux-x86-only for now. by Kostya Serebryany · 12 years ago
  28. 8f0e311 ASan: Disable alloc/dealloc-mismatch checker on Mac for now (it produces weird false positives on googletest) by Alexey Samsonov · 12 years ago
  29. f4f51f2 asan/tsan: move blocking mutex from asan to sanitizer_common by Dmitry Vyukov · 12 years ago
  30. 17a7c67 [asan] add a new interface function __asan_describe_address, useful for running asan-ified binary under a debugger (e.g. gdb) by Kostya Serebryany · 12 years ago
  31. eb28093 [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 by Kostya Serebryany · 12 years ago
  32. 478b493 [asan] enable alloc_dealloc_mismatch by default by Kostya Serebryany · 12 years ago
  33. c35314a [asan] asan_allocator2: implement adaptive redzones. Now with asan_allocator2 allocations <= 48 bytes have 16 byte redzone, allocations of 48-96 bytes -- have 32 bytes redzone, etc (max redzone is 2048). If ASAN_OPTIONS=redzone=n is set, it changes the minimal redzone size by Kostya Serebryany · 12 years ago
  34. 9e3bd38 [asan] asan_allocator2: by default use the StackDepot to store the stack traces instead of storing them in the redzones by Kostya Serebryany · 12 years ago
  35. fe6d916 [asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches by Kostya Serebryany · 12 years ago
  36. 73bad81 [asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux by Kostya Serebryany · 12 years ago
  37. 570c2a0 [ASan] don't print memory stats on CheckFailed by Alexey Samsonov · 12 years ago
  38. a30c8f9 [asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder by Kostya Serebryany · 12 years ago
  39. 6a08d29 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. by Alexey Samsonov · 12 years ago
  40. d4b5db8 ASan: add new interface functions - __asan_(un)poison_stack_memory. Calls to these functions are inserted by the instrumentation pass in use-after-scope mode by Alexey Samsonov · 12 years ago
  41. e89f184 [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms by Kostya Serebryany · 12 years ago
  42. f67ec2b [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. by Kostya Serebryany · 12 years ago
  43. 5af39e5 [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE by Kostya Serebryany · 12 years ago
  44. 8663343 [ASan] Change __asan_set_on_error_callback to weak overridable __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization) by Alexey Samsonov · 12 years ago
  45. 1ca5357 [Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. by Alexey Samsonov · 12 years ago
  46. 81dfbb7 [asan] add asan option log_path=PATH to let users redirect asan reports to a file PATH.PID instead of stderr by Kostya Serebryany · 12 years ago
  47. 591616d [Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks by Alexey Samsonov · 12 years ago
  48. 8e23d27 Remove the infinite recursion check for now, as we don't have __thread on Mac, and TSD is an overkill. by Alexander Potapenko · 12 years ago
  49. 5aabcb5 Two minor changes: by Alexander Potapenko · 12 years ago
  50. 7315c26 [asan] Raise quarantine size a bit with ASAN_LOW_MEMORY. by Evgeniy Stepanov · 12 years ago
  51. 78c7f57 Fix two compiler warnings: must use at least one argument for "..." in a variadic macros, signed vs. unsigned comparison. by Alexander Potapenko · 12 years ago
  52. 6d924fa [asan] increase max stack size to 256 (+test) by Kostya Serebryany · 12 years ago
  53. ff392a4 [asan] increase the maximal size of malloc/free stack by Kostya Serebryany · 12 years ago
  54. 71b42c9 [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 by Alexey Samsonov · 12 years ago
  55. d865fec Relocate the external headers provided by ASan and the common sanitizer library. by Chandler Carruth · 12 years ago
  56. 283c296 [asan] get rid of AsanPrintf in favor of Printf from sanitizer_common by Kostya Serebryany · 12 years ago
  57. 947fbd1 [Sanitizer] Use low-level allocator in flag parsing to avoid calling malloc() before ASan/TSan initialization is done by Alexey Samsonov · 12 years ago
  58. 70e177e [Sanitizer] move low-level (mmap-based) allocator to sanitizer_common by Alexey Samsonov · 12 years ago
  59. f5b925f Revert the erroneous changes made to Makefile.old in r162547 by Alexander Potapenko · 12 years ago
  60. eb8c46e If the program is linked to a dynamic ASan runtime which is not present in DYLD_INSERT_LIBRARIES by Alexander Potapenko · 12 years ago
  61. 9c6e530 [Sanitizer] Switch the symbolization strategy that would be used by sanitizer tools family: as compiling in-process symbolizer into runtime involves certain difficulties, we may instead launch an external symbolizer program (fork + execl) in a subprocess and communicate with it via pipe. by Alexey Samsonov · 12 years ago
  62. c93d3e2 [ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer by Alexey Samsonov · 12 years ago
  63. b21de9e [ASan] make ASan malloc/free hooks weak interface functions, overridable by user. Now the user can control malloc/free hooks without recompiling ASan runtime by Alexey Samsonov · 12 years ago
  64. 128892c [asan] fix mac build by Kostya Serebryany · 12 years ago
  65. 3945c58 [asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. by Kostya Serebryany · 12 years ago
  66. ec3b073 Use SANITIZER_INTERFACE_ATTRIBUTE instead of __attribute__((visibility("default"))) by Alexander Potapenko · 12 years ago
  67. 08d9788 [ASan] make sure __asan_default_options symbol is exported by Alexey Samsonov · 12 years ago
  68. c6b8716 [ASan] make sure __asan_default_options gets default visibility, port corresponding test to lit by Alexey Samsonov · 12 years ago
  69. e2430d2 [ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks to cool test by glider@) by Alexey Samsonov · 12 years ago
  70. 5a9938d Add a test checking that all the "__asan_" interface functions are present in a binary built with -dead_strip. by Alexander Potapenko · 12 years ago
  71. c98570b [ASan] Move __asan_report_error implementation to asan_report.cc by Alexey Samsonov · 12 years ago
  72. 448fe9a Use a switch instead of a simple condition in force_interface_symbols(). by Alexander Potapenko · 12 years ago
  73. e218beb [ASan] move some functions that describe addresses to asan_report.cc by Alexey Samsonov · 12 years ago
  74. 4e21c6b [ASan] add new ASan option 'strip_path_prefix' to remove useless prefices from filenames in stack traces by Alexey Samsonov · 12 years ago
  75. b831086 [asan] don't return from a never-return function. fix a test that had a chain of bugs instead of just one by Kostya Serebryany · 12 years ago
  76. b750c4c [ASan] fixup for r160712: provide a default definition for weak __asan_default_options() by Alexey Samsonov · 12 years ago
  77. 8a1dd56 Make __asan_default_options a weak function that returns a const char*. by Alexander Potapenko · 12 years ago
  78. 79d12e8 For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check. by Alexander Potapenko · 12 years ago
  79. b134ffa [asan] get rid of the last operator new call in asan rtl by Kostya Serebryany · 12 years ago
  80. 9b1b101 [Sanitizer] fix CMake build by Alexey Samsonov · 12 years ago
  81. 7ed1d2b [ASan] move flags description to separate header, add comments about them. by Alexey Samsonov · 12 years ago
  82. 4fbbcbe [ASan] cleanup: remove dead flag by Alexey Samsonov · 12 years ago
  83. cb8c4dc [ASan] Use common flags parsing machinery. by Alexey Samsonov · 12 years ago
  84. fce5bd4 tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) by Dmitry Vyukov · 12 years ago
  85. 94c54f1 [asan] fix -Wsign-compare by Kostya Serebryany · 12 years ago
  86. 39b2e6a [ASan] fix lint error by Alexey Samsonov · 12 years ago
  87. 0aa794d Factor the common code out of cf_free and mz_free. by Alexander Potapenko · 12 years ago
  88. c925697 [Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime by Alexey Samsonov · 12 years ago
  89. dd3a911 [Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime by Alexey Samsonov · 12 years ago
  90. be7420c [Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime by Alexey Samsonov · 12 years ago
  91. f607fc1 [Sanitizer] move rest of mmap routines to common sanitizer runtime by Alexey Samsonov · 12 years ago
  92. 3dbeabb [Sanitizer] move portable GetEnv to common sanitizer runtime by Alexey Samsonov · 12 years ago
  93. 0334fc8 [asan] slow 16-byte redzones (still experimental) by Kostya Serebryany · 12 years ago
  94. cffe2f5 [Sanitizer] Move ReadFileToBuffer to sanitizer_common. by Alexey Samsonov · 12 years ago
  95. a25b346 [Sanitizer] Switch to common mmap/munmap routines in ASan run-time. by Alexey Samsonov · 12 years ago
  96. 15a7761 [Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. by Alexey Samsonov · 12 years ago
  97. e0cff0b [asan] make tid u32 instead of int by Kostya Serebryany · 12 years ago
  98. e954101 [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). by Alexey Samsonov · 12 years ago
  99. e4309e8 [ASan] more format fixes by Alexey Samsonov · 12 years ago
  100. 5bcca4e [ASan] Make printf arguments match format strings better. by Alexey Samsonov · 12 years ago