diff options
author | Christopher Ferris <cferris@google.com> | 2018-10-23 17:42:41 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-10-29 18:08:09 -0700 |
commit | 4568f4bc0f116f097a13b1d931de93cf525ae204 (patch) | |
tree | 2832d853a8b2dfa6f66f1c5d04d22df742b22d4d /debuggerd/libdebuggerd/utility.cpp | |
parent | 2a8460721ca219ea2d9bc00e0412297afd12df47 (diff) |
Verify that the elf matches the expected arch.
To avoid a case where a malicious app might try and trick the system to
create an elf and register object that mismatches, always verify that they
are the same arch.
Test: Ran unit tests.
Change-Id: I66978e9e02f8e4f396856912e7019528ead4838e
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions