[PATCH] D19168: [esan] EfficiencySanitizer base runtime library

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 11:07:06 PDT 2016


bruening created this revision.
bruening added a reviewer: eugenis.
bruening added subscribers: kcc, zhaoqin, llvm-commits.

Adds the initial version of a runtime library for the new
EfficiencySanitizer ("esan") family of tools.  The library includes:

+ Slowpath code via callouts from the compiler instrumentation for
  each memory access.

+ Registration of atexit() to call finalization code.

+ Runtime option flags controlled by the environment variable
  ESAN_OPTIONS.  The common sanitizer flags are supported such as
  verbosity and log_path.

Still TODO: common code for libc interceptors and shadow memory mapping,
and tool-specific code for shadow state updating.

http://reviews.llvm.org/D19168

Files:
  cmake/config-ix.cmake
  lib/CMakeLists.txt
  lib/esan/CMakeLists.txt
  lib/esan/esan.cc
  lib/esan/esan.h
  lib/esan/esan.syms.extra
  lib/esan/esan_interface.cc
  lib/esan/esan_interface.h
  lib/sanitizer_common/sanitizer_common_interceptors.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19168.53918.patch
Type: text/x-patch
Size: 16389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160415/fe68bc19/attachment.bin>


More information about the llvm-commits mailing list