Conversation
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
|
@conda/builds-tools, I've just added the corresponding issue to the |
Haha, I just sent her a message asking if you have concrete plans 🤣 .
Yes, the code changes are likely ready already. |
This reverts commit cb5df71. Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
kenodegard
left a comment
There was a problem hiding this comment.
Confirming constant renaming (lief.PE.HEADER_CHARACTERISTICS → lief.PE.Header.CHARACTERISTICS and lief.EXE_FORMATS → lief.Binary.FORMATS) and removal of lief.Binary.name (using str(file) instead)
introduced in condagh-5228 which replaced binary.name with str(file). The former returns the path to the binary whereas the latter returns the contents of the parsed binary, naturally causing high memory usage. That semantic change was unintended (misread upstream changes). Since binary's path is no longer part of the object, pass it separately. Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
* Fix excessive memory use in inspect_linkages_lief introduced in gh-5228 which replaced binary.name with str(file). The former returns the path to the binary whereas the latter returns the contents of the parsed binary, naturally causing high memory usage. That semantic change was unintended (misread upstream changes). Since binary's path is no longer part of the object, pass it separately. * Use consistent var name in inspect_linkages_lief to avoid variable shadowing. * Remove redundant get_uniqueness_key call --------- Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
Description
Add compatibility for LIEF=0.14
Fixes gh-5227.
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?