@Yuri - yep, came to the same conclusion |
==> |
Would making the binary load a custom libc wrapper count as a solution or can ptrace really return the value? Or is there some other workaround I haven't noticed? |
==> |
Can we get a hint? I can't figure it out :/ |
==> |
Read the FAQ... |
==> |
Does this count? :D
gdb --batch-silent -ex='catch syscall ptrace' -ex=r -ex=c -ex='set ($eax) = 1337' -ex=c --args ./noprelo __gmon_start__ |
==> |
I wonder if the ptrace is there so a parent process can attach to it and manipulate it's memory? Not 100% sure what counts as a valid solution in this case. |
==> |
Mmm... magic squares :)
xjkumsrpqontlvwi
boyxxyobobxyyxbo |
==> |