Open TDecking opened 1 year ago
The following snippet causes a panic:
void __cdecl free(void*); void apply(void* ptr, void (*f)(void *)); void crash(void* ptr) { apply(ptr, free); }
The panic can also be triggered using __attribute__((cdecl)), __stdcall, or any other calling convention.
__attribute__((cdecl))
__stdcall
The following snippet causes a panic:
The panic can also be triggered using
__attribute__((cdecl))
,__stdcall
, or any other calling convention.