Skip to content

Use display for elf ParseError#216

Merged
cedricjiang merged 1 commit intomainfrom
elf
Nov 25, 2025
Merged

Use display for elf ParseError#216
cedricjiang merged 1 commit intomainfrom
elf

Conversation

@cedricjiang
Copy link
Contributor

@cedricjiang cedricjiang commented Nov 25, 2025

Otherwise you see

BadMagic(
    [
        ..,
        ..,
        ..,
        ..,
    ],
)

which is not as nice as Invalid Magic Bytes: [.., .., .., ..]

@cedricjiang cedricjiang merged commit 4588681 into main Nov 25, 2025
4 checks passed
@cedricjiang cedricjiang deleted the elf branch November 25, 2025 21:55
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