dlopen, dlsym & how to call a function of the libc library inside a function defined in your custom library with the same name.

(If you like articles title longer that the article itself, you’re on the right place.) As the subject of the article, here’s a brief piece of code to define a library with a function whose name is also in libc. In the example we want to call the libc time() function inside our time() function. […]