revng icon indicating copy to clipboard operation
revng copied to clipboard

Feature/debug info pass

Open andrealinux1 opened this issue 3 years ago • 2 comments

Add a pass which which invokes DebugHelper in order to decorate an LLVM IR module with the debug information that can be later exploited by gdb in order to perform src stepping when executing a translated binary.

Add also an option in revng translate to automatically schedule the pass.

I also addressed some doubts expressed in a previous MR that later dropped this functionality, here and here, specifically the extraction of the class definition in an header, and the addition of a cl::opt that enables to specify a name for the newly created module, while the default behavior is to overwrite the input module in place.

andrealinux1 avatar Oct 06 '21 12:10 andrealinux1

Please don't stack PRs if not strictly necessary.

aleclearmind avatar Oct 20 '21 13:10 aleclearmind

@antoniofrighetto

PythonSHA avatar Apr 16 '22 14:04 PythonSHA