volatilityfoundation / dwarf2json

convert ELF/DWARF symbol and type information into vol3's intermediate JSON
Other
106 stars 28 forks source link

Implement Progress Bar for Improved User Experience #61

Open avizack18 opened 7 months ago

avizack18 commented 7 months ago

Currently, the project lacks a progress bar, making it difficult for users to gauge the utility's progress, especially for long-running tasks. Implementing a progress bar would significantly enhance the user experience by providing:

Transparency: Users can easily visualize the progress of the operation. Estimated Completion Time: A progress bar can offer an estimated time of completion, reducing user anxiety and allowing them to plan accordingly.

ilch1 commented 7 months ago

Thanks for your suggestion. Unfortunately, it is not known how many structures need to be processed from a DWARF file ahead of time. Thus, outputting the progress for dwarf2json operation would be difficult to add due to the structure of DWARF.

From personal experience, invocations of dwarf2json take on the order of tens of of seconds. How long does a single invocation of dwarf2json take on your system? If you are experiencing performance issues, perhaps it is related to using a SWAP file that you mentioned in #60.