[PATCH] D32589: [sanitizer] Intercept mcheck and mprobe on Linux

Maxim Ostapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 05:03:59 PDT 2017


m.ostapenko created this revision.
m.ostapenko added a project: Sanitizers.
Herald added subscribers: kubamracek, srhines.

This patch addresses https://github.com/google/sanitizers/issues/804. Users can use `mcheck` and `mprobe` functions to verify heap state so we should intercept them to avoid breakage of valid code.


Repository:
  rL LLVM

https://reviews.llvm.org/D32589

Files:
  lib/lsan/lsan_interceptors.cc
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  test/sanitizer_common/TestCases/Linux/mprobe.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32589.96900.patch
Type: text/x-patch
Size: 3933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/da7080e8/attachment.bin>


More information about the llvm-commits mailing list