avast / avast/retdec

Print an explanatory error message when retdec-llvmir2hll fails due to insufficient stack space

Open
#471 0 comments 0 reactions 0 assignees View on GitHub
C-llvmir2hll enhancement P-run T-memory
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

We should try to see whether we could print an explanatory message when `retdec-llvmir2hll` fails due to insufficient space on the stack (see e.g. #47, #403, #454). We could display an explanation including possible workarounds. The hardest part would be to distinguish not-enough-space-on-the-stack errors from other ones.

Suggested in https://github.com/avast-tl/retdec/issues/454#issuecomment-455184997.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the retdec-llvmir2hll failure handling and review the related cases in #47, #403, and #454. Determine how insufficient stack space can be distinguished from other failures, then define the explanatory message and possible workarounds; done means this failure receives that guidance without changing unrelated errors.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, reverse-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.