m2c icon indicating copy to clipboard operation
m2c copied to clipboard

Pattern-match function body for matching macros

Open matt-kempster opened this issue 5 years ago • 2 comments

In if_statements.py, when we have a Body, we should look for sequences of statements that match input macros (akin to how we match types given an input preprocessed C file).

matt-kempster avatar Apr 07 '20 19:04 matt-kempster

This would be great. It would also be nice if we could recognize inlined functions.

dbalatoni13 avatar May 09 '24 15:05 dbalatoni13

I think recognizing inlined functions would be extremely hard. I know of no other decompiler that does it, despite it being a major pain point when doing reverse engineering and a potential huge selling point. It would be an interesting research project, but I wouldn't put any hope in it ever happening!

simonlindholm avatar May 09 '24 15:05 simonlindholm