[RFC PATCH 0/2] ARM: kprobes: Table driven decoding of CPU instructions

Deepak Saxena dsaxena at linaro.org
Thu Jun 16 18:59:04 UTC 2011


Hi Tixy,

Do you want to also submit this to linux-arm-kernel (cc: linaro-kernel
and linaro-dev)?
I think it'd be good to get input directly from upstream folks (rmk in
particular) on
the first pass.

Thanks,
~Deepak

On 16 June 2011 06:22, Tixy <tixy at yxit.co.uk> wrote:
> Following a suggestion from Nicolas I have implemented table driven
> decoding of CPU instructions in kprobes. This is an alternative to the
> mass of if/else code in the original kprobes implementation. Also, by
> making the register usage in emulation code completely uniform,
> emulation functions can be more widely reused and all the separate
> prep_emulate_xxx functions unnecessary.
>
> All of infrastructure for this is in patch 1, and I am looking for
> feedback on this.
>
> I've also added a second patch which shows how this infrastructure
> is used to implement decoding and emulation of all the 32-bit Thumb
> instructions.
>
> _______________________________________________
> linaro-kernel mailing list
> linaro-kernel at lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-kernel
>



More information about the linaro-kernel mailing list