mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
23 lines
629 B
C++
23 lines
629 B
C++
// Copyright 2018 The Chromium 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 BASE_DEBUG_INVALID_ACCESS_WIN_H_
|
|
#define BASE_DEBUG_INVALID_ACCESS_WIN_H_
|
|
|
|
#include "base/base_export.h"
|
|
|
|
namespace base {
|
|
namespace debug {
|
|
namespace win {
|
|
|
|
// Creates a synthetic heap corruption that causes the current process to
|
|
// terminate immediately with a fast fail exception.
|
|
[[noreturn]] BASE_EXPORT void TerminateWithHeapCorruption();
|
|
|
|
} // namespace win
|
|
} // namespace debug
|
|
} // namespace base
|
|
|
|
#endif // BASE_DEBUG_INVALID_ACCESS_WIN_H_
|