[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Proposal] Load module symbols from main program
- From: Karel Tuma <kat@...>
- Date: Sat, 23 Apr 2016 10:23:52 +0200
Excerpts from William Ahern's message of 2016-04-23 00:46:14 +0200:
> object files consisting of the original program image file, any executable
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In practice, most implementations return NULL and dlsym(NULL, ...) works
to the same effect. The main issue is that linkers don't preserve global
symbols of main executable unless specifically instructed to do so.