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

Ability to parse an ELF that is loaded into memory #1072

Open
eyalgolan1337 opened this issue Jun 25, 2024 · 1 comment
Open

Ability to parse an ELF that is loaded into memory #1072

eyalgolan1337 opened this issue Jun 25, 2024 · 1 comment

Comments

@eyalgolan1337
Copy link

Currently, when supplying a byte vector of an ELF file to parse, LIEF refers to it as it was the disk content of the ELF, and thus uses only the file_offset values to parse the ELF.
When supplying a byte vector of an ELF that is loaded into memory, and by telling LIEF that this ELF is from memory and not from disk, LIEF should be able to use the virtual_address values instead.

@romainthomas
Copy link
Member

Yes definitely something to have in LIEF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants