r2retdec icon indicating copy to clipboard operation
r2retdec copied to clipboard

Export information from r2 so that they can be used in RetDec

Open PeterMatula opened this issue 5 years ago • 0 comments

Export the following information from r2:

  • [ ] Functions:
    • [x] address ranges
    • [ ] names, demangled names
    • [ ] function comments (if there is such thing in r2)
    • [x] calling conventions
    • [x] arguments - count and names
    • [x] data types - i.e. return type, and argument types
  • [x] Local variables:
    • [x] names
    • [x] locations - i.e. offsets
    • [x] data types
  • [ ] Global variables:
    • [x] names
    • [x] locations - i.e. addresses
    • [ ] data types
  • [ ] Control flow:
    • [ ] basic blocks - i.e. their address ranges
    • [ ] basic block relations - i.e. successors and predecessors

This issue tracks only the state of exporting this information from Radare2. If there is an issue with using it in RetDec, create a new issue in the RetDec repo.

Check the info as exported only if there is a regression tests checking the functionality. Reference regression tests (commits, or links) here.

PeterMatula avatar Sep 16 '19 12:09 PeterMatula