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

staticx: Don't raise exception from is_dynamic_elf #270

Merged
merged 1 commit into from
Jan 8, 2024

Commits on Jan 8, 2024

  1. staticx: Don't raise exception from is_dynamic_elf

    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.
    JonathonReinhart committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    4ae6a5e View commit details
    Browse the repository at this point in the history