[PATCH] [sanitizer] Support sandboxing in sanitizer coverage.

Sergey Matveev earthdok at google.com
Mon May 12 08:11:52 PDT 2014


Hi kcc,

Sandboxed code may now pass additional arguments to
__sanitizer_sandbox_on_notify() to force all coverage data to be dumped to a
single file (the default is one file per module). The user may supply a file or
socket to write to. The latter option can be used to broker out the file writing
functionality. If -1  is passed, we pre-open a file.

http://reviews.llvm.org/D3726

Files:
  include/sanitizer/common_interface_defs.h
  lib/sanitizer_common/sanitizer_common.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_coverage.cc
  lib/sanitizer_common/sanitizer_internal_defs.h
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_win.cc
  lib/sanitizer_common/scripts/sancov.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3726.9312.patch
Type: text/x-patch
Size: 12816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140512/0d8b1673/attachment.bin>


More information about the llvm-commits mailing list