gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: function addresses and ld.so


From: David Mosberger
Subject: [Gcl-devel] Re: function addresses and ld.so
Date: Wed, 13 Aug 2003 16:35:36 -0700

>>>>> On Tue, 12 Aug 2003 18:24:47 -0400, Camm Maguire <address@hidden> said:

  Camm> GCL stores addresses of its functions in data structures
  Camm> allocated in the normal way in its .data section.  It then
  Camm> runs an unexec routine which saves the memory image including
  Camm> these addresses to a file.

Isn't this a dangerous thing to do even on non-function-descriptor
architectures?  If I understand you right, GCL depends on the loader
mapping the shared objects on subsequent executions at the exact same
location as during the original execution.  Wouldn't, e.g.,
LD_PRELOADing something break this assumption?

        --david




reply via email to

[Prev in Thread] Current Thread [Next in Thread]