[PATCH] [ASan] Introduce the dump_instruction_bytes flag to print the faulting instruction upon SIGSEGV

Alexander Potapenko glider at google.com
Fri Sep 19 08:07:51 PDT 2014


Call IsAccessibleMemoryRange() to make sure we don't step on unaccessible memory.
Disable the test on ARM.

http://reviews.llvm.org/D5167

Files:
  lib/asan/asan_flags.h
  lib/asan/asan_report.cc
  lib/asan/asan_rtl.cc
  test/asan/TestCases/dump_instruction_bytes.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5167.13872.patch
Type: text/x-patch
Size: 4384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140919/edbc2d3e/attachment.bin>


More information about the llvm-commits mailing list