summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-10 20:51:45 -0800
committerAndreas Gampe <agampe@google.com>2014-12-10 20:51:45 -0800
commitad00fed942a9a04cf3f46784bbd04a5f00dd4ab8 (patch)
tree3b6242e4e75adb4a490ac0692b1363c8fdbdbbd5 /test/ProfileTestMultiDex/Main.java
parenta8ff529ea561aa67f07e97cf29b43f5d6dbfa898 (diff)
ART: More ELF and oat file safety measures
In an ELF file, look for a shstrtab section when loading in program-header-only mode. If the section is outside the file size, it strongly indicates a broken compile. When compiling oat files in the class linker, explicitly unlink on failure. This should catch cases when dex2oat is killed or crashes and doesn't have a chance to delete its (partial) output. Bug: 15567083 Change-Id: Ia0c75f151d91c6f26a71696967255d6d409ca882
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions