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
Describe the bug is not an ELF gets printed to stderr when instantiating a lief.PE.Binary object from files bytes
is not an ELF
To Reproduce
>>> import lief >>> fd = open('/tmp/00078542b6a64bfabac40491031d008839ca8e0097b7d9cad9b4628f8c532aa2', 'rb') >>> data = fd.read() >>> fd.close() >>> lief.parse(list(data)) is not an ELF <lief.PE.Binary object at 0x7f75d8afbd88> >>> lief.parse(data) is not an ELF <lief.PE.Binary object at 0x7f75d8afbdc0> >>> lief.parse('/tmp/00078542b6a64bfabac40491031d008839ca8e0097b7d9cad9b4628f8c532aa2') <lief.PE.Binary object at 0x7f437eb0ed50>
Expected behavior Don't print is not an ELF
Environment (please complete the following information):
0.11.0-f58605f
Additional context N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
is not an ELFgets printed to stderr when instantiating a lief.PE.Binary object from files bytesTo Reproduce
Expected behavior
Don't print
is not an ELFEnvironment (please complete the following information):
0.11.0-f58605fAdditional context
N/A
The text was updated successfully, but these errors were encountered: