commit | 338c1479b2a6e0c14237db10311cb1af9bc6d393 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Wed Apr 05 18:33:23 2017 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Wed Apr 05 18:33:23 2017 |
tree | 6bb2a75a768db72fe6698702f3198dce812d4685 | |
parent | e128003563d99d9ee62247c4cee40f07d21c03e3 [diff] |
Fix invalid memory access on android x86 On certain versions of android x86, the main module `app_process` is not built as PIE. When accessing the PT_GNU_EH_FRAME_HDR in such a scenario, the `dlpi_addr` is 0, but the virtual address is not relocated. Manually rebase the address to avoid an invalid memory access. git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@299575 91177308-0d34-0410-b5e6-96231b3b80d8