gcc/libbacktrace
Ian Lance Taylor 8f461a883b libbacktrace: correct buffer overflow tests
* dwarf.c (resolve_string): Use > rather than >= to check whether
	string index extends past buffer.
	(resolve_addr_index): Similarly for address index.
2020-12-02 11:07:59 -08:00
..
aclocal.m4
alloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
allocfail.c Update copyright years. 2020-01-01 12:51:42 +01:00
allocfail.sh Update copyright years. 2020-01-01 12:51:42 +01:00
atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace-supported.h.in Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace.c Update copyright years. 2020-01-01 12:51:42 +01:00
backtrace.h Update copyright years. 2020-01-01 12:51:42 +01:00
btest.c Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog Daily bump. 2020-11-30 00:16:27 +00:00
ChangeLog.jit
config.h.in libbacktrace: support MiniDebugInfo 2020-09-14 14:11:17 -07:00
configure Fix hppa64-hpux11 build to remove source paths from embedded path. 2020-11-29 20:11:38 +00:00
configure.ac libbacktrace: only run dsymutil with Mach-O 2020-09-28 13:49:39 -07:00
dwarf.c libbacktrace: correct buffer overflow tests 2020-12-02 11:07:59 -08:00
edtest2.c Update copyright years. 2020-01-01 12:51:42 +01:00
edtest.c Update copyright years. 2020-01-01 12:51:42 +01:00
elf.c libbacktrace: use __attribute__((__fallthrough__)) 2020-10-20 11:49:58 -07:00
fileline.c libbacktrace: use ELF symbol table if no debug info available 2020-09-16 17:04:43 -07:00
filetype.awk libbacktrace: only match magic number at start of line 2020-09-08 12:52:29 -07:00
install-debuginfo-for-buildid.sh.in Update copyright years. 2020-01-01 12:51:42 +01:00
instrumented_alloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
internal.h libbacktrace: use __attribute__((__fallthrough__)) 2020-10-20 11:49:58 -07:00
macho.c libbacktrace, Mach-O : Support PowerPC archs. 2020-09-16 19:37:28 +01:00
Makefile.am libbacktrace: build mtest.dSYM if using dsymutil 2020-09-28 13:54:57 -07:00
Makefile.in libbacktrace: build mtest.dSYM if using dsymutil 2020-09-28 13:54:57 -07:00
mmap.c libbacktrace: declare getpagesize if necessary 2020-05-11 10:51:59 -07:00
mmapio.c libbacktrace: declare getpagesize if necessary 2020-05-11 10:51:59 -07:00
mtest.c libbacktrace: use ELF symbol table if no debug info available 2020-09-16 17:04:43 -07:00
nounwind.c Update copyright years. 2020-01-01 12:51:42 +01:00
pecoff.c libbacktrace: don't strip leading underscore on 64-bit PE 2020-09-08 19:21:54 -07:00
posix.c libbacktrace: treat EACCESS like ENOENT 2020-05-13 10:19:58 -07:00
print.c Update copyright years. 2020-01-01 12:51:42 +01:00
read.c libbacktrace: support short read 2020-05-09 16:02:05 -07:00
README
simple.c libbacktrace: fix tipo in comment 2020-09-08 15:07:24 -07:00
sort.c Update copyright years. 2020-01-01 12:51:42 +01:00
state.c Update copyright years. 2020-01-01 12:51:42 +01:00
stest.c Update copyright years. 2020-01-01 12:51:42 +01:00
test_format.c Update copyright years. 2020-01-01 12:51:42 +01:00
testlib.c Update copyright years. 2020-01-01 12:51:42 +01:00
testlib.h Update copyright years. 2020-01-01 12:51:42 +01:00
ttest.c Update copyright years. 2020-01-01 12:51:42 +01:00
unittest.c Update copyright years. 2020-01-01 12:51:42 +01:00
unknown.c Update copyright years. 2020-01-01 12:51:42 +01:00
xcoff.c Update copyright years. 2020-01-01 12:51:42 +01:00
xztest.c libbacktrace: support MiniDebugInfo 2020-09-14 14:11:17 -07:00
ztest.c libbacktrace: mark test_large parameter unused in ztest.c 2020-05-13 11:09:53 -07:00

The libbacktrace library
Initially written by Ian Lance Taylor <iant@google.com>

The libbacktrace library may be linked into a program or library and
used to produce symbolic backtraces.  Sample uses would be to print a
detailed backtrace when an error occurs or to gather detailed
profiling information.

The libbacktrace library is provided under a BSD license.  See the
source files for the exact license text.

The public functions are declared and documented in the header file
backtrace.h, which should be #include'd by a user of the library.

Building libbacktrace will generate a file backtrace-supported.h,
which a user of the library may use to determine whether backtraces
will work.  See the source file backtrace-supported.h.in for the
macros that it defines.

As of September 2012, libbacktrace only supports ELF executables with
DWARF debugging information.  The library is written to make it
straightforward to add support for other object file and debugging
formats.