binutils-gdb/libctf/testsuite/libctf-regression
Nick Alcock b84ffc176d
libctf: fix testsuite bugs revealed by -Wall
Most of these are harmless, but some of the type confusions and especially
a missing ctf_strerror() on an error path were actual bugs that could
have resulted in test failures crashing rather than printing an error
message.

libctf/
	* testsuite/libctf-lookup/enumerator-iteration.c: Fix type
        confusion, signedness confusion and a missing ctf_errmsg().
	* testsuite/libctf-regression/libctf-repeat-cu-main.c: Return 0 from
        the test function.
	* testsuite/libctf-regression/open-error-free.c: Fix signedness
        confusion.
	* testsuite/libctf-regression/zrewrite.c: Remove unused label.
2024-06-19 15:51:24 +01:00
..
gzrewrite-ctf.c libctf: add rewriting tests 2024-04-19 16:14:47 +01:00
gzrewrite.c buffer overflow in libctf tests 2024-04-24 09:33:03 +09:30
gzrewrite.lk libctf: add rewriting tests 2024-04-19 16:14:47 +01:00
libctf-repeat-cu-lib.c libctf: fix linking together multiple objects derived from the same source 2022-06-21 19:27:15 +01:00
libctf-repeat-cu-main.c libctf: fix testsuite bugs revealed by -Wall 2024-06-19 15:51:24 +01:00
libctf-repeat-cu.d libctf: fix linking together multiple objects derived from the same source 2022-06-21 19:27:15 +01:00
libctf-repeat-cu.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
nonstatic-var-section-ld-executable.lk libctf, ld: fix symtypetab and var section population under ld -r 2021-02-04 16:01:53 +00:00
nonstatic-var-section-ld-r-ctf.c libctf, ld: fix symtypetab and var section population under ld -r 2021-02-04 16:01:53 +00:00
nonstatic-var-section-ld-r.c libctf, testsuite: fix various warnings in tests 2021-09-27 20:31:26 +01:00
nonstatic-var-section-ld-r.lk libctf, ld: fix test results for upstream GCC 2021-05-06 09:31:31 +01:00
nonstatic-var-section-ld.c libctf, testsuite: fix various warnings in tests 2021-09-27 20:31:26 +01:00
nonstatic-var-section-ld.lk libctf, testsuite: fix various warnings in tests 2021-09-27 20:31:26 +01:00
open-error-free.c libctf: fix testsuite bugs revealed by -Wall 2024-06-19 15:51:24 +01:00
open-error-free.lk libctf: fix leak of entire dict when dict opening fails 2024-05-17 12:58:18 +01:00
pptrtab-a.c libctf: lookup_by_name: do not return success for nonexistent pointer types 2021-01-19 12:45:19 +00:00
pptrtab-b.c libctf: lookup_by_name: do not return success for nonexistent pointer types 2021-01-19 12:45:19 +00:00
pptrtab.c libctf, testsuite: fix various warnings in tests 2021-09-27 20:31:26 +01:00
pptrtab.lk
regression.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
type-add-unnamed-struct-ctf.c libctf: eliminate dtd_u, part 5: structs / unions 2021-03-18 12:40:40 +00:00
type-add-unnamed-struct.c libctf, testsuite: fix various warnings in tests 2021-09-27 20:31:26 +01:00
type-add-unnamed-struct.lk libctf: eliminate dtd_u, part 5: structs / unions 2021-03-18 12:40:40 +00:00
zrewrite.c libctf: fix testsuite bugs revealed by -Wall 2024-06-19 15:51:24 +01:00
zrewrite.lk libctf: add rewriting tests 2024-04-19 16:14:47 +01:00