Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 6d217ce

Browse files
committed
Add c file
1 parent 7e76a48 commit 6d217ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main/build/MacOSX/debugcrash.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
void debug_trigger_sigsegv()
2+
{
3+
void *p = (void*)0x12345;
4+
*(int *)p = 0;
5+
}
6+

0 commit comments

Comments
 (0)