Thank you for the response, Roland!
Off hand, it seems more likely there is some authentic variation
between runs for whatever reason than that this has something to do with
ptrace.
I agree, it most likely has to do with the process itself. I am puzzled because something as simple as "hello world!" does not have any asynchronous events and should be totally reproducible.

Have you tried making your program look at the tracee's PC every time (use
PTRACE_GETREGS or PTRACE_PEEKUSR) and emit it so you can compare two differing
runs a little more meaningfully?
I'll do as you suggest and will let you know the results.

Talk to you soon,

Roni.



Reply via email to