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

IDA crashes after analyzing firmware sample with efiXplorer latest builds #56

Closed
3vangel1st opened this issue Jul 14, 2022 · 5 comments
Closed

Comments

@3vangel1st
Copy link

Hi, I'm using IDA Pro 7.7 with SDK 7.7 (on Windows) and used your latest builds to install. When loading this firmware sample from Asus: https://github.com/3vangel1st/FWare/blob/main/X515JAAS.306 , I do see it gets loaded. When starting the efiXplorer plugin from the menu, I click through the pop-ups and it starts running and doing some analysis. However it never completes since after a while IDA crashes and generates a mini-dump.

Any idea what possibly is going wrong? I admit this is the only firmware sample I've used so far ;)

@yeggor
Copy link
Collaborator

yeggor commented Jul 14, 2022

Hi. I just checked. Can not reproduce this issue. It's working fine for me:

test

If you are using IDA without a Hex-Rays decompiler, it is best to build the plugin from master with Hex-Rays analysis disabled. I'll PM you to clarify some details.

@3vangel1st
Copy link
Author

Understood - don't have the Hex-Rays decompiler.

@skochinsky
Copy link

@yeggor could you please fix the code to not invoke decompiler APIs if the decompiler is not present (e.g. init_hexrays_plugin() returned false)? We're getting crash reports from customers because the plugin calls nullptr.

@yeggor
Copy link
Collaborator

yeggor commented Dec 16, 2022

@skochinsky thank you. It fixed now

@yeggor
Copy link
Collaborator

yeggor commented Dec 16, 2022

I've tested it on x86 and arm EFI modules. Works without problems now. Sorry for the inconvenience.

Python>ida_hexrays.init_hexrays_plugin()
False
Python>ida_loader.load_and_run_plugin("efiXplorer", 1)
...
[efiXplorer] the log is saved in a JSON file
True

@yeggor yeggor closed this as completed Dec 16, 2022
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