diff options
Diffstat (limited to 'android/config.go')
| -rw-r--r-- | android/config.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index 43d743b6b..5d38d7180 100644 --- a/android/config.go +++ b/android/config.go @@ -712,6 +712,13 @@ func (c *config) CFIDisabledForPath(path string) bool { return PrefixInList(path, *c.ProductVariables.CFIExcludePaths) } +func (c *config) IntegerOverflowEnabledForPath(path string) bool { + if c.ProductVariables.IntegerOverflowIncludePaths == nil { + return false + } + return PrefixInList(path, *c.ProductVariables.IntegerOverflowIncludePaths) +} + func (c *config) CFIEnabledForPath(path string) bool { if c.ProductVariables.CFIIncludePaths == nil { return false |