Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When will you support object files and other architectures? #44

Open
FirmSecDataset opened this issue Jun 8, 2022 · 2 comments
Open

Comments

@FirmSecDataset
Copy link

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!

@am009
Copy link
Contributor

am009 commented Jun 8, 2022

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.

@MatthewShao
Copy link
Collaborator

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants