#include "asan_errors.h"
#include "asan_descriptions.h"
#include "asan_mapping.h"
#include "asan_report.h"
#include "asan_stack.h"
#include "sanitizer_common/sanitizer_stackdepot.h"
namespace __asan {
static void OnStackUnwind(const SignalContext &sig,
const void *callback_context,
BufferedStackTrace *stack) { … }
void ErrorDeadlySignal::Print() { … }
void ErrorDoubleFree::Print() { … }
void ErrorNewDeleteTypeMismatch::Print() { … }
void ErrorFreeNotMalloced::Print() { … }
void ErrorAllocTypeMismatch::Print() { … }
void ErrorMallocUsableSizeNotOwned::Print() { … }
void ErrorSanitizerGetAllocatedSizeNotOwned::Print() { … }
void ErrorCallocOverflow::Print() { … }
void ErrorReallocArrayOverflow::Print() { … }
void ErrorPvallocOverflow::Print() { … }
void ErrorInvalidAllocationAlignment::Print() { … }
void ErrorInvalidAlignedAllocAlignment::Print() { … }
void ErrorInvalidPosixMemalignAlignment::Print() { … }
void ErrorAllocationSizeTooBig::Print() { … }
void ErrorRssLimitExceeded::Print() { … }
void ErrorOutOfMemory::Print() { … }
void ErrorStringFunctionMemoryRangesOverlap::Print() { … }
void ErrorStringFunctionSizeOverflow::Print() { … }
void ErrorBadParamsToAnnotateContiguousContainer::Print() { … }
void ErrorBadParamsToAnnotateDoubleEndedContiguousContainer::Print() { … }
void ErrorODRViolation::Print() { … }
void ErrorInvalidPointerPair::Print() { … }
static bool AdjacentShadowValuesAreFullyPoisoned(u8 *s) { … }
ErrorGeneric::ErrorGeneric(u32 tid, uptr pc_, uptr bp_, uptr sp_, uptr addr,
bool is_write_, uptr access_size_)
: … { … }
static void PrintContainerOverflowHint() { … }
static void PrintShadowByte(InternalScopedString *str, const char *before,
u8 byte, const char *after = "\n") { … }
static void PrintLegend(InternalScopedString *str) { … }
static void PrintShadowBytes(InternalScopedString *str, const char *before,
u8 *bytes, u8 *guilty, uptr n) { … }
static void PrintShadowMemoryForAddress(uptr addr) { … }
void ErrorGeneric::Print() { … }
}