This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ptrace PEEKTEXT IO error?!


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]