Skip to content

Import sys so the sys.exit() calls in error cases don't crash #8

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tchebb
Copy link

@tchebb tchebb commented Feb 4, 2021

If the CPU isn't a Cortex-M or isn't little-endian, we call sys.exit(), but we currently never import sys.

If the CPU isn't a Cortex-M or isn't little-endian, we call
`sys.exit()`, but we currently never import `sys`.
@rpavlik rpavlik mentioned this pull request Feb 21, 2021
austinc3030 added a commit to dynacylabs/ghidra-svd-loader that referenced this pull request Oct 10, 2023
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

Successfully merging this pull request may close these issues.

1 participant