binutils-gdb/libctf
Alan Modra 626360da44 ctf-archive sanity checks
Existing code checks that the first uint64_t ctfa_magic field is
available before reading but neglects to check that the last uint64_t
ctfa_ctfs is available before reading it in ctf_arc_bufpreamble.
ctf_arc_bufopen sets up a pointer to the struct ctf_archive in
ctf_new_archive_internal.  Extend the check to cover the entire struct.

	PR 33548
	PR 33549
	* ctf-archive.c (ctf_arc_bufpreamble, ctf_arc_bufopen): Check
	that buffer contains at least an entire struct ctf_archive
	when accessing such a struct.
2025-11-03 13:01:42 +10:30
..
doc libctf: doc: add __float128 and SIMD vector classification to spec. 2025-07-01 15:54:27 +01:00
testsuite libctf: tests: fix clang 21 uninitialized variable warning 2025-10-20 11:23:18 +01:00
.gitignore libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
aclocal.m4 Binutils: Add clang LTO support to AR and RANLIB 2025-09-25 12:30:13 +08:00
ChangeLog Add markers for 2.45 branch 2025-07-13 08:35:45 +01:00
ChangeLog-2020 libctf: fix old ChangeLog typo 2021-01-05 14:53:40 +00:00
config.h.in libctf: suppress spurious failure of malloc-counting tests under valgrind 2024-06-18 13:20:32 +01:00
configure tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
configure.ac Update obsolete autoconf macros 2025-08-07 22:14:49 +09:30
ctf-archive.c ctf-archive sanity checks 2025-11-03 13:01:42 +10:30
ctf-create.c libctf: create: check the right root-visible flag when adding enumerands 2025-07-01 15:54:27 +01:00
ctf-decl.c libctf: dump CTF array dimensions in the right order 2025-09-25 05:42:35 +01:00
ctf-decls.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-dedup.c libctf, dedup: reclaim space wasted by duplicate hidden types 2025-06-04 12:51:28 +01:00
ctf-dump.c libctf: dump CTF array dimensions in the right order 2025-09-25 05:42:35 +01:00
ctf-endian.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-error.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-hash.c libctf: dedup: preserve non-root flag across normal links 2025-06-04 12:51:25 +01:00
ctf-impl.h libctf: use __attribute__((__gnu_printf__)) where appropriate 2025-06-04 12:51:29 +01:00
ctf-inlines.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-intl.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-labels.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-link.c libctf: link: rejig lazy opening to not need weak symbols 2025-07-28 13:30:47 +01:00
ctf-lookup.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-open-bfd.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-open.c libctf: archive, open: when opening, always set errp to something 2025-05-23 12:34:35 +01:00
ctf-qsort_r.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-serialize.c libctf: exclude always-emitted Solaris symbols from the symtypetab 2025-07-23 13:06:14 +01:00
ctf-sha1.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-sha1.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-string.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-subr.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ctf-types.c libctf: fix querying of large structures 2025-09-25 05:42:27 +01:00
ctf-util.c Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
elf.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
libctf.ver Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
Makefile.am Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
Makefile.in Binutils: Add clang LTO support to AR and RANLIB 2025-09-25 12:30:13 +08:00
NEWS include, libctf, ld: extend variable section to contain functions too 2022-03-23 13:48:32 +00:00
swap.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30