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

Add a method that determines the executable format of a file #4

Open
postmodern opened this issue Feb 22, 2025 · 0 comments
Open

Add a method that determines the executable format of a file #4

postmodern opened this issue Feb 22, 2025 · 0 comments
Labels
feature New Feature
Milestone

Comments

@postmodern
Copy link
Member

Add a method that determines the executable format of a given file. It should do this by opening the file, reading a few bytes, and determining the file format based on the magic bytes (ex: every ELF file starts with 7f 45 4c 46 or \x7fELF). This method will then be used to determine which file format parsing library to use in order to extract the .text section.

@postmodern postmodern added the feature New Feature label Feb 22, 2025
@postmodern postmodern added this to the 0.1.0 milestone Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature
Projects
None yet
Development

No branches or pull requests

1 participant