BinAbsInspector icon indicating copy to clipboard operation
BinAbsInspector copied to clipboard

When will you support object files and other architectures?

Open FirmSecDataset opened this issue 2 years ago • 2 comments

I just found this work, it is really interesting and fantastic. I have tested it on several binaries and the results are great. But I have issues when performing on X86 object files. I am wondering when will you support object files. Besides, since MIPS is also a popular architecture, especially on IoT firmware, do you have any plans to support MIPS? Thanks!

FirmSecDataset avatar Jun 08 '22 05:06 FirmSecDataset

I think this tool is based on p-code, so it's architecture insensitive. I guess it should directly supper MIPS or X86 object files, because Ghidra lifts binary code to p-code, and most of the analysis is the same for different arch.

am009 avatar Jun 08 '22 08:06 am009

We have not tested on object files, but it should work well if you set the -entry address properly. Unfortunately, MIPS architecture is more tricky than it looks, because of the delay slot design, which requires an adaptation on PcodeVisitor. Currently we are short of hands to add MIPS support, but we are always happy to give guidance about how to do it right. PRs are welcome!

MatthewShao avatar Jun 08 '22 08:06 MatthewShao