strace-4.10 cannot decode string

Dmitry V. Levin ldv at altlinux.org
Tue Mar 31 00:00:21 UTC 2015


Hi,

On Thu, Mar 12, 2015 at 02:00:05PM +0000, Justin Huang wrote:
> Hi strace-developers,
> 
> I ran the sample hello.c code on strace 4.5.8 and 4.10.  Version 4.5.8 can show the text print "hello world" with write() in log while 4.10 only show some number which may be the address.

Looks like a hardened kernel where process_vm_readv fails with EPERM.
To confirm this hypothesis, try the patch from
http://sourceforge.net/p/strace/mailman/message/33674829/


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150331/74c463bd/attachment.bin>


More information about the Strace-devel mailing list