11 #error This file is supported only in debug builds
30 char const* user_message
39 wchar_t const* user_message
52#ifdef _UCRT_ENCLAVE_BUILD
214#define ASSERTINTRO1 "Assertion failed: "
215#define ASSERTINTRO2 "Assertion failed!"
239#pragma warning(disable:6262)
243 void * returnAddress,
246 char const* szModule,
247 char const* szFormat,
323 szFile, nLine, szLineMessage));
351 __crt_report_hook_node<char> *pnode=
nullptr;
352 __crt_report_hook_node<wchar_t> *pnodeW=
nullptr;
360 if (pnode->hook(nRptType, szOutMessage, &hook_retval))
371 if (pnodeW->hook(nRptType, szOutMessage2, &hook_retval))
403 DWORD bytes_written = 0;
415 szLineMessage[0] = 0;
459#pragma warning(disable:6262)
464 void * returnAddress,
465 wchar_t const* szFile,
467 wchar_t const* szModule,
468 wchar_t const* szFormat,
513 size_t const max_user_message_count =
_countof(szUserMessage) - 2 - max_assert_intro_count;
524 max_user_message_count,
552 szFile, nLine, szLineMessage));
575 __crt_report_hook_node<char> *pnode=
nullptr;
576 __crt_report_hook_node<wchar_t> *pnodeW=
nullptr;
584 if (pnode->hook(nRptType, szOutMessage2, &hook_retval))
595 if (pnodeW->hook(nRptType, szOutMessage, &hook_retval))
630 DWORD characters_written = 0;
646 DWORD bytes_written = 0;
657 DWORD bytes_written = 0;
671 szLineMessage[0] = 0;
int _vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr)
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
void __cdecl __acrt_unlock(_In_ __acrt_lock_id lock)
#define DBGRPT_INVALIDMSG
#define _ERRCHECK_EINVAL_ERANGE(e)
void WINAPI __acrt_OutputDebugStringA(_In_opt_ LPCSTR text)
#define _ERRCHECK_SPRINTF(_PrintfCall)
#define DBGRPT_TOOLONGMSG
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
static LPCWSTR LPCWSTR module_name
__crt_report_hook_node< wchar_t > * _pReportHookListW
int __cdecl __acrt_MessageWindowA(int report_type, void *return_address, char const *file_name, char const *line_number, char const *module_name, char const *user_message)
__crt_report_hook_node< char > * _pReportHookList
_CRT_REPORT_HOOK _pfnReportHook
int _CrtDbgMode[_CRT_ERRCNT]
int __cdecl _VCrtDbgReportW(int nRptType, void *returnAddress, wchar_t const *szFile, int nLine, wchar_t const *szModule, wchar_t const *szFormat, va_list arglist)
_HFILE _CrtDbgFile[_CRT_ERRCNT]
int __cdecl __acrt_MessageWindowW(int report_type, void *return_address, wchar_t const *file_name, wchar_t const *line_number, wchar_t const *module_name, wchar_t const *user_message)
int __cdecl _VCrtDbgReportA(int nRptType, void *returnAddress, char const *szFile, int nLine, char const *szModule, char const *szFormat, va_list arglist)
_CRT_REPORT_HOOK __cdecl _CrtGetReportHook(void)
__acrt_lock(__acrt_heap_lock)
int const char const *const int const line_number
#define ERROR_INVALID_HANDLE
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleW(IN HANDLE hConsoleOutput, IN CONST VOID *lpBuffer, IN DWORD nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
DWORD WINAPI GetFileType(HANDLE hFile)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
#define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS
_ACRTIMP int __cdecl _snwprintf_s(wchar_t *, size_t, size_t, const wchar_t *,...)
_ACRTIMP errno_t __cdecl mbstowcs_s(size_t *, wchar_t *, size_t, const char *, size_t)
_ACRTIMP errno_t __cdecl _itow_s(int, wchar_t *, size_t, int)
_ACRTIMP errno_t __cdecl wcstombs_s(size_t *, char *, size_t, const wchar_t *, size_t)
_ACRTIMP errno_t __cdecl wcscat_s(wchar_t *, size_t, const wchar_t *)
_ACRTIMP size_t __cdecl wcslen(const wchar_t *)
#define _CrtSetReportMode(t, m)
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _snprintf_s(char *, size_t, size_t, const char *,...) __WINE_CRT_PRINTF_ATTR(4
_ACRTIMP errno_t __cdecl _itoa_s(int, char *, size_t, int)
_ACRTIMP size_t __cdecl strlen(const char *)
_ACRTIMP errno_t __cdecl strcat_s(char *, size_t, const char *)
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
#define strcpy_s(d, l, s)
#define wcscpy_s(d, l, s)
int __cdecl __stdio_common_vsnwprintf_s(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, size_t const max_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
#define _CRTDBG_MODE_DEBUG
#define _CRTDBG_FILE_STDOUT
#define _CRTDBG_MODE_WNDW
#define _CRTDBG_MODE_FILE
#define _CRTDBG_REPORT_MODE
#define _CRTDBG_HFILE_ERROR
#define _CRTDBG_FILE_STDERR
#define _CRTDBG_INVALID_HFILE
#define _CRTDBG_REPORT_FILE
#define _CrtSetReportHook(f)
#define _CrtSetReportFile(t, f)
int(__cdecl * _CRT_REPORT_HOOK)(int, char *, int *)
long __cdecl _InterlockedIncrement(_Interlocked_operand_ long volatile *_Addend)
long __cdecl _InterlockedDecrement(_Interlocked_operand_ long volatile *_Addend)
#define _CRT_WIDE(_String)
#define STD_OUTPUT_HANDLE
DWORD WINAPI GetLastError(void)