DeepZero icon indicating copy to clipboard operation
DeepZero copied to clipboard

Drivers that time out during decompilation are never retried

Open 416rehman opened this issue 4 months ago • 0 comments

What happens

ghidra_decompile has a per-driver timeout (600s in the bundled pipeline). A driver that exceeds it is marked failed and never reconsidered. Because the failure is recorded in the sample's state, re-running the pipeline skips it rather than retrying, so those drivers are permanently excluded from scanning and assessment.

On a real driver pack this hit large drivers specifically - the ones with the most code, and so often the most attack surface.

Why it matters

A timeout is a statement about the time budget, not about the driver. Silently dropping the largest drivers biases the whole run away from the most interesting targets, and the report groups them with genuine errors so it is not obvious that a longer budget would have analysed them.

Suggested fix (acceptance criteria)

  • [ ] Record a timeout as its own outcome, distinct from a crash or a bad input.
  • [ ] Allow a retry with a longer budget without discarding the rest of the run's results, e.g. deepzero run --retry-timeouts or a per-stage retry_timeout_multiplier.
  • [ ] Show timed-out items as their own group in the report, with the budget that was exceeded, so the user can decide whether to re-run them.

416rehman avatar Jul 25 '26 07:07 416rehman