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

Minor changes to binwalk error handling #784

Merged
merged 2 commits into from
Nov 30, 2024
Merged

Conversation

P1tt1cus
Copy link
Contributor

@P1tt1cus P1tt1cus commented Nov 30, 2024

  • Added a BinwalkError struct with a message field to store error messages.
  • Stored error messages during binwalk initialization.
  • Display error message when binwalk initialization fails.

Very minor changes, I was just getting some initialization errors when implementing the API in my own project. When binwalk failed to initialise I was catching the BinwalkError but it did not provide any indication as to what went wrong.

- Added a BinwalkError struct with a message field to store error messages.
- Stored error messages during binwalk initialization.
- Display error message when binwalk initialization fails.
@devttys0 devttys0 merged commit 20dbd10 into ReFirmLabs:master Nov 30, 2024
2 of 4 checks passed
@devttys0
Copy link
Collaborator

Awesome, thank you!

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.

2 participants