mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 00:40:31 +00:00
21 lines
426 B
C
21 lines
426 B
C
//
|
|
// __report_gsfailure.c
|
|
//
|
|
// Copyright (c) 2024 Timo Kreuzer
|
|
//
|
|
// Implementation of __report_gsfailure.
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
#include <intrin.h>
|
|
#include <ntrtl.h>
|
|
|
|
#if defined(_M_IX86)
|
|
__declspec(noreturn) void __cdecl __report_gsfailure(void)
|
|
#else
|
|
__declspec(noreturn) void __cdecl __report_gsfailure(_In_ uintptr_t _StackCookie)
|
|
#endif
|
|
{
|
|
__fastfail(FAST_FAIL_STACK_COOKIE_CHECK_FAILURE);
|
|
}
|