Go to file
Indu Bhagat cd9aea32cf libsframe: adjust an incorrect check in flip_sframe
When sframe_encoder_write needs to flip the buffer containing the SFrame
section before writing, it is not necessary that the SFrame FDES are in
the order of their sfde_func_start_fre_off.  On the contrary, SFrame
FDEs will be sorted in the order of their start address.  So, remove
this incorrect assumption which is basically assuming that the last
sfde_func_start_fre_off seen will help determine the end of the flipped
buffer.

The function now keeps track of the bytes_flipped and then compares it with
the expected value.  Also, added two more checks at appropriate places:
 - check that the SFrame FDE read is within bounds
 - check that the SFrame FRE read is within bounds

libsframe/

	* sframe.c (flip_sframe): Adjust an incorrect check.
	Add other checks to ensure reads are within the buffer size.
2023-01-06 09:29:48 -08:00
bfd Updated Bulgarian and Russian translations for LD and BFD respectively 2023-01-06 11:00:47 +00:00
binutils Make coff backend data read-only 2023-01-06 21:06:15 +10:30
config Merge config/picflag.m4 from gcc 2023-01-04 13:23:54 +10:30
contrib
cpu Add markers for 2.40 branch 2022-12-31 12:05:28 +00:00
elfcpp Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
etc Update year range in gprofng copyright notices 2023-01-01 23:26:30 +10:30
gas Fix a translation problem in the x86 assembler. 2023-01-03 12:03:02 +00:00
gdb gdb/c++: Detect ambiguous variables in imported namespaces 2023-01-06 10:52:55 +01:00
gdbserver gdbsupport: move libxxhash configure check to gdbsupport 2023-01-05 14:38:51 -05:00
gdbsupport gdbsupport: fix scoped_debug_start_end's move constructor 2023-01-05 15:18:11 -05:00
gnulib Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
gold Updated translations for various languages and sub-directories 2023-01-03 11:32:42 +00:00
gprof Updated Bulgarian and Russian translations for the gprof subdirectory 2023-01-05 08:27:35 +00:00
gprofng Update year range in gprofng copyright notices 2023-01-01 23:26:30 +10:30
include Add new NT_ARM_ZA and NT_ARM_SSVE register set constants. 2023-01-03 11:15:26 +00:00
intl
ld ld: yet another PDB build fix (or workaround) 2023-01-06 13:36:39 +01:00
libbacktrace testsuite: support mold linker 2022-12-05 15:52:51 +01:00
libctf Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
libdecnumber
libiberty Merge config/picflag.m4 from gcc 2023-01-04 13:23:54 +10:30
libsframe libsframe: adjust an incorrect check in flip_sframe 2023-01-06 09:29:48 -08:00
opcodes opcodes: xtensa: fix jump visualization for FLIX 2023-01-03 13:30:57 -08:00
readline
sim sim: mips: add multi source to built sources 2023-01-04 22:51:07 -05:00
texinfo
zlib
.cvsignore
.editorconfig
.gitattributes
.gitignore
ar-lib
ChangeLog Add markers for 2.40 branch 2022-12-31 12:05:28 +00:00
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure: remove dependencies on gmp and mpfr when gdb is disabled 2023-01-06 09:32:07 +01:00
configure.ac configure: remove dependencies on gmp and mpfr when gdb is disabled 2023-01-06 09:32:07 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def Use toplevel configure for GMP and MPFR for gdb 2022-12-21 16:49:23 +00:00
Makefile.in Use toplevel configure for GMP and MPFR for gdb 2022-12-21 16:49:23 +00:00
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
README-maintainer-mode
setup.com
src-release.sh src-release.sh: Fix gdb source tarball build failure due to libsframe 2022-11-30 07:32:58 +04:00
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.