avast / retdec

RetDec is a retargetable machine-code decompiler based on LLVM.

Home Page:https://retdec.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support type recovery and indirect call lifting

foiso001 opened this issue · comments

I was trying to lift a c file that has a structure and indirect call. For example,

`typedef void(*FuncPtr)(int)

typedef struct {
int a;
FunctionPtr ptr;
} Container;

void execute(Container container) {
container.ptr(10);
}`

However, this structure is not recovered by retdec, it also does not recognize the indirect call made.

Can we augment retdec with this type of information and add some support for indirect call recognition?