diff options
author | Elliott Hughes <enh@google.com> | 2017-04-19 17:44:57 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-04-19 17:49:43 -0700 |
commit | 72007ee68f507c0ab952a0b98888fc19473ba6f0 (patch) | |
tree | 4bdcac59ad9a945fa4eccf4c604fa04bb90bfe9a /tests/linux_swab_test.cpp | |
parent | 0fc84517abe3082f201a340dafe20403613ddf94 (diff) |
Decode the common EM_ values.
We know what "3" and "40" are, but most folks not on our team don't.
I don't think we need to support all the weird values, because only the
supported architectures actually occur in practice.
Bug: N/A
Test: manually overwrote aarch64 libcrypto.so with an x86-64 .so and ran "date"
Test: CANNOT LINK EXECUTABLE "date": "/system/lib64/libcrypto.so" has unexpected e_machine: 62 (EM_X86_64)
Change-Id: Ic4c6325fe7968f0c96fc0bfe15a50ed922a5ba55
Diffstat (limited to 'tests/linux_swab_test.cpp')
0 files changed, 0 insertions, 0 deletions