[PATCH 0/4] Fix BZ 25631 - core file memory access problem

Kevin Buettner kevinb@redhat.com
Thu Mar 5 00:43:00 GMT 2020


This series fixes a bug with accessing memory from (described by) core
files.

The bug can be viewed here...

    https://sourceware.org/bugzilla/show_bug.cgi?id=25631

...though I also provide similar details in part 3 of this series.

Kevin Buettner (4):
  Remove hack for GDB which sets the section size to 0
  Add function for partitioning/splitting a section table
  Provide access to non SEC_HAS_CONTENTS core file sections
  Test ability to access unwritten-to mmap data in core file

 bfd/elf.c                           |  8 ---
 gdb/corelow.c                       | 80 ++++++++++++++++++++++++++---
 gdb/exec.c                          | 55 ++++++++++++++++++++
 gdb/exec.h                          | 13 +++++
 gdb/testsuite/gdb.base/corefile.exp |  6 +++
 gdb/testsuite/gdb.base/coremaker.c  | 10 ++++
 6 files changed, 157 insertions(+), 15 deletions(-)

-- 
2.24.1



More information about the Gdb-patches mailing list