summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_report.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-04-14 09:50:52 +0000
committerKostya Serebryany <kcc@google.com>2014-04-14 09:50:52 +0000
commitf694ab1f18df8beaec81fcabf7edf4818f7ffbac (patch)
tree0dd227045c58d793ca94cab455a8f144e78d8844 /compiler-rt/lib/asan/asan_report.h
parent68b03049e09824094b8ff07280b8240ab438167d (diff)
downloadbcm5719-llvm-f694ab1f18df8beaec81fcabf7edf4818f7ffbac.tar.gz
bcm5719-llvm-f694ab1f18df8beaec81fcabf7edf4818f7ffbac.zip
[asan] provide better reports for cases where memcpy/etc get negative size parameter. Also fix a typo found by Tetsuo Kiso
llvm-svn: 206158
Diffstat (limited to 'compiler-rt/lib/asan/asan_report.h')
-rw-r--r--compiler-rt/lib/asan/asan_report.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_report.h b/compiler-rt/lib/asan/asan_report.h
index 84111b163ad..3843a2ea2cd 100644
--- a/compiler-rt/lib/asan/asan_report.h
+++ b/compiler-rt/lib/asan/asan_report.h
@@ -49,6 +49,8 @@ void NORETURN ReportStringFunctionMemoryRangesOverlap(
const char *function, const char *offset1, uptr length1,
const char *offset2, uptr length2, StackTrace *stack);
void NORETURN
+ReportStringFunctionSizeOverflow(uptr offset, uptr size, StackTrace *stack);
+void NORETURN
ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end, uptr old_mid,
uptr new_mid, StackTrace *stack);
OpenPOWER on IntegriCloud