I've known about dlopen() for a long time, how come I only recently used it in a program for the first time? super fun and handy!
-
-
Replying to @johnregehr
Fun fact: dlsym is UB if you use it to load functions (because it returns void *) and GetProcAddress on Windows is UB if you use it to load globals (because it returns void(*)())
4 replies 1 retweet 10 likes
Replying to @pcwalton @johnregehr
This complicates the implementation of FDPIC (dynamic libraries on non-MMU systems, a thing that actually exists) because function pointers have to be two words under that ABI so that they know the module they "came from"
7:46 PM - 3 Dec 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.