summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-10-21 18:59:42 -0700
committerChristopher Ferris <cferris@google.com>2019-10-21 19:11:22 -0700
commit5838e53b97e722b19a4b06edadd72077d4057e61 (patch)
tree6d9126a9c1b58c26cab5944f08ebe5ae6f8365bc /trusty/coverage/coverage.cpp
parentd1a6d75d29d093eef4b96948037d0c36710a4a79 (diff)
Fix handling of PT_GNU_EH_FRAME.
The bias for the PT_GNU_EH_FRAME was using the paddr instead of vaddr. This doesn't match the way the load bias is calculated, which always use vaddr - offset, so change to use vaddr. Found on an old x86 device that has a vdso that sets vaddr differently from paddr. Add a new offline test to catch this case and update the elf interface unit tests. Also, fix a small bug in the unwind_for_offline tool. Bug: 142365899 Test: Unit tests pass. Change-Id: I5f0bf062dd8ee45aa8553189ba493ec962e0b059
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions