summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorKazuki Sakamoto <sakamoto@splhack.org>2023-06-12 10:49:54 -0700
committerKazuki Sakamoto <kaz@meta.com>2023-06-20 15:21:46 -0700
commit12dee9d3cd762d9754e2adadffa13c1cce85cf07 (patch)
tree79acbb2c1f7e8a5580209e59c6e15ae1fb88f310 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parent6c8731551884713f7d322852844a67d38a433623 (diff)
[lldb][Android] Support zip .so file
In Android API level 23 and above, dynamic loader is able to load .so file directly from APK, which is zip file. https://android.googlesource.com/platform/bionic/+/master/ android-changes-for-ndk-developers.md# opening-shared-libraries-directly-from-an-apk The .so file is page aligned and uncompressed, so ObjectFileELF::GetModuleSpecifications works with .so file offset and size directly from zip file without extracting it. (D152757) GDBRemoteCommunicationServerCommon::GetModuleInfo returns a module spec to LLDB with "zip_path!/so_path" file spec, which is passed through from Android dynamic loader, and the .so file offset and size. PlatformAndroid::DownloadModuleSlice uses 'shell dd' to download the .so file slice from the zip file with the .so file offset and size. Differential Revision: https://reviews.llvm.org/D152759
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions