This commit is contained in:
Zeecka
2025-06-21 17:14:55 +02:00
parent f4aa5d381c
commit e070bb8133
9 changed files with 36 additions and 11 deletions
+6 -2
View File
@@ -3,7 +3,7 @@
import subprocess
from pathlib import Path
from .utils import update_data
from .utils import MAX_PENDING_TIME, update_data
def analyze_strings(input_img: Path, output_dir: Path) -> None:
@@ -11,7 +11,11 @@ def analyze_strings(input_img: Path, output_dir: Path) -> None:
try:
data = subprocess.run(
["strings", input_img], capture_output=True, text=True, check=False
["strings", input_img],
capture_output=True,
text=True,
check=False,
timeout=MAX_PENDING_TIME,
)
if data.stderr:
update_data(