Merge "init: only use signed-integer-overflow sanitizer" am: a19f481c8c

am: 2eada2af9c

Change-Id: Ic0da94313de22222d4312cf097fd5dcd43c76344
This commit is contained in:
Tom Cherry 2017-07-27 00:58:03 +00:00 committed by android-build-merger
commit 9d36683fd7
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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)