[PATCH] D32197: [TySan] A Type Sanitizer (Runtime Library)

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 17:21:00 PDT 2017


hfinkel updated this revision to Diff 96266.
hfinkel added a comment.

Mark the types of globals in a generated ctor-called function (added a runtime test for this). memcpy/memmove should do the corresponding thing for the type shadow data.


https://reviews.llvm.org/D32197

Files:
  cmake/config-ix.cmake
  lib/CMakeLists.txt
  lib/tysan/CMakeLists.txt
  lib/tysan/tysan.cc
  lib/tysan/tysan.h
  lib/tysan/tysan.syms.extra
  lib/tysan/tysan_flags.inc
  lib/tysan/tysan_interceptors.cc
  lib/tysan/tysan_platform.h
  test/CMakeLists.txt
  test/tysan/CMakeLists.txt
  test/tysan/anon-ns.cpp
  test/tysan/anon-same-struct.c
  test/tysan/anon-struct.c
  test/tysan/basic.c
  test/tysan/char-memcpy.c
  test/tysan/global.c
  test/tysan/int-long.c
  test/tysan/lit.cfg
  test/tysan/lit.site.cfg.in
  test/tysan/ptr-float.c
  test/tysan/struct-offset.c
  test/tysan/struct.c
  test/tysan/union-wr-wr.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32197.96266.patch
Type: text/x-patch
Size: 42746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170422/f790de2e/attachment.bin>


More information about the llvm-commits mailing list