mbox series

[v2,0/5] elf2dmp: improve Win2022, Win11 and large dumps

Message ID 20230915170153.10959-1-viktor@daynix.com (mailing list archive)
Headers show
Series elf2dmp: improve Win2022, Win11 and large dumps | expand

Message

Viktor Prutyanov Sept. 15, 2023, 5:01 p.m. UTC
Windows Server 2022 and Windows 11 require more careful kernel PE image
search and handling of PDB than previous Windows versions.
Also, improve support of large ELF dump files, dumps with unaligned
memory ranges and with big number of ranges.

Viktor Prutyanov (5):
  elf2dmp: replace PE export name check with PDB name check
  elf2dmp: introduce physical block alignment
  elf2dmp: introduce merging of physical memory runs
  elf2dmp: use Linux mmap with MAP_NORESERVE when possible
  elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining

 contrib/elf2dmp/addrspace.c |  31 +++++++-
 contrib/elf2dmp/addrspace.h |   1 +
 contrib/elf2dmp/main.c      | 154 ++++++++++++++++++++----------------
 contrib/elf2dmp/pdb.c       |  15 +---
 contrib/elf2dmp/pdb.h       |   2 +-
 contrib/elf2dmp/qemu_elf.c  |  68 +++++++++++++---
 contrib/elf2dmp/qemu_elf.h  |   2 +
 7 files changed, 177 insertions(+), 96 deletions(-)

Comments

Akihiko Odaki Sept. 15, 2023, 5:13 p.m. UTC | #1
On 2023/09/16 2:01, Viktor Prutyanov wrote:
> Windows Server 2022 and Windows 11 require more careful kernel PE image
> search and handling of PDB than previous Windows versions.
> Also, improve support of large ELF dump files, dumps with unaligned
> memory ranges and with big number of ranges.
> 
> Viktor Prutyanov (5):
>    elf2dmp: replace PE export name check with PDB name check
>    elf2dmp: introduce physical block alignment
>    elf2dmp: introduce merging of physical memory runs
>    elf2dmp: use Linux mmap with MAP_NORESERVE when possible
>    elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining
> 
>   contrib/elf2dmp/addrspace.c |  31 +++++++-
>   contrib/elf2dmp/addrspace.h |   1 +
>   contrib/elf2dmp/main.c      | 154 ++++++++++++++++++++----------------
>   contrib/elf2dmp/pdb.c       |  15 +---
>   contrib/elf2dmp/pdb.h       |   2 +-
>   contrib/elf2dmp/qemu_elf.c  |  68 +++++++++++++---
>   contrib/elf2dmp/qemu_elf.h  |   2 +
>   7 files changed, 177 insertions(+), 96 deletions(-)
> 

For the whole series:
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Peter Maydell Sept. 18, 2023, 12:30 p.m. UTC | #2
On Fri, 15 Sept 2023 at 18:13, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>
> On 2023/09/16 2:01, Viktor Prutyanov wrote:
> > Windows Server 2022 and Windows 11 require more careful kernel PE image
> > search and handling of PDB than previous Windows versions.
> > Also, improve support of large ELF dump files, dumps with unaligned
> > memory ranges and with big number of ranges.
> >
> > Viktor Prutyanov (5):
> >    elf2dmp: replace PE export name check with PDB name check
> >    elf2dmp: introduce physical block alignment
> >    elf2dmp: introduce merging of physical memory runs
> >    elf2dmp: use Linux mmap with MAP_NORESERVE when possible
> >    elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining
> >
> >   contrib/elf2dmp/addrspace.c |  31 +++++++-
> >   contrib/elf2dmp/addrspace.h |   1 +
> >   contrib/elf2dmp/main.c      | 154 ++++++++++++++++++++----------------
> >   contrib/elf2dmp/pdb.c       |  15 +---
> >   contrib/elf2dmp/pdb.h       |   2 +-
> >   contrib/elf2dmp/qemu_elf.c  |  68 +++++++++++++---
> >   contrib/elf2dmp/qemu_elf.h  |   2 +
> >   7 files changed, 177 insertions(+), 96 deletions(-)
> >
>
> For the whole series:
> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>

Thanks for reviewing this. I'll take the patches via the
arm tree, unless anybody would prefer them to take a different
route upstream.

-- PMM