summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-10-23 17:42:41 -0700
committerChristopher Ferris <cferris@google.com>2018-10-29 18:08:09 -0700
commitdc9a1935d509bf97b15e43dfeab89c8eb3a1e4e2 (patch)
tree2832d853a8b2dfa6f66f1c5d04d22df742b22d4d /debuggerd/libdebuggerd/utility.cpp
parent461a213ae8a01581ff1fa9c589c9b412b5ce6425 (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