Merge "init: only use signed-integer-overflow sanitizer"
This commit is contained in:
commit
a19f481c8c
|
@ -18,7 +18,7 @@ cc_defaults {
|
|||
name: "init_defaults",
|
||||
cpp_std: "experimental",
|
||||
sanitize: {
|
||||
misc_undefined: ["integer"],
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
},
|
||||
cppflags: [
|
||||
"-DLOG_UEVENTS=0",
|
||||
|
|
|
@ -99,5 +99,5 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
|
|||
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
|
||||
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
|
||||
|
||||
LOCAL_SANITIZE := integer
|
||||
LOCAL_SANITIZE := signed-integer-overflow
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
Loading…
Reference in New Issue