New answers tagged idapython
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....
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 ...
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!
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/...
Top 50 recent answers are included
Related Tags
idapython × 366ida × 317
ida-plugin × 78
idapro-sdk × 40
python × 31
disassembly × 27
hexrays × 15
debugging × 10
binary-analysis × 10
arm × 8
script × 8
windows × 7
assembly × 7
idc × 7
decompilation × 6
automation × 6
c++ × 5
malware × 5
linux × 5
elf × 5
static-analysis × 5
disassemblers × 5
functions × 5
pe × 4
unpacking × 4