Skip to content

Commit 4620d10

Browse files
committed
[fix] decomp: increase idascript timeout to 10 minutes
1 parent 1cdc2eb commit 4620d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pyrrha_mapper/exedecomp/binmapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def find_all_call_references(
135135
logging.error(f"{log_prefix}: function declaration not found in source code")
136136
for ref in (x for x in call_addr_to_name if x not in refs):
137137
logging.error(
138-
f"{log_prefix}: call to {ref:#08x}:'{call_addr_to_name[ref]}' not found in source code"
138+
f"{log_prefix}: call to {ref:#08x}: '{call_addr_to_name[ref]}' not found in source code"
139139
)
140140

141141
return decl_loc, refs
@@ -148,7 +148,7 @@ def decompile_program(program: Program) -> Path:
148148
:return: path of the created decompiled file.
149149
"""
150150
bin_path = program.executable.exec_file
151-
ida = IDA(bin_path, str(DECOMPILE_SCRIPT), [], timeout=180, exit_virtualenv=True)
151+
ida = IDA(bin_path, str(DECOMPILE_SCRIPT), [], timeout=600, exit_virtualenv=True)
152152
ida.start()
153153
ida.wait()
154154
return Path(str(bin_path) + ".decompiled")

0 commit comments

Comments
 (0)