asan_report.h revision f7c1d18183d2dfbd02864cf47b3239d6a5d717c0
1//===-- asan_report.h -------------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file is a part of AddressSanitizer, an address sanity checker. 11// 12// ASan-private header for error reporting functions. 13//===----------------------------------------------------------------------===// 14 15#include "asan_internal.h" 16 17namespace __asan { 18 19void NORETURN ReportSIGSEGV(uptr pc, uptr sp, uptr bp, uptr addr); 20 21void NORETURN ReportDoubleFree(uptr addr, AsanStackTrace *stack); 22void NORETURN ReportFreeNotMalloced(uptr addr, AsanStackTrace *stack); 23void NORETURN ReportMallocUsableSizeNotOwned(uptr addr, 24 AsanStackTrace *stack); 25void NORETURN ReportAsanGetAllocatedSizeNotOwned(uptr addr, 26 AsanStackTrace *stack); 27 28} // namespace __asan 29