About the dll search algorithm of dlopen
Yaakov Selkowitz
yselkowitz@cygwin.com
Wed Jun 1 23:29:00 GMT 2016
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
More information about the Cygwin-developers
mailing list