summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-10 20:51:45 -0800
committerAndreas Gampe <agampe@google.com>2014-12-11 10:58:38 -0800
commita696c0a27f9b9cdf68ac17bdb4e29ac1f798ac32 (patch)
tree9d5ced102fd0848f0b5283b6a613724dfd1abc6a /compiler/optimizing/graph_visualizer.cc
parent86ff0892aae3b13a105ce2fd58c39591f315c049 (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 (cherry picked from commit ad00fed942a9a04cf3f46784bbd04a5f00dd4ab8) Change-Id: Ia0c75f151d91c6f26a71696967255d6d409ca882
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions