Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42794 )
Change subject: crossgcc: Allow GCC to get asan shadow offset at runtime ......................................................................
Patch Set 11:
(2 comments)
https://review.coreboot.org/c/coreboot/+/42794/11//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/42794/11//COMMIT_MSG@15 PS11, Line 15: Please add more details, why GCC needs to be patched for coreboot, but apparently not for the Linux kernel, which also has KASAN support.
Is this also necessary in newer GCC versions, or do those already support the use case?
https://review.coreboot.org/c/coreboot/+/42794/11/util/crossgcc/patches/gcc-... File util/crossgcc/patches/gcc-8.3.0_asan_shadow_offset_callback.patch:
https://review.coreboot.org/c/coreboot/+/42794/11/util/crossgcc/patches/gcc-... PS11, Line 1: diff -urN gcc-8.3.0.orig/gcc/asan.c gcc-8.3.0/gcc/asan.c Please add a patch file created with `git format-patch -1`, which contains a commit message.