Merge "init: only use signed-integer-overflow sanitizer" am: a19f481c8c
am: 2eada2af9c
Change-Id: Ic0da94313de22222d4312cf097fd5dcd43c76344
This commit is contained in:
commit
9d36683fd7
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue