diff options
author | Alex Light <allight@google.com> | 2014-07-02 16:28:08 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-07-22 08:24:14 -0700 |
commit | a59dd80f9f48cb750d329d4d4af2d99d72b484d1 (patch) | |
tree | 36958b15842205addaf6d2a13e40823eab47c8bc /Android.mk | |
parent | 84568fdf08f8f476292996ad653b4453d2894d23 (diff) | |
download | art-a59dd80f9f48cb750d329d4d4af2d99d72b484d1.zip art-a59dd80f9f48cb750d329d4d4af2d99d72b484d1.tar.gz art-a59dd80f9f48cb750d329d4d4af2d99d72b484d1.tar.bz2 |
Runtime can now be set to require relocation
Add a pair of runtime flags -Xrelocate and -Xnorelocate that can force
the runtime to require that all files that are run are relocated, to
prevent attacks based on the known art base address.
Add support for running patchoat on oat files compiled without an image.
Change run-test to have new --prebuild and --relocate flags.
Bug: 15358152
Change-Id: I91166c62dd1ab80e5cbcb7883a2cd0d56afca32d
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ $$(OUT_OAT_FILE): $(PRODUCT_OUT)/$(1) $(DEFAULT_DEX_PREOPT_BUILT_IMAGE) $(DEX2OA --dex-location=/$(1) --oat-file=$$@ \ --instruction-set=$(DEX2OAT_TARGET_ARCH) \ --instruction-set-features=$(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES) \ - --android-root=$(PRODUCT_OUT)/system + --android-root=$(PRODUCT_OUT)/system --include-patch-information endif |