Hi Jiri,
Thank you for the review and for catching that inaccuracy!
On 10/26/25 2:48 AM, Jiri Olsa wrote:
just probed_uprobe right?
Yes, you're absolutely correct. Only probed_uprobe has the __attribute__((nocf_check)) attribute. I apologize for the confusion in my original commit message. I'll fix this in v2.
curious what compiler do you see that with?
I am seeing this error with Clang 19.1.2 on Fedora, which enables -fcf-protection=full by default. As Sam confirmed, the error occurs specifically when CFI protection is enabled via -fcf-protection. GCC without this flag treats it as a warning or ignores the nocf_check attribute entirely.
I'll send v2 with the corrected commit message.
Thanks again for the review!
Best regards, Nirbhay