Re: [PATCH 06/14] Fix CFLAGS for UBSAN_BOUNDS on Clang

From
Kees Cook <hidden>
Date
2020-09-17 22:17:08
Also in
kvmarm, linux-kbuild, lkml
Reply to
George Popescu, 2020-09-15
On Tue, Sep 15, 2020 at 10:24:58AM +0000, George Popescu wrote:
This would mean losing the local-bounds coverage. I tried to  test it without
local-bounds and with a locally defined array on the stack and it works fine
(the handler is called and the error reported). For me it feels like
--array-bounds and --local-bounds are triggered for the same type of
undefined_behaviours but they are handling them different.
Er, if --array-bounds still works on local arrays, what does
local-bounds actually do? >_> :P If we don't have a reduction in
coverage, yeah, I'm fine to turn that off.

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (28 messages) 28 messages, 5 authors, last reply 2020-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help