This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: About the dll search algorithm of dlopen


On 2016-06-01 15:17, Corinna Vinschen wrote:
LD_PRELOAD is (kind of) implemented but I think doesn't work as
intended.  Importing symbols is bound to the name of the DLL they came
from in a PE/COFF file.

However, as long as you're overriding symbols in cygwin1.dll, cygwin_internal(CW_HOOK,...) allows LD_PRELOAD hacks to work as intended. In fact, there are a few in the distro (artsdsp, datefudge, pulsedsp, Xdummy).

--
Yaakov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]