On 08/23/2012 12:43 PM, Andrew Bernat wrote:
> Okay, that file is partially correct.
>
> The DYNINSTuserMessage function is there and there is a test for it in
> the test suite, so I would expect it to work. Of the thread stuff,
> setNewthrCB does nothing (and will be removed), but the rest of the
> functions have implementations.
>
> I'll get this added to the header file list. I think we just overlooked it.
Sounds good. I'll start experimenting with DYNINSTuserMessage to see
how it works for me. And I'd still appreciate suggestions on the best
way to send such messages in reverse, mutator->mutatee.
I'm somewhat interested in the dyninst_lock_t too, so I can avoid
drawing in pthreads, but I'm not thrilled that tc_lock_lock() uses a
busy loop. Would you be open to an implementation on futexes for Linux?
Thanks,
Josh
|