Re: [PATCH v12 07/10] arm64: kprobes instruction simulation support

2016-05-26 Thread David Long
On 05/18/2016 09:52 PM, Huang Shijie wrote: On Wed, Apr 27, 2016 at 02:53:02PM -0400, David Long wrote: From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from a different memory location, e.g.: those instructions that uses PC-relative addressing. In simulati

Re: [PATCH v12 07/10] arm64: kprobes instruction simulation support

2016-05-18 Thread Huang Shijie
On Wed, Apr 27, 2016 at 02:53:02PM -0400, David Long wrote: > From: Sandeepa Prabhu > > Kprobes needs simulation of instructions that cannot be stepped > from a different memory location, e.g.: those instructions > that uses PC-relative addressing. In simulation, the behaviour > of the instructio

[PATCH v12 07/10] arm64: kprobes instruction simulation support

2016-04-27 Thread David Long
From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from a different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the instruction is implemented using a copy of pt_regs. The following instruction cat