diff options
author | Mark Wielaard <mark@klomp.org> | 2018-12-03 00:03:39 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-12-03 00:03:39 +0100 |
commit | e8b9832af19e5975fb2a9dbe729eaba0373c781f (patch) | |
tree | 67a96c3bc47bffcc21e72bd6ea798e00d00ac1db /tests/testfile_gnu_props.64le.o.bz2 | |
parent | 63160fceaaac2f9bd13da7abf929907a5f723aab (diff) | |
download | elfutils-e8b9832af19e5975fb2a9dbe729eaba0373c781f.tar.gz |
libebl: Fix reading GNU_PROPERTY_STACK_SIZE reading from 32bit notes.
When reading a GNU_PROPERTY_STACK_SIZE we need to use the proper data
type. GElf_Addr is 64bit always and when reading a 32bit size part of
it would not be initialized. Use either Elf32_Addr or Elf64_Addr to
read and print the data.
Add 32bit and 64bit, little and big endian testcases.
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/testfile_gnu_props.64le.o.bz2')
-rw-r--r-- | tests/testfile_gnu_props.64le.o.bz2 | bin | 0 -> 233 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/testfile_gnu_props.64le.o.bz2 b/tests/testfile_gnu_props.64le.o.bz2 Binary files differnew file mode 100644 index 00000000..09df3d1e --- /dev/null +++ b/tests/testfile_gnu_props.64le.o.bz2 |