Gotcha is a library that provides function wrapping, interposing a wrapper function between a function and its callsites. Tools can use Gotcha’s programmable API to install hooks into other libraries. Version 1.0.3 includes interfaces for filtering which libraries are targeted for wrapping.
Learn more: