• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // 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 
8 #include "partition_alloc/buildflags.h"
9 
10 #if PA_BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
11 
12 #include "base/memory/raw_ptr.h"
13 
14 namespace base::internal {
15 
16 const RawPtrHooks* GetRawPtrAsanHooks();
17 
18 }
19 
20 #endif  // PA_BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
21 
22 #endif  // BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_
23