Saturday, March 24, 2012

Taking a closer look at strace source code

I downloaded strace 4.6 source code from SourceForge and did a quick comparison with version 4.5.12, which is still in use by Android.

I found that this line in util.c version 4.5.12,

 perror("ptrace: umoven");

has been changed to the following in version 4.6:

if (addr != 0 && errno != EIO && errno != ESRCH)
    perror("ptrace: umoven");

Yay! Seems like this annoying error has been fixed! But wait a minute, does this fix the incomplete lines issue (as mentioned in my previous posts)? Hmm...

No comments: