android_system_core/libunwindstack/tests/files/offline
Christopher Ferris 5838e53b97 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
2019-10-21 19:11:22 -07:00
..
art_quick_osr_stub_arm Fix which maps to search for globals. 2018-10-17 14:23:10 -07:00
bad_eh_frame_hdr_arm64 Small behavioral changes to the unwinder. 2018-01-24 13:20:03 -08:00
debug_frame_first_x86 Small behavioral changes to the unwinder. 2018-01-24 13:20:03 -08:00
debug_frame_load_bias_arm Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
eh_frame_bias_x86 Fix handling of PT_GNU_EH_FRAME. 2019-10-21 19:11:22 -07:00
eh_frame_hdr_begin_x86_64 Fix off by 4 error handling eh_frame hdr. 2018-02-10 17:11:23 -08:00
gnu_debugdata_arm Small test clean up. 2018-02-05 13:12:54 -08:00
invalid_elf_offset_arm Set elf_start_offset for invalid elf maps. 2019-06-10 18:39:38 -07:00
jit_debug_arm Add support for displaying soname in an apk. 2019-03-13 17:07:46 -07:00
jit_debug_x86 Add support for displaying soname in an apk. 2019-03-13 17:07:46 -07:00
jit_map_arm Support a map that represents gdb jit elf data. 2018-03-21 17:23:54 -07:00
load_bias_different_section_bias_arm64 Handle when bias is different in elf headers. 2019-10-08 17:36:06 +00:00
load_bias_ro_rx_x86_64 Fix missing load bias. 2019-07-09 10:22:36 -07:00
offset_arm Fix offsets when shared lib split across maps. 2018-12-18 11:22:14 -08:00
shared_lib_in_apk_arm64 Fix handling of ro segments for embedded libs. 2018-12-11 19:16:29 -08:00
shared_lib_in_apk_memory_only_arm64 Fix handling of ro segments for embedded libs. 2018-12-11 19:16:29 -08:00
shared_lib_in_apk_single_map_arm64 Fix missing offset for apk. 2019-03-12 16:00:55 -07:00
straddle_arm Small test clean up. 2018-02-05 13:12:54 -08:00
straddle_arm64 Fix incorrect usage of relative pcs. 2017-11-29 16:10:08 -08:00