News for hackers. Stuff that matters.
Re:How to zero a buffer by kelnos on Thursday September 04, 2014 @09:51PM (#8271918)
How about instead of assigning to your function pointer directly using `memset`, instead use `dlsym()` to look it up? You could even declare the fnptr to take a `volatile` argument as well as the ptr itself being `volatile` (not sure that is useful here).

Of course, using `dlsym()` isn't exactly portable...

There are no comments on this comment yet.