Hi, Kees, Thanks a lot for testing the patch with Linux kernel, and I am so happy that the patch is really helpful to locate the real bugs in the source code.
Hopefully it could be put into GCC15… Qing > On Nov 17, 2024, at 00:13, Kees Cook <k...@kernel.org> wrote: > > On Tue, Nov 05, 2024 at 04:31:29PM +0000, Qing Zhao wrote: >> This is the 4th version of the patch for fixing PR109071. > > Thanks for all the work on this! I've been doing Linux kernel builds > with it and am finding many places where the new diagnostics make the > warning understandable. There was an especially hard to understand one > that even with diagnostics took me some time to track down. :) > > Here is an example of one of the fixes I've sent already: > > https://lore.kernel.org/linux-hardening/20241117044612.work.304-k...@kernel.org/ > > Having this for GCC 15 would be really lovely. *cross fingers* > > -Kees > > -- > Kees Cook