Tomislav Novak
d8febc98b3
make: HWASan exclude path support
...
Like aosp/2495518, but adds the ability to centrally disable HWASan
for multiple modules when building with SANITIZE_TARGET=hwaddress.
HWASan takes precedence over CFI and several other sanitizers that it's
incompatible with[1], which can be problematic for modules that require
those sanitizers (e.g. those that depend on vendor prebuilts where only
sanitized variants are provided). This patch adds an easy way to disable
HWASan for such modules while still keeping it globally enabled.
Test: build with HWASAN_EXCLUDE_PATHS set and verify with readelf that
relevant modules have no references to __hwasan symbols
[1] bb31ca1168/core/config_sanitizers.mk (236)
Change-Id: I64185b570bc64e61680c3212934a02d80a4904b9
2023-08-22 18:15:04 +00:00
..
2023-02-28 10:52:10 -08:00
2023-03-05 14:38:12 -08:00
2023-08-21 14:08:00 +00:00
2023-08-19 00:07:16 +00:00
2023-07-25 21:30:38 +00:00
2023-05-09 15:12:58 -07:00
2022-05-04 13:36:47 +01:00
2023-06-08 00:07:43 +00:00
2020-06-12 21:10:55 -07:00
2023-06-27 15:39:05 -07:00
2022-11-17 16:33:44 +00:00
2022-04-12 13:43:28 -07:00
2021-09-22 04:20:05 +00:00
2023-07-21 14:34:44 +00:00
2023-06-07 20:57:38 +00:00
2023-06-22 17:32:03 +00:00
2023-07-21 15:51:58 -04:00
2023-07-12 23:12:35 +00:00
2020-01-14 17:00:13 -08:00
2022-03-29 16:11:12 +01:00
2022-12-01 07:31:32 +00:00
2022-09-02 13:15:05 +09:00
2020-09-22 18:55:11 +08:00
2023-03-22 21:11:42 +00:00
2022-09-20 14:53:51 -07:00
2023-07-26 00:34:57 +00:00
2023-08-22 18:15:04 +00:00
2023-08-11 11:50:28 -07:00
2023-06-07 20:57:38 +00:00
2021-03-31 15:33:35 -07:00
2023-08-14 15:28:05 -07:00
2022-05-11 08:17:45 -07:00
2022-06-13 09:06:59 +00:00
2023-07-13 14:24:18 +01:00
2022-03-16 14:21:08 -07:00
2023-06-28 17:59:39 +01:00
2023-06-19 20:20:05 +01:00
2023-04-27 16:10:05 +09:00
2022-04-05 16:52:23 -07:00
2022-12-05 13:13:37 -08:00
2023-06-29 12:50:10 +00:00
2022-04-06 01:11:20 +00:00
2023-06-11 09:17:43 -07:00
2021-04-02 21:05:48 -07:00
2020-06-08 16:36:52 -07:00
2020-06-08 16:36:52 -07:00
2022-01-06 18:47:57 +00:00
2021-04-02 10:24:48 -07:00
2023-04-24 13:16:32 +00:00
2020-03-05 20:46:47 +00:00
2022-11-09 16:40:25 -08:00
2023-05-23 05:59:09 +00:00
2022-11-09 16:40:25 -08:00
2020-03-07 11:29:29 -08:00
2020-03-07 11:29:29 -08:00
2022-09-07 17:35:29 +00:00
2019-07-09 08:57:19 +00:00
2023-05-26 21:35:10 +00:00
2022-03-30 20:05:34 -07:00
2023-03-20 21:59:18 +00:00
2023-05-26 21:35:10 +00:00
2022-11-25 11:17:57 +00:00
2019-10-21 09:36:45 +01:00
2021-04-13 12:42:44 +01:00
2021-07-08 17:01:43 -07:00
2019-07-15 17:29:42 +00:00
2023-05-23 05:59:09 +00:00
2021-11-29 12:50:42 +00:00
2020-06-10 17:18:13 -07:00
2020-08-24 23:16:19 +09:00
2020-04-28 10:25:41 +09:00
2023-06-07 20:57:38 +00:00
2023-08-10 18:11:06 -07:00
2023-08-15 01:55:05 +00:00
2019-11-11 15:21:06 -08:00
2021-09-22 04:20:05 +00:00
2019-07-15 17:29:42 +00:00
2023-05-26 21:35:10 +00:00
2022-10-07 16:21:04 +00:00
2022-06-24 15:42:46 -07:00
2022-09-09 00:56:42 +00:00
2023-03-01 15:51:24 -08:00
2023-02-28 10:52:10 -08:00
2019-07-30 22:36:29 -07:00
2023-06-27 15:39:05 -07:00
2020-06-08 16:36:52 -07:00
2020-05-27 19:37:03 -07:00
2023-03-14 15:14:06 -07:00
2019-09-18 16:23:04 +00:00
2023-05-23 20:01:39 +00:00
2023-05-16 10:53:05 -07:00
2022-08-29 17:22:50 +02:00
2023-08-22 18:15:04 +00:00
2023-08-15 15:48:35 +00:00
2023-02-02 16:33:34 +00:00
2023-03-09 08:40:02 +08:00
2023-01-19 18:17:08 +00:00
2023-06-12 23:29:25 -07:00
2023-08-10 16:26:12 +00:00
2022-10-14 15:55:31 -07:00
2023-08-08 16:57:42 +00:00
2021-09-24 18:39:47 +00:00
2021-04-06 12:41:10 +02:00
2019-11-14 09:57:13 -08:00
2023-06-16 23:02:09 -07:00
2020-06-12 21:10:55 -07:00
2021-04-02 21:05:48 -07:00
2020-03-07 11:29:29 -08:00
2020-06-11 22:57:48 +00:00
2021-11-17 19:45:49 -08:00
2023-08-02 15:36:59 -07:00
2022-06-02 11:38:12 +09:00
2023-08-22 18:15:04 +00:00
2022-04-12 18:57:15 -07:00
2023-07-25 21:30:38 +00:00
2023-07-25 21:30:38 +00:00
2020-02-03 19:00:36 +00:00
2020-03-07 11:29:29 -08:00
2019-10-18 18:28:23 +00:00
2023-08-16 15:39:29 +00:00
2021-03-15 10:45:05 -07:00
2023-08-16 21:27:21 +00:00
2023-07-14 14:18:08 -07:00