r2retdec
r2retdec copied to clipboard
Export information from r2 so that they can be used in RetDec
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.