| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 21-Aug-2025 | - | ||||
| include/backtrace/ | 21-Aug-2025 | - | ||||
| LICENSE | A D | 21-Aug-2025 | 1.5 KiB | 30 | 24 | |
| Makefile.am | A D | 21-Aug-2025 | 4 KiB | 131 | 67 | |
| Makefile.in | A D | 21-Aug-2025 | 27.1 KiB | 838 | 698 | |
| README.md | A D | 21-Aug-2025 | 1.2 KiB | 31 | 23 | |
| acinclude.m4 | A D | 21-Aug-2025 | 2.4 KiB | 72 | 68 | |
| alloc.c | A D | 21-Aug-2025 | 4.3 KiB | 157 | 90 | |
| atomic.c | A D | 21-Aug-2025 | 3 KiB | 114 | 53 | |
| backtrace-supported.h.in | A D | 21-Aug-2025 | 3.1 KiB | 67 | 51 | |
| backtrace.c | A D | 21-Aug-2025 | 3.8 KiB | 130 | 66 | |
| btest.c | A D | 21-Aug-2025 | 16.3 KiB | 726 | 540 | |
| config.h | A D | 21-Aug-2025 | 3.3 KiB | 123 | 46 | |
| config.h.in | A D | 21-Aug-2025 | 3.1 KiB | 120 | 86 | |
| configure.ac | A D | 21-Aug-2025 | 12.9 KiB | 409 | 364 | |
| dwarf.c | A D | 21-Aug-2025 | 82.2 KiB | 3,126 | 2,330 | |
| elf.c | A D | 21-Aug-2025 | 29.6 KiB | 1,078 | 784 | |
| fileline.c | A D | 21-Aug-2025 | 5.7 KiB | 204 | 128 | |
| filetype.awk | A D | 21-Aug-2025 | 276 | 6 | 4 | |
| install-sh | A D | 21-Aug-2025 | 14.2 KiB | 528 | 351 | |
| internal.h | A D | 21-Aug-2025 | 11.5 KiB | 317 | 145 | |
| mmap.c | A D | 21-Aug-2025 | 8 KiB | 304 | 192 | |
| mmapio.c | A D | 21-Aug-2025 | 3 KiB | 101 | 50 | |
| nounwind.c | A D | 21-Aug-2025 | 2.3 KiB | 67 | 26 | |
| pecoff.c | A D | 21-Aug-2025 | 24.2 KiB | 938 | 679 | |
| posix.c | A D | 21-Aug-2025 | 2.9 KiB | 101 | 49 | |
| print.c | A D | 21-Aug-2025 | 2.8 KiB | 93 | 43 | |
| read.c | A D | 21-Aug-2025 | 2.9 KiB | 97 | 49 | |
| rules.mk | A D | 21-Aug-2025 | 714 | 31 | 19 | |
| simple.c | A D | 21-Aug-2025 | 3.2 KiB | 109 | 50 | |
| sort.c | A D | 21-Aug-2025 | 3.2 KiB | 109 | 55 | |
| state.c | A D | 21-Aug-2025 | 3.4 KiB | 108 | 55 | |
| stest.c | A D | 21-Aug-2025 | 3.5 KiB | 138 | 92 | |
| unknown.c | A D | 21-Aug-2025 | 2.4 KiB | 65 | 22 |
README.md
1# libbacktrace 2A C library that may be linked into a C/C++ program to produce symbolic backtraces 3 4Initially written by Ian Lance Taylor <iant@golang.org> 5 6The libbacktrace library may be linked into a program or library and 7used to produce symbolic backtraces. 8Sample uses would be to print a detailed backtrace when an error 9occurs or to gather detailed profiling information. 10 11The libbacktrace library is provided under a BSD license. 12See the source files for the exact license text. 13 14The public functions are declared and documented in the header file 15backtrace.h, which should be #include'd by a user of the library. 16 17Building libbacktrace will generate a file backtrace-supported.h, 18which a user of the library may use to determine whether backtraces 19will work. 20See the source file backtrace-supported.h.in for the macros that it 21defines. 22 23As of September 2016, libbacktrace only supports ELF and PE/COFF 24executables with DWARF debugging information. 25The library is written to make it straightforward to add support for 26other object file and debugging formats. 27 28The library relies on the C++ unwind API defined at 29http://mentorembedded.github.io/cxx-abi/abi-eh.html. 30This API is provided by GCC. 31