Thread (23 messages) 23 messages, 4 authors, 2011-03-30
STALE5552d

[PATCH] Fix ldrd/strd emulation for kprobes/ARM

From: nico@fluxnic.net (Nicolas Pitre)
Date: 2011-03-29 18:44:59

On Tue, 29 Mar 2011, Russell King - ARM Linux wrote:
On Tue, Mar 29, 2011 at 12:55:27PM -0400, Nicolas Pitre wrote:
quoted
Sorry, I meant r15-indexed with a write back.
I believe that's unpredictable.  So actually you can make kprobes do
anything you like with it - no one should ever generate an instruction
which read-modify-writes the PC.
Indeed.  Hence my suggestion to simply refuse and abort the placement of 
a probe on such instructions and keep the actual emulation code free of 
tests for those odd cases.  In practice this shouldn't affect anyone.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help