commit | 54823accfcfc715e9e757a621afb40dabc01d033 | [log] [tgz] |
---|---|---|
author | Jon Medhurst <tixy@yxit.co.uk> | Fri Apr 08 15:32:55 2011 +0100 |
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | Thu Apr 28 23:40:57 2011 -0400 |
tree | 17707c238fbb07f26769b974bec731945015696e | |
parent | 6823fc85fcfba11675f2027aadf2d5291c6f351b [diff] |
ARM: kprobes: Reject probing of LDR/STR instructions which update PC unpredictably Using PC as an base register with writeback is UNPREDICTABLE, as is non word-sized loads or stores of PC. (We only really care about preventing loads to PC but it keeps the code simpler if we also exclude stores.) Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>