102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1/* Recovered declarations; ABI and original layout preserved. */
2#ifndef PCDOGS_RUNTIME_FUNCTIONS_H
3#define PCDOGS_RUNTIME_FUNCTIONS_H
6
7void Runtime_NoOp();
8
10
12
13/* Original register interface: int64_t __ftol_msvc(long double value @ st0); C entry requires an ABI adapter where called by native code. */
14int64_t __ftol_msvc(long double value);
15
16int32_t String_ParseInt(char const *string);
17
18int32_t String_ParseAtoi(char const *string);
19
20int32_t String_FormatCRTString(char *buffer, char const *format, ...);
21
22int32_t __setjmp3(struct CRT_JumpBuffer3 *jump_buffer, int32_t argument_count, ...) __attribute__((returns_twice));
23
24void _longjmp(struct CRT_JumpBuffer3 *jump_buffer, int32_t value) __attribute__((noreturn));
25
26/* Original register interface: void __convention("regparm") __alloca_probe(uint32_t size); C entry requires an ABI adapter where called by native code. */
27/* Assembly-only entry: size in EAX, adjusts the caller stack. Never call this from C; use __builtin_alloca. */
28void __alloca_probe(void);
29
30int32_t CRT_fflush(struct File_Handle *stream);
31
32int32_t _flush(struct File_Handle *stream);
33
34int32_t CRT_flushall();
35
36int32_t CRT_flsall(int32_t flush_mode);
37
38int32_t CRT_fprintf(struct File_Handle *stream, char const *format, ...);
39
40int32_t CRT_printf(char const *format, ...);
41
42int32_t CRT_fclose(struct File_Handle *stream);
43
44void (*CRT_onexit(void (*callback)()))();
45
46int32_t CRT_atexit(void (*callback)());
47
48void _atexit_init();
49
50struct File_Handle *CRT_fsopen(char const *filename, char const *mode, int32_t sharing_flag);
51
52struct File_Handle *CRT_fopen(char const *filename, char const *mode);
53
54void CRT_qsort(void *base, uint32_t count, uint32_t element_size, int32_t (*compare)(void const *, void const *));
55
56void CRT_shortsort(char *first_element, char *last_element, uint32_t element_size, int32_t (*compare)(void const *, void const *));
57
58void CRT_swap(char *dest, char *src, uint32_t count);
59
60void *CRT_malloc(uint32_t size);
61
62void *__nh_malloc(uint32_t size, int32_t new_mode);
63
64void *_heap_alloc(uint32_t size);
65
66char *CRT_strstr(char const *haystack, char const *needle);
67
68int32_t CRT_ftell(struct File_Handle *stream);
69
70int32_t CRT_fseek(struct File_Handle *stream, int32_t offset, int32_t origin);
71
72uint32_t CRT_fread(void *buffer, uint32_t size, uint32_t count, struct File_Handle *stream);
73
74uint32_t CRT_fwrite(void const *buffer, uint32_t size, uint32_t count, struct File_Handle *stream);
75
76void *CRT_realloc(void *ptr, uint32_t size);
77
78void CRT_free(void *ptr);
79
80void _cinit();
81
82void CRT_exit(int32_t status) __attribute__((noreturn));
83
84void CRT_exit_immediate(int32_t status) __attribute__((noreturn));
85
86void _doexit(int32_t status, int32_t quick_exit, int32_t return_to_caller);
87
88void CRT_initterm(void (**first)(), void (**last)());
89
90void _initstdio();
91
92void _endstdio();
93
94int32_t CRT_vsprintf(char *buffer, char const *format, uint8_t *argument_cursor);
95
96void CRT_Startup() __attribute__((noreturn));
97
98/* Original register interface: int32_t CRT_StartupSEHFilter(void* arg1 @ ebp); C entry requires an ABI adapter where called by native code. */
99int32_t CRT_StartupSEHFilter(void *establisher_frame);
100
101void __amsg_exit(int32_t runtime_error) __attribute__((noreturn));
102
103void CRT_fast_error_exit(int32_t runtime_error) __attribute__((noreturn));
104
106
108
109int32_t CRT_TestPentiumFdivBug();
110
111void _forcdecpt(char *buffer);
112
113void _cropzeros(char *formatted_string);
114
115int32_t _positive(double const *value);
116
117void __fassign(int32_t flag, void *destination, char const *number);
118
119char *_cftoe(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent);
120
121char *_cftof(double const *value, char *buffer, int32_t precision);
122
123char *_cftog(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent);
124
125char *String_FormatScientificFloat(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent);
126
127char *String_FormatFixedUsingCachedDigits(double const *value, char *buffer, int32_t precision);
128
129char *__cfltcvt(double const *value, char *buffer, int32_t format, int32_t precision, int32_t uppercase_exponent);
130
131void String_MakeInsertionGap(char *buffer, int32_t insert_count);
132
133int32_t CRT_isctype(int32_t ch, int32_t char_type_mask);
134
135int64_t __stdcall __allmul(int64_t lhs, int64_t rhs);
136
137int32_t CRT_flsbuf(int32_t ch, struct File_Handle *stream);
138
139int32_t _output(struct File_Handle *output_context, char const *format, uint8_t *argument_cursor);
140
141void CRT_write_char(int32_t ch, struct File_Handle *stream, int32_t *written_count);
142
143void CRT_write_multi_char(int32_t ch, int32_t count, struct File_Handle *stream, int32_t *written_count);
144
145void CRT_write_string(char const *source, int32_t count, struct File_Handle *stream, int32_t *written_count);
146
147int32_t CRT_VaArgInt(uint8_t **argument_cursor);
148
149int64_t CRT_VaArgInt64(uint8_t **argument_cursor);
150
151int16_t CRT_VaArgShort(uint8_t **argument_cursor);
152
153void __global_unwind2(struct CRT_SEHRegistration3 *target_frame);
154
155EXCEPTION_DISPOSITION __unwind_handler(struct _EXCEPTION_RECORD *exception_record, void *establisher_frame, struct _CONTEXT *context_record, void **dispatcher_context);
156
157/* Original register interface: void __local_unwind2(struct CRT_SEHRegistration3* registration, int32_t stopTryLevel, void* establisherFrame @ ebp); C entry requires an ABI adapter where called by native code. */
158void __local_unwind2(struct CRT_SEHRegistration3 *registration, int32_t stop_try_level, void *establisher_frame);
159
160int32_t __abnormal_termination();
161
162int32_t __stdcall CRT_ProbeRead4(uint32_t const volatile *address);
163
164/* Original register interface: int32_t CRT_ProbeReadSEHFilter(void* arg1 @ ebp); C entry requires an ABI adapter where called by native code. */
165int32_t CRT_ProbeReadSEHFilter(void *establisher_frame);
166
167/* Original register interface: int32_t CRT_ProbeReadSEHHandler(int32_t* arg1 @ ebp); C entry requires an ABI adapter where called by native code. */
168int32_t CRT_ProbeReadSEHHandler(int32_t *establisher_frame);
169
170int32_t CRT_commit(int32_t file_no);
171
172int32_t CRT_write(int32_t file_no, void const *buffer, uint32_t byte_count);
173
174int32_t _stbuf(struct File_Handle *stream);
175
176void _ftbuf(int32_t clear_buffer, struct File_Handle *stream);
177
178int32_t CRT_close(int32_t file_no);
179
180void __freebuf(struct File_Handle *stream);
181
182uint32_t CRT_msize(void *ptr);
183
184struct File_Handle *_openfile(char const *filename, char const *mode, int32_t sharing_flag, struct File_Handle *stream);
185
186struct File_Handle *_getstream();
187
188int32_t CRT_callnewh(uint32_t size);
189
190int32_t _heap_init(int32_t mt_flag);
191
192int32_t __sbh_heap_init();
193
194struct CRT_HeapSegment *__sbh_find_block(void *ptr);
195
196void __sbh_free_block(struct CRT_HeapSegment *segment, void *user_ptr);
197
198void *__sbh_alloc_block(uint32_t size);
199
201
202int32_t __sbh_alloc_new_group(struct CRT_HeapSegment *segment);
203
204int32_t __sbh_resize_block(struct CRT_HeapSegment *segment, void *user_ptr, uint32_t new_size);
205
206char *CRT_StrchrCdecl(char const *string, int32_t character);
207
208/* Original register interface: char* __convention("regparm") String_StrchrCRT(int32_t character, char const* string @ 0x4); C entry requires an ABI adapter where called by native code. */
209char *String_StrchrCRT(int32_t character, char const *string);
210
211void _ioinit();
212
213int32_t CRT_lseek(int32_t fd, int32_t offset, int32_t origin);
214
215int32_t CRT_filbuf(struct File_Handle *stream);
216
217int32_t CRT_read(int32_t fd, void *buffer, uint32_t count);
218
219char *CRT_MoveBytesOverlapSafe(char *dest, char const *src, uint32_t count);
220
221void *CRT_calloc(uint32_t count, uint32_t element_size);
222
223int32_t CRT_fcloseall();
224
225int32_t CRT_XcptFilter(uint32_t xcptnum, struct _EXCEPTION_POINTERS *pxcptinfoptrs);
226
227struct CRT_ExceptionAction *CRT_FindExceptionAction(uint32_t exception_code);
228
230
231void _setenvp();
232
233int32_t CRT_setargv();
234
235void _parse_cmdline(char *command_line, char **argv, char *arg_buffer, int32_t *argc_out, int32_t *char_count_out);
236
238
239EXCEPTION_DISPOSITION __except_handler3(struct _EXCEPTION_RECORD *exception_record, struct CRT_SEHRegistration3 *registration, struct _CONTEXT *context, void *dispatcher_context);
240
241void __stdcall __seh_longjmp_unwind_4(struct CRT_JumpBuffer3 *jump_buffer);
242
244
245void _NMSG_WRITE(int32_t runtime_error_id);
246
247uint32_t CRT_control87(uint32_t new_control, uint32_t mask);
248
249uint32_t CRT_controlfp(uint32_t new_value, uint32_t mask);
250
251uint32_t _cw_to_abstract_cw(uint32_t control_word);
252
253uint32_t _abstract_cw_to_cw(uint32_t abstract_control_word);
254
255int32_t CRT_tolower(int32_t ch);
256
257int32_t __ld12_is_zero_upper(uint32_t const *value, int32_t start_bit);
258
259int32_t __ld12_increment(uint32_t *value, int32_t bit_index);
260
261int32_t __ld12_round_and_clear(uint32_t *value, int32_t bit_index);
262
263void __ld12_copy(uint32_t *dest, uint32_t const *src);
264
265void __ld12_clear(uint32_t *value);
266
267int32_t __ld12_is_zero(uint32_t const *value);
268
269void __ld12_shr(uint32_t *value, int32_t bit_count);
270
271int32_t __ld12_to_ieee(struct CRT_LD12Fields const *value, void *output, struct CRT_IEEEFormatDescriptor const *format);
272
273int32_t __ld12_to_double(struct CRT_LD12Fields const *value, double *output);
274
275int32_t __ld12_to_float(struct CRT_LD12Fields const *value, float *output);
276
277int32_t __atodbl(double *output, char const *text);
278
279int32_t __atoflt(float *output, char const *text);
280
281char *CRT_strcpy(char *dest, char const *src);
282
283char *CRT_strcat(char *dest, char const *src);
284
285char *String_RoundAndCopyDigitsFloat(char *output, int32_t digit_count, struct CRT_FloatConversionRecord *conversion_state);
286
287struct CRT_FloatConversionRecord *__fpmath(double value);
288
289void __double_to_long_double80(uint16_t *destination, double const *source);
290
291void *_memset(void *dest, int32_t value, uint32_t count);
292
293void *CRT_MoveBytesOverlapSafeDuplicate(void *dest, void const *src, uint32_t count);
294
295uint32_t _strlen(char const *str);
296
297void CRT_AbortFloatSupportNotLoaded() __attribute__((noreturn));
298
299int32_t __crtGetStringTypeA(DWORD info_type, LPCSTR src, int32_t src_count, uint16_t *char_types, UINT code_page, LCID locale, int32_t strict);
300
302
303/* Original register interface: int32_t CRT_GetStringTypeAAllocaFailure(int32_t* arg1 @ ebp); C entry requires an ABI adapter where called by native code. */
304int32_t CRT_GetStringTypeAAllocaFailure(int32_t *establisher_frame);
305
306void _getbuf(struct File_Handle *stream);
307
308int32_t CRT_isatty(int32_t fd);
309
310int32_t String_ConvertCRTWideCharToMultiByte(char *buffer, uint16_t wide_char);
311
312uint64_t __stdcall __aulldiv(uint64_t dividend, uint64_t divisor);
313
314uint64_t __stdcall __aullrem(uint64_t dividend, uint64_t divisor);
315
316int32_t _alloc_osfhnd();
317
318int32_t _set_osfhnd(int32_t fd, HANDLE os_handle);
319
320int32_t _free_osfhnd(int32_t fd);
321
322HANDLE CRT_get_osfhandle(int32_t fd);
323
324void _dosmaperr(uint32_t os_error_code);
325
326int32_t CRT_sopen(char const *filename, int32_t oflag, int32_t shflag, ...);
327
328int32_t CRT_ismbblead(uint32_t character);
329
330int32_t __chvalidator(uint8_t character, int32_t fallback_mask, uint8_t multibyte_mask);
331
332int32_t __setmbcp(int32_t requested_code_page);
333
334uint32_t CRT_ResolveRequestedCodePage(int32_t requested_code_page);
335
336uint32_t CRT_MapCodePageToLocaleId(uint32_t code_page);
337
338void __resetmbcp();
339
341
342void __initmbctable();
343
344int32_t CRT_ShowMessageBoxA(LPCSTR lp_text, LPCSTR lp_caption, UINT u_type);
345
346char *_strncpy(char *dest, char const *src, uint32_t count);
347
348int32_t __crtLCMapStringA(LCID locale, DWORD map_flags, LPCSTR src, int32_t src_count, LPSTR dest, int32_t dest_count, UINT code_page, int32_t strict);
349
351
353
354uint32_t CRT_strnlen(char const *str, uint32_t max_count);
355
356int32_t __add_with_overflow_check(uint32_t left, uint32_t right, uint32_t *sum);
357
358void ___add_12(uint32_t *accumulator, uint32_t const *addend);
359
360void __shl_12byte(uint32_t *value);
361
362void __shr_12byte(uint32_t *value);
363
364void __mtold12(uint8_t const *digits, uint32_t digit_count, struct CRT_LD12Fields *output);
365
366int32_t __strgtold12(struct CRT_LD12Fields *output, const char **end_pointer, char const *text, int32_t mult12, int32_t scale, int32_t decimal_point, int32_t implicit_exponent);
367
368BOOL String_ConvertToDecimalStringFloat(struct CRT_Extended80Argument value, int32_t digit_count, uint32_t format_flags, struct CRT_DecimalFloatOutput *output);
369
370int32_t CRT_chsize(int32_t fd, int32_t size);
371
372void __flt_mul(struct CRT_LD12Fields *left_and_result, struct CRT_LD12Fields const *right);
373
374void __flt_power10(struct CRT_LD12Fields *value, int32_t power, int32_t mult12);
375
376int32_t CRT_setmode(int32_t fd, int32_t mode);
377
378void __stdcall Exception_RtlUnwindThunk(void *target_frame, void *target_ip, struct _EXCEPTION_RECORD *exception_record, void *return_value);
379
380int32_t __strcmpi(char const *s1, char const *s2);
381
382#endif /* PCDOGS_RUNTIME_FUNCTIONS_H */
uint32_t CRT_MapCodePageToLocaleId(uint32_t code_page)
Definition locale.c:510
uint32_t CRT_msize(void *ptr)
Definition heap.c:184
int32_t CRT_fclose(struct File_Handle *stream)
Definition stdio.c:80
void String_MakeInsertionGap(char *buffer, int32_t insert_count)
void __freebuf(struct File_Handle *stream)
Definition stdio.c:674
void CRT_qsort(void *base, uint32_t count, uint32_t element_size, int32_t(*compare)(void const *, void const *))
Definition sorting.c:11
int32_t CRT_flsall(int32_t flush_mode)
Definition stdio.c:1032
char * __crtGetEnvironmentStringsA()
Definition startup.c:464
void __shl_12byte(uint32_t *value)
struct CRT_ExceptionAction * CRT_FindExceptionAction(uint32_t exception_code)
Definition exceptions.c:164
void _cropzeros(char *formatted_string)
int32_t CRT_StartupSEHFilter(void *establisher_frame)
Definition exceptions.c:15
int32_t CRT_LCMapStringA_MappedAllocationExceptionFilter()
Definition exceptions.c:209
int64_t __allmul(int64_t lhs, int64_t rhs)
Definition integer.c:10
int16_t CRT_VaArgShort(uint8_t **argument_cursor)
Definition formatting.c:711
int32_t __ld12_is_zero_upper(uint32_t const *value, int32_t start_bit)
void ___add_12(uint32_t *accumulator, uint32_t const *addend)
void _ftbuf(int32_t clear_buffer, struct File_Handle *stream)
Definition stdio.c:655
uint32_t CRT_ResolveRequestedCodePage(int32_t requested_code_page)
Definition locale.c:477
char * _cftog(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent)
void * __nh_malloc(uint32_t size, int32_t new_mode)
Definition heap.c:23
int32_t CRT_fcloseall()
Definition stdio.c:972
char * String_FormatScientificFloat(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent)
int32_t CRT_close(int32_t file_no)
int32_t _heap_init(int32_t mt_flag)
Definition heap.c:203
int32_t CRT_printf(char const *format,...)
Definition formatting.c:63
int32_t __crtLCMapStringA(LCID locale, DWORD map_flags, LPCSTR src, int32_t src_count, LPSTR dest, int32_t dest_count, UINT code_page, int32_t strict)
void _parse_cmdline(char *command_line, char **argv, char *arg_buffer, int32_t *argc_out, int32_t *char_count_out)
Definition startup.c:329
uint32_t CRT_fwrite(void const *buffer, uint32_t size, uint32_t count, struct File_Handle *stream)
Definition stdio.c:338
void * CRT_malloc(uint32_t size)
Definition heap.c:16
void * __sbh_alloc_block(uint32_t size)
Definition heap.c:488
void CRT_write_string(char const *source, int32_t count, struct File_Handle *stream, int32_t *written_count)
Definition formatting.c:664
int32_t _stbuf(struct File_Handle *stream)
Definition stdio.c:602
int32_t __setmbcp(int32_t requested_code_page)
Definition locale.c:328
uint64_t __aullrem(uint64_t dividend, uint64_t divisor)
Definition integer.c:24
void Runtime_NoOp()
Definition startup.c:60
int32_t CRT_fprintf(struct File_Handle *stream, char const *format,...)
Definition formatting.c:47
int32_t __strgtold12(struct CRT_LD12Fields *output, const char **end_pointer, char const *text, int32_t mult12, int32_t scale, int32_t decimal_point, int32_t implicit_exponent)
char * _cftoe(double const *value, char *buffer, int32_t precision, int32_t uppercase_exponent)
struct File_Handle * _openfile(char const *filename, char const *mode, int32_t sharing_flag, struct File_Handle *stream)
Definition stdio.c:690
void __ld12_copy(uint32_t *dest, uint32_t const *src)
int32_t CRT_vsprintf(char *buffer, char const *format, uint8_t *argument_cursor)
Definition formatting.c:79
void * CRT_realloc(void *ptr, uint32_t size)
Definition heap.c:65
EXCEPTION_DISPOSITION __except_handler3(struct _EXCEPTION_RECORD *exception_record, struct CRT_SEHRegistration3 *registration, struct _CONTEXT *context, void *dispatcher_context)
struct File_Handle * CRT_fsopen(char const *filename, char const *mode, int32_t sharing_flag)
Definition stdio.c:122
int32_t __ld12_is_zero(uint32_t const *value)
int32_t __ld12_round_and_clear(uint32_t *value, int32_t bit_index)
void(*)() CRT_onexit(void(*callback)())
Definition functions.h:44
void _doexit(int32_t status, int32_t quick_exit, int32_t return_to_caller)
Definition startup.c:151
int32_t String_ParseInt(char const *string)
Definition strings.c:14
void _cinit()
Definition startup.c:124
int32_t CRT_XcptFilter(uint32_t xcptnum, struct _EXCEPTION_POINTERS *pxcptinfoptrs)
Definition exceptions.c:49
int32_t CRT_read(int32_t fd, void *buffer, uint32_t count)
void * CRT_calloc(uint32_t count, uint32_t element_size)
Definition heap.c:1080
char * CRT_strcat(char *dest, char const *src)
Definition strings.c:172
char * String_RoundAndCopyDigitsFloat(char *output, int32_t digit_count, struct CRT_FloatConversionRecord *conversion_state)
void __amsg_exit(int32_t runtime_error)
Definition startup.c:205
int32_t __crtGetStringTypeA(DWORD info_type, LPCSTR src, int32_t src_count, uint16_t *char_types, UINT code_page, LCID locale, int32_t strict)
void _longjmp(struct CRT_JumpBuffer3 *jump_buffer, int32_t value)
char * CRT_StrchrCdecl(char const *string, int32_t character)
Definition strings.c:109
int32_t CRT_tolower(int32_t ch)
Definition locale.c:241
void CRT_exit_immediate(int32_t status)
Definition startup.c:143
void CRT_free(void *ptr)
Definition heap.c:164
int32_t String_ParseAtoi(char const *string)
Definition strings.c:78
void _initstdio()
Definition stdio.c:432
char * _cftof(double const *value, char *buffer, int32_t precision)
int32_t CRT_LCMapStringA_SourceAllocationExceptionFilter()
Definition exceptions.c:202
int32_t __atoflt(float *output, char const *text)
int32_t CRT_VaArgInt(uint8_t **argument_cursor)
Definition formatting.c:687
int32_t CRT_fseek(struct File_Handle *stream, int32_t offset, int32_t origin)
Definition stdio.c:235
BOOL String_ConvertToDecimalStringFloat(struct CRT_Extended80Argument value, int32_t digit_count, uint32_t format_flags, struct CRT_DecimalFloatOutput *output)
int32_t __ld12_to_ieee(struct CRT_LD12Fields const *value, void *output, struct CRT_IEEEFormatDescriptor const *format)
void __flt_mul(struct CRT_LD12Fields *left_and_result, struct CRT_LD12Fields const *right)
int32_t _set_osfhnd(int32_t fd, HANDLE os_handle)
int32_t _positive(double const *value)
void __initmbctable()
Definition locale.c:608
int32_t __add_with_overflow_check(uint32_t left, uint32_t right, uint32_t *sum)
void __sbh_free_block(struct CRT_HeapSegment *segment, void *user_ptr)
Definition heap.c:260
void _atexit_init()
Definition startup.c:106
int32_t __sbh_resize_block(struct CRT_HeapSegment *segment, void *user_ptr, uint32_t new_size)
Definition heap.c:856
int32_t String_ConvertCRTWideCharToMultiByte(char *buffer, uint16_t wide_char)
Definition locale.c:619
int32_t CRT_flushall()
Definition stdio.c:73
uint32_t _cw_to_abstract_cw(uint32_t control_word)
char * String_StrchrCRT(int32_t character, char const *string)
Definition strings.c:119
int32_t __ld12_to_double(struct CRT_LD12Fields const *value, double *output)
void _endstdio()
Definition stdio.c:492
int32_t __sbh_alloc_new_group(struct CRT_HeapSegment *segment)
Definition heap.c:796
char * _strncpy(char *dest, char const *src, uint32_t count)
Definition strings.c:237
char * __cfltcvt(double const *value, char *buffer, int32_t format, int32_t precision, int32_t uppercase_exponent)
void * CRT_MoveBytesOverlapSafeDuplicate(void *dest, void const *src, uint32_t count)
Definition strings.c:201
void __fassign(int32_t flag, void *destination, char const *number)
int32_t __setjmp3(struct CRT_JumpBuffer3 *jump_buffer, int32_t argument_count,...)
int32_t CRT_fflush(struct File_Handle *stream)
Definition stdio.c:17
int32_t __ld12_increment(uint32_t *value, int32_t bit_index)
void __double_to_long_double80(uint16_t *destination, double const *source)
void __ld12_shr(uint32_t *value, int32_t bit_count)
void CRT_AbortFloatSupportNotLoaded()
int32_t CRT_ProbeRead4(uint32_t const volatile *address)
void __shr_12byte(uint32_t *value)
void Exception_RtlUnwindThunk(void *target_frame, void *target_ip, struct _EXCEPTION_RECORD *exception_record, void *return_value)
Definition exceptions.c:216
int32_t CRT_chsize(int32_t fd, int32_t size)
char * String_FormatFixedUsingCachedDigits(double const *value, char *buffer, int32_t precision)
int32_t CRT_ShowMessageBoxA(LPCSTR lp_text, LPCSTR lp_caption, UINT u_type)
Definition startup.c:600
int32_t CRT_atexit(void(*callback)())
Definition startup.c:99
void CRT_initterm(void(**first)(), void(**last)())
Definition startup.c:192
int32_t CRT_GetStringTypeA_AllocaExceptionFilter()
Definition exceptions.c:195
int32_t CRT_write(int32_t file_no, void const *buffer, uint32_t byte_count)
void _forcdecpt(char *buffer)
void CRT_exit(int32_t status)
Definition startup.c:135
int32_t CRT_commit(int32_t file_no)
void __setmbcp_updatetables()
Definition locale.c:546
int32_t _free_osfhnd(int32_t fd)
struct CRT_FloatConversionRecord * __fpmath(double value)
void _getbuf(struct File_Handle *stream)
Definition stdio.c:1004
void CRT_shortsort(char *first_element, char *last_element, uint32_t element_size, int32_t(*compare)(void const *, void const *))
Definition sorting.c:109
int32_t CRT_setargv()
Definition startup.c:299
void CRT_InitializeFloatingPoint()
void CRT_WriteRuntimeErrorBanner()
Definition startup.c:539
int32_t __strcmpi(char const *s1, char const *s2)
Definition strings.c:279
int32_t CRT_TestFdivBugFallback()
int32_t CRT_flsbuf(int32_t ch, struct File_Handle *stream)
Definition stdio.c:507
void * _heap_alloc(uint32_t size)
Definition heap.c:45
int32_t CRT_TestPentiumFdivBug()
char * CRT_MoveBytesOverlapSafe(char *dest, char const *src, uint32_t count)
Definition strings.c:134
struct CRT_HeapSegment * __sbh_find_block(void *ptr)
Definition heap.c:242
void * _memset(void *dest, int32_t value, uint32_t count)
Definition strings.c:189
EXCEPTION_DISPOSITION __unwind_handler(struct _EXCEPTION_RECORD *exception_record, void *establisher_frame, struct _CONTEXT *context_record, void **dispatcher_context)
Definition exceptions.c:27
void CRT_fast_error_exit(int32_t runtime_error)
Definition startup.c:217
char * CRT_SkipProgramNameInCmdLine()
Definition startup.c:229
int32_t CRT_ProbeReadSEHFilter(void *establisher_frame)
Definition exceptions.c:40
int64_t __ftol_msvc(long double value)
uint32_t _abstract_cw_to_cw(uint32_t abstract_control_word)
int32_t _flush(struct File_Handle *stream)
Definition stdio.c:33
int32_t __sbh_heap_init()
Definition heap.c:223
void CRT_write_multi_char(int32_t ch, int32_t count, struct File_Handle *stream, int32_t *written_count)
Definition formatting.c:646
void __global_unwind2(struct CRT_SEHRegistration3 *target_frame)
void __mtold12(uint8_t const *digits, uint32_t digit_count, struct CRT_LD12Fields *output)
void CRT_swap(char *dest, char *src, uint32_t count)
Definition sorting.c:127
int32_t CRT_lseek(int32_t fd, int32_t offset, int32_t origin)
int64_t CRT_VaArgInt64(uint8_t **argument_cursor)
Definition formatting.c:699
int32_t CRT_GetStringTypeAAllocaFailure(int32_t *establisher_frame)
uint64_t __aulldiv(uint64_t dividend, uint64_t divisor)
Definition integer.c:17
int32_t __abnormal_termination()
Definition exceptions.c:224
uint32_t CRT_fread(void *buffer, uint32_t size, uint32_t count, struct File_Handle *stream)
Definition stdio.c:283
void __seh_longjmp_unwind_4(struct CRT_JumpBuffer3 *jump_buffer)
Definition exceptions.c:188
uint32_t _strlen(char const *str)
Definition strings.c:225
int32_t _alloc_osfhnd()
struct File_Handle * CRT_fopen(char const *filename, char const *mode)
Definition stdio.c:134
uint32_t CRT_control87(uint32_t new_control, uint32_t mask)
uint32_t CRT_controlfp(uint32_t new_value, uint32_t mask)
int32_t CRT_filbuf(struct File_Handle *stream)
Definition stdio.c:897
int32_t CRT_sopen(char const *filename, int32_t oflag, int32_t shflag,...)
void __flt_power10(struct CRT_LD12Fields *value, int32_t power, int32_t mult12)
int32_t __ld12_to_float(struct CRT_LD12Fields const *value, float *output)
struct CRT_HeapSegment * __sbh_alloc_new_region()
Definition heap.c:748
void _setdefaultprecision()
void CRT_InitFloatFormatDispatch()
void _ioinit()
void CRT_Startup()
int32_t CRT_ismbblead(uint32_t character)
Definition locale.c:302
void __ld12_clear(uint32_t *value)
int32_t String_FormatCRTString(char *buffer, char const *format,...)
Definition formatting.c:18
void CRT_write_char(int32_t ch, struct File_Handle *stream, int32_t *written_count)
Definition formatting.c:615
char * CRT_strstr(char const *haystack, char const *needle)
Definition strings.c:85
int32_t __atodbl(double *output, char const *text)
int32_t CRT_isatty(int32_t fd)
void __resetmbcp()
Definition locale.c:529
HANDLE CRT_get_osfhandle(int32_t fd)
void _setenvp()
Definition startup.c:260
int32_t _output(struct File_Handle *output_context, char const *format, uint8_t *argument_cursor)
Definition formatting.c:108
void _dosmaperr(uint32_t os_error_code)
int32_t __chvalidator(uint8_t character, int32_t fallback_mask, uint8_t multibyte_mask)
Definition locale.c:309
void _NMSG_WRITE(int32_t runtime_error_id)
Definition startup.c:556
void __local_unwind2(struct CRT_SEHRegistration3 *registration, int32_t stop_try_level, void *establisher_frame)
int32_t CRT_ftell(struct File_Handle *stream)
Definition stdio.c:141
int32_t CRT_callnewh(uint32_t size)
Definition heap.c:194
int32_t CRT_ProbeReadSEHHandler(int32_t *establisher_frame)
void __alloca_probe(void)
int32_t CRT_isctype(int32_t ch, int32_t char_type_mask)
Definition locale.c:210
char * CRT_strcpy(char *dest, char const *src)
Definition strings.c:158
int32_t CRT_setmode(int32_t fd, int32_t mode)
uint32_t CRT_strnlen(char const *str, uint32_t max_count)
Definition strings.c:255
struct File_Handle * _getstream()
Definition stdio.c:839