diff options
author | Kostya Serebryany <kcc@google.com> | 2013-11-19 08:40:07 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-11-19 08:40:07 +0000 |
commit | 8f3f7c49b9b79a73bd897d242ae82536944119e4 (patch) | |
tree | 1f88137c1f3cc83374487b68e7c40506ca0753dc /include | |
parent | cb79f476006ccf867b273ef01435ab2cdf9b58b7 (diff) | |
download | compiler-rt-8f3f7c49b9b79a73bd897d242ae82536944119e4.tar.gz |
[asan] new shadow poison magic for contiguous-container-buffer-overflow, addressed Alexey Samsonov's comments for r195011
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/sanitizer/common_interface_defs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sanitizer/common_interface_defs.h b/include/sanitizer/common_interface_defs.h index 4cc2aeae2..ce6b994a9 100644 --- a/include/sanitizer/common_interface_defs.h +++ b/include/sanitizer/common_interface_defs.h @@ -71,8 +71,10 @@ extern "C" { // Use with caution and don't use for anything other than vector-like classes. // // For AddressSanitizer, 'beg' should be 8-aligned. - void __sanitizer_annotate_contiguous_container(void *beg, void *end, - void *old_mid, void *new_mid); + void __sanitizer_annotate_contiguous_container(const void *beg, + const void *end, + const void *old_mid, + const void *new_mid); #ifdef __cplusplus } // extern "C" |