-
Notifications
You must be signed in to change notification settings - Fork 76
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
Incorrect reports on binaries built with Visual Studio 2022 #1049
Comments
Thanks for the report. Could you dump your entire |
(Also, it looks like you might have forgotten to attach the project.) |
|
|
Hmm, that does indeed look like a bug: you have a RVA for the SafeSEH handler table, and it looks populated correctly. I'll have some more time to debug tomorrow. |
cc @yardenshafir since you might have some thoughts as well 🙂 |
The issue here is that the headers (for some unknown reason) lie about the size of the load config directory. |
Thanks for triaging! Yeah, it sounds like we should probably pick whichever is larger, so long as it doesn't go OOB. |
The reason is known and documented. |
TIL, thanks for the link. This sounds like something we could potentially fix even further up (in pe-parse), after the initial fix via #1050. |
The tool produces incorrect results on the binaries built with Visual Studio 2022.
At a minimum
SafeSEH
incorrectly reported asNotPresent
whendumpbin /loadconfig
shows4 Safe Exception Handler Count
.The text was updated successfully, but these errors were encountered: