3434from datetime import datetime
3535from enum import Enum
3636from pathlib import Path
37- from typing import Dict , List , Optional , Tuple
37+ from typing import Dict , List , Optional
3838
3939# ============================================================
4040# Color and Display Utilities
@@ -176,7 +176,7 @@ def show_progress(
176176def show_progress_final (total : int , elapsed : int ):
177177 """Show final completed progress bar"""
178178 bar = draw_progress_bar (total , total )
179- print (f "\r \033 [K\n \033 [K\n " , end = "" )
179+ print ("\r \033 [K\n \033 [K\n " , end = "" )
180180 print ("\033 [2A" , end = "" )
181181 print (
182182 f"{ Colors .GREEN } [{ bar } ]{ Colors .NC } { Colors .BOLD } 100%{ Colors .NC } ({ total } /{ total } ) | Total: { format_time (elapsed )} "
@@ -774,7 +774,7 @@ def process_elf_file(
774774 log_info (f"Decompiling { total_funcs } functions..." )
775775 print () # Space for progress bar
776776 print ()
777- except :
777+ except ( ValueError , IndexError ) :
778778 pass
779779 elif "[PROGRESS]" in line and analysis_done :
780780 try :
@@ -794,7 +794,7 @@ def process_elf_file(
794794 show_progress (
795795 current_func , total_funcs , elapsed , last_func_name , eta
796796 )
797- except :
797+ except ( ValueError , IndexError ) :
798798 pass
799799 elif "ANALYZING" in line and not analysis_done :
800800 print (
0 commit comments