blob: 052c1f73742003370d83e661f9b4fad0aece8470 [file] [log] [blame]
Sergei Glazunov29099d72023-01-12 16:07:561// Copyright 2023 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_
6#define BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_
7
Yuki Shiino985ab91e2024-03-14 07:20:468#include "partition_alloc/partition_alloc_buildflags.h"
Sergei Glazunov29099d72023-01-12 16:07:569
Arthur Sonzogni62e877a2024-04-30 16:09:4310#if PA_BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
Sergei Glazunov29099d72023-01-12 16:07:5611
12#include "base/memory/raw_ptr.h"
13
14namespace base::internal {
15
16const RawPtrHooks* GetRawPtrAsanHooks();
17
18}
19
Arthur Sonzogni62e877a2024-04-30 16:09:4320#endif // PA_BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
Sergei Glazunov29099d72023-01-12 16:07:5621
22#endif // BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_