summaryrefslogtreecommitdiff
path: root/init/tokenizer.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-06-22 16:48:02 -0700
committerChristopher Ferris <cferris@google.com>2018-06-22 16:48:02 -0700
commitf882a38864199f645efb973f881e06d6a0563ce3 (patch)
treee1aeb4a6c5cb945630d24f40d2f239b04c8c258e /init/tokenizer.cpp
parent8ddd10554547f1b38631b96a12fb3c1cae6bfd08 (diff)
Fix ARM program header values used for exidx.
Before, I was using p_vaddr to get the offset into the elf file where the exidx frame starts. I changed that to use p_offset since this already has the load bias offset in it and some elf files do not set p_vaddr properly. Also, use p_filesz instead of p_memsz, since again, some elf files do not set p_memsz to the same as p_filesz. Bug: 110704153 Test: All libbacktrace/libunwindstack unit tests pass. Test: Randomly unwind process on a walleye. Test: Verified that this properly dumps and unwinds the shared Test: library that sets p_vaddr and p_memsz differently. Change-Id: Ic7b1e5d07439f4636fa02cd884a8727a5737372b
Diffstat (limited to 'init/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions