-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staticx: Don't raise exception from is_dynamic_elf (#270)
Previously, if a non-ELF file appeared in a PyInstaller archive as a "binary" file, staticx would crash when open_elf() raised an InvalidInputError. Rename is_dynamic() to is_dynamic_elf() to make it clear that it now returns False if the file is not an ELF file at all. Fixes #268.
- Loading branch information
1 parent
a3705ff
commit 78e239e
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters