illera88 / Ponce

IDA 2016 plugin contest winner! Symbolic Execution just one-click away!
https://docs.idaponce.com
Other
1.5k stars 74 forks source link

Crashed #129

Closed cr3m closed 2 years ago

cr3m commented 2 years ago

The plugins crashes IDA if the hexrays plugins are not available. I thinks the check for hexrays_present in term() is needed before calling remove_hexrays_callback():

ifdef BUILD_HEXRAYS_SUPPORT

remove_hexrays_callback(ponce_hexrays_callback, NULL);

endif

illera88 commented 2 years ago

Thank you for reporting the problem!! Indeed that can be causing the crash.

I have wrapped the call to remove_hexrays_callback in an if clause. https://github.com/illera88/Ponce/blob/master/src/main.cpp#L177-L179