[PATCH] [ASan] Make stack-buffer-overflow reports more robust

Alexey Samsonov vonosmas at gmail.com
Tue Sep 30 17:50:41 PDT 2014


Hi kcc,

Fix the function that gets stack frame description by address in
thread stack, so that it clearly indicates failures. Make this error non-fatal,
and print as much information as we can in this case. Make all errors in
ParseFrameDescription non-fatal.

http://reviews.llvm.org/D5554

Files:
  lib/asan/asan_debugging.cc
  lib/asan/asan_report.cc
  lib/asan/asan_thread.cc
  lib/asan/asan_thread.h
  lib/sanitizer_common/scripts/sancov_symbolize.sh
  test/asan/TestCases/Linux/init-order-templ.cc
  test/ubsan/TestCases/TypeCheck/vptr-shared.cpp.zzz
  zdesc.allocator
  zdesc.asan
  zdesc.builtins
  zdesc.cmake
  zdesc.d4692
  zdesc.d4703
  zdesc.ext_libcxx
  zdesc.lsan
  zdesc.msan
  zdesc.san
  zdesc.sanitizer
  zdesc.tsan
  zdesc.ubsan
  zdiff.d2178
  zdiff.d4305
  zdiff.d4692
  zdiff.d4703
  zdiff.jakub_ubsan
  zdiff.r209897
  zdiff.ubsan
  zdiff.ubsan-summary
  zdiff.zflags
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5554.14257.patch
Type: text/x-patch
Size: 68232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141001/be1aad93/attachment.bin>


More information about the llvm-commits mailing list