Stack structure detection without leveraging type information #5918
Labels
Component: Core
Issue needs changes to the core
Effort: High
Issue should take > 1 month
Impact: Medium
Issue is impactful with a bad, or no, workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
Consider the following C code:
The default decompilation looks like this:
Since the analysis does not see the
var_1c
,var_18
, andvar_14
all belong to a structure, it marks the latter two as dead store. While the result is reasonable, it would be great if we can actually detect the case and create the stack structure.Note this is different from #773, when we already know the type of the
_func
function -- that is just a type propagation. This issue suggests the capacity to detect the structure even if the function type is not setThe text was updated successfully, but these errors were encountered: