6

IDA Pro allows plugins to receive notifications for a number of events. These are defined in the hook_type_t enumeration inside loader.hpp in the SDK from what I saw. If I subscribe to HT_IDB events, I have a host of options for notifications I can subscribe to (event_code_t in idp.hpp).

Now, if I wanted to patch up collabREate by Chris Eagle to support anterior and posterior comments - how would I go about that?

colleabREate is a very useful piece of software, but in real collaboration scenarios these issues turn out to be real shortcomings.

In short: how can I receive notifications to events in my plugin which Hex-Rays doesn't make available through the SDK as of yet?

5

From IDA 6.4 news:

+ SDK: added extra_cmt_changed IDB event for the anterior/posterior comment changes;
 also renamed the SDK functions related to these comments
| improve this answer | |
  • would be good to add the terms "anterior" and "posterior" to the comment inside the idp.hpp. "extra comment" wasn't exactly what came to mind when grepping the SDK code :) – 0xC0000022L Apr 23 '13 at 13:43
  • any idea about the other events that affect how things get displayed as mentioned in my question? – 0xC0000022L Apr 25 '13 at 14:16
1

I have written a plugin like this myself. As far as I know, this is impossible to do within the SDK. It is simply the case that some events do not trigger notifications and hence can not be responded to. This is not the fault of collabREate, but rather, a built-in limitation of IDA.

| improve this answer | |
  • I realize this isn't the fault of collabREate, Igor pointed out they newly added at least one of the functions I asked about to IDA 6.4. I guess RCE is required for the rest. IDA's license allows it, after all. – 0xC0000022L Apr 23 '13 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.