blob: 1cb61a8122be5bdfce32a441349d1997d204309c [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ZIRCON_SYSTEM_ULIB_C_SCUDO_GWP_ASAN_INFO_H_
#define ZIRCON_SYSTEM_ULIB_C_SCUDO_GWP_ASAN_INFO_H_
#ifndef __ASSEMBLER__
#include "gwp_asan/common.h"
#include "gwp_asan/crash_handler.h"
namespace gwp_asan {
struct LibcGwpAsanInfo {
const gwp_asan::AllocatorState* state = nullptr;
const gwp_asan::AllocationMetadata* metadata = nullptr;
};
} // namespace gwp_asan
#endif
#define GWP_ASAN_NOTE_TYPE 0x4153414e // "ASAN"
#endif // ZIRCON_SYSTEM_ULIB_C_SCUDO_GWP_ASAN_INFO_H_