IDA SDK
|
passed as 'reqf' parameter to execute_sync()
Macros | |
#define | MFF_FAST 0x0000 |
Execute code as soon as possible. More... | |
#define | MFF_READ 0x0001 |
Execute code only when ida is idle and it is safe. More... | |
#define | MFF_WRITE 0x0002 |
Execute code only when ida is idle and it is safe. More... | |
#define | MFF_NOWAIT 0x0004 |
Do not wait for the request to be executed. More... | |
#define MFF_FAST 0x0000 |
Execute code as soon as possible.
this mode is ok for calling ui related functions that do not query the database.
#define MFF_READ 0x0001 |
Execute code only when ida is idle and it is safe.
to query the database. this mode is recommended only for code that does not modify the database. (nb: ida may be in the middle of executing another user request, for example it may be waiting for him to enter values into a modal dialog box)
#define MFF_WRITE 0x0002 |
#define MFF_NOWAIT 0x0004 |
Do not wait for the request to be executed.
the caller should ensure that the request is not destroyed until the execution completes. if not, the request will be ignored. execute_sync() returns the request id in this case. it can be used in cancel_exec_request(). This flag can be used to delay the code execution until the next UI loop run even from the main thread.