diff options
author | Chris Morin <cmtm@google.com> | 2018-02-09 19:12:35 -0800 |
---|---|---|
committer | Chris Morin <cmtm@google.com> | 2018-02-16 14:00:05 -0800 |
commit | ae6832f12bbbe00d79a8ea82a16584c562fb3f8b (patch) | |
tree | 5ae3de542c0b46052e6176298279bfaa2f4c4b10 /compiler/optimizing/graph_visualizer.cc | |
parent | b1c724cc1e57878faed18cee007a26b9da7e3cf2 (diff) |
Have patchoat --verify verify symlinks
patchoat --verify now verifies that the vdex and oat symlinks in
/data/dalvik-cache point to the correct vdex and oat files in /system/.
This is to protect attacks that would change the symlink targets.
Refactoring of patchoat code was done too.
Bug: 66697305
Test: make test-art-host-gtest-patchoat_test
Test: remove a symlink and ensure patchoat verification fails
Test: modify a symlink and ensure patchoat verification fails
Change-Id: I18e8f9f6363cf18ad8fa879aeb4d8c7badf679a7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions