summaryrefslogtreecommitdiff
path: root/lib/dfsan/dfsan.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-15 21:18:53 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-15 21:18:53 +0000
commit6e4c46dc162803cc99c2a5e068fc28adb873a431 (patch)
tree5d0f43d64620a4810f8228064fb54fec3b002c3d /lib/dfsan/dfsan.h
parent2c78b04e65a7eaf5a207d6cfae8fac1d7490bcae (diff)
[dfsan] Initial set of custom functions and interceptors for libc.
Differential Revision: http://llvm-reviews.chandlerc.com/D1397 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/dfsan/dfsan.h')
-rw-r--r--lib/dfsan/dfsan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dfsan/dfsan.h b/lib/dfsan/dfsan.h
index 873eb31a5..0be55aa71 100644
--- a/lib/dfsan/dfsan.h
+++ b/lib/dfsan/dfsan.h
@@ -19,6 +19,8 @@
namespace __dfsan {
+void InitializeInterceptors();
+
inline dfsan_label *shadow_for(void *ptr) {
return (dfsan_label *) ((((uintptr_t) ptr) & ~0x700000000000) << 1);
}