ptrace PEEKTEXT IO error?!

David Lecomber david@allinea.com
Wed Oct 5 18:40:00 GMT 2005


On Wed, 2005-10-05 at 19:20 +0100, David Lecomber wrote:
> 
> It seems ok at reading memory from addresses on the heap and stack --
> but it barfs at reading memory from the text segment.  Is there
> something that the user code  (one of the libraries called by my
> program) could do to prevent access to memory by a ptracing program?
> 

and I should have asked.. or is it only possible for the kernel, or a
kernel module to do that?

Cheers
David
-- 
David Lecomber, CTO, Allinea Software
tel: +44 1926 623231  fax: +44 1926 623232




More information about the Gdb mailing list