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

New requirements on PE executables in Windows 8 #1

Open
larsbrinkhoff opened this issue Nov 2, 2015 · 2 comments
Open

New requirements on PE executables in Windows 8 #1

larsbrinkhoff opened this issue Nov 2, 2015 · 2 comments

Comments

@larsbrinkhoff
Copy link

FYI.

I have software to generate a simple PE executable that works fine in Windows XP/Vista/7. However, it doesn't work in Windows 8 or 10. The original version left out the data directories.

I updated the software to include 16 data directory entries. This made the executable run in Windows 8 and 10.

Samples:
https://github.com/larsbrinkhoff/temp/blob/master/tmp.exe
https://github.com/larsbrinkhoff/temp/blob/master/tmp2.exe

@larsbrinkhoff
Copy link
Author

Another problem. I added some imports, which work in Windows 7. But the exe crashes in Windows 8.

@larsbrinkhoff
Copy link
Author

Windows 8 requires the imports to be inside a section.

Also Windows 8 didn't accept that the number of data directories is 2. According to Peter Ferrie, Windows 8 needs at least 13 data directories.

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

1 participant