1 /* 2 * This file and its contents are supplied under the terms of the 3 * Common Development and Distribution License ("CDDL"), version 1.0. 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 6 * 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 9 * http://www.illumos.org/license/CDDL. 10 */ 11 12 /* 13 * Copyright 2021 Oxide Computer Company 14 */ 15 16 /* 17 * This is a dummy library that basically ensures we have yet another thing with 18 * CTF and DWARF data when we're testing core dumps. 19 */ 20 21 #include <err.h> 22 #include <inttypes.h> 23 #include <stdlib.h> 24 25 const char *message_in_a_bottle = "Here's something that hopefully is rodata"; 26 27 int 28 which_ff(uint32_t a, uint32_t b) 29 { 30 if (a == 6 && b == 7) { 31 warnx("some debates are best left to forums"); 32 abort(); 33 } 34 35 return (0); 36 } 37