[PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support

Viktor Prutyanov posted 3 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230222211246.883679-1-viktor@daynix.com
Maintainers: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
contrib/elf2dmp/addrspace.c |   1 +
contrib/elf2dmp/main.c      | 108 ++++++++++++++++++++++-----------
contrib/elf2dmp/pe.h        | 115 ++++++++++++++++++++----------------
3 files changed, 140 insertions(+), 84 deletions(-)
[PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support
Posted by Viktor Prutyanov 1 year, 2 months ago
Hi,

For now, elf2dmp is unable to convert ELF-dump to DMP-dump made of
Windows Server 2022 guest. This patch series fixes it.

v1: improve code-style fix
v2: don't remove data directory entry RVA print and DOS header size check

Viktor Prutyanov (3):
  contrib/elf2dmp: fix code style
  contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry
  contrib/elf2dmp: add PE name check and Windows Server 2022 support

 contrib/elf2dmp/addrspace.c |   1 +
 contrib/elf2dmp/main.c      | 108 ++++++++++++++++++++++-----------
 contrib/elf2dmp/pe.h        | 115 ++++++++++++++++++++----------------
 3 files changed, 140 insertions(+), 84 deletions(-)

-- 
2.35.1
Re: [PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support
Posted by Viktor Prutyanov 1 year, 1 month ago

> Hi,
> 
> For now, elf2dmp is unable to convert ELF-dump to DMP-dump made of
> Windows Server 2022 guest. This patch series fixes it.
> 
> v1: improve code-style fix
> v2: don't remove data directory entry RVA print and DOS header size check
> 
> Viktor Prutyanov (3):
> contrib/elf2dmp: fix code style
> contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry
> contrib/elf2dmp: add PE name check and Windows Server 2022 support
> 
> contrib/elf2dmp/addrspace.c | 1 +
> contrib/elf2dmp/main.c | 108 ++++++++++++++++++++++-----------
> contrib/elf2dmp/pe.h | 115 ++++++++++++++++++++----------------
> 3 files changed, 140 insertions(+), 84 deletions(-)
> 
> --
> 2.35.1

Hi Peter,

As we discussed, I would like to ask you to pick up this series.

Thanks,
Viktor Prutyanov
Re: [PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support
Posted by Peter Maydell 1 year, 1 month ago
On Thu, 16 Mar 2023 at 16:48, Viktor Prutyanov
<viktor.prutyanov@phystech.edu> wrote:
>
>
>
> > Hi,
> >
> > For now, elf2dmp is unable to convert ELF-dump to DMP-dump made of
> > Windows Server 2022 guest. This patch series fixes it.
> >
> > v1: improve code-style fix
> > v2: don't remove data directory entry RVA print and DOS header size check
> >
> > Viktor Prutyanov (3):
> > contrib/elf2dmp: fix code style
> > contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry
> > contrib/elf2dmp: add PE name check and Windows Server 2022 support
> >
> > contrib/elf2dmp/addrspace.c | 1 +
> > contrib/elf2dmp/main.c | 108 ++++++++++++++++++++++-----------
> > contrib/elf2dmp/pe.h | 115 ++++++++++++++++++++----------------
> > 3 files changed, 140 insertions(+), 84 deletions(-)
> >
> > --
> > 2.35.1
>
> Hi Peter,
>
> As we discussed, I would like to ask you to pick up this series.

Sure, I can put this into the target-arm pullreq I'm doing,
unless anybody prefers them to go into the tree via a
different route.

thanks
-- PMM
Re:[PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support
Posted by Viktor Prutyanov 1 year, 1 month ago
Thank you! Personally, I agree with any way to get the elf2dmp patch series into the tree.
 
Best regards,
Viktor Prutyanov
Re: [PATCH v2 0/3] contrib/elf2dmp: Windows Server 2022 support
Posted by Annie.li 1 year, 2 months ago
Hello Viktor,

This patch set looks good to me, thank you!

On 2/22/2023 4:12 PM, Viktor Prutyanov wrote:
> Hi,
>
> For now, elf2dmp is unable to convert ELF-dump to DMP-dump made of
> Windows Server 2022 guest. This patch series fixes it.
>
> v1: improve code-style fix
> v2: don't remove data directory entry RVA print and DOS header size check
Reviewed-by: Annie Li <annie.li@oracle.com>

Thanks

Annie

>
> Viktor Prutyanov (3):
>    contrib/elf2dmp: fix code style
>    contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry
>    contrib/elf2dmp: add PE name check and Windows Server 2022 support
>
>   contrib/elf2dmp/addrspace.c |   1 +
>   contrib/elf2dmp/main.c      | 108 ++++++++++++++++++++++-----------
>   contrib/elf2dmp/pe.h        | 115 ++++++++++++++++++++----------------
>   3 files changed, 140 insertions(+), 84 deletions(-)
>