diff options
author | dcashman <dcashman@google.com> | 2016-03-07 10:32:05 -0800 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2016-03-09 16:39:14 -0800 |
commit | d661642651a6689c76d3f575b4b5dbf04e6b75bd (patch) | |
tree | f52dde11935ced3208c4071e5b9af0fbc8e961a7 /su | |
parent | 0a34d462046a77c7649a40226b06c2232a547635 (diff) | |
download | extras-d661642651a6689c76d3f575b4b5dbf04e6b75bd.tar.gz |
Migrate aslr test to gtest.
Create tests which test the values of mmap_rnd_bits, and
mmap_rnd_compat_bits, if applicable, and verify that the address space
is randomized as expected given the provided values.
Also add a pair of tests to CTS that enforce that the observed entropy
is at least as high as a designated value. That value will start as our
default value, which also corresponds to the maximum value of some
configurations.
Packaging of executables along with a nativetest suite is not supported,
so add a dummy nativetest suite, scrape_mmap_addr, which ensure that the
executables are present along with the given tests at predictable
locations.
Bug: 26512380
Change-Id: Ib1202984f9b98c503b8d3bc2c2248a9d06940845
Diffstat (limited to 'su')
0 files changed, 0 insertions, 0 deletions