History log of /system/extras/tests/kernel.config/aslr_rec_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b543b4ed380bd3571f23225b216ad82860d281ee 23-Mar-2016 dcashman <dcashman@google.com> aslr_test: Fix typo.

Bug: 26512380
Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
/system/extras/tests/kernel.config/aslr_rec_test.cpp
d661642651a6689c76d3f575b4b5dbf04e6b75bd 07-Mar-2016 dcashman <dcashman@google.com> 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
/system/extras/tests/kernel.config/aslr_rec_test.cpp