X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2FKconfig.ubsan;h=236c5cefc4cc50b98c064c9261056a08e7bbc9d6;hb=refs%2Fheads%2Faccepted%2Ftizen_8.0_unified;hp=e5372a13511df17fa8790469c053dfad116196e1;hpb=09d78dde88ef95a27b54a6e450ee700ccabdf39d;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan index e5372a1..236c5ce 100644 --- a/lib/Kconfig.ubsan +++ b/lib/Kconfig.ubsan @@ -112,19 +112,6 @@ config UBSAN_UNREACHABLE This option enables -fsanitize=unreachable which checks for control flow reaching an expected-to-be-unreachable position. -config UBSAN_OBJECT_SIZE - bool "Perform checking for accesses beyond the end of objects" - default UBSAN - # gcc hugely expands stack usage with -fsanitize=object-size - # https://lore.kernel.org/lkml/CAHk-=wjPasyJrDuwDnpHJS2TuQfExwe=px-SzLeN8GFMAQJPmQ@mail.gmail.com/ - depends on !CC_IS_GCC - depends on $(cc-option,-fsanitize=object-size) - help - This option enables -fsanitize=object-size which checks for accesses - beyond the end of objects where the optimizer can determine both the - object being operated on and its size, usually seen with bad downcasts, - or access to struct members from NULL pointers. - config UBSAN_BOOL bool "Perform checking for non-boolean values used as boolean" default UBSAN