強制的にコアダンプ

libarchiveにあった関数。強制的にコアダンプを起こしたいらしい…

static void
diediedie(void)
{
	*(char *)0 = 1;	/* Deliberately segfault and force a coredump. */
	_exit(1);	/* If that didn't work, just exit with an error. */
}