• Jon Medhurst's avatar
    ARM: kprobes: Reject probing of undefined multiply instructions · ba48d407
    Jon Medhurst authored
    The instructions space for 'Multiply and multiply-accumulate'
    instructions contains some undefined patterns. We need to reject
    probing of these because they may in future become defined and the
    kprobes code may then emulate them faultily.
    
    This has already happened with the new MLS instruction which this patch
    also adds correct decoding for as well as tightening up other decoding
    tests. (Before this patch the wrong emulation routine was being called
    for MLS though it still produced correct results.)
    Signed-off-by: default avatarJon Medhurst <tixy@yxit.co.uk>
    Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
    ba48d407
kprobes-decode.c 51.9 KB