Simple already available helper library to be used using the ld_preload trick