Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9cd0573b authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

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

Merge "init: only use signed-integer-overflow sanitizer" am: a19f481c am: 2eada2af am: 9d36683f am: a12e34cc
am: 29c3e7eb

Change-Id: Ife8ed39d76ba06870e867363a7ee498265a3e2c4
parents cb243d99 29c3e7eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
+1 −1
Original line number Diff line number Diff line
@@ -97,5 +97,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)