[PATCH for 5.0 v2 00/10] A selection of sanitiser fixes

Alex Bennée posted 10 patches 4 years ago
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200401094759.5835-1-alex.bennee@linaro.org
include/hw/elf_ops.h           |   7 +-
include/qemu/selfmap.h         |  44 ++++++
fpu/softfloat.c                |   3 +
gdbstub.c                      |   4 +-
linux-user/elfload.c           | 273 +++++++++++++++------------------
linux-user/syscall.c           |  80 +++++-----
target/xtensa/translate.c      |   5 +
util/selfmap.c                 |  74 +++++++++
tests/tcg/x86_64/system/boot.S |   5 +-
util/Makefile.objs             |   1 +
10 files changed, 303 insertions(+), 193 deletions(-)
create mode 100644 include/qemu/selfmap.h
create mode 100644 util/selfmap.c
[PATCH for 5.0 v2 00/10] A selection of sanitiser fixes
Posted by Alex Bennée 4 years ago
Hi,

Here is version 2 of my random fixes series. I've swapped out my fix
to softfloat for Richard's better targeted fix. I also did a re-factor
to init_guest_space so we can use the sanitizer builds on more of the
guests. Initial testing is showing up a few more issues but I didn't
want to hold up review of the changes to date so I can put them in a
PR this week.

The following need review:

 - linux-user: completely re-write init_guest_space
 - linux-user: clean-up padding on /proc/self/maps
 - linux-user: factor out reading of /proc/self/maps
 - target/xtensa: add FIXME for translation memory leak

Alex Bennée (8):
  elf-ops: bail out if we have no function symbols
  linux-user: protect fcntl64 with an #ifdef
  tests/tcg: remove extraneous pasting macros
  linux-user: more debug for init_guest_space
  target/xtensa: add FIXME for translation memory leak
  linux-user: factor out reading of /proc/self/maps
  linux-user: clean-up padding on /proc/self/maps
  linux-user: completely re-write init_guest_space

Denis Plotnikov (1):
  gdbstub: fix compiler complaining

Richard Henderson (1):
  softfloat: Fix BAD_SHIFT from normalizeFloatx80Subnormal

 include/hw/elf_ops.h           |   7 +-
 include/qemu/selfmap.h         |  44 ++++++
 fpu/softfloat.c                |   3 +
 gdbstub.c                      |   4 +-
 linux-user/elfload.c           | 273 +++++++++++++++------------------
 linux-user/syscall.c           |  80 +++++-----
 target/xtensa/translate.c      |   5 +
 util/selfmap.c                 |  74 +++++++++
 tests/tcg/x86_64/system/boot.S |   5 +-
 util/Makefile.objs             |   1 +
 10 files changed, 303 insertions(+), 193 deletions(-)
 create mode 100644 include/qemu/selfmap.h
 create mode 100644 util/selfmap.c

-- 
2.20.1