platform_build_soong/android
Ivan Lozano 0c3a1efae4 Add integer_overflow sanitization build option.
Adds the SANITIZE_TARGET=integer_overflow build option to apply signed and
unsigned integer overflow sanitization globally. This implements the
Soong side of the build option.

An additional build option is provided to control whether or not to run
in diagnostics mode, controlled by SANITIZE_TARGET_DIAG. This works the
same way that SANITIZE_TARGET does and currently only supports
'integer_overflow' as an option.

A default sanitizer blacklist is added to avoid applying sanitization
to functions that are likely to exhibit benign overflows.

Bug: 30969751
Test: Building with and without the new flags, device boot-up, tested
various permutations of controlling the new flags from build files.

Change-Id: Ibc8a8615d3132f1a23faaf1cb4861f24c5ef734a
2017-07-07 09:52:23 -07:00
..
androidmk.go Supported python build in host side. 2017-05-05 13:27:56 -07:00
api_levels.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
arch.go Refactor factories 2017-06-30 21:08:36 +00:00
config.go Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
defaults.go Refactor factories 2017-06-30 21:08:36 +00:00
defs.go Fix the issue "\n" didn't get interpreted properly. 2017-05-16 15:10:29 -07:00
env.go Revert "Revert "Ensure environment dependencies are correct"" 2017-05-15 15:22:45 -07:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
hooks.go Replace PropertyCustomizer with hooks 2016-09-13 17:37:32 -07:00
makevars.go Move registration into android package 2016-10-12 14:30:44 -07:00
module.go Fixed the unexpected scenario for "device_supported" 2017-07-05 10:37:57 -07:00
mutator.go Supported python build in host side. 2017-05-05 13:27:56 -07:00
onceper.go Add DeviceConfig and OncePer objects 2016-08-17 16:39:06 -07:00
package_ctx.go Clarify paths.go somewhat 2017-05-15 11:31:48 -07:00
paths.go Fix install location for vendor tests 2017-07-06 18:09:46 -07:00
paths_test.go Fix install location for vendor tests 2017-07-06 18:09:46 -07:00
prebuilt.go Fix installing prebuilts with no source module 2017-03-17 14:06:25 -07:00
prebuilt_test.go Refactor factories 2017-06-30 21:08:36 +00:00
register.go Refactor factories 2017-06-30 21:08:36 +00:00
util.go Move globbing to Blueprint 2016-11-04 04:54:16 +00:00
variable.go Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00