pyelftools
pyelftools copied to clipboard
Having the possibility to register a hook function to monitor the execution/progression of get_dwarf_info()
I am using get_dwarf_info() to analyze the content of a big ELF file. In my case, the execution of get_dwarf_info() takes multiple minutes.
It would be great to have the possibility to register a hook functions (called by get_dwarf_info()), to get some information while get_dwarf_info() is running (e.g.: completion rate, etc.).
My objective is to add a progress bar to indicate to the user of my script if the execution of the script is soon finished.
Sounds like a useful idea, but I'll be curious to see a proposed design & implementation in a PR.