2012-08-09 15:40:58 +08:00
|
|
|
//===-- asan_report.h -------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
|
|
|
//
|
|
|
|
// ASan-private header for error reporting functions.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "asan_internal.h"
|
|
|
|
|
|
|
|
namespace __asan {
|
|
|
|
|
2012-08-09 16:15:46 +08:00
|
|
|
void NORETURN ReportSIGSEGV(uptr pc, uptr sp, uptr bp, uptr addr);
|
|
|
|
|
|
|
|
void NORETURN ReportDoubleFree(uptr addr, AsanStackTrace *stack);
|
|
|
|
void NORETURN ReportFreeNotMalloced(uptr addr, AsanStackTrace *stack);
|
|
|
|
void NORETURN ReportMallocUsableSizeNotOwned(uptr addr,
|
|
|
|
AsanStackTrace *stack);
|
|
|
|
void NORETURN ReportAsanGetAllocatedSizeNotOwned(uptr addr,
|
|
|
|
AsanStackTrace *stack);
|
2012-08-09 15:40:58 +08:00
|
|
|
|
|
|
|
} // namespace __asan
|