diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-29 21:28:54 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-29 21:28:54 +0000 |
commit | 89fbf48c3f234712be522e62591a9cb137adb69d (patch) | |
tree | 6ba0e7091e3a079c7c7171af80d9d8e0f5f283e1 /lib/msan/msan.h | |
parent | 380cd5916e0b30615c5a006b6097574725e62603 (diff) |
[msan] Early allocator initialization.
Map MSan heap space early (in __msan_init) so that user code can not
accidentally (i.e. w/o MAP_FIXED) create a conflicting mapping.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan.h')
-rw-r--r-- | lib/msan/msan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/msan/msan.h b/lib/msan/msan.h index 703069e98..3776fa9ce 100644 --- a/lib/msan/msan.h +++ b/lib/msan/msan.h @@ -189,6 +189,7 @@ bool InitShadow(bool init_origins); char *GetProcSelfMaps(); void InitializeInterceptors(); +void MsanAllocatorInit(); void MsanAllocatorThreadFinish(); void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size); void *MsanReallocate(StackTrace *stack, void *oldp, uptr size, |