-
Notifications
You must be signed in to change notification settings - Fork 57
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
ELFReader methods do not always close streams #91
Comments
copybara-service bot
pushed a commit
to googlestadia/vsi-lldb
that referenced
this issue
Jan 10, 2023
Applies b -> 255-b for every byte of the test binaries of ModuleParserTests in order to prevent binary detection. Also works around a bug in ElfSharp where files are not always closed, see konrad-kruczynski/elfsharp#91. This lead to errors deleting temp files. GitOrigin-RevId: 107cfffd226c69dde2ad2d3bdd378be2aba3ef55
Confirmed, will fix that. |
konrad-kruczynski
added a commit
that referenced
this issue
Jan 11, 2023
ELFSharp 2.16.1 published, closing ticket. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If shouldOwnStream is true, the methods should close the stream if loading fails. Otherwise, for instance ELFReader.TryLoad(filename, out IELF elf) won't close the stream if the file is not an ELF file.
The text was updated successfully, but these errors were encountered: