1. 7847d77 [Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files by Alexey Samsonov · 11 years ago
  2. 34e3ed1 [asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. compiler-rt part by Kostya Serebryany · 11 years ago
  3. 68c016a ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs. by Alexey Samsonov · 11 years ago
  4. a0e78c9 [ASan/RTL] Disable alloc_dealloc_mismatch by default on Windows by Timur Iskhodzhanov · 11 years ago
  5. 3c80c6c Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used by Timur Iskhodzhanov · 11 years ago
  6. 41f1540 [lsan] Add leak_check_at_exit flag. by Sergey Matveev · 11 years ago
  7. 62519eb [lsan] Make __lsan_do_leak_check() honor the detect_leaks flag. by Sergey Matveev · 11 years ago
  8. bb7f2d8 [ASan] Use less shadow on Win 32-bit by Timur Iskhodzhanov · 11 years ago
  9. b624606 [sanitizer] Move log_path to common flag and use it in MSan. by Evgeniy Stepanov · 11 years ago
  10. d64bcf4 [Sanitizer] support running external llvm-symbolizer on Mac by Alexey Samsonov · 11 years ago
  11. 745dd0d [sanitizer] ioctl interceptor. by Evgeniy Stepanov · 11 years ago
  12. 12d01ba [asan] Make ASan report the correct thread address ranges to LSan. by Sergey Matveev · 11 years ago
  13. 975a329 Revert r182465 and add lsan-common library to makefile-based build by Alexey Samsonov · 11 years ago
  14. b5433dd [ASan] Temporary remove leak checking from ASan, while we don't have makefile-based build for LSan by Alexey Samsonov · 11 years ago
  15. 30e970f [asan] workaround for asan bug 189 (swapcontext followed by throw gets OOM kill). Also, disable swapcontext_test on non-x86. Fix lint by Kostya Serebryany · 11 years ago
  16. 4cacb4f [lsan] Invoke leak detection with atexit(). by Sergey Matveev · 11 years ago
  17. 0bc8177 [asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS. by Sergey Matveev · 11 years ago
  18. 71f0411 [asan] LSan hooks in asan_rtl. by Sergey Matveev · 11 years ago
  19. 0b694fc [nolibc] Move all platforms to internal_getpid. by Peter Collingbourne · 11 years ago
  20. b76ea0c [asan] symbolize when possible, even if ASAN_SYMBOLIZER_PATH is not provided. On Linux this will use dl_iterate_phdr instead of /proc/self/maps, even if the symbolizer is not installed by Kostya Serebryany · 11 years ago
  21. ed20ebe [asan] Common flags in ASan. by Sergey Matveev · 11 years ago
  22. 332bf33 [ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan by Alexey Samsonov · 11 years ago
  23. dfeef67 [ASan] Make init-order checker allow access to already initialized globals. by Alexey Samsonov · 11 years ago
  24. 3f5528b [asan] Fix spelling in asan_rtl.cc Test commit. by Sergey Matveev · 11 years ago
  25. 16cc10d [asan] inline flags(), up to 1% perf gain on malloc-intensive code by Kostya Serebryany · 11 years ago
  26. a27bdf7 [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check by Kostya Serebryany · 11 years ago
  27. b1971ca [asan] nuke the old unused allocator code by Kostya Serebryany · 11 years ago
  28. 2a3619e [asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte by Kostya Serebryany · 11 years ago
  29. 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 · 11 years ago
  30. 6e7dca7 Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158. by Alexey Samsonov · 11 years ago
  31. 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 · 11 years ago
  32. def1be9 [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. by Alexey Samsonov · 11 years ago
  33. 89c1384 [ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry by Alexey Samsonov · 11 years ago
  34. 83cb787 [sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. by Evgeniy Stepanov · 11 years ago
  35. 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 · 11 years ago
  36. 1a25379 [ASan] make ASan assume ASAN_OPTIONS=symbolize=1 if ASAN_EXTERNAL_SYMBOLIZER is defined by Alexey Samsonov · 11 years ago
  37. 8bd5e74 [ASan] Add the memcmp_strict flag (1 by default) that controls the behavior of accessibility checks in memcmp. by Alexander Potapenko · 11 years ago
  38. 13577fe [asan] bump kMidMemEnd to 0x4fffffffffULL since in rare cases prelink uses addresses higher than 0x3fffffffff by Kostya Serebryany · 11 years ago
  39. 33934ff [asan] move the .preinit_array hack into a separate file (added used attribute) by Kostya Serebryany · 11 years ago
  40. bc3a2d1 [ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest. by Alexander Potapenko · 11 years ago
  41. e135343 [asan] on linux, run __asan_init from .preinit_array (even earlier than before) by Kostya Serebryany · 11 years ago
  42. f882247 [Sanitizer] use raw syscall instead of _exit() function on Linux by Alexey Samsonov · 11 years ago
  43. 36ea94d [ASan] Allow ASan default runtime options be overriden at compile time by providing ASAN_DEFAULT_OPTIONS macro by Alexey Samsonov · 11 years ago
  44. 366984e [asan] instrument memory accesses with unusual sizes by Kostya Serebryany · 11 years ago
  45. e31eca9 [asan] make asan work with 7fff8000 offset and prelink by Kostya Serebryany · 11 years ago
  46. 719cf0e [ASan] Remove the replace_cfallocator flag, which is used no more. by Alexander Potapenko · 11 years ago
  47. 5d48617 [ASan] Enable alloc_dealloc_mismatch by default on Darwin. by Alexander Potapenko · 11 years ago
  48. 859778a [sanitizer] make the error messages from sanitizer_common contain the actual tool name by Kostya Serebryany · 11 years ago
  49. 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 · 11 years ago
  50. b478260 [asan] fix a crash in asan stats printing (initialize the allocator in __asan_init) by Kostya Serebryany · 12 years ago
  51. 95f630a [asan] two more internal flags for asan-rt: print_stats (0) and print_legend (1) by Kostya Serebryany · 12 years ago
  52. 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
  53. 0ed0f43 [asan] kill some dead code by Kostya Serebryany · 12 years ago
  54. 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
  55. 8f0e311 ASan: Disable alloc/dealloc-mismatch checker on Mac for now (it produces weird false positives on googletest) by Alexey Samsonov · 12 years ago
  56. f4f51f2 asan/tsan: move blocking mutex from asan to sanitizer_common by Dmitry Vyukov · 12 years ago
  57. 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
  58. 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
  59. 478b493 [asan] enable alloc_dealloc_mismatch by default by Kostya Serebryany · 12 years ago
  60. 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
  61. 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
  62. 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
  63. 73bad81 [asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux by Kostya Serebryany · 12 years ago
  64. 570c2a0 [ASan] don't print memory stats on CheckFailed by Alexey Samsonov · 12 years ago
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 5aabcb5 Two minor changes: by Alexander Potapenko · 12 years ago
  77. 7315c26 [asan] Raise quarantine size a bit with ASAN_LOW_MEMORY. by Evgeniy Stepanov · 12 years ago
  78. 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
  79. 6d924fa [asan] increase max stack size to 256 (+test) by Kostya Serebryany · 12 years ago
  80. ff392a4 [asan] increase the maximal size of malloc/free stack by Kostya Serebryany · 12 years ago
  81. 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
  82. d865fec Relocate the external headers provided by ASan and the common sanitizer library. by Chandler Carruth · 12 years ago
  83. 283c296 [asan] get rid of AsanPrintf in favor of Printf from sanitizer_common by Kostya Serebryany · 12 years ago
  84. 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
  85. 70e177e [Sanitizer] move low-level (mmap-based) allocator to sanitizer_common by Alexey Samsonov · 12 years ago
  86. f5b925f Revert the erroneous changes made to Makefile.old in r162547 by Alexander Potapenko · 12 years ago
  87. 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
  88. 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
  89. 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
  90. 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
  91. 128892c [asan] fix mac build by Kostya Serebryany · 12 years ago
  92. 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
  93. ec3b073 Use SANITIZER_INTERFACE_ATTRIBUTE instead of __attribute__((visibility("default"))) by Alexander Potapenko · 12 years ago
  94. 08d9788 [ASan] make sure __asan_default_options symbol is exported by Alexey Samsonov · 12 years ago
  95. c6b8716 [ASan] make sure __asan_default_options gets default visibility, port corresponding test to lit by Alexey Samsonov · 12 years ago
  96. e2430d2 [ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks to cool test by glider@) by Alexey Samsonov · 12 years ago
  97. 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
  98. c98570b [ASan] Move __asan_report_error implementation to asan_report.cc by Alexey Samsonov · 12 years ago
  99. 448fe9a Use a switch instead of a simple condition in force_interface_symbols(). by Alexander Potapenko · 12 years ago
  100. e218beb [ASan] move some functions that describe addresses to asan_report.cc by Alexey Samsonov · 12 years ago