Boost logo

Boost Users :

Subject: Re: [Boost-users] [interceptors] How to intercept when a function is called
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-07-03 06:33:57


On 2 Jul 2014 at 14:32, Michael Powell wrote:

> I don't know if there is a first or second class library in Boost to
> do with this already. Or at least a C++ mechanism I could leverage.
>
> Basically, I want to hook or intercept when a function call is made. I
> do not want to change the underlying call, although I suppose that
> hook could be done as well. For now, I just want a callback when that
> function calls is made.

It sounds awfully like Boost.Signals2?

Or do you want something which actively patches your loaded binary to
redirect function calls?

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net