[PATCH v3 1/5] arm64: Kprobes with single stepping support
From: Sandeepa Prabhu <hidden>
Date: 2014-11-20 05:10:11
Also in:
lkml
From: Sandeepa Prabhu <hidden>
Date: 2014-11-20 05:10:11
Also in:
lkml
On 19 November 2014 20:25, David Long [off-list ref] wrote:
quoted
I was thinking of the magic hex numbers in the kprobes decode tables, which seem to correspond directly to the instruction classes described in insn.c Keeping the actual emulation code separate makes sense. WillOf course that follows the model of the much more complex arm32 kprobes/uprobes decoding. I can have a go at replacing it with insn.c calls.
well, the magic hex numbers were derived directly from ARMv8 ARM Tabled C4.1 thru C4.6 and bit-masking would be faster search, but surely you can give a try with insn.c (this would consume lot of function calls to arrive at same decision). ~Sandeepa
-dl