On 23/02/2022 10:25, Jan Beulich wrote: > On 22.02.2022 16:26, Andrew Cooper wrote: >> Control Flow Integrity schemes use toolchain and optionally hardware support >> to help protect against call/jump/return oriented programming attacks. >> >> Use cf_check to annotate function pointer targets for the toolchain. >> >> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> >> Acked-by: Jan Beulich <jbeul...@suse.com> >> --- >> v3 >> * Annotations for gcov > Hmm, ... > >> --- >> xen/arch/x86/mm.c | 6 ++++-- >> xen/arch/x86/setup.c | 4 ++-- >> xen/common/coverage/gcov.c | 8 ++++---- > ... what about llvm.c then?
Good point. I'll fix up. There's currently no Clang toolchain capable of spotting/complaining at this, but the Clang devs are working on this. ~Andrew