Re: ptrace: gpf in syscall_trace_enter

From: Steven Rostedt
Date: Wed May 07 2014 - 12:00:35 EST


On Wed, 07 May 2014 11:52:35 -0400
Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:


> > As the objdump is just of the object files and not the vmlinux, I would
> > need the offset from syscall_trace_leave of the RIP.
>
> 2803: 41 ff 14 24 callq *(%r12) <=== Here
> 2807: 49 83 c4 10 add $0x10,%r12
> 280b: 49 83 3c 24 00 cmpq $0x0,(%r12)

Yeah, after I sent the email, I figured it out from the

24 08 4c 89 ea 48 89 de <41> ff 14 24 49 83 c4 10 49

Thanks,

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/