[PATCH] Reject kprobes when Rn==15 and writeback is set
From: Viktor Rosendahl <hidden>
Date: 2011-03-30 16:46:31
From: Viktor Rosendahl <hidden>
Date: 2011-03-30 16:46:31
On 03/30/2011 06:52 PM, ext Tixy wrote:
If we start littering the code with all these extra checks we risk introducing bugs and making the code more difficult to maintain. In my opinion we should not add any extra code to handle instructions combinations that the ARM ARM says are UNPREDICTABLE, or have fields which are SBZ/SBO. The toolchain shouldn't ever generate these bad instructions in which case the extra kprobes code is redundant.
I see your point. I guess we can decide to not care about those unpredictable cases, unless someone can come up with some decoding & checking code that covers all the cases and is easy to understand and maintain. best regards, Viktor