IDAPython Functions

IDAPython is fully IDC compliant, which means any function call that IDC[55] supports you can also use in IDAPython. We will cover some of the functions that you will commonly use when writing IDAPython scripts in short order. These should provide a solid foundation for you to begin developing your own scripts. The IDC language supports well over 100 function calls, so this is far from an exhaustive list, but you are encouraged to explore it in depth at your leisure.

Utility Functions

The following are a couple of utility functions that will come in handy in a lot of your IDAPython scripts:

ScreenEA()

Obtains the address of where your cursor is currently positioned on the IDA screen. This allows you to pick a known starting point ...

Get Gray Hat Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.