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

Determine how to handle polyglot files #179

Open
nightlark opened this issue Apr 11, 2024 · 0 comments
Open

Determine how to handle polyglot files #179

nightlark opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nightlark
Copy link
Collaborator

Some files can be valid when interpreted as completely different file types. As an example, Cosmopolitan Libc creates polyglot files that are native binaries that run on basically any desktop OS (Windows+macOS+Linux+FreeBSD+NetBSD+OpenBSD).

File type ID plugins probably need to return a list of recognized file types. However, some plugins using heuristics (e.g. s-rec/hex) might need a way to run last, and be given a flag to indicate that another plugin already recognized the file as something so they can avoid running.

@nightlark nightlark added the enhancement New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant