3 ms·
I'm talking about having to change existing code to use the library, to enable the analysis. I don't want to do that. I don't care much how they make it happen.
by wakawaka28 2y ago
I'm talking about having to change existing code to use the library, to enable the analysis. I don't want to do that. I don't care much how they make it happen... Ideally, it could be done with `LD_PRELOAD` tricks but that won't work because of the templated nature of smart pointers.
- PaulDavisThe1st 2y agowhen we hacked boost::*_ptr to do this, we used an environment variable to turn on the types we wanted traced. there would have no point in tracing every type that was managed with smart pointers, so there has to be at least 1 line of code modification just to identify what you wanted traced.