// Copyright (c) 2024 Epic Games Tools // Licensed under the MIT license (https://opensource.org/license/mit/) //- GENERATED CODE #ifndef CTRL_META_H #define CTRL_META_H typedef enum CTRL_ExceptionCodeKind { CTRL_ExceptionCodeKind_Null, CTRL_ExceptionCodeKind_Win32CtrlC, CTRL_ExceptionCodeKind_Win32CtrlBreak, CTRL_ExceptionCodeKind_Win32WinRTOriginateError, CTRL_ExceptionCodeKind_Win32WinRTTransformError, CTRL_ExceptionCodeKind_Win32RPCCallCancelled, CTRL_ExceptionCodeKind_Win32DatatypeMisalignment, CTRL_ExceptionCodeKind_Win32AccessViolation, CTRL_ExceptionCodeKind_Win32InPageError, CTRL_ExceptionCodeKind_Win32InvalidHandle, CTRL_ExceptionCodeKind_Win32NotEnoughQuota, CTRL_ExceptionCodeKind_Win32IllegalInstruction, CTRL_ExceptionCodeKind_Win32CannotContinueException, CTRL_ExceptionCodeKind_Win32InvalidExceptionDisposition, CTRL_ExceptionCodeKind_Win32ArrayBoundsExceeded, CTRL_ExceptionCodeKind_Win32FloatingPointDenormalOperand, CTRL_ExceptionCodeKind_Win32FloatingPointDivisionByZero, CTRL_ExceptionCodeKind_Win32FloatingPointInexactResult, CTRL_ExceptionCodeKind_Win32FloatingPointInvalidOperation, CTRL_ExceptionCodeKind_Win32FloatingPointOverflow, CTRL_ExceptionCodeKind_Win32FloatingPointStackCheck, CTRL_ExceptionCodeKind_Win32FloatingPointUnderflow, CTRL_ExceptionCodeKind_Win32IntegerDivisionByZero, CTRL_ExceptionCodeKind_Win32IntegerOverflow, CTRL_ExceptionCodeKind_Win32PrivilegedInstruction, CTRL_ExceptionCodeKind_Win32StackOverflow, CTRL_ExceptionCodeKind_Win32UnableToLocateDLL, CTRL_ExceptionCodeKind_Win32OrdinalNotFound, CTRL_ExceptionCodeKind_Win32EntryPointNotFound, CTRL_ExceptionCodeKind_Win32DLLInitializationFailed, CTRL_ExceptionCodeKind_Win32FloatingPointSSEMultipleFaults, CTRL_ExceptionCodeKind_Win32FloatingPointSSEMultipleTraps, CTRL_ExceptionCodeKind_Win32AssertionFailed, CTRL_ExceptionCodeKind_Win32ModuleNotFound, CTRL_ExceptionCodeKind_Win32ProcedureNotFound, CTRL_ExceptionCodeKind_Win32SanitizerErrorDetected, CTRL_ExceptionCodeKind_Win32SanitizerRawAccessViolation, CTRL_ExceptionCodeKind_COUNT } CTRL_ExceptionCodeKind; U32 ctrl_exception_code_kind_code_table[] = { 0, 0x40010005, 0x40010008, 0x40080201, 0x40080202, 0x0000071a, 0x80000002, 0xc0000005, 0xc0000006, 0xc0000008, 0xc0000017, 0xc000001d, 0xc0000025, 0xc0000026, 0xc000008c, 0xc000008d, 0xc000008e, 0xc000008f, 0xc0000090, 0xc0000091, 0xc0000092, 0xc0000093, 0xc0000094, 0xc0000095, 0xc0000096, 0xc00000fd, 0xc0000135, 0xc0000138, 0xc0000139, 0xc0000142, 0xc00002b4, 0xc00002b5, 0xc0000420, 0xc06d007e, 0xc06d007f, 0xe073616e, 0xe0736171, }; String8 ctrl_exception_code_kind_display_string_table[] = { {0}, str8_lit_comp("(Win32) Control-C"), str8_lit_comp("(Win32) Control-Break"), str8_lit_comp("(Win32) WinRT Originate Error"), str8_lit_comp("(Win32) WinRT Transform Error"), str8_lit_comp("(Win32) RPC Call Cancelled"), str8_lit_comp("(Win32) Data Type Misalignment"), str8_lit_comp("(Win32) Access Violation"), str8_lit_comp("(Win32) In Page Error"), str8_lit_comp("(Win32) Invalid Handle Specified"), str8_lit_comp("(Win32) Not Enough Quota"), str8_lit_comp("(Win32) Illegal Instruction"), str8_lit_comp("(Win32) Cannot Continue From Exception"), str8_lit_comp("(Win32) Invalid Exception Disposition Returned By Handler"), str8_lit_comp("(Win32) Array Bounds Exceeded"), str8_lit_comp("(Win32) Floating-Point Denormal Operand"), str8_lit_comp("(Win32) Floating-Point Division By Zero"), str8_lit_comp("(Win32) Floating-Point Inexact Result"), str8_lit_comp("(Win32) Floating-Point Invalid Operation"), str8_lit_comp("(Win32) Floating-Point Overflow"), str8_lit_comp("(Win32) Floating-Point Stack Check"), str8_lit_comp("(Win32) Floating-Point Underflow"), str8_lit_comp("(Win32) Integer Division By Zero"), str8_lit_comp("(Win32) Integer Overflow"), str8_lit_comp("(Win32) Privileged Instruction"), str8_lit_comp("(Win32) Stack Overflow"), str8_lit_comp("(Win32) Unable To Locate DLL"), str8_lit_comp("(Win32) Ordinal Not Found"), str8_lit_comp("(Win32) Entry Point Not Found"), str8_lit_comp("(Win32) DLL Initialization Failed"), str8_lit_comp("(Win32) Floating Point SSE Multiple Faults"), str8_lit_comp("(Win32) Floating Point SSE Multiple Traps"), str8_lit_comp("(Win32) Assertion Failed"), str8_lit_comp("(Win32) Module Not Found"), str8_lit_comp("(Win32) Procedure Not Found"), str8_lit_comp("(Win32) Sanitizer Error Detected"), str8_lit_comp("(Win32) Sanitizer Raw Access Violation"), }; String8 ctrl_exception_code_kind_lowercase_code_string_table[] = { {0}, str8_lit_comp("win32_ctrl_c"), str8_lit_comp("win32_ctrl_break"), str8_lit_comp("win32_win_rt_originate_error"), str8_lit_comp("win32_win_rt_transform_error"), str8_lit_comp("win32_rpc_call_cancelled"), str8_lit_comp("win32_datatype_misalignment"), str8_lit_comp("win32_access_violation"), str8_lit_comp("win32_in_page_error"), str8_lit_comp("win32_invalid_handle"), str8_lit_comp("win32_not_enough_quota"), str8_lit_comp("win32_illegal_instruction"), str8_lit_comp("win32_cannot_continue_exception"), str8_lit_comp("win32_invalid_exception_disposition"), str8_lit_comp("win32_array_bounds_exceeded"), str8_lit_comp("win32_floating_point_denormal_operand"), str8_lit_comp("win32_floating_point_division_by_zero"), str8_lit_comp("win32_floating_point_inexact_result"), str8_lit_comp("win32_floating_point_invalid_operation"), str8_lit_comp("win32_floating_point_overflow"), str8_lit_comp("win32_floating_point_stack_check"), str8_lit_comp("win32_floating_point_underflow"), str8_lit_comp("win32_integer_division_by_zero"), str8_lit_comp("win32_integer_overflow"), str8_lit_comp("win32_privileged_instruction"), str8_lit_comp("win32_stack_overflow"), str8_lit_comp("win32_unable_to_locate_dll"), str8_lit_comp("win32_ordinal_not_found"), str8_lit_comp("win32_entry_point_not_found"), str8_lit_comp("win32_dll_initialization_failed"), str8_lit_comp("win32_floating_point_sse_multiple_faults"), str8_lit_comp("win32_floating_point_sse_multiple_traps"), str8_lit_comp("win32_assertion_failed"), str8_lit_comp("win32_module_not_found"), str8_lit_comp("win32_procedure_not_found"), str8_lit_comp("win32_sanitizer_error_detected"), str8_lit_comp("win32_sanitizer_raw_access_violation"), }; B8 ctrl_exception_code_kind_default_enable_table[] = { 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, }; #endif // CTRL_META_H