imer_setup() is not compatible with PaX's RAP

PaX Team pageexec at
Tue Nov 28 13:32:01 CET 2017

On 28 Nov 2017 at 13:20, Jason A. Donenfeld wrote:

> Hey Pipacs,
> A user on IRC found another issue. This time it looks like it might be
> a RAP bug, though. Below is the error output. So far as I can see, the
> function pointer type and the function declaration match fine.
> However, the function itself is implemented in assembly, which means
> it can't itself be instrumented by RAP. What to do?

targets of indirect calls must be marked by the RAP hash which the plugin
will do for code it sees but for asm you'll have to do it yourself, look at
the use of RAP_ENTRY to see how that works.

More information about the WireGuard mailing list