summaryrefslogtreecommitdiff
path: root/Kernel/AddressSanitizer.h
blob: e0c893dbefb4a9af020df804bdb96255b0beb96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2021, Brian Gianforcaro <bgianf@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Types.h>

namespace Kernel::AddressSanitizer {

void shadow_va_check_load(unsigned long address, size_t size, void* return_addr);

void shadow_va_check_store(unsigned long address, size_t size, void* return_addr);

}