|
From: Tom H. <th...@cy...> - 2004-03-03 11:13:41
|
In message <1078264996.1032.10.camel@localhost.localdomain>
Jeremy Fitzhardinge <je...@go...> wrote:
> On Tue, 2004-03-02 at 01:53, Tom Hughes wrote:
>> This doesn't appear to work. I think the problem is that recent
>> versions of glibc will ignore AT_SYSINFO unless AT_SYSINFO_EHDR is
>> also set - maybe this is what bug 73891 is about?
>
> That would be annoying. I'm not really sure what to put for the ehdr.
Well it needs to be a pointer to a valid ELF header whose entry
point is the address of the sysinfo routine. The easiest way to
do it might be to actually build a separate shared object that
valgrind could map into the client address space in the same way
the 2.6 kernels do. More details of how it works can be found at:
http://lwn.net/Articles/30258/
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|