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

Unexpected exception raised: <class 'KeyError'> #2440

Closed
mike-hunhoff opened this issue Oct 4, 2024 · 0 comments · Fixed by #2444
Closed

Unexpected exception raised: <class 'KeyError'> #2440

mike-hunhoff opened this issue Oct 4, 2024 · 0 comments · Fixed by #2444
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mike-hunhoff
Copy link
Collaborator

source of the exception

logger.warning("unsupported architecture: %s", pefile.MACHINE_TYPE[pe.FILE_HEADER.Machine])

Input file appears to be corrupted, resulting in a bad pe.FILE_HEADER.Machine value, which throws a KeyError exception. PM for source sample.

@mike-hunhoff mike-hunhoff added the bug Something isn't working label Oct 4, 2024
@williballenthin williballenthin added the good first issue Good for newcomers label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants