/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Tests backtrace module. * * @author Martine Lenders * * @} */ #include #include "backtrace.h" int main(void) { printf("BACKTRACE_SIZE: %d\n", backtrace_len()); printf("\n## backtrace_print: print addresses\n"); backtrace_print(); printf("\n## backtrace_print_symbols: print symbol information\n"); backtrace_print_symbols(); return 0; }