commit | dc9a1935d509bf97b15e43dfeab89c8eb3a1e4e2 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Oct 23 17:42:41 2018 -0700 |
committer | Christopher Ferris <cferris@google.com> | Mon Oct 29 18:08:09 2018 -0700 |
tree | 2832d853a8b2dfa6f66f1c5d04d22df742b22d4d | |
parent | 461a213ae8a01581ff1fa9c589c9b412b5ce6425 [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