mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[UCRT:VCRUNTIME] Implement __report_rangecheckfailure()
This commit is contained in:
parent
b0f3e623b7
commit
4d80956566
2 changed files with 18 additions and 0 deletions
17
sdk/lib/ucrt/vcruntime/__report_rangecheckfailure.c
Normal file
17
sdk/lib/ucrt/vcruntime/__report_rangecheckfailure.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
//
|
||||
// __report_rangecheckfailure.c
|
||||
//
|
||||
// Copyright (c) 2024 Timo Kreuzer
|
||||
//
|
||||
// Implementation of __report_rangecheckfailure.
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
|
||||
#include <intrin.h>
|
||||
#include <ntrtl.h>
|
||||
|
||||
__declspec(noreturn) void __cdecl __report_rangecheckfailure(void)
|
||||
{
|
||||
__fastfail(FAST_FAIL_RANGE_CHECK_FAILURE);
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
list(APPEND UCRT_VCRUNTIME_SOURCES
|
||||
vcruntime/__report_gsfailure.c
|
||||
vcruntime/__report_rangecheckfailure.c
|
||||
vcruntime/__security_init_cookie.c
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue