binutils-gdb/bfd
Alan Modra 4d5acb1ea5 PR25961, buffer overflow in coff_swap_aux_in
PR 25961
	* coffgen.c (coff_get_normalized_symtab): Check that buffer
	contains required number of auxents before processing any auxent.
	* coffswap.h (coff_swap_aux_in <C_FILE>): Only swap in extended
	file name from auxents for PE.
2020-05-11 18:11:26 +09:30
..
doc
hosts
po Updated Serbian translation for the BFD directory. 2020-04-21 11:48:31 +01:00
.gitignore
COPYING
ChangeLog PR25961, buffer overflow in coff_swap_aux_in 2020-05-11 18:11:26 +09:30
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
MAINTAINERS
Makefile.am
Makefile.in
PORTING
README
TODO
acinclude.m4
aclocal.m4
aix5ppc-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
aix386-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
aout-cris.c [PATCH] bfd: tweak SET_ARCH_MACH of aout-cris.c 2020-05-04 16:07:26 +01:00
aout-ns32k.c
aout-target.h bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
aout-tic30.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
aout32.c
aout64.c
aoutx.h bfd: Fix 64-bit relocation handling for a.out 2020-04-29 14:42:41 +01:00
arc-got.h
arc-plt.def
arc-plt.h
archive.c Overlarge allocation in _bfd_generic_read_ar_hdr_mag 2020-03-24 19:00:35 +10:30
archive64.c Large memory allocation reading fuzzed 64-bit archive 2020-03-05 11:15:55 +10:30
archures.c
bfd-in.h
bfd-in2.h xtensa: fix PR ld/25861 2020-04-22 18:46:45 -07:00
bfd.c coff-go32-exe: support variable-length stubs 2020-04-02 14:31:43 +01:00
bfd.m4
bfdio.c coff-go32-exe: support variable-length stubs 2020-04-02 14:31:43 +01:00
bfdwin.c coff-go32-exe: support variable-length stubs 2020-04-02 14:31:43 +01:00
binary.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
cache.c
cf-i386lynx.c
cisco-core.c Re: bfd_cleanup for object_p 2020-03-03 00:12:44 +10:30
coff-alpha.c alpha-coff: unitialised read 2020-03-31 15:04:21 +10:30
coff-arm.c Indent labels 2020-02-26 10:37:25 +10:30
coff-arm.h
coff-bfd.c
coff-bfd.h
coff-go32.c [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
coff-i386.c x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
coff-ia64.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
coff-mcore.c
coff-mips.c miscellaneous SEC_SMALL_DATA 2020-03-02 11:36:19 +10:30
coff-ppc.c
coff-rs6000.c Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved symbol references. (PR 24613) 2020-04-15 14:25:08 +01:00
coff-sh.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
coff-stgo32.c [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
coff-tic4x.c
coff-tic30.c
coff-tic54x.c
coff-x86_64.c x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
coff-z8k.c
coff-z80.c
coff64-rs6000.c Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved symbol references. (PR 24613) 2020-04-15 14:25:08 +01:00
coffcode.h [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
coffgen.c PR25961, buffer overflow in coff_swap_aux_in 2020-05-11 18:11:26 +09:30
cofflink.c [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
coffswap.h PR25961, buffer overflow in coff_swap_aux_in 2020-05-11 18:11:26 +09:30
compress.c BFD: Exclude sections with no content from compress check. 2020-04-21 15:17:18 +01:00
config.bfd x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
config.in plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
configure x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
configure.ac x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
configure.com
configure.host
corefile.c
cpu-aarch64.c
cpu-aarch64.h
cpu-alpha.c
cpu-arc.c
cpu-arm.c Indent labels 2020-02-26 10:37:25 +10:30
cpu-arm.h
cpu-avr.c
cpu-bfin.c
cpu-bpf.c
cpu-cr16.c
cpu-cris.c
cpu-crx.c
cpu-csky.c
cpu-d10v.c
cpu-d30v.c
cpu-dlx.c
cpu-epiphany.c
cpu-fr30.c
cpu-frv.c
cpu-ft32.c
cpu-h8300.c
cpu-h8300.h
cpu-hppa.c
cpu-i386.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-iamcu.c
cpu-ip2k.c
cpu-iq2000.c
cpu-k1om.c
cpu-l1om.c
cpu-lm32.c
cpu-m9s12x.c
cpu-m9s12xg.c
cpu-m32c.c
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c
cpu-m68k.h
cpu-m10200.c
cpu-m10300.c
cpu-mcore.c
cpu-mep.c
cpu-metag.c
cpu-microblaze.c
cpu-mips.c
cpu-mmix.c
cpu-moxie.c
cpu-msp430.c
cpu-mt.c
cpu-nds32.c
cpu-nfp.c
cpu-nios2.c
cpu-ns32k.c
cpu-or1k.c
cpu-pdp11.c
cpu-pj.c
cpu-powerpc.c
cpu-pru.c
cpu-riscv.c
cpu-rl78.c
cpu-rs6000.c
cpu-rx.c
cpu-s12z.c
cpu-s390.c
cpu-score.c
cpu-sh.c
cpu-sparc.c
cpu-spu.c
cpu-tic4x.c
cpu-tic6x.c
cpu-tic30.c
cpu-tic54x.c
cpu-tilegx.c
cpu-tilepro.c
cpu-v850.c
cpu-v850_rh850.c
cpu-vax.c
cpu-visium.c
cpu-wasm32.c
cpu-xc16x.c
cpu-xgate.c
cpu-xstormy16.c
cpu-xtensa.c
cpu-z8k.c
cpu-z80.c
dep-in.sed
development.sh
dwarf1.c
dwarf2.c PR25827, Null pointer dereferencing in scan_unit_for_symbols 2020-04-16 17:55:04 +09:30
ecoff-bfd.h
ecoff.c ECOFF archive uninitialised read 2020-03-23 23:26:12 +10:30
ecofflink.c
ecoffswap.h
elf-attrs.c
elf-bfd.h arc: Add support for ARC HS extra registers in core files 2020-04-23 11:09:09 +03:00
elf-eh-frame.c
elf-hppa.h
elf-ifunc.c Indent labels 2020-02-26 10:37:25 +10:30
elf-linker-x86.h x86: Check static link of dynamic objects 2020-03-13 07:39:06 -07:00
elf-linux-core.h
elf-m10200.c
elf-m10300.c
elf-nacl.c
elf-nacl.h
elf-properties.c Indent labels 2020-02-26 10:37:25 +10:30
elf-s390-common.c Indent labels 2020-02-26 10:37:25 +10:30
elf-s390.h
elf-strtab.c Indent labels 2020-02-26 10:37:25 +10:30
elf-vxworks.c
elf-vxworks.h
elf.c arc: Add support for ARC HS extra registers in core files 2020-04-23 11:09:09 +03:00
elf32-am33lin.c
elf32-arc.c arc: Use correct string when printing bfd DEBUG data 2020-03-25 15:40:49 +10:30
elf32-arm.c Arm: Fix LSB of GOT for Thumb2 only PLT. 2020-04-01 10:52:33 +01:00
elf32-arm.h
elf32-avr.c
elf32-avr.h
elf32-bfin.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-bfin.h
elf32-cr16.c Indent labels 2020-02-26 10:37:25 +10:30
elf32-cr16.h
elf32-cris.c
elf32-crx.c
elf32-csky.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-csky.h
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-dlx.h
elf32-epiphany.c
elf32-fr30.c
elf32-frv.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-ft32.c
elf32-gen.c
elf32-h8300.c
elf32-hppa.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-hppa.h
elf32-i386.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
elf32-ip2k.c
elf32-iq2000.c
elf32-lm32.c
elf32-m32c.c
elf32-m32r.c Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved symbol references. (PR 24613) 2020-04-15 14:25:08 +01:00
elf32-m68hc1x.c
elf32-m68hc1x.h
elf32-m68hc11.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-m68hc12.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-m68k.c Indent labels 2020-02-26 10:37:25 +10:30
elf32-m68k.h
elf32-mcore.c
elf32-mep.c elf_backend_section_flags and _bfd_elf_init_private_section_data 2020-03-02 11:36:19 +10:30
elf32-metag.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-metag.h
elf32-microblaze.c
elf32-mips.c
elf32-moxie.c
elf32-msp430.c Indent labels 2020-02-26 10:37:25 +10:30
elf32-mt.c
elf32-nds32.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-nds32.h
elf32-nios2.c Non-contiguous memory regions support: Avoid calls to abort 2020-03-18 10:09:43 +00:00
elf32-nios2.h
elf32-or1k.c
elf32-pj.c
elf32-ppc.c ppc32 merging of e_flags from dynamic objects 2020-05-01 15:32:36 +09:30
elf32-ppc.h
elf32-pru.c Indent labels 2020-02-26 10:37:25 +10:30
elf32-rl78.c
elf32-rx.c rx: memory allocation without checking for NULL return 2020-02-26 13:04:54 +10:30
elf32-rx.h
elf32-s12z.c
elf32-s390.c
elf32-score.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-score.h
elf32-score7.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-sh-relocs.h
elf32-sh.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf32-sparc.c ld: Fix several 32-bit SPARC plugin tests 2020-04-07 16:52:03 +02:00
elf32-spu.c Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved symbol references. (PR 24613) 2020-04-15 14:25:08 +01:00
elf32-spu.h
elf32-tic6x.c PR25882, .gnu.attributes are not checked for shared libraries 2020-05-01 15:32:36 +09:30
elf32-tic6x.h
elf32-tilegx.c
elf32-tilegx.h
elf32-tilepro.c
elf32-tilepro.h
elf32-v850.c ELF SEC_SMALL_DATA 2020-03-02 11:36:19 +10:30
elf32-v850.h
elf32-vax.c
elf32-visium.c
elf32-wasm32.c
elf32-xc16x.c
elf32-xgate.c
elf32-xstormy16.c
elf32-xtensa.c xtensa: fix XTENSA_NDIFF handling for PR ld/25861 2020-04-29 18:34:23 -07:00
elf32-z80.c
elf32.c
elf64-alpha.c elf: Strip zero-sized dynamic sections 2020-04-21 05:24:03 -07:00
elf64-bpf.c
elf64-gen.c
elf64-hppa.c Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved symbol references. (PR 24613) 2020-04-15 14:25:08 +01:00
elf64-hppa.h
elf64-ia64-vms.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elf64-mips.c
elf64-mmix.c
elf64-nfp.c
elf64-ppc.c PowerPC64: remove empty .rela.dyn (.rela.branch_lt) 2020-04-20 08:14:42 +09:30
elf64-ppc.h
elf64-s390.c
elf64-sparc.c
elf64-tilegx.c
elf64-tilegx.h
elf64-x86-64.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
elf64.c
elfcode.h tidy elf_backend calls 2020-03-20 11:02:49 +10:30
elfcore.h bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
elflink.c elf: Strip zero-sized dynamic sections 2020-04-21 05:24:03 -07:00
elfn32-mips.c
elfnn-aarch64.c [binutils-gdb][ld][AArch64] Fix group_sections algorithm 2020-05-04 15:51:56 +01:00
elfnn-ia64.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elfnn-riscv.c PR25900, RISC-V: null pointer dereference 2020-05-01 15:32:36 +09:30
elfxx-aarch64.c
elfxx-aarch64.h
elfxx-ia64.c
elfxx-ia64.h
elfxx-mips.c FIXME for merging of e_flags and .gnu.attributes 2020-05-01 15:32:36 +09:30
elfxx-mips.h
elfxx-riscv.c Additional c99 elfxx-riscv.c fix 2020-03-19 07:07:11 +01:00
elfxx-riscv.h
elfxx-sparc.c Indent labels 2020-02-26 10:37:25 +10:30
elfxx-sparc.h
elfxx-target.h elf: Strip zero-sized dynamic sections 2020-04-21 05:24:03 -07:00
elfxx-tilegx.c
elfxx-tilegx.h
elfxx-x86.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
elfxx-x86.h x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
format.c Call cleanup on bfd_check_format_matches error exit 2020-03-04 11:40:01 +10:30
gen-aout.c
genlink.h
go32stub.h
hash.c
host-aout.c
hppabsd-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
hpux-core.c Re: bfd_cleanup for object_p 2020-03-03 00:12:44 +10:30
i386aout.c
i386bsd.c
i386lynx.c Indent labels 2020-02-26 10:37:25 +10:30
i386msdos.c Re: i386msdos uninitialised read 2020-03-26 20:02:42 +10:30
ihex.c PR25648, objcopy SIGSEGV in ihex_write_record 2020-03-10 11:05:07 +10:30
init.c
irix-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
libaout.h Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
libbfd-in.h Revert earlier delta adding bfd_coff_get_internal_extra_pe_aouthdr() function. 2020-03-26 10:46:25 +00:00
libbfd.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
libbfd.h xtensa: fix PR ld/25861 2020-04-22 18:46:45 -07:00
libcoff-in.h [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
libcoff.h [PATCH v2 2/2] coff-go32: support extended relocations 2020-04-14 17:30:01 +01:00
libecoff.h
libhppa.h
libpei.h
libxcoff.h
linker.c
lynx-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
mach-o-aarch64.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
mach-o-arm.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
mach-o-i386.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
mach-o-target.c
mach-o-x86-64.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
mach-o.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
mach-o.h bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
makefile.vms
mep-relocs.pl
merge.c Fix several mix up between octets and bytes in ELF program headers 2020-03-13 15:48:01 +10:30
mmo.c mmo.c: Fix ld testsuite regression "objcopy executable (pr25662)". 2020-04-01 04:03:46 +02:00
netbsd-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
netbsd.h
ns32k.h
ns32knetbsd.c
opncls.c
osf-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
pc532-mach.c
pdp11.c When bfd/pdp11.c was copied from bfd/aoutx.h, the #defines for external symbol types N_TEXT etc. were #undef'd and then #define'd with new values. But N_STAB was not changed even though the new value for N_EXT overlapped with it. This caused aout_link_write_symbols() to treat global symbols referenced in the source but defined in a linker script as undefined. 2020-04-20 12:49:50 +01:00
pe-arm-wince.c
pe-arm.c
pe-i386.c x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
pe-mcore.c
pe-ppc.c
pe-sh.c
pe-x86_64.c x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
peXXigen.c PR25823, Use after free in bfd_hash_lookup 2020-04-15 19:02:26 +09:30
pef-traceback.h
pef.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
pef.h
pei-arm-wince.c
pei-arm.c
pei-i386.c
pei-ia64.c
pei-mcore.c
pei-ppc.c
pei-sh.c
pei-x86_64.c
peicode.h bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
plugin.c plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
plugin.h plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
ppcboot.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
ptrace-core.c Re: bfd_cleanup for object_p 2020-03-02 23:49:03 +10:30
reloc.c xtensa: fix PR ld/25861 2020-04-22 18:46:45 -07:00
reloc16.c
rs6000-core.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
sco5-core.c Re: bfd_cleanup for object_p 2020-03-03 00:12:44 +10:30
section.c bfd_is_const_section thinko 2020-04-18 10:24:17 +09:30
simple.c
som.c asan: som: unknown read 2020-03-11 23:02:51 +10:30
som.h
srec.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
stab-syms.c
stabs.c
stamp-h.in
syms.c bfd: Add a bfd_boolean argument to bfd_get_symbol_version_string 2020-03-24 15:37:26 -07:00
sysdep.h
targets.c x86: Add i386 PE big-object support 2020-04-27 17:41:39 +01:00
targmatch.sed
tekhex.c tekhex: Uninitialised read 2020-03-31 15:04:21 +10:30
trad-core.c trad_unix_core_file_p: Return bfd_cleanup 2020-03-02 04:35:23 -08:00
vax1knetbsd.c
vaxnetbsd.c
verilog.c
version.h Automatic date update in version.in 2020-05-11 00:00:07 +00:00
version.m4
vms-alpha.c alpha-vms: divide by zero 2020-04-28 08:35:34 +09:30
vms-lib.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
vms-misc.c
vms.h
warning.m4
wasm-module.c asan: wasm: Out-of-memory 2020-03-09 10:10:36 +10:30
wasm-module.h
xcofflink.c
xcofflink.h
xsym.c bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
xsym.h bfd_cleanup for object_p 2020-03-02 19:30:48 +10:30
xtensa-isa.c
xtensa-modules.c

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.

Copyright (C) 2012-2020 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.