Re: [PATCH -tip v8 10/13] x86/kprobes: Push a fake return address at kretprobe_trampoline

Ingo Molnar
2021-07-05T08:17:26Z

* Masami Hiramatsu <mhiramat@kernel.org> wrote:

> + /* Replace fake return address with real one. */
> + *frame_pointer = kretprobe_trampoline_handler(regs, frame_pointer);
> + /*
> + * Move flags to sp so that kretprobe_trapmoline can return
> + * right after popf.

What is a trapmoline?

Also, in the x86 code we capitalize register and instruction names so that
they are more distinctive and easier to read in the flow of English text.

Thanks,

Ingo