r2retdec icon indicating copy to clipboard operation
r2retdec copied to clipboard

Provide import/export of basic blocks

Open xkubov opened this issue 4 years ago • 0 comments

We can use info from disassembly by calling:

#include <retdec/retdec.h>

LlvmModuleContextPair disassemble(
                const std::string& inputPath,
                retdec::common::FunctionSet* fs = nullptr);

This function will return the LLVM module that contains all info required to import basic blocks from RetDec.

On the other hand, for exporting blocks from Radare2 into RetDec, there needs to be a new interface for it created on the RetDec side.

xkubov avatar Aug 18 '20 08:08 xkubov