Messages in this thread | | | Date | Thu, 25 Feb 2021 10:59:57 +0100 | From | Peter Zijlstra <> | Subject | Re: Why do kprobes and uprobes singlestep? |
| |
On Wed, Feb 24, 2021 at 11:45:10AM -0800, Andy Lutomirski wrote: > I guess I see the point for CALL, JMP and RET, but it seems like we > could emulate those cases instead fairly easily.
Today, yes. CALL emulation was 'recently' made possible by having #BP have a stack gap. We have emulation for all 3 those instructions implemented in asm/text-patching.h, see int3_emulate_$insn().
| |