diaphora
diaphora copied to clipboard
Hot Key to import function information (Minor)
Now that IDA 6.8 has been released and fixes the select issue (which works great now with Diaphora). It would be really nice to have the ability to assign a hotkey to import the function as opposed to manually selecting with mouse. Related a bit to this issue: https://github.com/joxeankoret/diaphora/issues/4
It wasn't possible to do so with 6.6 and I wanted to offer support for the 2 last public releases of IDA. With 6.8, I can do it supporting also the previous one, 6.7. So, yes, I will implement it soon.
Temp work around.
How to add Diaphora shortcut in IDA:
Edit ida.idc Lookup for main() Add: AddHotkey("Alt-F8", "py_rundiaphora");
Then add the following function at the end of ida.idc
static py_rundiaphora() { RunPythonStatement("sys.path.insert(1, '/path_to_diaphora_folder/diaphora/')"); RunPythonStatement("execfile('/path_to_diaphora_folder/diaphora/diaphora.py')"); }
Ref: http://pastebin.com/piRb6VyG
NOTE: With the new IDA UI and actions systems, it's crazy to enable/disable an action based on the current (focused) chooser when the same shortcut is set for various choosers. In short: It will, still, need more time :/ I have to ask the Hex-Rays guys because I don't know how to do it...
I cannot get it to work with multiple choosers at all. Help is highly appreciated.
Believe it or not, it's fucking horrible still nowadays :/
Happy birthday! Also, believe it or not, it's still horrible to fix this.