local_test_runner: plumb ASAN use flag through software deps
This allows tests to run only when ASAN is disabled.
BUG=chromium:877733
TEST=run security.ASLR with checktestdeps and ensure it fails
if the system has the use flag
CQ-DEPEND=CL:1359773
Change-Id: I4d8f53422c24de6cfdb2608c136cde67b1ccb2f4
Reviewed-on: https://chromium-review.googlesource.com/1359793
Commit-Ready: Eric Caruso <[email protected]>
Tested-by: Eric Caruso <[email protected]>
Reviewed-by: Eric Caruso <[email protected]>
diff --git a/docs/test_dependencies.md b/docs/test_dependencies.md
index 2a9148b..5786fe6 100644
--- a/docs/test_dependencies.md
+++ b/docs/test_dependencies.md
@@ -9,9 +9,12 @@
The following software features are defined:
* `android` - The ability to [run Android apps]. Any version of Android can be
- used.
+ used.
* `android_p` - The ability to [run Android apps] that require Android P or
- later.
+ later.
+* `aslr` - Address space layout randomization, which mitigates buffer-overflow
+ attacks, is functional (this is not true for builds with [AddressSanitizer]
+ instrumentation built in).
* `audio_play` - The ability to play audio.
* `audio_record` - The ability to record audio.
* `autotest-capability:foo` - An [Autotest capability] named `foo`. See below.
@@ -53,6 +56,7 @@
[testing.Test]: https://godoc.org/chromium.googlesource.com/chromiumos/platform/tast.git/src/chromiumos/tast/testing#Test
[run Android apps]: https://developer.android.com/topic/arc/
+[AddressSanitizer]: https://github.com/google/sanitizers/wiki/AddressSanitizer
[Autotest capability]: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/chromeos-base/autotest-capability-default/
[Memory stats collection daemon]: https://chromium.googlesource.com/chromiumos/platform2/+/master/metrics/memd/
[screenshot command]: https://chromium.googlesource.com/chromiumos/platform2/+/master/screenshot/