about summary refs log tree commit diff
path: root/debug
Commit message (Collapse)AuthorAgeFilesLines
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-1030-47/+47
|
* tst-backtrace4: expand output even on failuresMike Frysinger2014-02-081-7/+8
| | | | | | | | When debugging failures in this test, it's helpful to see as much output as possible. So rather than returning immediately, let the code run as far as it can. We still mark failures as soon as they happen. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tst-longjmp_chk3: new test for checking sigaltstack edge casesMike Frysinger2014-02-082-0/+87
| | | | | | | Make sure the longjmp checking logic catches stacks that are slightly outside of a valid alternative signal stack. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: unify fortification handler logicMike Frysinger2014-02-083-59/+15
| | | | | | | We have multiple tests that copy & paste the same logic for disabling the fortification output. Let's unify this in the test-skeleton instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tst-longjmp_chk: add comments and convert to test-skeletonMike Frysinger2014-02-081-2/+7
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Update remaining copyright datesAllan McRae2014-01-013-3/+3
| | | | Update copyright years that are not handled by scripts/update-copyright.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-01101-101/+101
|
* Remove unused variables in __stpncpy_chkSiddhesh Poyarekar2013-12-051-3/+0
|
* Refactor several debug routines.Ondřej Bílka2013-12-046-288/+6
| | | | | To simplify additions of debug routines we replace a custom function implementation by a simple call.
* Fix typos.Ondřej Bílka2013-08-291-1/+1
|
* PowerPC: fix backtrace to handle signal trampolinesAdhemerval Zanella2013-08-203-4/+32
| | | | | | This patch fixes backtrace for PPC32 and PPC64 to correctly handle signal trampolines. The 'debug/tst-backtrace6.c' also check for SA_SIGINFO handling, where is triggers another vDSO symbols for PPC32.
* Port remaining string benchmarksSiddhesh Poyarekar2013-06-111-24/+0
| | | | | There were a few more string benchmarks (strcpy_chk and stpcpy_check) in the debug directory that needed to be ported over.
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-072-4/+4
|
* Fix leading whitespaces.Ondrej Bilka2013-06-061-1/+1
|
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-10/+0
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-162-0/+2
|
* Move getlogin_r_chk to login/ subdir.Roland McGrath2013-05-063-33/+5
|
* Move ptsname_r_chk to login/ subdir.Roland McGrath2013-05-063-30/+5
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-131-2/+2
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-081-2/+0
|
* Remove BOUNDED_N and BOUNDED_1.Joseph Myers2013-02-011-3/+2
|
* Avoid backtrace tests matching filenames when searching for function names.Joseph Myers2013-01-245-65/+65
|
* Add tests that backtrace and backtrace_symbols produce correct results.Joseph Myers2013-01-185-1/+501
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0296-111/+96
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-011-2/+1
|
* Update copyright years.David S. Miller2013-01-013-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise.
* Mention that __chk_fail is a public ABI in test-strcpy_chk.cFlorian Weimer2012-11-291-0/+3
| | | | * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
* Update --version copyright dates for memusagestat and pcprofiledump.Joseph Myers2012-11-151-1/+1
|
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-094-13/+21
|
* Add debug IFUNC testsH.J. Lu2012-10-195-2/+47
|
* Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++H.J. Lu2012-09-071-6/+6
|
* Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath2012-08-171-27/+27
|
* Suppress sign-conversion warning from FD_SET.Paul Pluzhnikov2012-06-131-4/+4
| | | | | | | [BZ #14210] See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>. * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int, not unsigned long int. * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
* tests: move -D_FORTIFY_SOURCE to CPPFLAGSMike Frysinger2012-05-311-4/+8
| | | | | | | | | The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS values when they should be the test-specific CPPFLAGS values. Otherwise the values don't override the user-specified CPPFLAGS and might end up breaking the tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove use of INTDEF/INTUSE in libioAndreas Schwab2012-05-2410-41/+30
|
* Fix attributes for fortify functions.Marek Polacek2012-04-291-1/+1
|
* Remove all traces of reg_char.David S. Miller2012-04-184-4/+4
| | | | | | | | | | | | | | | | | | | * sysdeps/generic/memcopy.h (reg_char): Delete. * debug/strcat_chk.c: Use char, not reg_char. * debug/strcpy_chk.c: Likewise. * debug/strncat_chk.c: Likewise. * debug/strncpy_chk.c: Likewise. * string/memchr.c: Likewise. * string/memrchr.c: Likewise. * string/rawmemchr.c: Likewise. * string/strcat.c: Likewise. * string/strchr.c: Likewise. * string/strchrnul.c: Likewise. * string/strcmp.c: Likewise. * string/strcpy.c: Likewise. * string/strncat.c: Likewise. * string/strncmp.c: Likewise. * string/strncpy.c: Likewise.
* Merge branch 'elf-move'Andreas Jaeger2012-03-272-20/+147
|\ | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| * Remove old debug/backtracesyms files, replace with elf versions.Andreas Jaeger2012-03-202-20/+147
| |
* | Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-202-2/+2
|/
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-2/+0
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0995-285/+190
|
* Fix gets problemsUlrich Drepper2012-01-241-5/+0
|
* Add checking versions of poll and ppollUlrich Drepper2012-01-085-2/+81
|
* Remove pre-ISO C supportUlrich Drepper2012-01-076-13/+13
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-071-3/+1
|
* More fallout from gets removalUlrich Drepper2012-01-011-0/+6
|
* Update copyright yearUlrich Drepper2012-01-012-4/+4
|
* Add range checking for FD_SET, FD_CLR, and FD_ISSETUlrich Drepper2011-09-084-6/+62
|
* Fix quoting in some installed shell scriptsUlrich Drepper2011-06-281-1/+1
|