Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display section numbers starting from 1, rather than 0? #23

Open
tkchia opened this issue Jul 28, 2023 · 1 comment
Open

Display section numbers starting from 1, rather than 0? #23

tkchia opened this issue Jul 28, 2023 · 1 comment

Comments

@tkchia
Copy link

tkchia commented Jul 28, 2023

Hello @horsicq,

I notice that, at least on XPEViewer 0.04 on Ubuntu 22.04 amd64, sections are numbered starting from 0:

image

From my understanding of the official Microsoft PE specification (https://learn.microsoft.com/en-us/windows/win32/debug/pe-format), the sections given by the section headers, are considered to be numbered "starting from one (1)" — and the section number 0 has a special meaning (IMAGE_SYM_UNDEFINED).

Thus, it will be great, if you could consider changing the display of the section information to follow this.

Thank you!

@horsicq
Copy link
Owner

horsicq commented Jul 31, 2023

Thanks you for the report! I will think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants