radeco
radeco copied to clipboard
Use basic block information from radare
Currently, we just get a list of instructions from R2Api::function
(pdfj
) and then manually make basic blocks whenever we find a jump instruction while constructing the SSA. Radare already provides information about a function's basic blocks (afbj
), so it would be a lot simpler to just use this instead of rederiving it ourselves. This would also (in theory) allow us to use information about jump tables that radare found (though currently radare doesn't output that anywhere).
Define the format you want to see the information about jump tables. Remember that general idea is to get information from radare2 and, if radeco can, refine it, and send back to radare2.
radare/radare2#11022
@HMPerson1 any update on this one?