> -----Original Message-----
> From: Dennis Jenkins [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 07, 2006 11:46 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] DLLs containing user-defined SQL functions
> 
> Robert Simpson wrote:
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> >> Sent: Wednesday, June 07, 2006 10:36 AM
> >> To: sqlite-users@sqlite.org
> >> Subject: Re: [sqlite] DLLs containing user-defined SQL functions
> >>
> >>
> 
> > Pardon my ignorance about *nix, but what happens during 
> this whole global
> > symbol mapping thing if two libraries both export the same 
> function name?
> >
> >   
> 
> The PE (exe,dll,sys) file format on Windows defines an import table. 
> Each entry in the import table has both a DLL name AND a 
> symbol name (or
> ordinal import).  It is perfectly valid for one PE file to import two
> objects from two different PEs that both have the same symbol name. 
> Convincing your compiler/linker to produce such a PE import table is
> left as an exercise to the reader ;)

I know how Windows works -- being a Windows programmer :)  I was asking
about how *nix works.  On the surface the *nix way resolving these global
symbols seemed like a keen way for some kind of injection attack or
something.



Reply via email to