[PATCH] D44404: [ASan] Report proper ASan error on allocator failures instead of CHECK(0)-ing

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 12:10:12 PDT 2018


alekseyshl updated this revision to Diff 139179.
alekseyshl added a comment.

- Pass caller stack to quarantine callback to report on OOM.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D44404

Files:
  lib/asan/asan_allocator.cc
  lib/asan/asan_errors.cc
  lib/asan/asan_errors.h
  lib/asan/asan_new_delete.cc
  lib/asan/asan_report.cc
  lib/asan/asan_report.h
  lib/sanitizer_common/sanitizer_allocator.cc
  lib/sanitizer_common/sanitizer_allocator.h
  test/asan/TestCases/Linux/aligned_alloc-alignment.cc
  test/asan/TestCases/Linux/allocator_oom_test.cc
  test/asan/TestCases/Linux/pvalloc-overflow.cc
  test/asan/TestCases/Posix/posix_memalign-alignment.cc
  test/asan/TestCases/Windows/oom.cc
  test/asan/TestCases/allocator_returns_null.cc
  test/asan/TestCases/calloc-overflow.cc
  test/asan/TestCases/malloc-size-too-big.cc
  test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44404.139179.patch
Type: text/x-patch
Size: 30411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180320/3197b3e5/attachment.bin>


More information about the llvm-commits mailing list