Re: function addresses and ld.so
>>>>> On Tue, 12 Aug 2003 18:24:47 -0400, Camm Maguire <camm@enhanced.com> 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 to: