This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: Possibly a bug in glibc around the getrandom(2) implementation.


On 07/14/2017 11:04 AM, Marcin Mielniczuk wrote:
> On the other hand, the error I'm experiencing happens only if I'm
> overwriting memory with PTRACE_POKEUSER and gdb won't load a
> scriptable file with a shebang. Should I simply print the RSP
> register in my C utility before overwriting the buffer?

That is a good idea. Likewise you can try to reduce your problem to
something you _can_ debug, for example if you can deatch your tracer
and leave the program in a loop, then you can attach gdb and inspect
the state.

-- 
Cheers,
Carlos.


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