1 //===-- hwasan_report.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// This file is a part of HWAddressSanitizer. HWASan-private header for error
12 /// reporting functions.
14 //===----------------------------------------------------------------------===//
16 #ifndef HWASAN_REPORT_H
17 #define HWASAN_REPORT_H
19 #include "sanitizer_common/sanitizer_internal_defs.h"
20 #include "sanitizer_common/sanitizer_stacktrace.h"
24 void ReportInvalidAccess(StackTrace *stack, u32 origin);
26 void ReportInvalidAccessInsideAddressRange(const char *what, const void *start,
27 uptr size, uptr offset);
28 void ReportTagMismatch(StackTrace *stack, uptr addr, uptr access_size,
31 void ReportAtExitStatistics();
34 } // namespace __hwasan
36 #endif // HWASAN_REPORT_H