News for hackers. Stuff that matters.
Re:ELF files on Linux by saagarjha on Thursday May 16, 2019 @07:27PM (#19934507)
A somewhat lesser known but (IMO) fun fact is that if you compile your executable with -export-dynamic, you can dlopen it and dlsym for functions inside of it just like you would with any other shared library (note that if your goal is to just load the executable, such as if it already has a constructor defined, you don't even need this flag).

There are no comments on this comment yet.