diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-10-23 19:16:05 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2019-10-23 19:16:05 +0300 |
commit | 6d217ce7a74c05e9ad0cf457fd678457cb2400af (patch) | |
tree | 6e715b28c8b134ceaf6da406d5d2fc66ab9652ff /main/build | |
parent | 7e76a48545255bc0857ce3e4ed64f0c09cf9f24a (diff) |
Add c file
Diffstat (limited to 'main/build')
-rw-r--r-- | main/build/MacOSX/debugcrash.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/build/MacOSX/debugcrash.c b/main/build/MacOSX/debugcrash.c new file mode 100644 index 0000000000..83f04e23ed --- /dev/null +++ b/main/build/MacOSX/debugcrash.c @@ -0,0 +1,6 @@ +void debug_trigger_sigsegv() +{ + void *p = (void*)0x12345; + *(int *)p = 0; +} + |