Make `weak` symbol demo
For testing purposes, server and runner code can be artifically slowed down. On the server side, this could be avoided by broadcasting trigger events: When an important event occurs, a certain function is called and a preloaded library can then provide its own implementations of these functions.
Demo: Make an executable with a function f
called by main()
. If a library containing a f
is preloaded, then ELF symbol interposition must occur so that the library function f
is called.