New answers tagged

2 votes

How to make a plugin python function available to IDA's console?

Separate out FindFunctionImpl into its own .py file, say FuncUtil.py. Put the directory containing that file into your system's $PYTHONPATH. Invoke it from the IDAPython console as FuncUtil....
Rolf Rolles's user avatar
  • 9,178
1 vote

How to make a plugin python function available to IDA's console?

You can add a path to your plugin script in one of the plugins.list files, this will tell IDA to load the plugin everytime you open an IDB. You can run plugins from Edit/Plugins menu. It's a shame ...
mimak's user avatar
  • 579
0 votes
Accepted

My ida.reg file got deleted, is there any way to restore ida?

Fortunately it reappeared once I open ida64 in GUI mode!
R4444's user avatar
  • 1,797
0 votes

IDAPython: Is it possible to determine whether an instruction operand is a constant rather than a variable?

idc.get_operand_type() is a concise way to do this. e.g. if idc.get_operand_type(ea, 1) == idaapi.o_reg: print("that's a register") The operand types are all here: https://hex-rays.com/...
thejoelpatrol's user avatar

Top 50 recent answers are included