IDA interface

Some API allows to affect directly the IDA software, those are accessible through static methods of the BipIda class. Those can include access to the IDA configuration or thing specific to the API.

BipIda API

class bip.base.BipIda

Class for regrouping interfaces with IDA in itself. This can include configurations and thing specific to the IDA API.

Currently this contain only static methods.

static exec_sync(func, *args, **kwargs)

Wrap around the execute_sync API to perform a call on the function func in the main thread. If a function is not marked as THREAD_SAFE in the headers, then it can only be called from the main thread of IDA.

Todo

unit test

Parameters:
  • func (Python Callable) – The function to call.
  • args – Arguments to func
  • kwargs – Keyworded arguments to func
  • MFF_FLAG (int) – Flag describing the operation on the database. Default MFF_READ. Can be MFF_FAST, MFF_READ, MFF_WRITE or MFF_NOWAIT (from ida_kernwin).
Returns:

The return of func

__weakref__

list of weak references to the object (if defined)