[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: _AS_LN_S_PREPARE question
From: |
Duft Markus |
Subject: |
RE: _AS_LN_S_PREPARE question |
Date: |
Mon, 11 Feb 2008 08:12:55 +0100 |
Ralf Wildenhues <mailto:address@hidden> wrote:
> * Duft Markus wrote on Mon, Feb 11, 2008 at 07:59:48AM CET:
>> Ralf Wildenhues <mailto:address@hidden> wrote:
>>>
>>> Is there a LD_PRELOAD-like mechanism on windows, by which you can
>>> intercept all open-like library calls?
>>> <http://fy.chalmers.se/~appro/nt/DLL_PRELOAD/> suggests there isn't
>>> one.
>>
>> Hm, i implemented LD_PRELOAD fully, but by concept this can only
>> work at shared library boundaries (i'm generating code with parity
>> that does all the shared library loading, which is capable of
>> LD_PRELOAD, LD_BIND_NOW, LD_BIND_LAYZ and such things :) just
>> runtime linking like behaviour is missing right now, but i have a
>> patch waiting for this...).
>
> What I meant here was: a chance to intercept all open-like calls done
> by the msvc binary itself (at which point you could presumably do the
> symlinnk resolution). Not programs and libraries you or your users
> are building.
Ahh, good idea. I would have to remove support for statically linking
the runtime then though... I will think about it.
Thanks, Cheers, Markus
>
> Cheers,
> Ralf